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
Katon3fireballsbyZzdragonbetterzZFIXX.w3x
Variables
REquest
KATON
KATON 3 FIREBALLS
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
Dummy2
unit
Yes
KatonA
real
Yes
katonC
unit
Yes
katonP
location
Yes
GIVE CREADITS IF USE :P
KATON
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Katon
Actions
Set Variable Set katonC[54] = (Triggering unit)
Set Variable Set katonP[2] = (Position of katonC[54])
Set Variable Set katonP[3] = (Target point of ability being cast)
Set Variable Set KatonA[1] = (Angle from katonP[2] to katonP[3])
Set Variable Set katonP[4] = (katonP[2] offset by 200.00 towards KatonA[1] degrees.)
Set Variable Set katonP[5] = (katonP[2] offset by 100.00 towards KatonA[1] degrees.)
Unit - Create 1 . Dummy FIREBALLS for Neutral Passive at (Position of katonC[54]) facing KatonA[1] degrees
Set Variable Set Dummy2[5] = (Last created unit)
Trigger - Turn on KATON__3_FIREBALLS <gen>
Wait 1.50 seconds
Trigger - Turn off KATON__3_FIREBALLS <gen>
Unit - Remove Dummy2[5] from the game
Unit - Remove Dummy2[6] from the game
Unit - Remove Dummy2[7] from the game
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
KATON 3 FIREBALLS
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Unit - Move Dummy2[5] instantly to ((Position of Dummy2[5]) offset by 10.00 towards KatonA[1] degrees.)
Unit Group - Pick every unit in (Units within 200.00 of (Position of Dummy2[5]).) 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 katonC[54]).) Equal to True
Then - Actions
Unit - Cause katonC[54] to damage (Picked unit) , dealing (Real(((Agility of katonC[54] (Include bonuses)) x 2))) 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.