Jump to content

OnHit Proc Chance


FlexiDex

Recommended Posts

Hello all

 

I am trying to make a script for a constant effect ability. I basically want the script (that Ill put on the MagEff of this ability) to fire a spell on self when being hit by melee attacks, spells and/or arrows. In addition, I want to add a % chance aswel. So basically a OnHit proc chance to fire a spell.

The description of the spell should looks like this: When being hit, you have 20% chance to increase damage dealt and damage resistence by 50% for 5 seconds.

 

I must say Im relatively new to scripting, but if you can push me in the right direction I can perhaps figure it out.

I hope this is not too much to ask.

 

Thanks anyway!

 

Kind regards

FlexiDex

Edited by FlexiDex
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...