• 0
Sign in to follow this  
Tassadar

bMaxHPrate x getrefine

Question

I hope I have not posted in the wrong place.

How can I make the bonus item formula to make +10 HP for each refine. 
I found in item 4547 the following:
bonus bMaxHPrate, getrefine () / 2;

how I do? I did not quite understand this previous bonus, which gives 1 HP for every 2 refines.

Thanks in advance.

 
 
 
 
 
 
239/5000
 
 

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
2 hours ago, Tassadar said:
I hope I have not posted in the wrong place.

How can I make the bonus item formula to make +10 HP for each refine. 
I found in item 4547 the following:
bonus bMaxHPrate, getrefine () / 2;

how I do? I did not quite understand this previous bonus, which gives 1 HP for every 2 refines.

Thanks in advance.

 
 
 
 
 
 
239/5000
 
 

 

So basically you want, every refine* it adds +10 HP am I right?

bonus bMaxHP,10*getrefine()/1;

or

[email protected] = refine(); bonus bMaxHP,10*[email protected];


Both posted are the same thing.

Share this post


Link to post
Share on other sites
  • 0

// +10 HP for every refines.
bonus bMaxHP, (getrefine() * 10);

// +10 HP for every 2 refines.
bonus bMaxHP, ((getrefine() / 2) * 10);

// +10 HP for every 3 refines.
bonus bMaxHP, ((getrefine() / 3) * 10);

// +10 HP for every 4 refines.
bonus bMaxHP, ((getrefine() / 4) * 10);

// +10 HP for every 5 refines.
bonus bMaxHP, ((getrefine() / 5) * 10);


 

  • Upvote 1

Share this post


Link to post
Share on other sites
  • 0

tks.. for all.

bonus is missing on all these items ???

24208,S_Expert_Shoes,Expert Shadow Shoes,12,20,,100,,,,0,0xFFFFFFFF,63,2,524288,,150:175,1,,{ bonus2 bExpAddRace,RC_All,1; },{},{}
24209,S_Expert_Shield,Expert Shadow Shield,12,0,,0,,,,0,0xFFFFFFFF,63,2,262144,,150:175,1,,{ bonus2 bExpAddRace,RC_All,(getrefine()/4); },{},{}
24210,S_Beginner_Shoes,Beginner Shadow Shoes,12,20,,0,,,,0,0xFFFFFFFF,63,2,524288,,1:49,1,,{ bonus2 bExpAddRace,RC_All,getrefine(); },{},{}
24211,S_Beginner_Shield,Beginner Shadow Shield,12,0,,0,,,,0,0xFFFFFFFF,63,2,262144,,1:49,1,,{ bonus2 bExpAddRace,RC_All,getrefine(); },{},{}
24212,S_Rookie_Shoes,Rookie Shadow Shoes,12,0,,0,,,,0,0xFFFFFFFF,63,2,524288,,50:99,1,,{ bonus2 bExpAddRace,RC_All,(getrefine()/2); },{},{}
24213,S_Rookie_Shield,Rookie Shadow Shield,12,0,,0,,,,0,0xFFFFFFFF,63,2,262144,,50:99,1,,{ bonus2 bExpAddRace,RC_All,(getrefine()/2); },{},{}
24214,S_Advanced_Shoes,Advanced Shadow Shoes,12,20,,0,,,,0,0xFFFFFFFF,63,2,524288,,100:149,1,,{ bonus2 bExpAddRace,RC_All,(getrefine()/3); },{},{}
24215,S_Advanced_Shield,Advanced Shadow Shield,12,0,,0,,,,0,0xFFFFFFFF,63,2,262144,,100:149,1,,{ bonus2 bExpAddRace,RC_All,(getrefine()/3); },{},{}

 

Edited by Tassadar

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this