Jump to content
sader1992

Utility: sader's Level Up Reward Job/Base

Recommended Posts

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
  • Submitted
    03/31/2018
  • Category
  • Video
  • Content Author
    sader1992

 

  • Upvote 1

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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);
 

yyyy.PNG

yyyyuuu.PNG

Share this post


Link to post
Share on other sites
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);
}

 

Share this post


Link to post
Share on other sites
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 🙂

Share this post


Link to post
Share on other sites
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);
}

 

  • Love 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.