mrlongshen 22 Posted December 9, 2015 Hi all. I want to request a simple script, on player login, who has base level 100 - 255 and job 71 - 120, reset to base level 99 and job 7. And also reset the allstats and allskill. So player need to configure back the stats. Thanks Quote Share this post Link to post Share on other sites
0 Kuya Jeo 120 Posted December 9, 2015 (edited) Hi all. I want to request a simple script, on player login, who has base level 100 - 255 and job 71 - 120, reset to base level 99 and job 7. And also reset the allstats and allskill. So player need to configure back the stats. Thanks try this one, i didnt test it, just try it - script Sample FAKE_NPC,{OnPCLoginEvent:if( ( BaseLevel >= 100 && BaseLevel <= 255 ) && ( JobLevel >= 71 && JobLevel <= 100 ) ){set BaseLevel,99;set JobLevel,70;sc_end SC_ALL;resetskill;resetstatus;}end;} Edited December 9, 2015 by Zhao Chow 1 mrlongshen reacted to this Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted December 9, 2015 Hi all. I want to request a simple script, on player login, who has base level 100 - 255 and job 71 - 120, reset to base level 99 and job 7. And also reset the allstats and allskill. So player need to configure back the stats. Thanks try this one, i didnt test it, just try it - script Sample FAKE_NPC,{OnPCLoginEvent:if( ( BaseLevel >= 100 && BaseLevel <= 255 ) && ( JobLevel >= 71 && JobLevel <= 100 ) ){set BaseLevel,99;set JobLevel,70;sc_end SC_ALL;resetskill;resetstatus;}end;} hellow bro. I have test this script. At first this script working, after I restart my server this script not working anymore. No error appear. Please help me Quote Share this post Link to post Share on other sites
0 Legend 43 Posted December 9, 2015 Double check your baselevel and job level also, have you tried putting "end;" after "resetstatus;"? Not sure with this. Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted December 9, 2015 - script Sample FAKE_NPC,{ OnPCLoginEvent: if( ( BaseLevel >= 100 && BaseLevel <= 255 ) && ( JobLevel >= 71 && JobLevel <= 200 ) ) { set BaseLevel,99; set JobLevel,70; sc_end SC_ALL; resetskill; resetstatus; } end; } Change to the value and its working hahaha Quote Share this post Link to post Share on other sites
Hi all. I want to request a simple script, on player login, who has base level 100 - 255 and job 71 - 120, reset to base level 99 and job 7.
And also reset the allstats and allskill. So player need to configure back the stats. Thanks
Share this post
Link to post
Share on other sites