Jump to content
  • 0

How to give bonus stats when Energy Coat is active?


Heartfelt

Question


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  40
  • Reputation:   0
  • Joined:  01/09/16
  • Last Seen:  

i want to make this item code 55152 (shadow ring accessory)
when player wear that equip, and they activate energy coat
it will give bonus stats such as +10% HP,
and when the energy coat effect ends or if the ring equip is removed, the HP bonus also gone

is it possible?

thanks, hope someone can help me, much love

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  32
  • Reputation:   7
  • Joined:  06/27/12
  • Last Seen:  

i think you cant do this without modify the source. didnt find any function that seed if you have an active skill to provide bonus

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  894
  • Reputation:   248
  • Joined:  01/30/13
  • Last Seen:  

Hmm, nothing like this exists yet as far as I know (but I'm not familiar with renewal items).

It's not impossible, but you'd need to code your own item bonus or you just put some code into SC_ENERGYCOAT behavior that checks for an item. It would be a lot of coding work.

 

If you want to save yourself the trouble consider using "autobonus3" instead:

autobonus3 "{ bonus bHealPower,20; }",100,3000,"AL_HEAL","{ specialeffect2 EF_HEAL3; }";

Like this would make you gain 20% healing power for 3 seconds after using AL_HEAL.

You just cannot synchronize on when the effect ends.

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