- Joined
- Aug 14, 2006
- Messages
- 7,614
Hey.
I have a problem I'm not sure how to solve. I have a basic Wind Walk with custom damage. The problem is that player can "abuse" the ability.
And here's the code:
Thanks for the help!
I have a problem I'm not sure how to solve. I have a basic Wind Walk with custom damage. The problem is that player can "abuse" the ability.
fradz invisible strike can be abused. If you stop him after *start attack* and before *damage point* (you dont hit the target) the damage bonus is applied but he stay invisible.
And here's the code:
-
Invisible Strike I Element Ability Copy
-
Events
-
Unit - A unit Is attacked
-
-
Conditions
-
((Attacking unit) has buff Invisible Strike (Fradz)) Equal to True
-
-
Actions
-
Unit - Cause (Attacking unit) to damage (Attacked unit), dealing (Real(YMultiboard__INVISIBLESTRIKE)) damage of attack type Normal and damage type Normal
-
Unit - Remove Wind Walk buff from (Attacking unit)
-
-
Thanks for the help!