• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Passive with cooldown.

Status
Not open for further replies.
For attack based: Make an ability based on Orb of lightnings orb ability... then make it use your Rage ability

For totally passive: Just make a trigger which creates a dummy caster whenever your unit hits HP < 60% that casts Rage on your unit... then for cooldown, you'd have to use a timed loop to store cooldown time for every unit so that it won't run when its on cooldown

Though the thing for the totally passive one is that it won't show cooldown on the UI...

or maybe you can try to do it the attack based way, but set chance to 0 so that it doesn't trigger when you attack, then on your HP trigger, just order the unit to cast the Rage ability
 
Level 11
Joined
Nov 15, 2007
Messages
781
Though the thing for the totally passive one is that it won't show cooldown on the UI...

When the passive is triggered, replace it with a dummy ability that doesn't interrupt orders (Berserk) and have the unit cast it; remove it and re-add the passive when the timer expires.
 
Level 14
Joined
Aug 23, 2013
Messages
285
For attack based: Make an ability based on Orb of lightnings orb ability... then make it use your Rage ability

For totally passive: Just make a trigger which creates a dummy caster whenever your unit hits HP < 60% that casts Rage on your unit... then for cooldown, you'd have to use a timed loop to store cooldown time for every unit so that it won't run when its on cooldown

Though the thing for the totally passive one is that it won't show cooldown on the UI...

or maybe you can try to do it the attack based way, but set chance to 0 so that it doesn't trigger when you attack, then on your HP trigger, just order the unit to cast the Rage ability

if i use trigger to order unit cast rage ability.
will the UI show the cooldown?
 
Status
Not open for further replies.
Top