Passive cooldown
Passive cooldown
How do you make passives with a cooldown (like Ressurection or Tristan's Path of Shadows) and how would one trigger them to cooldown and detect if they had cooled down?
Those who seek war deserve for the war to find them.
- assassingao
- Teh UBER Typist
- Posts: 999
- Joined: Wed Jan 16, 2008 12:56 pm
Re: Passive cooldown
Resurrection can have it's cooldown set in the object editor...
Tristan's path of shadows...in the other hand. I think that Dusk uses a passive skill as a passive dummy ability, then when someone ordered something, the dummy ability is removed and it's replaced with the active dummy skill as ability.
Then the active dummy skill is used, thus the cooldown starts, along with a timer.
When the timer ends, the active dummy skill is removed, and the passive dummy skill is added once again.
Tristan's path of shadows...in the other hand. I think that Dusk uses a passive skill as a passive dummy ability, then when someone ordered something, the dummy ability is removed and it's replaced with the active dummy skill as ability.
Then the active dummy skill is used, thus the cooldown starts, along with a timer.
When the timer ends, the active dummy skill is removed, and the passive dummy skill is added once again.
Re: Passive cooldown
Dusk also said something about how cooldown was hard to find exactly, so it might recharge earlier or later than what you would expect normally.
- Rising_Dusk
- Chosen of the Intargweeb
- Posts: 4031
- Joined: Sat Dec 15, 2007 1:50 pm
- Contact:
Re: Passive cooldown
Cooldown in WC3 is a biscuit. You think 8 seconds would mean 8 seconds, but it doesn't for whatever reason. And yes, it uses a cycle of three abilities to make PoS work. It's really tricky and I'm not particularly motivated to explain the whole thing right now, but settle in knowing that it is done as follows:
- Learn dummy ability, add dummy passive
- Trigger on whatever event, turn off intercept trigger, remove dummy passive, add dummy cooldown ability
- Track cooldown
- When cooldown ends, remove dummy cooldown ability, add dummy passive,turn back on intercept trigger
"I'll come to Florida one day and make you look like a damn princess." ~Hep
Re: Passive cooldown
that's funny, I've always used timers to track the cooldown on effects and it's never bugged out. I usually set it to about 0.01 to 0.1 less than the actual cooldown to make sure you can't recast the dummy cooldown effect. BTW what ability do you use for the dummy cooldown. All of the one's I tried stop the unit's current actions if you order them to cast the dummy effect. The only thing that worked for me was a dummy spell shield that gets triggered by a dummy casting unit.
- Rising_Dusk
- Chosen of the Intargweeb
- Posts: 4031
- Joined: Sat Dec 15, 2007 1:50 pm
- Contact:
Re: Passive cooldown
It was being very unreliable in my testing, but it may have been a flawed test. Either way, I found a better method so whatever. Also, all dummy spells cause the unit to forget its orders, there is no way around that.
"I'll come to Florida one day and make you look like a damn princess." ~Hep
Re: Passive cooldown
I guess I'll have to stay with using a dummy spell shield, since it activates passively...
- Rising_Dusk
- Chosen of the Intargweeb
- Posts: 4031
- Joined: Sat Dec 15, 2007 1:50 pm
- Contact:
Re: Passive cooldown
I use berserk and just restore the unit's order, but you can do what you want.
"I'll come to Florida one day and make you look like a damn princess." ~Hep
Re: Passive cooldown
Thing is I don't know how to store the order they had so it's the only good way I have for now :/.
-
- Keeper of the Keys
- Posts: 434
- Joined: Fri Jan 18, 2008 4:50 pm
- Location: Massachusetts
Re: Passive cooldown
Use Fan of Knives as a base. It restores the unit order after activation.
Math is # |e^iπ|
"I can't imagine getting hit by a giant rock and not being maimed or crippled or ruined" -Dusk
Logue: Please replace the toilet paper when you use it all. For some reason my 5 year old son believes if it's not there he does not have to wipe.
"I can't imagine getting hit by a giant rock and not being maimed or crippled or ruined" -Dusk
Logue: Please replace the toilet paper when you use it all. For some reason my 5 year old son believes if it's not there he does not have to wipe.
- Rising_Dusk
- Chosen of the Intargweeb
- Posts: 4031
- Joined: Sat Dec 15, 2007 1:50 pm
- Contact:
Re: Passive cooldown
Not when ordered via triggers -- You'll always lose orders that way. The obvious solution is to just reissue the order, though, I don't see the trouble in the first place.
"I'll come to Florida one day and make you look like a damn princess." ~Hep
-
- Keeper of the Keys
- Posts: 434
- Joined: Fri Jan 18, 2008 4:50 pm
- Location: Massachusetts
Re: Passive cooldown
Hot damn. Blizzard doesn't think far ahead, does it?
Math is # |e^iπ|
"I can't imagine getting hit by a giant rock and not being maimed or crippled or ruined" -Dusk
Logue: Please replace the toilet paper when you use it all. For some reason my 5 year old son believes if it's not there he does not have to wipe.
"I can't imagine getting hit by a giant rock and not being maimed or crippled or ruined" -Dusk
Logue: Please replace the toilet paper when you use it all. For some reason my 5 year old son believes if it's not there he does not have to wipe.
-
- Noobite Warrior
- Posts: 9
- Joined: Thu Aug 21, 2008 9:21 pm
Re: Passive cooldown
UI-Key + berserk. It's not a TERRIBLE thing if the passive only works while selected.Rising_Dusk wrote:Not when ordered via triggers -- You'll always lose orders that way. The obvious solution is to just reissue the order, though, I don't see the trouble in the first place.
- Rising_Dusk
- Chosen of the Intargweeb
- Posts: 4031
- Joined: Sat Dec 15, 2007 1:50 pm
- Contact:
Re: Passive cooldown
That's debatable, but I guess you could do it that way if it fit your fancy.
"I'll come to Florida one day and make you look like a damn princess." ~Hep