sader1992 Posted April 2, 2018 Share Posted April 2, 2018 View File sader's Level Up Reward Job/Base Level Up Reward Job/Base config LevelUpReward(1,<base level>,<job id>,<zeny>,<item id>,<count>,<item id>,<count>,<item id>,<count>,etc); LevelUpReward(2,<job level>,<job id>,<zeny>,<item id>,<count>,<item id>,<count>,<item id>,<count>,etc); Example: LevelUpReward(1,5,1,999,1002,5,1005,2); //give 999 zeny 5 1002 and 2 1005 to Swordman (job id 1) when he level up to base level 5 LevelUpReward(2,10,1,999,1002,5,1005,2); //give 999 zeny 5 1002 and 2 1005 to Swordman (job id 1) when he level up to job level 10 header //===== rAthena Script ======================================= //= saders LvUpRewards //===== By: ================================================== //= Sader1992 //= Free!! //https://rathena.org/board/profile/30766-sader1992/ //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project //https://github.com/sader1992/sader_scripts //===== Description: ========================================= //==== level up rewards //==== if the player is over he can use @LevelUpReward command //==== to get the rewards //============================================================ //==== please report any error you find //============================================================ //============================================================ Submitter sader1992 Submitted 03/31/2018 Category Utilities Video Content Author sader1992 1 Quote Link to comment Share on other sites More sharing options...
Newbiedev-chan Posted August 28, 2020 Share Posted August 28, 2020 Hi, @sader1992 i am using your script LvUpRewards. How can i get reward if i skip a level. LevelUpReward(1,10,0,0,11501,20,11502,10,12211,1); LevelUpReward(2,10,0,0,0,0,0,0); i tested on a novice i leveled up to 10 it worked fine, after that i tried resetting it i leveled to 13 skipped past level 10 and i din't get the reward. Quote Link to comment Share on other sites More sharing options...
sader1992 Posted August 28, 2020 Author Share Posted August 28, 2020 17 minutes ago, Newbiedev-chan said: Hi, @sader1992 i am using your script LvUpRewards. How can i get reward if i skip a level. LevelUpReward(1,10,0,0,11501,20,11502,10,12211,1); LevelUpReward(2,10,0,0,0,0,0,0); i tested on a novice i leveled up to 10 it worked fine, after that i tried resetting it i leveled to 13 skipped past level 10 and i din't get the reward. what do you mean by skip ? the script work when you level up with a normal why , you have level up by killing monsters or quests also if you have +80% Weight , the reward would be in @LevelUpReward Quote Link to comment Share on other sites More sharing options...
Newbiedev-chan Posted August 28, 2020 Share Posted August 28, 2020 6 minutes ago, sader1992 said: what do you mean by skip ? the script work when you level up with a normal why , you have level up by killing monsters or quests also if you have +80% Weight , the reward would be in @LevelUpReward i mean when i set it to get reward at level 10 i get the reward. but if i skip level 10 i don't get the level reward. LevelUpReward(1,10,0,0,11501,20,11502,10,12211,1); Quote Link to comment Share on other sites More sharing options...
sader1992 Posted August 28, 2020 Author Share Posted August 28, 2020 1 minute ago, Newbiedev-chan said: i mean when i set it to get reward at level 10 i get the reward. but if i skip level 10 i don't get the level reward. LevelUpReward(1,10,0,0,11501,20,11502,10,12211,1); the script gives a reward only for the level you type , if you don't have a line with the level and the job , it wont add a reward to it if you want to add the reward for every level in the class after level 10 , you can do this freeloop(1); for([email protected]=10;[email protected]<MAX_LEVEL;[email protected]++){ LevelUpReward(1,[email protected],0,0,11501,20,11502,10,12211,1); } Quote Link to comment Share on other sites More sharing options...
Newbiedev-chan Posted August 28, 2020 Share Posted August 28, 2020 10 minutes ago, sader1992 said: the script gives a reward only for the level you type , if you don't have a line with the level and the job , it wont add a reward to it I see... but is it possible to get the reward between level 10-19 once? 10 minutes ago, sader1992 said: if you want to add the reward for every level in the class after level 10 , you can do this freeloop(1); for([email protected]=10;[email protected]<MAX_LEVEL;[email protected]++){ LevelUpReward(1,[email protected],0,0,11501,20,11502,10,12211,1); } Thanks for this Quote Link to comment Share on other sites More sharing options...
sader1992 Posted August 28, 2020 Author Share Posted August 28, 2020 5 minutes ago, Newbiedev-chan said: I see... but is it possible to get the reward between level 10-19 once? Thanks for this freeloop(1); for([email protected]=10;[email protected]<=19;[email protected]++){ LevelUpReward(1,[email protected],0,0,11501,20,11502,10,12211,1); } 1 Quote Link to comment Share on other sites More sharing options...
Vyserion Posted April 7, 2021 Share Posted April 7, 2021 On 8/28/2020 at 8:19 AM, sader1992 said: freeloop(1); for([email protected]=10;[email protected]<=19;[email protected]++){ LevelUpReward(1,[email protected],0,0,11501,20,11502,10,12211,1); } Hello @sader1992! I had this applied on my server but the player is getting the rewards every level from 10 to 19. How can I make the user get the rewards when reaching level 10 and/or passing over the level? For example, if it is a mid-rates, the character could skip from level 8 to level 30 and without taking the level 10 reward. Regards! Quote Link to comment Share on other sites More sharing options...