Skip to content

[SHARE] INSTAT NOBLESS & SUBCLASS (AI/NASC)

Featured Replies

I didn't share the HTML's nor scripts just NASC code. Have fun!

 

NASC

 

//*********************************************
//Code by Rey for Maxcheaters.com
//2010-5-20
//*********************************************

class 1 noble_maker : citizen
{
 
 handler:
 
EventHandler TALKED(talker){
 
 myself::ShowPage(talker,"your_htm.htm");
}
 
EventHandler MENU_SELECTED(talker,ask,reply)
{
 if(ask == 541 && reply == 1 )
   {
   if(talker.level >= 75 && talker.subjob_id != 0)
     {
     myself::GiveItem1(talker, @nobless_tiara ,1);
     myself::SetNobless(talker);
     myself::ShowPage(talker,"noble_success_your_htm.htm");
     myself::SoundEffect(talker,"ItemSound.quest_finish");
  }
   else
     {
     myself::ShowPage(talker,"nobless_no_your_htm.htm");
     }
   }
   if(ask == 541 && reply == 2)
     {
     if(talker.level>75 && talker.subjob_id == 0)
       {
       myself::GiveItem1(talker, @mimirs_elixir, 1);
myself::SetOneTimeQuestFlag( talker, @water_of_mimir, 1 );
myself::SoundEffect( talker, "ItemSound.quest_finish" );
myself::ShowPage(talker,"subclass_success_your_htm.htm");
}
     else
       {
myself::ShowPage(talker,"subclass_no_your_htm.htm");
}
     }
}
 
}

 

If you like it give a nice comment and karma :)

Thx... i just modify to make set nobless by item :P

That's really nice, glad to see some activity at OFF sections aswell.

 

+1 karma.

  • 3 weeks later...

rly usefull guiad for noobies,i love it,thx rej222.

u guyz rly did a great job.keep it up.

nice share if i could u would have +1 from me too :)

hi,rej222,i want to create a npc,it could be change char class,include char Race...like Spellsinger->Elder....

one player could change 3 times and need some items to do this,i dont know how to do that?if u could give me some hints,i really appreciate.

  • Author

EventHandler CLASS_CHANGE_REQUESTED(talker,occupation_name_id)

{

myself::ClassChange( talker, occupation_name_id );

myself::SoundEffect( talker, "ItemSound.quest_fanfare_2" );

myself::ShowPage( talker, fnAfterClassChange );

}

 

check this out.. ill make one later when i have some spare time maybe

 

occupation_name_id = class ID

EventHandler CLASS_CHANGE_REQUESTED(talker,occupation_name_id)

{

myself::ClassChange( talker, occupation_name_id );

myself::SoundEffect( talker, "ItemSound.quest_fanfare_2" );

myself::ShowPage( talker, fnAfterClassChange );

}

 

check this out.. ill make one later when i have some spare time maybe

 

occupation_name_id = class ID

god,rly tnx man...ill try to check it out...

  • Author

btw about change race its kinda hard in AI you will have to do that with DB as well.

btw about change race its kinda hard in AI you will have to do that with DB as well.

i just want to change class,just restart game,all will be ok,right?

  • Author

Well try it ^^ I think it should. Maybe he will keep some skills from the previous class but thats all as well.

hey mr rey, you ask to reno for post his stuff like yours???, like angrax trap skilldata??, stupid noob.

nice share!

dude u suck!

 

u should at least give me credits for this, i made this code and u just changed the html names! :@

 

i think mxc will not see new AI shares from u...

  • 4 weeks later...

because after I get the quest item to npc custom, the Magister Ladd does not accept when I click on quest?

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.