Jump to content
  • 0

Item Bonus Support


Shade

Question


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  123
  • Reputation:   29
  • Joined:  04/09/12
  • Last Seen:  

Hi,

I wanted to make this card to regenerate 2% of MaxHP every 2 seconds but it didn't work.

25000,HP_Regen,HP_Regen,6,20,,10,,,,,,,,16,,,,,{ bonus2 bHPRegenRate,(MaxHP)*0.02,2000; },{},{}

I even tried (MaxHP/100) it still didn't work I wonder why.

Thanks in advance.

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

Personally, I've never ever used decimals in my item bonuses. Not sure if they work 100%. Also, wouldn't 2% be 20 and not 0.02?

Edited by Mysterious
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1131
  • Joined:  05/27/12
  • Last Seen:  

You can't use decimals, period. o_o

Link to comment
Share on other sites


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

try this ?

maybe this will work..

...........{ bonus2 bHPRegenRate,(( MaxHP * 2 )/100 ),2000; },{},{}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

You can't use decimals, period. o_o

Yeah okay. That's what I thought because in any of my item bonuses never have I ever used any decimals =/.

Edited by Mysterious
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  123
  • Reputation:   29
  • Joined:  04/09/12
  • Last Seen:  

try this ?

maybe this will work..

...........{ bonus2 bHPRegenRate,(( MaxHP * 2 )/100 ),2000; },{},{}

Yup it works, thanks!

Just a question must there be spaces between the " * "? I think I tried that before but it didn't work.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1131
  • Joined:  05/27/12
  • Last Seen:  

Spacing never matters, lol.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

Spaces within the parenthesis, not so much. Where you would need spaces is in something like this: bonus<space>bAgi,25;

Edited by Mysterious
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...