Jump to content
  • 0
OverLord

bHPRegenRate with effects

Question

autobonus "{ bonus2 bHPRegenRate,1,10000; }",10,10000,BF_MAGIC,"{ specialeffect2 EF_HEAL; }";

 

whats the error? effect no show... I wish every 10 seconds appears when healed on the head. Because the passive skill swordman.

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

I might be wrong, but I think autobonus only triggers when attacking or being attacked:

 

From docs/script_commands.txt:

*autobonus <bonus script>,<rate>,<duration>{,<flag>,{<other script>}};*autobonus2 <bonus script>,<rate>,<duration>{,<flag>,{<other script>}};*autobonus3 <bonus script>,<rate>,<duration>,<skill id>,{<other script>};*autobonus3 <bonus script>,<rate>,<duration>,"<skill name>",{<other script>};What these commands do is 'attach' a script to the player which will getexecuted on attack (or when attacked in the case of autobonus2). 

If you want to have it being triggered when attacking, maybe you are not getting it triggered because the chance is very small (0,10% I think)?

 

And your bonus heals 1 point of HP, maybe you are not noticing it

 

From docs/item_bonus.txt

bonus2 bHPRegenRate,n,x;		  Gain n HP every x milliseconds

If you want to try a higher chance, I edited your script to test here: (It heals 1000 of HP, though I'm not sure about the rate, but is more frequent)

autobonus "{ bonus2 bHPRegenRate,1000,10000; }",5000,10000,BF_MAGIC,"{ specialeffect2 EF_HEAL; }";

Sorry, but I can't help more than this because I've never used these commands

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

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