Jump to content
  • 0

Request item bonus


Dev Blaze

Question


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  212
  • Reputation:   5
  • Joined:  01/24/12
  • Last Seen:  

HP + 400 Reduce 50 HP Every 10 Level  Error :wacko:

Quote

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

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  806
  • Reputation:   233
  • Joined:  01/30/13
  • Last Seen:  

It needs two parameters, though...

Read the documentation:

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

https://github.com/rathena/rathena/blob/master/doc/item_bonus.txt

Do you even want a regular HP loss? From what I understand you just want this:

bonus bMaxHP,400-50*(JobLevel/10);

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  37
  • Reputation:   2
  • Joined:  03/23/12
  • Last Seen:  

nvm my script didnt work

Edited by Max
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  212
  • Reputation:   5
  • Joined:  01/24/12
  • Last Seen:  

Fixed thanks Playtester

Link to comment
Share on other sites

  • 0

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3123
  • Reputation:   1617
  • Joined:  03/26/12
  • Last Seen:  

Please remember to hit the "Best Answer" button for the post that solved your question.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  212
  • Reputation:   5
  • Joined:  01/24/12
  • Last Seen:  

Hello Akkarin sorry i forgot i am not used with thenew forum setup new look btw thanks

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