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
Blinding Flash.w3x
Variables
Binding Flash
Read me!
First
other
lvl
Kartenspezifischen eigenen Skript-Code unten eingeben. Dieser Text wird in das Karten-Skript nach der Deklaration der Variablen und vor jeglichem Auslöser-Code eingefügt.
Name
Type
is_array
initial_value
bool
boolean
Yes
degrees
real
Yes
temppoint
location
Yes
temppoint2
location
Yes
Ohai,
copy the trigger below
copy all variables
copy the 'flashdummy' located in the object editor
also copy the abilities 'Blinding Flash' and 'damage' plus the buff 'flashdmg' to make it work.
The spell has three levels.
It's MPI and MUI
Have Fun
Squiggy
First
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Blinding Flash
Actions
Set Variable Set temppoint[(Player number of (Owner of (Triggering unit)))] = (Position of (Triggering unit))
-------- Creates the terrain deformation going out from the caster towards the AoE --------
Environment - Create a 2.00 second Normal ripple deformation at temppoint[(Player number of (Owner of (Triggering unit)))] with starting radius 0.00 , ending radius 1024 , and depth 64 , using 1 second ripples spaced 128.00 apart
-------- Defines the number of lighning balls to create --------
For each (Integer A) from 1 to ((Level of Blinding Flash for (Triggering unit)) x 10) , do (Actions)
Loop - Actions
-------- Creates the lightning balls --------
Unit - Create 1 . flashdummy for (Owner of (Triggering unit)) at temppoint[(Player number of (Owner of (Triggering unit)))] facing Default building facing degrees
-------- Adds a time to the created unit to make it die after the time has expired --------
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-------- Sets the targeted point for the created lightning ball --------
Set Variable Set temppoint2[(Player number of (Owner of (Triggering unit)))] = (temppoint[(Player number of (Owner of (Triggering unit)))] offset by 1000.00 towards degrees[(Player number of (Owner of (Triggering unit)))] degrees.)
Unit - Order (Last created unit) to Move To . temppoint2[(Player number of (Owner of (Triggering unit)))]
-------- Sets the angle in which the next lightning ball is to be created --------
Set Variable Set degrees[(Player number of (Owner of (Triggering unit)))] = (degrees[(Player number of (Owner of (Triggering unit)))] + (360.00 / ((Real((Level of Blinding Flash for (Triggering unit)))) x 10.00)))
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.