• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

[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