• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[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