Currently making Hero based defense, wondering how to make it so that whenever the hero is slowed it checks for a resistance and depending on that resistance the slow is only so effective.
example:
Hero: 50% slow resistance Starting movement speed - 2 Enemy: Slows Hero by 20% Hero: Slow is only 50% effective = 10% slow, Final movement speed - 1.8
For stun resistance i was thinking of it reducing the duration of the stun
Hero: 50% stun resistance Enemy: Stuns for 2 seconds Hero: Stun is only 50% effective = 1 second stun
Even if it's a link to a tutorial, it would be greatly appreciated Thanks for your help
0
Currently making Hero based defense, wondering how to make it so that whenever the hero is slowed it checks for a resistance and depending on that resistance the slow is only so effective.
example:
Hero: 50% slow resistance Starting movement speed - 2
Enemy: Slows Hero by 20%
Hero: Slow is only 50% effective = 10% slow, Final movement speed - 1.8
For stun resistance i was thinking of it reducing the duration of the stun
Hero: 50% stun resistance
Enemy: Stuns for 2 seconds
Hero: Stun is only 50% effective = 1 second stun
Even if it's a link to a tutorial, it would be greatly appreciated
Thanks for your help