HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Abilities Cooldown

05-13-2006, 03:49 PM#1
StockBreak
Hi, I need a bit of help with a spell, it's a sort of Active/Passive spell: sometimes it triggers automatically, but it can be also triggered by pushing the button. The problem is that when the ability it's automatically casted the cooldown of the spell it's not affected, how can I do to show the cooldown? Thanks.
05-16-2006, 09:39 AM#2
StockBreak
Really there is no way to edit an ability's cooldown?
05-16-2006, 09:43 AM#3
PhoenixFeather
I don't think so... The only way to alter the cooldown is to finish it.
05-16-2006, 09:52 AM#4
StockBreak
Uhm... Is it possible to switch abilities between units, maintaining cooldowns (I know, it's a stupid idea^^)? In DotA, Lord of Avernus has a passive/active ability like this; if passively triggered, the cooldown it's shown correctly, how could it be? Thanks.
05-16-2006, 10:40 AM#5
Loganic
Yes, I saw the same thing, so it should be doable . . .?
05-16-2006, 10:44 AM#6
Anitarf
perhaps he is just oreded to cast the spell by a trigger?
05-16-2006, 05:09 PM#7
StockBreak
Uhm... I don't think so because it often happened to me to escape (so clicking many times on the field) while the ability triggered at the same time. I think that the order would be cancelled...
05-16-2006, 05:11 PM#8
Captain Griffen
What is the spell?
05-16-2006, 07:46 PM#9
StockBreak
You mean mine spell or the DotA's one?
If you mean mine spell i'll explain:

It's a spell that PASSIVELY (when the hero is killed, IF the cooldown is ready) deals damage to an area sorrounding the dying hero; it can also be activated and it kills the casting hero damaging the area surrounding.
06-26-2006, 12:28 PM#10
StockBreak
Sorry for bumping this, but has someone any ideas about this (for example pause unit -> use ability -> timer 0 seconds -> unpause unit?). Thanks.
06-26-2006, 12:36 PM#11
shadow1500
You have two spells, one spell is a passive (say based on aura) another spell is based on an non-order changing spell with a cooldown (like troll barserk).
The two spells have same properties (icon/description etc).

Keep the passive on the unit, when the spell should automatically activate, remove the passive, add the active and order unit to use it. Make a timer/wait for when cooldown is over, then remove the active and add the passive back.
Since youre using hero abilities it might be neccecary to disable them instead of removing them.
06-26-2006, 12:38 PM#12
PipeDream
Use an ability that doesn't interrupt. http://www.wc3campaigns.net/showthread.php?t=81742
Quote:
Absk, Adef, Amdf, ANms, AEim, AHds (Berserk, Defend, Magical Defense, Mana Shield, Immolation, Divine Shield): These abilities don't stop the current order of the caster when used. The last five can be activated and deactivated (if that is enabled in the gameplay constants).
Windwalk works too. If you want to rip dota off exactly then go read its war3map.j.

Quote:
I think that the order would be cancelled
Rather than wonder, test. Relying on authorities is how bad habits and false data spread. Especially for something that takes 3min to check.
06-26-2006, 02:18 PM#13
Jacek
It isn't that easy to rip dota... they made some protection so you can't export war3map.j, probably some fake listfile
06-26-2006, 04:31 PM#14
The)TideHunter(
Nah, i have dota's .j, im not going to post for flaming reasons, but i will say this, it is possible to extract it.
06-26-2006, 04:41 PM#15
harshateja
One way is to keep checking until the unit's health goes below .50 hp. If it does, you can safely assume it is dead. Then order the unit to cast the spell that will kill it automatically and explode. If the cooldown is not yet up, then the unit won't cast it authomaticaly. Its a fail-proof way.