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

Dynamic Cooldowns

Status
Not open for further replies.
Hi hive, I'm trying to create a spell that can have its cooldown changed on cast, depending on external factors, such as spell power, etc. At first I thought this was impossible, but then Tides of Blood the other day, and there was a hero, Autumn's Emissary, that has a spell called Gone With The Wind, which has a cooldown that lowers the more spell power you have. The spell can even critical, to have an even decreased amount of cooldown! I would really know how they did it.

The only way I can think of is if they had an ability with like, 100 levels, each with a different cd, then set the cooldown based on spell power when you cast it, but this theory is flawed, because the Gone With The Wind spell in the Tides of Blood map is cast using a hero ability, and it would bug if you leveled the spell while it was on cooldown.
 
Level 12
Joined
Mar 17, 2007
Messages
412
I'm no expert but if I were to take a guess this would be my best bet.

Adding 100 spells seems bit over done but in a way it makes sense to achieve such a thing, probably unlikely but I'm just throwing out possibilitys

It would bug if you leveled the spell while it was on cooldown
Unless this spell is not on the hero at all (at the beginning) or (disabled) which can then be re-enabled

My best guess would be a [timer] or [dummy] is being used for each 100 spells once it gets close to when the spell cooldown ends it removes or disables that specific spell then adds or enables the next upgrade of that spell.
 
Status
Not open for further replies.
Top