Jump to content
  • 0

increasing maximum HP rate effect bonus script


Dori

Question


  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  332
  • Reputation:   15
  • Joined:  12/11/11
  • Last Seen:  

I've increase my max hp rate through conf.

// Players' maximum HP rate? (Default is 100)
hp_rate: 200

But I noticed that it is effecting the bonus scripts as well. I've noticed the ones shown below, and I'm not sure what other hp related bonuses are effected by this.

 

bonus bMaxHP,n;     MaxHP + n
bonus bMaxHPrate,n; MaxHP + n% 

I want to remove this from effecting bonus scripts. Hopefully someone can guide me on this.

Thank you


rathena really should separate these 2. The bonus scripts should have nothing to do with increasing max hp.

Edited by Phenex
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

battle config, hp_rate/sp_rate is as base rate.

example, by normal rate ur HP is 10,000, if rate is 200 (2x), ur base is 20,000 now.

so when there's bonus with increase maxhp, "maxhp = maxhp + (ur-base-max-hp * bonus/100)"

normal rate: 10000 + (10000 * 10 / 100) = 11000

ur 2x rate: 20000 + (20000 * 10 / 100) = 22000

and so on..

rathena really should separate these 2. The bonus scripts should have nothing to do with increasing max hp.

hmmm??
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  332
  • Reputation:   15
  • Joined:  12/11/11
  • Last Seen:  

What I'm saying is increasing the max hp through conf should not effect the bonus script. because all the items/equips that give hp and sp (armors etc) will also be effected.

And you have to go edit them manually.

 

I have set my max hp to double in the conf. now if I give an armor +100 hp in the script it will double and give 200. so if i want to give 100 i have to half it in the script.

 

This is why I'm saying that these 2 (max hp on conf and bonus script) should be separated (in src).

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