• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Petrified skill

Status
Not open for further replies.
Use a Damage Engine to handle the 25% chance to activate on attack.

When it activates, order a Dummy unit cast a unique Storm Bolt ability on the target and change the target's colors using vertex coloring.
This should help with resetting a unit back to it's original colors: [Snippet] GetUnitVertexColor

Then add the target to a "petrified" Unit Group and turn on a "Loop" trigger that has a Periodic Interval of 0.10 seconds. This Loop trigger should be set to Initially OFF since it only needs to be on while a unit is petrified.

This Loop trigger will pick every unit in the petrified Unit Group and check to see if they have the petrified buff (which is applied by the dummy Storm Bolt ability).

If they no longer have the buff then remove them from the Unit Group and reset their vertex colors. Finally, check to see if the number of units in the Unit Group is Equal to 0, and if it is, turn off the Loop trigger.
 
Status
Not open for further replies.
Back
Top