somebodys have written a rebirth system last years ago,but i found something arenot nice,like Reduce Players experience...
why not get the players experience at first?? Then "myself->IncrementParam(talker,0,-1511275834);"
is it possible???
:-\
if( talker.level == 78 && talker.subjob_id == 0 )
{
if( reply == 1 )
{
myself->IncrementParam(talker,0,-1511275834);
myself->GiveItem1(talker,9700,1);
myself->GiveItem1(talker,9701,1);
myself->ShowPage(talker,"rebirth1st_completed.htm");
myself->SoundEffect(talker,"ItemSound.quest_finish");
}
else if( reply == 2 )
{
myself->IncrementParam(talker,0,-1511275834);
myself->GiveItem1(talker,9700,1);
myself->GiveItem1(talker,9701,1);
myself->ShowPage(talker,"rebirth2nd_completed.htm");
myself->SoundEffect(talker,"ItemSound.quest_finish");
}
else if( reply == 3 )
{
myself->IncrementParam(talker,0,-1511275834);
myself->GiveItem1(talker,9700,1);
myself->GiveItem1(talker,9701,1);
myself->ShowPage(talker,"rebirth3rd_completed.htm");
myself->SoundEffect(talker,"ItemSound.quest_finish");
}
}
Credits list:
- Sauron & Forcer for Nasc GUI
- PALLiS helping in NASC code
- And me for the Code (Fot@r@s)