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
ZlatniLav's IMBA Spell 1.24 works.w3x
Variables
ZlatniLav
Start
My New Spell
---------------------------
My New Spell
My New Spell 2
My New Spell 3
My New Spell 4
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
Casters
group
No
Group
group
No
Integer
integer
No
Point
location
No
Point2
location
No
Real
real
No
Start
Events
Map initialization
Conditions
Actions
Game - Display to (All players) the text: This is spell from ZlatniLav i hop you like it!ZlatniLav @ hiweworkshopCredit if used!!!NOW, KILL SOME MUDKIPZ
I hope you like it.
Credit me if you use it!!1
My New Spell
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to IMBA Spell
Actions
Set Variable Set Point = (Target point of ability being cast)
Unit - Create (Random integer number between 1 and 10) . Footman for (Owner of (Triggering unit)) at Point facing Default building facing degrees
Custom script: call RemoveLocation(udg_Point)
My New Spell 2
Events
Unit - A unit Dies
Conditions
Actions
Set Variable Set Point = (Position of (Triggering unit))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Triggering unit)) Equal to Footman
Then - Actions
Set Variable Set Real = "0.00"
Set Variable Set Point = (Position of (Triggering unit))
For each (Integer A) from 1 to 10 , do (Actions)
Loop - Actions
Set Variable Set Point2 = (Point offset by 1000.00 towards Real degrees.)
Set Variable Set Real = (Real + 36.00)
Unit - Create 1 . Peasant for (Owner of (Triggering unit)) at Point facing Default building facing degrees
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
Unit - Order (Last created unit) to Move To . Point2
Custom script: call RemoveLocation(udg_Point2)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Triggering unit)) Equal to Peasant
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 20) Equal to 2
Then - Actions
Unit - Create 1 . Footman for (Owner of (Triggering unit)) at Point facing Default building facing degrees
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Triggering unit)) Equal to Knight
Then - Actions
Set Variable Set Group = (Units within 512 of Point.)
Unit Group - Pick every unit in Group and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Triggering unit)) is an enemy of (Owner of (Picked unit)).) Equal to True
Then - Actions
Unit - Cause (Triggering unit) to damage (Picked unit) , dealing 10.00 damage of attack type Spells and damage type Normal
Animation - Change (Picked unit) 's vertex coloring to ( (Random real number between 1.00 and 100.00) %, (Random real number between 1.00 and 100.00) %, (Random real number between 1.00 and 100.00) %) with 0 % transparency
Special Effect - Create a special effect attached to the overhead (Unexpected type: 'attachpoint') of (Picked unit) using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Else - Actions
Custom script: call DestroyGroup(udg_Group)
Else - Actions
Custom script: call RemoveLocation(udg_Point)
My New Spell 3
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to IMBA Spell2
Actions
Set Variable Set Point = (Target point of ability being cast)
Unit - Create (Random integer number between 1 and 3) . Knight for (Owner of (Triggering unit)) at Point facing Default building facing degrees
Custom script: call RemoveLocation(udg_Point)
My New Spell 4
Events
Time - Every 0.33 seconds of game time
Conditions
Actions
Set Variable Set Group = (Units of type Knight)
Unit Group - Pick every unit in Group and do (Actions)
Loop - Actions
Animation - Change (Picked unit) 's vertex coloring to ( (Random real number between 1.00 and 100.00) %, (Random real number between 1.00 and 100.00) %, (Random real number between 1.00 and 100.00) %) with 0 % transparency
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.