zylack
New Member
- Reaction score
- 15
I made a dodge ability based on phaseshift, and it cant be un-autocastable. In testing people found that you could autocast it and were realy hard to kill.
This works but i rly want to hide this ability. Is there a better way to go about doing this?
Code:
dodge
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Dodge!
Actions
Unit - Add dodge to (Casting unit)
Unit - Order (Casting unit) to Night Elf Faerie Dragon - Phase Shift
Unit - Remove dodge from (Casting unit)
Set IS_IT_ON[(Player number of (Owner of (Casting unit)))] = True
Unit - Make (Triggering unit) Invulnerable
Wait 1.10 seconds
Unit - Remove dodge from (Casting unit)
Unit - Make (Triggering unit) Vulnerable
Set IS_IT_ON[(Player number of (Owner of (Casting unit)))] = False
This works but i rly want to hide this ability. Is there a better way to go about doing this?