Jump to content
  • 0

bMaxHPrate x getrefine


Tassadar

Question


  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.02
  • Content Count:  107
  • Reputation:   5
  • Joined:  07/21/16
  • Last Seen:  

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

3 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  


// +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
Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  90
  • Reputation:   34
  • Joined:  10/01/18
  • Last Seen:  

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

.@r = refine(); bonus bMaxHP,10*.@r;


Both posted are the same thing.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.02
  • Content Count:  107
  • Reputation:   5
  • Joined:  07/21/16
  • Last Seen:  

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
Link to comment
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
Answer this question...

×   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...