Setup both abilities however you like, with different costs and cooldowns as per normal. Abil A has 10 sec cooldown and Abil B has 60 sec cooldown.
Now, open the Cost+ field on Abil A.
Scroll down till you find the Cooldown section, you will see Link with the default entry Abil/Ability A. Next to Abil/Ability A, you will see a button titled ADD. Click on that, and name it CooldownAB (or whatever you like) and set it to CooldownAB.
Next, you see Location with the default entry of Ability. Change Ability to Unit.
Now, do the same thing to Ability B, change the Location to Unit and the Link to CooldownAB(no need to ADD it a second time.
Voila, all done.
Now if you use Ability A in game, you get a 10 second cooldown to both Ability A and B, but if you use Ability B, you get a 1 minute cooldown to both Ability A and B.
Give your ability with no cooldown a 0.5 second cooldown if you need a cooldown to have it function?
The Link goes both ways.
Lets say if you use ability A, you cannot use A or B for the duration of Cooldown A, but if you use B, you want to be able to use A, you make Ability A also apply a buff to the caster that disables ability B. Duration of this buff is the same duration as the Cooldown of Ability A.
About the behavior? You mean a Behavior-type ability? Like cloak?
Uploaded a map with linked cooldowns, including a behavior and regular type ability on Ultralisk with different cooldowns. 2 regular abilities with different cooldowns on Colossus.
I wanted it such that as long as Corruption is on CD, Hardened Shield will not work. (of course not the same behavior/ability, but the idea is there)
I don't think there is a way to validate a cooldown, so what you would need to do is add a set effect to the Corruption ability, that does the effect and applies a buff onto the Overseer that suppresses the Hardened Shield behavior.
Is there a way for 2 different ability to share cooldowns?
For example - a validator or requirement for certain ability's cooldown?
So as long as Ability A is in CD, you will not be able to use Ability B.
Ability A and Ability B both have different cost, effect & cd.
Yes it is possible and extremely easy to do.
Setup both abilities however you like, with different costs and cooldowns as per normal. Abil A has 10 sec cooldown and Abil B has 60 sec cooldown.
Now, open the Cost+ field on Abil A.
Scroll down till you find the Cooldown section, you will see Link with the default entry Abil/Ability A. Next to Abil/Ability A, you will see a button titled ADD. Click on that, and name it CooldownAB (or whatever you like) and set it to CooldownAB.
Next, you see Location with the default entry of Ability. Change Ability to Unit.
Now, do the same thing to Ability B, change the Location to Unit and the Link to CooldownAB(no need to ADD it a second time.
Voila, all done.
Now if you use Ability A in game, you get a 10 second cooldown to both Ability A and B, but if you use Ability B, you get a 1 minute cooldown to both Ability A and B.
Thanks a lot, I never know what Link did until now.
Much appreciated.
@BorgDragon: Go
And if you only want the ability cd share one way, you only change it for Ability A, right?
Or you just adjust the Link to Ability B's ability ID?
@BorgDragon: Go
I did the following - did not work.
Scroll down till you find the Cooldown section, you will see Link with the default entry Abil/Ability A.
Next, you see Location with the default entry of Ability. Change Ability to Unit.
Now, to Ability B, change the Location to Unit and the Link to Abil/Ability A.
I also did what your original instruction said - did not work.
It will only work if ALL ability have CD, if one does not, it does not work.
Also, how about 1 Behavior without CD & 1 Ability with CD?
If I use Ability, then Behavior will not apply until Ability have finish Cooldown.
@dragooness: Go
About the behavior? You mean a Behavior-type ability? Like cloak?
Uploaded a map with linked cooldowns, including a behavior and regular type ability on Ultralisk with different cooldowns. 2 regular abilities with different cooldowns on Colossus.
Everything works fine.
That works, but isn't some ability such as Medivac - Heal or Load don't really function well with CD. But I guess I can make CD to 0.01 seconds.
Like a Passive behavior, such as Hardened Shield from Immortal and Corruption from Corruptor on the same unit.
I wanted it such that as long as Corruption is on CD, Hardened Shield will not work. (of course not the same behavior/ability, but the idea is there)
I don't think there is a way to validate a cooldown, so what you would need to do is add a set effect to the Corruption ability, that does the effect and applies a buff onto the Overseer that suppresses the Hardened Shield behavior.
@BorgDragon: Go
I think I got what you are saying.
When I use Corruption, I also apply a behavior to myself that disable Hardened Shield behavior for 45 seconds.
But how do I know Hardened Shield will apply only after the unit checks if disabling behavior have been applied?
I got it, it worked.