KyleEzra Posted March 8, 2018 Share Posted March 8, 2018 (edited) PLEASE HELP ME! i'm thinking of a script that if i use the equipment it has 1% chance to boost the character EXP by 50% for 10 minutes if he killed a level 75 or higher level monster I tried several scripts but it failed. Edited April 3, 2018 by KyleEzra Quote Link to comment Share on other sites More sharing options...
philfix.sai Posted March 30, 2018 Share Posted March 30, 2018 On 08/03/2018 at 11:16 AM, KyleEzra said: PLEASE HELP ME! i'm thinking of a script that if i use the equipment it has 1% chance to boost the character EXP by 50% for 10 minutes if he killed a level 75 or higher level monster I tried several scripts but it failed. As I reviewed the item_bonus.txt, this is impossible. Unless you have knowledge on programming to create your own item bonus. Quote Link to comment Share on other sites More sharing options...
Emistry Posted March 31, 2018 Share Posted March 31, 2018 - script sample -1,{ OnNPCKillEvent: if (isequipped(<item_id>)) { if (rand(100) < 1) if (getmonsterinfo(killedrid, MOB_LV) >= 75) { sc_start SC_EXPBOOST, (600 * 1000), 50; } } end; } 1 Quote Link to comment Share on other sites More sharing options...
philfix.sai Posted March 31, 2018 Share Posted March 31, 2018 13 hours ago, Emistry said: - script sample -1,{ OnNPCKillEvent: if (isequipped(<item_id>)) { if (rand(100) < 1) if (getmonsterinfo(killedrid, MOB_LV) >= 75) { sc_start SC_EXPBOOST, (600 * 1000), 50; } } end; } There you go OP. Emistry at your service Quote Link to comment Share on other sites More sharing options...
KyleEzra Posted April 2, 2018 Author Share Posted April 2, 2018 (edited) On 3/31/2018 at 10:27 AM, Emistry said: - script sample -1,{ OnNPCKillEvent: if (isequipped(<item_id>)) { if (rand(100) < 1) if (getmonsterinfo(killedrid, MOB_LV) >= 75) { sc_start SC_EXPBOOST, (600 * 1000), 50; } } end; } this one is working perfectly, thanks Emistry On 3/31/2018 at 11:52 PM, philfix.sai said: There you go OP. Emistry at your service yup he saves the day again Edited April 2, 2018 by KyleEzra Quote Link to comment Share on other sites More sharing options...