Ok so search results only turn up things like how to edit the cooldown or to add cooldowns to an ability or to lower cooldowns with ability level or stuff like that. Unfortunately, that's not what I'm looking for. I want to create an ability (by trigger or by data editor) that reduces the cooldown of an ability that's already on cooldown.
It'd be easier with an example so...
Ability A - 10 second cooldown
Ability B - lowers Ability A's cooldown by 5
I use Ability A, it is now counting down those 10 seconds.
I use Ability B after 1 second (Ability A has 9 seconds left), Ability A's cooldown is now only 4 seconds remaining and counting down.
I tried using the "Add Cooldown For Unit Ability" trigger with a negative value but that doesn't seem to work. Or maybe I'm inputting the wrong thing into the cooldown string section of that trigger. Speaking of which, what goes in that part of the trigger anyhow? Any help with this would be greatly appreciated.
ok, im kinda newer to the editor, but i have found a solution. I was having problems with the string as well. here is what i did, and i apologize in advance if it is confusing as i said i am new :P
the trigger
event
- unit any unit uses ability ability B at effect3 cast stage
actions
-unit add -05 seconds to cooldown "string" on ability of (ability of ability A) on unit (triggering unit)
so your -05 idea did work but, as i said i also had problems with string, and i came up with a ghetto solution. in the data editor click the ability and go to cost-cost+
and under cooldown where it says link, click add across from it, and make up your own name. Insert that where i put "string" just by clicking "" and typing it into the value.
I used effect3 cast because if you have more than one stage and use general any it will do it during all of the steps.
Once again sorry if that was confusing, and good luck.
Ok so search results only turn up things like how to edit the cooldown or to add cooldowns to an ability or to lower cooldowns with ability level or stuff like that. Unfortunately, that's not what I'm looking for. I want to create an ability (by trigger or by data editor) that reduces the cooldown of an ability that's already on cooldown.
It'd be easier with an example so...
Ability A - 10 second cooldown
Ability B - lowers Ability A's cooldown by 5
I use Ability A, it is now counting down those 10 seconds.
I use Ability B after 1 second (Ability A has 9 seconds left), Ability A's cooldown is now only 4 seconds remaining and counting down.
I tried using the "Add Cooldown For Unit Ability" trigger with a negative value but that doesn't seem to work. Or maybe I'm inputting the wrong thing into the cooldown string section of that trigger. Speaking of which, what goes in that part of the trigger anyhow? Any help with this would be greatly appreciated.
ok, im kinda newer to the editor, but i have found a solution. I was having problems with the string as well. here is what i did, and i apologize in advance if it is confusing as i said i am new :P
the trigger
event - unit any unit uses ability ability B at effect3 cast stage
actions -unit add -05 seconds to cooldown "string" on ability of (ability of ability A) on unit (triggering unit)
so your -05 idea did work but, as i said i also had problems with string, and i came up with a ghetto solution. in the data editor click the ability and go to cost-cost+ and under cooldown where it says link, click add across from it, and make up your own name. Insert that where i put "string" just by clicking "" and typing it into the value.
I used effect3 cast because if you have more than one stage and use general any it will do it during all of the steps.
Once again sorry if that was confusing, and good luck.
It works! Awesome! Thank you so much for that. Also, I didn't find your wording to be confusing so don't worry about it.