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!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
Manaclysm v2.0.w3x
Variables
Manaclysm
Hashtable
ManaCracks
ManaCrack Death and Damage
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.
Name
Type
is_array
initial_value
Integer1
integer
No
1
MCendEffect
effect
No
MChashtable
hashtable
No
MCHero_Handle
handle
No
tempgroup
group
No
ThunClap
effect
No
UnitLocDestroy
location
No
WarStmp
effect
No
Hashtable
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Hashtable - Create a hashtable
Set Variable Set MChashtable = (Last created hashtable)
ManaCracks
Events
Unit - A unit Finishes casting an ability
Conditions
Actions
Unit - Make (Triggering unit) Invulnerable
Unit - Pause (Triggering unit)
Set Variable Set MCHero_Handle = (Load 0 of 0 in MChashtable.)
For each (Integer Integer1 ) from 1 to 50 , do (Actions)
Loop - Actions
Unit - Create 1 Mana Crack for (Owner of (Triggering unit)) at ((Position of (Triggering unit)) offset by (Random real number between 1.00 and 300.00) towards (Random real number between 0 and 360.00) degrees.) facing (Position of (Triggering unit))
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Set Variable Set ThunClap = (Last created special effect)
Special Effect - Destroy ThunClap
Set Variable Set UnitLocDestroy = (Position of (Last created unit))
Set Variable Set tempgroup = (Last created unit group)
Custom script: call DestroyGroup(udg_tempgroup)
Wait 0.01 seconds
Wait 1.00 seconds
Hashtable - Clear MChashtable
Hashtable - Save Handle Of (Triggering unit) as 0 of 1 in MChashtable .
Unit - Cause (Triggering unit) to damage circular area after 0 seconds of radius 300.00 at (Position of (Triggering unit)) , dealing (100.00 + (25.00 x (Real((Hero level of (Triggering unit)))))) damage of attack type Spells and damage type Normal
For each (Integer Integer1 ) from 1 to 30 , do (Actions)
Loop - Actions
Special Effect - Create a special effect at ((Position of (Triggering unit)) offset by 150.00 towards (Random real number between 0.00 and 360.00) degrees.) using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
Set Variable Set MCendEffect = (Last created special effect)
Special Effect - Destroy MCendEffect
Unit - Make (Triggering unit) Vulnerable
Unit - Unpause (Triggering unit)
Hashtable - Clear MChashtable
ManaCrack Death and Damage
Events
Unit - A unit enters (Playable map area)
Conditions
(Unit-type of (Triggering unit)) Equal to Mana Crack
Actions
Wait 1.00 seconds
Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 150.00 at (Position of (Triggering unit)) , dealing (20.00 + (4.00 x (Real((Hero level of (Load 0 of 0 in MChashtable.)))))) damage of attack type Spells and damage type Normal
Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
Set Variable Set WarStmp = (Last created special effect)
Special Effect - Destroy WarStmp
Wait until ((Load 0 of 0 in MChashtable.) Equal to (Load 0 of 1 in MChashtable.)) , checking every 0.10 seconds
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.