• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

certain event

Status
Not open for further replies.
Level 15
Joined
Oct 29, 2012
Messages
1,474
As Purge&Fire said, you can't detect how much cooldown has left for an ability
You have to trigger every cooldown for that, that won't affect if you just want to apply it on one spell with 3 levels.
Here is an example:
Spell : Fire Strike , Cool-down : 10 seconds , Levels : 1
  • Events
    • Unit - A Unit starts the effect of an ability
  • Conditions
    • (Ability Being Cast) Equal to Fire Strike
  • Actions
    • ==== Cooldowns must be initialized in Setup and Save them ====
    • Countdown Timer - Start FireStrike Timer that ends in 'FS_Cooldown[Level of Ability Being Cast]
  • Events
    • Time - FireStrike expires
  • Conditions
  • Actions
    • ==== Your action ====
 
Status
Not open for further replies.
Top