When ability A is cast, the caster gets a buff, which shows ability B, and hides ability A.
I want to make ability B trigger a 10 second cooldown for ability A. I set the cooldown link to the same for both abilities, and the cooldown on ability B to 10, but it does not seem to work for an ability hidden by a requirement? How do I work around this?
yeah, forgot to mention that. They are both set to Unit. But it does not work for some reason /: The ability hidden by a requirement, so that might cause it.
You could always make ability B apply a buff to the unit and add CountBehavior=0 to the Requirement of ability A. Would obviously not display the cooldown timer on the ability button though.
What is the cooldown time set on ability A? If it's currently 0 try setting that to 10 in case the link only has an "on cooldown" flag and the time is controlled by each ability individually.
I tried to set the Cost field, ability to the ability I need the cooldown to trigger on, set the Cooldown Time Use to 20, but it still does not work. How do I make it work right? (I did set the Impact Unit to Caster)
I have two abilities, ability A and B.
When ability A is cast, the caster gets a buff, which shows ability B, and hides ability A.
I want to make ability B trigger a 10 second cooldown for ability A. I set the cooldown link to the same for both abilities, and the cooldown on ability B to 10, but it does not seem to work for an ability hidden by a requirement? How do I work around this?
Just aligning the link doesn't work, you also have to set the Location for the cooldown, in your case to Unit for both abilities.
yeah, forgot to mention that. They are both set to Unit. But it does not work for some reason /: The ability hidden by a requirement, so that might cause it.
Theoretically, the cooldown is independend of the ability actually being existent on the unit. Did you try it without a requirement?
You could always make ability B apply a buff to the unit and add CountBehavior=0 to the Requirement of ability A. Would obviously not display the cooldown timer on the ability button though.
What is the cooldown time set on ability A? If it's currently 0 try setting that to 10 in case the link only has an "on cooldown" flag and the time is controlled by each ability individually.
A Modify Unit effect would be the right way of altering the cooldown of A.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@Kueken531: Go
I havent tried that, but it seems to be the only explenation. I'll test it without later. For now, I just activated the cooldown with a trigger.
@DrSuperEvil: Go
I tried to set the Cost field, ability to the ability I need the cooldown to trigger on, set the Cooldown Time Use to 20, but it still does not work. How do I make it work right? (I did set the Impact Unit to Caster)