lionellex Posted October 2, 2016 Share Posted October 2, 2016 Hey guys, I would like to alter this script a little? Instead of giving players Enlarge Weight Limit LEVEL 10, how do I change it to LEVEL 5 instead? https://github.com/flaviojs/rathena-commits/blob/master/npc/other/gympass.txt Quote Link to comment Share on other sites More sharing options...
0 Fratini Posted October 2, 2016 Share Posted October 2, 2016 (edited) Hi buddy! If you see this line: if (gympassmemory < 10) { set [email protected]_carry,gympassmemory + 1; set [email protected]_carry,10 - [email protected]_carry; And this one: skill "ALL_INCCARRY",[email protected]_carry,0; You can see that the limit of the level of the Passive Skill ALL INCCARRY it's in the line 35, so you just change that number 10 in the line like this: if (gympassmemory < 5) { set [email protected]_carry,gympassmemory + 1; set [email protected]_carry,5 - [email protected]_carry; if (countitem(7776) > 0) { The variable [email protected]_carry it's warning the player how much he can still use the service. Good luck Edited October 2, 2016 by Fratini Quote Link to comment Share on other sites More sharing options...
0 lionellex Posted October 2, 2016 Author Share Posted October 2, 2016 (edited) Hi buddy! If you see this line: if (gympassmemory < 10) { set [email protected]_carry,gympassmemory + 1; set [email protected]_carry,10 - [email protected]_carry; And this one: skill "ALL_INCCARRY",[email protected]_carry,0; You can see that the limit of the level of the Passive Skill ALL INCCARRY it's in the line 35, so you just change that number 10 in the line like this: if (gympassmemory < 5) { set [email protected]_carry,gympassmemory + 1; set [email protected]_carry,5 - [email protected]_carry; if (countitem(7776) > 0) { The variable [email protected]_carry it's warning the player how much he can still use the service. Good luck Thank you for replying, but i just wanna make sure, on line 63 "skill "ALL_INCCARRY",[email protected]_carry,SKILL_PERM_GRANT;" I have to change it to "skill "ALL_INCCARRY",[email protected]_carry,0;" ? Edited October 2, 2016 by lionellex Quote Link to comment Share on other sites More sharing options...
0 Fratini Posted October 2, 2016 Share Posted October 2, 2016 You don't need to, since the 0 shows to the server that the skill given it's permanent (Check the line 5389 in doc/script_command.txt) 1 Quote Link to comment Share on other sites More sharing options...
0 lionellex Posted October 2, 2016 Author Share Posted October 2, 2016 You don't need to, since the 0 shows to the server that the skill given it's permanent (Check the line 5389 in doc/script_command.txt) Thank you for replying! Everything is done now. Thanks again. Quote Link to comment Share on other sites More sharing options...
Hey guys, I would like to alter this script a little? Instead of giving players Enlarge Weight Limit LEVEL 10, how do I change it to LEVEL 5 instead?
https://github.com/flaviojs/rathena-commits/blob/master/npc/other/gympass.txt
Link to comment
Share on other sites