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!
I need a Lizard basilisk in my map, that has 25% chance every attack petrify enemie for x seconds. I´ve thinked bash hability, but how to change enemy aspect to gray like a stone?
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.