• 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.

Spells sharing the same cooldown.

Level 4
Joined
Oct 9, 2024
Messages
63
I'm making a list of spells and I want their cooldown time to be shared, when the hero uses one of them all 3 spells will go on cooldown, I believe triggers are the way to go but I don't know where to start.
 
Level 30
Joined
Aug 29, 2012
Messages
1,383
If you're using the last version there's a function just for that

  • Cooldowns
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
    • Actions
      • Unit - For Unit (Triggering unit), start cooldown of ability Blizzard " over "6.00 seconds.
      • Unit - For Unit (Triggering unit), start cooldown of ability Summon Water Elemental " over "20.00 seconds.
      • Unit - For Unit (Triggering unit), start cooldown of ability Mass Teleport " over "30.00 seconds.
1728945529017.png


You just need to put an "Or" conditon that checks what ability is cast and set the cooldowns appropriately
 
Top