- Joined
- Mar 17, 2012
- Messages
- 105
I'm trying to make an ability for my Knight so that he deals additional damage and stuns targets on initial attacks.
"Initial attacks" implies the two conditions (however, if you have your own ideas for an initial attack, that'd be fine):
- the attack wasn't preceded by another attack within the past (15) seconds
- the Knight was moving for (3) seconds prior to the attack
This would simulate the Knight doing a "shock charge" when a battle begins. However, I don't know how to go about starting this. If anyone can get me started on the right foot that'd be great! Also if someone knows of an ability or other way to simplify the "initial attack" aspect, that'd be great! Thanks!
EDIT: For clarification, the Knight is not a single unit, but a unit that can be trained and a player can own multiple
"Initial attacks" implies the two conditions (however, if you have your own ideas for an initial attack, that'd be fine):
- the attack wasn't preceded by another attack within the past (15) seconds
- the Knight was moving for (3) seconds prior to the attack
This would simulate the Knight doing a "shock charge" when a battle begins. However, I don't know how to go about starting this. If anyone can get me started on the right foot that'd be great! Also if someone knows of an ability or other way to simplify the "initial attack" aspect, that'd be great! Thanks!
EDIT: For clarification, the Knight is not a single unit, but a unit that can be trained and a player can own multiple