Spells:
Cuffs of fire (Passive): The hero gives a chance to deal extra damage in all units in little area.
-
Init
-
Event
-
Unidad - A unit Is attacked
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If: Conditions
-
(Level of Cuffs of fire for (Attacking unit)) More than or equal 1
-
Then do: Actions
-
Unit Group - Add (Attacking unit) to TempGroup1
-
Unit Group - Add (Attacked unit) to TempGroup2
-
Set Random = (Random real number between 0.00 and 100.00)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If: Conditions
-
(Integer(Random)) Less than or equal 25
-
Then do: Actions Unit Group - Pick every unit in TempGroup1 and do (Actions)
-
Actions
-
Set TempUnit1 = (Picked unit)
-
Set Damage = ((Real((Level of Cuffs of fire for TempUnit1))) x 100.00)
-
Special effect - Create a special effect attached to the hand left of TempUnit1 using Abilities\Weapons\PhoenixMissile\Phoenix_Missile.mdl
-
Special effect - Destroy (Last created special effect)
-
Unit Group - Pick every unit in TempGroup2 and do (Actions)
-
Actions Unit - Order TempUnit1 to damage (Picked unit) for Damage using attack type Spell and damage type Fire.
-
Custom script: set bj_wantDestroyGroup=true
-
Unit Group - Pick every unit in (Units within 200.00 of (Position of (Picked unit)) matching (((Matching unit) belongs to an enemy of (Owner of TempUnit1)) Igual a True)) and do (Actions)
-
Actions
-
Unit - Order TempUnit1 to damage (Picked unit) for 75.00 using attack type Spell and damage type Fire.
-
Unit Group - Remove (Picked unit) from TempGroup2
-
Unit Group - Remove TempUnit1 from TempGroup1
-
Others: Actions Unit Group - Remove (Attacking unit) from TempGroup1
-
Unit Group - Remove (Attacked unit) from TempGroup2
-
-------- Do not touch. --------
-
Others: Actions
-
Dead
-
Event
-
Condtions
-
((Dying unit) is in TempGroup2) Igual a True
-
Acciones
-
Special effect - Create a special effect at (Position of (Dying unit)) using Abilities\Weapons\PhoenixMissile\Phoenix_Missile.mdl
-
Special effect - Destroy (Last created special effect)
Avalanche (Target Ground): The hero casts a avalanche between 5 and 20 rocks (more or lees).
-
Init
-
Event
-
Unidad - A unit Comienza a lanzar una habilidad
-
Condiciones
-
(Ability being cast) Igual a Avalnche
-
Acciones
-
Set PuntoAv = (Target point of ability being cast)
-
Grupo de unidad - Add (Casting unit) to PointFall
-
Grupo de unidad - Pick every unit in PointFall and do (Actions)
-
Bucle: Acciones
-
Custom script: // No tocar.
-
Grupo de unidad - Remove (Picked unit) from PointFall
-
Unidad - Create 1 Punto for (Owner of (Picked unit)) at PuntoAv facing Vista edificio predeterminada degrees
-
Grupo de unidad - Add (Last created unit) to PointFall
-
Custom script: // Puedes cambiar donde aparecera [...] offset by ("Cambiable") [...]
-
Custom script: // No tocar.
-
Unidad - Order (Casting unit) to Detener
-
Custom script: // No tocar.
-
Custom script: call RemoveLocation (udg_PuntoAv)
-
Creation
-
Acontecimientos
-
Tiempo - Every 0.20 seconds of game time
-
Condiciones
-
Acciones
-
Grupo de unidad - Pick every unit in PointFall and do (Actions)
-
Bucle: Acciones
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Si: Condiciones
-
And - All (Conditions) are true
-
Condiciones
-
(Picked unit) No igual a Ninguna unidad
-
(Custom value of (Picked unit)) Menor que o igual a (Random integer number between 4 and 14)
-
Entonces: Acciones
-
Custom script: // Cuantos apareceran (Random integrer number between 4 and 14) ^^
-
Unidad - Set the custom value of (Picked unit) to ((Custom value of (Picked unit)) + 1)
-
Custom script: // No tocar.
-
Unidad - Create 1 Avalancha for (Owner of (Picked unit)) at ((Position of (Picked unit)) offset by ((Random real number between -250.00 and 250.00), (Random real number between -250.00 and 250.00))) facing Vista edificio predeterminada degrees
-
Custom script: // Puedes cambiar donde aparecera [...] offset by ("Cambiable") [...]
-
Grupo de unidad - Add (Last created unit) to Avalanche
-
Animación - Play (Last created unit)'s birth animation
-
Custom script: // No tocar.
-
Otros: Acciones
-
Custom script: // No tocar.
-
Grupo de unidad - Remove (Picked unit) from PointFall
-
Caida
-
Acontecimientos
-
Tiempo - Every 0.03 seconds of game time
-
Condiciones
-
Acciones
-
Grupo de unidad - Pick every unit in Avalanche and do (Actions)
-
Bucle: Acciones
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Si: Condiciones
-
(Picked unit) No igual a Ninguna unidad
-
Entonces: Acciones
-
Grupo de unidad - Pick every unit in Avalanche and do (Actions)
-
Bucle: Acciones
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Si: Condiciones
-
(Current flying height of (Picked unit)) Mayor que o igual a 5.00
-
Entonces: Acciones
-
Animación - Change (Picked unit) flying height to ((Current flying height of (Picked unit)) - (Random real number between 5.00 and 14.50)) at 0.00
-
Custom script: // No tocar.
-
Otros: Acciones
-
Unidad - Order (Picked unit) to damage area in 0.01 seconds of size 150.00 at (Position of (Picked unit)) for 130.00 using attack type Conjuros and damage type Fire.
-
-------- Ya sabes, daño... --------
-
Efecto especial - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Other\Volcano\VolcanoDeath.mdl
-
Efecto especial - Destroy (Last created special effect)
-
Custom script: // Efecto especial cambiable ^^.
-
Custom script: // No tocar.
-
Unidad - Explode (Picked unit)
-
Grupo de unidad - Remove (Picked unit) from Avalanche
-
Custom script: // No tocar.
-
Otros: Acciones
Rocks (No target): The hero creates 3/6/9 rocks and this goes to all directions.
Others (I do not remember)
My first spell. Sorry but my bad English and the ^^^ Triggers ^^^
Version 0.02:
The spells are in English.
Version 0.03
Fixed bugs
Version 0.04
Screenshot
Change in the description the first Trigger to English.
Keywords:
fire, earth, Fyt, rock, lava, pack, spell, cuffs, cuff, avalanche, rocks, first.