Stun Projectile

Hi. I am making a custom hero that has a vengeful spirit like stun. I already created the ability, damage, stun effect and projectile. However when I use the ability the target gets instantly stunned before the projectile hits. I've tried the onprojectilehit and onprojectilefinish but it doesn't seem to work. What am I doing wrong?

Sorry I am on mobile ATM and can't link code.


  • Posts: 2

    I had some mistakes here and there on the code. Got it working.