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
ZzdragonbetterzZMokutonJukai.w3x
Variables
Mokuton
Mokuton Jukai
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
CAsterP
location
No
DummyM
unit
Yes
EP
location
No
MG
group
No
MokutonC
unit
Yes
MPCku
location
No
Spell make by ZzdragonbetterzZ
Give Credits if use (>..<)
Mokuton Jukai
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Mokuton Jukai Kuton
Actions
Set Variable Set MokutonC[1] = (Casting unit)
Set Variable Set CAsterP = (Position of MokutonC[1])
Set Variable Set MPCku = (CAsterP offset by 400.00 towards ((Real((Integer A))) x 40.00) degrees.)
Unit - Pause MokutonC[1]
Wait 0.90 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Triggering unit)) Equal to Mountain King
Then - Actions
Unit - Create 1 . Dummy Mokuton for Neutral Passive at (CAsterP offset by 0.00 towards 0.00 degrees.) facing Default building facing degrees
Set Variable Set DummyM[14] = (Last created unit)
Unit - Create 1 . Dummy Mokuton for Neutral Passive at (CAsterP offset by 256 towards 10.00 degrees.) facing Default building facing degrees
Set Variable Set DummyM[15] = (Last created unit)
Unit - Create 1 . Dummy Mokuton for Neutral Passive at (CAsterP offset by 256 towards 80.00 degrees.) facing Default building facing degrees
Set Variable Set DummyM[16] = (Last created unit)
Unit - Create 1 . Dummy Mokuton for Neutral Passive at (CAsterP offset by 256 towards 290.00 degrees.) facing Default building facing degrees
Set Variable Set DummyM[17] = (Last created unit)
Unit - Create 1 . Dummy Mokuton for Neutral Passive at (CAsterP offset by 256 towards 180.00 degrees.) facing Default building facing degrees
Set Variable Set DummyM[18] = (Last created unit)
Unit - Create 1 . Dummy Mokuton for Neutral Passive at (CAsterP offset by 400.00 towards 180.00 degrees.) facing Default building facing degrees
Set Variable Set DummyM[19] = (Last created unit)
Unit - Create 1 . Dummy Mokuton for Neutral Passive at (CAsterP offset by 400.00 towards 290.00 degrees.) facing Default building facing degrees
Set Variable Set DummyM[20] = (Last created unit)
Unit - Create 1 . Dummy Mokuton for Neutral Passive at (CAsterP offset by 400.00 towards 80.00 degrees.) facing Default building facing degrees
Set Variable Set DummyM[21] = (Last created unit)
Unit - Create 1 . Dummy Mokuton for Neutral Passive at (CAsterP offset by 400.00 towards 10.00 degrees.) facing Default building facing degrees
Set Variable Set DummyM[22] = (Last created unit)
Wait 2 seconds
Unit - Remove DummyM[14] from the game
Unit - Remove DummyM[15] from the game
Unit - Remove DummyM[16] from the game
Unit - Remove DummyM[17] from the game
Unit - Remove DummyM[18] from the game
Unit - Remove DummyM[19] from the game
Unit - Remove DummyM[20] from the game
Unit - Remove DummyM[21] from the game
Unit - Remove DummyM[22] from the game
Unit - Create 1 . Dummy EXPLODE for Neutral Passive at (CAsterP offset by 0.00 towards 0.00 degrees.) facing Default building facing degrees
Unit Group - Pick every unit in (Units within 500.00 of (Position of MokutonC[1]).) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is alive) Equal to True
((Picked unit) belongs to an enemy of (Owner of MokutonC[1]).) Equal to True
Then - Actions
Unit - Cause MokutonC[1] to damage (Picked unit) , dealing (Real(((Agility of MokutonC[1] (Include bonuses)) x 4))) damage of attack type Spells and damage type Normal
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.