• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[JASS] Skill Doesn't Cooldown Work on? Why?

Status
Not open for further replies.
Level 5
Joined
Jan 4, 2009
Messages
118
I'll try simply spell "Blink Strike" by use ability "Channel" for base casts, but when I use skill it doesn't cooldown
work. Why? tell me plz!!

PS. When I comment SetUnitPosition Skill does cooldown work on....

Code :

JASS:
call SetUnitPosition(....)
if(IsUnitEnemy(GetSpellTargetUnit(), GetOwningPlayer(GetTriggerUnit())) == true)then
     // Deals Damage
endif

Help me plz!!
 
Level 17
Joined
Apr 27, 2008
Messages
2,455
I'm quite sure but not 100 % that it is spell and event related.
I mean with the spell A, if you interrupt orders on the spell effect event, the cooldown will be applied, but not with the spell B.
You could try to change the spell base and play with the different spell events.
 
Status
Not open for further replies.
Top