Hi guys, i want to create an ability.
Blinks the caster towards the target, hitting it with a 100% cleave attack for one attack. Also, i setted a bool variable to true
now, what would actually work:
i do the casting ability trigger and blink the unit towards the target and add the cleave ability.
then i did a second trigger that works like that:
A unit gets attacked
Unit type equal to YourUnit
IF Bool == true then
set Bool = false
else
remove cleave ability
i also added a certain timer just in case that the enemy dies while jumping so that the ability will disappear after 1 sec.
i dont think thats a good solution, does anyone have suggestions? can be in GUI/vJass
ty
Blinks the caster towards the target, hitting it with a 100% cleave attack for one attack. Also, i setted a bool variable to true
now, what would actually work:
i do the casting ability trigger and blink the unit towards the target and add the cleave ability.
then i did a second trigger that works like that:
A unit gets attacked
Unit type equal to YourUnit
IF Bool == true then
set Bool = false
else
remove cleave ability
i also added a certain timer just in case that the enemy dies while jumping so that the ability will disappear after 1 sec.
i dont think thats a good solution, does anyone have suggestions? can be in GUI/vJass
ty