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
frost blast.w3x
Variables
Fire Inferno
The 'Fireballs' mentioned in the
trigger are new created units
( look at the Object Editor )
The Spell trigger
Fireball Move
The Spell trigger Copy
sound
frost blast move
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
angle
real
No
FireInferno_Caster
unit
No
frost_blast
unit
No
The Spell trigger
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Fire Inferno
Actions
Set Variable Set FireInferno_Caster = (Casting unit)
-------- the Variable is of the type: 'Unit' (without array) --------
Set Variable Set angle = "0.00"
-------- the Variable is of the type: 'Real' (without array) --------
Wait 0.01 seconds
Unit - Pause FireInferno_Caster
For each (Integer A) from 1 to 18 , do (Actions)
Loop - Actions
Set Variable Set angle = (angle + 20.00)
Unit - Create 1 Fire Balls for (Owner of FireInferno_Caster) at ((Position of FireInferno_Caster) offset by 50.00 towards angle degrees.) facing (Position of (Triggering unit))
Trigger - Turn on Fireball_Move <gen>
-------- This causes to activate the other trigger in order to make the Fireballs 'move' --------
Wait 0.20 seconds
For each (Integer A) from 1 to 8 , do (Actions)
Loop - Actions
Set Variable Set angle = (angle + 45.00)
Special Effect - Create a special effect at ((Position of FireInferno_Caster) offset by 175.00 towards angle degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Special Effect - Destroy (Last created special effect)
-------- Creates the flame strike special effect --------
Wait 0.10 seconds
For each (Integer A) from 1 to 8 , do (Actions)
Loop - Actions
Set Variable Set angle = (angle + 45.00)
Special Effect - Create a special effect at ((Position of FireInferno_Caster) offset by 350.00 towards angle degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Special Effect - Destroy (Last created special effect)
-------- Creates the flame strike special effect --------
Unit Group - Pick every unit in (Units within 450.00 of (Position of FireInferno_Caster).) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is A structure) Equal to False
((Picked unit) belongs to an ally of (Owner of FireInferno_Caster).) Equal to False
(Picked unit) Not equal to FireInferno_Caster
Then - Actions
-------- These conditions prevent that 1) buildings 2) allied units 3) the caster himself take damage --------
Unit - Cause FireInferno_Caster to damage (Picked unit) , dealing 100.00 damage of attack type Spells and damage type Fire
-------- makes the Damage --------
Else - Actions
Wait 0.10 seconds
For each (Integer A) from 1 to 36 , do (Actions)
Loop - Actions
Set Variable Set angle = (angle + 10.00)
Special Effect - Create a special effect at ((Position of FireInferno_Caster) offset by (Random real number between 100.00 and 400.00) towards angle degrees.) using Abilities\Spells\NightElf\Starfall\StarfallTarget.mdl
Unit Group - Pick every unit in (Units within 450.00 of (Position of FireInferno_Caster).) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is A structure) Equal to False
((Picked unit) belongs to an ally of (Owner of FireInferno_Caster).) Equal to False
(Picked unit) Not equal to FireInferno_Caster
Then - Actions
-------- These conditions prevent that 1) buildings 2) allied units 3) the caster himself take damage --------
Unit - Cause FireInferno_Caster to damage (Picked unit) , dealing 350.00 damage of attack type Spells and damage type Fire
-------- makes the Damage --------
Else - Actions
Unit - Unpause FireInferno_Caster
Wait 0.10 seconds
Trigger - Turn off Fireball_Move <gen>
-------- Stops the 'moving' trigger so the Fireballs dont move anymore --------
Unit Group - Pick every unit in (Units of type Fire Balls) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
-------- Removes the Fireballs --------
Fireball Move
Events
Time - Every 0.02 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units of type Fire Balls) and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 12.00 towards (Facing of (Picked unit)) degrees.)
The Spell trigger Copy
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to frost blast
Actions
Set Variable Set frost_blast = (Casting unit)
Set Variable Set angle = "0.00"
Wait 0.01 seconds
Unit - Pause frost_blast
For each (Integer A) from 1 to 18 , do (Actions)
Loop - Actions
Set Variable Set angle = (angle + 20.00)
Unit - Create 1 ice balls for (Owner of frost_blast) at ((Position of frost_blast) offset by 50.00 towards angle degrees.) facing (Position of (Triggering unit))
Trigger - Turn on frost_blast_move <gen>
Wait 0.20 seconds
For each (Integer A) from 1 to 8 , do (Actions)
Loop - Actions
Set Variable Set angle = (angle + 45.00)
Special Effect - Create a special effect at ((Position of frost_blast) offset by 175.00 towards angle degrees.) using Abilities\Spells\Undead\FreezingBreath\FreezingBreathMissile.mdl
Special Effect - Destroy (Last created special effect)
Wait 0.10 seconds
For each (Integer A) from 1 to 8 , do (Actions)
Loop - Actions
Set Variable Set angle = (angle + 45.00)
Special Effect - Create a special effect at ((Position of frost_blast) offset by 350.00 towards angle degrees.) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
Special Effect - Destroy (Last created special effect)
Unit Group - Pick every unit in (Units within 450.00 of (Position of frost_blast).) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is A structure) Equal to False
((Picked unit) belongs to an ally of (Owner of frost_blast).) Equal to False
(Picked unit) Not equal to FireInferno_Caster
Then - Actions
Unit - Cause frost_blast to damage (Picked unit) , dealing 700.00 damage of attack type Spells and damage type Cold
Else - Actions
Wait 0.10 seconds
For each (Integer A) from 1 to 36 , do (Actions)
Loop - Actions
Set Variable Set angle = (angle + 10.00)
Special Effect - Create a special effect at ((Position of frost_blast) offset by (Random real number between 100.00 and 400.00) towards angle degrees.) using Abilities\Spells\NightElf\Starfall\StarfallTarget.mdl
Unit Group - Pick every unit in (Units within 450.00 of (Position of frost_blast).) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is A structure) Equal to False
((Picked unit) belongs to an ally of (Owner of frost_blast).) Equal to False
(Picked unit) Not equal to frost_blast
Then - Actions
Unit - Cause frost_blast to damage (Picked unit) , dealing 350.00 damage of attack type Spells and damage type Cold
Else - Actions
Unit - Unpause frost_blast
Wait 0.10 seconds
Trigger - Turn off frost_blast_move <gen>
Unit Group - Pick every unit in (Units of type ice balls) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
sound
Events
Unit - A unit enters
Conditions
Actions
Sound - Play PH1 <gen>
frost blast move
Events
Time - Every 0.02 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units of type Phoenix) and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 12.00 towards (Facing of (Picked unit)) degrees.)
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.