Jump to content
  • 0
Sign in to follow this  
* Blaze *

Question

Question

HP + 400 Reduce 50 HP Every 10 Level  Error default_wacko.png any one can fix this?


{ bonus bMaxHP,400; bonus2 bHPLossRate,50,-readparam(JobLevel/10); },{},{}


Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hello :)

 

1. You don't need to put a "-"

2. Your "/" sign is not at the right place

 

From docs:

bonus2 bHPLossRate,n,t;				Lose n HP every t millisecond

 

=> I didn't understand what you were trying to do.

If you want player to lose (50 * Job Lvl/10) HP every seconde it will be like this

 

bonus2 bHPLossRate,50*(readparam(JobLevel)/10),1000;

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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