Naminator
Coming Back To Life
- Reaction score
- 76
This is a spellpack for you. It's my third. It's all in GUI
Hope you like it!
Growing Catch:
Grabs enemy units in the select area dealing damage and deacresing his armor. (Copy ability, Dummy Unit(GC) and Trigger)
Refreshin Aura:
Has 7% of chance to auto refresh life and mana. (Copy ability and trigger)
[Image Is difficult to get. See it in the game a Holy Light apears.]
Icy Knockback:
Create a shield that when unit mele unit attack you they have chance to knockback. (Copy ability and Trigger)
God Works Misteriously:
"God works in misterious ways". Has a chance to God to strike a random unit. (Copy ability, Dummy Unit (GC) and Trigger)
Hope you like it!
Growing Catch:
Grabs enemy units in the select area dealing damage and deacresing his armor. (Copy ability, Dummy Unit(GC) and Trigger)
Code:
Growing Catch
Acontecimientos
Unidad - A unit Inicia el efecto de una habilidad
Condiciones
(Ability being cast) Igual a Growing Catch
Acciones
Set GC_Caster = (Triggering unit)
Set GC_Caster_Loc = (Position of GC_Caster)
Set GC_Target_Point = (Target point of ability being cast)
Set GC_Target_Group = (Units within (200.00 + (100.00 x (Real((Level of Growing Catch for GC_Caster))))) of GC_Target_Point matching ((((Matching unit) belongs to an enemy of (Owner of GC_Caster)) Igual a True) and (((Matching unit) is dead) Igual a False)))
Grupo de unidad - Pick every unit in GC_Target_Group and do (Actions)
Bucle: Acciones
Unidad - Create 1 Dummy Unit(GC) for (Owner of GC_Caster) at GC_Caster_Loc facing Vista edificio predeterminada degrees
Unidad - Add Rai_ces enredaderas to (Last created unit)
Unidad - Set level of Rai_ces enredaderas for (Last created unit) to (Level of Growing Catch for GC_Caster)
Unidad - Order (Last created unit) to Elfo de la noche Guardian del bosque: Rai_ces enredadas (Picked unit)
Unidad - Add a 2.00 second Generico expiration timer to (Last created unit)
Grupo de unidad - Pick every unit in GC_Target_Group and do (Actions)
Bucle: Acciones
Unidad - Create 1 Dummy Unit(GC) for (Owner of GC_Caster) at GC_Caster_Loc facing Vista edificio predeterminada degrees
Unidad - Add Fuego Faerico to (Last created unit)
Unidad - Set level of Fuego Faerico for (Last created unit) to (Level of Growing Catch for GC_Caster)
Unidad - Order (Last created unit) to Elfo de la noche Druida de la Garra: Fuego faerico (Picked unit)
Unidad - Add a 2.00 second Generico expiration timer to (Last created unit)
Custom script: call RemoveLocation(udg_GC_Caster_Loc)
Custom script: call RemoveLocation(udg_GC_Target_Point)
Custom script: call DestroyGroup (udg_GC_Target_Group)
Refreshin Aura:
Has 7% of chance to auto refresh life and mana. (Copy ability and trigger)
[Image Is difficult to get. See it in the game a Holy Light apears.]
Code:
Healing Aura
Acontecimientos
Tiempo - Every 1.00 seconds of game time
Condiciones
(Random integer number between 1 and 100) Igual a 15
Acciones
Set HA_Group = (Units in (Playable map area) matching (((Matching unit) has buff Refreshing Aura ) Igual a True))
Grupo de unidad - Pick every unit in HA_Group and do (Actions)
Bucle: Acciones
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
(Vida of (Picked unit)) Igual a (Vida max. of (Picked unit))
Entonces: Acciones
Skip remaining actions
Otros: Acciones
Efecto especial - Create a special effect attached to the chest of (Picked unit) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Efecto especial - Destroy (Last created special effect)
Unidad - Set life of (Picked unit) to ((Vida of (Picked unit)) + (75.00 x (Real((Level of Refreshing Aura for (Picked unit))))))
Unidad - Set mana of (Picked unit) to ((Mana of (Picked unit)) + (50.00 x (Real((Level of Refreshing Aura for (Picked unit))))))
Custom script: call DestroyGroup(udg_HA_Group)
Icy Knockback:
Create a shield that when unit mele unit attack you they have chance to knockback. (Copy ability and Trigger)
Code:
Icy Knockback
Acontecimientos
Unidad - A unit Es atacado
Condiciones
((Attacked unit) has buff Icy Knockback ) Igual a True
((Attacking unit) is Un atacante de refriega) Igual a True
Acciones
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
(Random integer number between 1 and 100) Menor que o igual a 20
Entonces: Acciones
Set PF_Knockback_Attacked = (Attacked unit)
Set PF_Knockback_Attacked_Loc = (Position of PF_Knockback_Attacked)
Set PF_Knockback_Attacking = (Attacking unit)
Set PF_Knockback_Attacking_Loc = (Position of PF_Knockback_Attacking)
Set PF_Knockback_Distance2 = (250.00 + (50.00 x (Real((Level of Icy Konckback for PF_Knockback_Attacked)))))
Set PF_Knockback_T = 0.00
Set PF_Knockback_Angle = (Angle from PF_Knockback_Attacked_Loc to PF_Knockback_Attacking_Loc)
Otros: Acciones
Detonador - Turn on Icy Knockback Action <gen>
Unidad - Cause PF_Knockback_Attacked to damage PF_Knockback_Attacking, dealing (75.00 x (Real((Level of Icy Konckback for PF_Knockback_Attacked)))) damage of attack type Conjuros and damage type Normal
Code:
Icy Knockback Action
Acontecimientos
Tiempo - Every 0.02 seconds of game time
Condiciones
Acciones
Set PF_Knockback_Attacking_Loc = (Position of PF_Knockback_Attacking)
Set PF_Move_To_Point = (PF_Knockback_Attacking_Loc offset by (5.00 + (1.00 x (Real((Level of Icy Konckback for PF_Knockback_Attacked))))) towards PF_Knockback_Angle degrees)
Set PF_Knockback_T = (PF_Knockback_T + (5.00 + (1.00 x (Real((Level of Icy Konckback for PF_Knockback_Attacked))))))
Unidad - Move PF_Knockback_Attacking instantly to PF_Move_To_Point
Efecto especial - Create a special effect at PF_Knockback_Attacking_Loc using Abilities\Spells\Human\FlakCannons\FlakTarget.mdl
Efecto especial - Destroy (Last created special effect)
Custom script: call RemoveLocation(udg_PF_Move_To_Point)
Custom script: call RemoveLocation (udg_PF_Knockback_Attacking_Loc)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
(PF_Knockback_T Mayor que o igual a PF_Knockback_Distance2) or ((PF_Knockback_Attacking is dead) Igual a True)
Entonces: Acciones
Detonador - Turn off (This trigger)
Otros: Acciones
God Works Misteriously:
"God works in misterious ways". Has a chance to God to strike a random unit. (Copy ability, Dummy Unit (GC) and Trigger)
Code:
God Works Misteriously
Acontecimientos
Unidad - A unit Es atacado
Condiciones
((Attacked unit) has buff God Works Misteriously ) Igual a True
Acciones
Set GWM_Attacked = (Attacked unit)
Set GWM_Attacked_Loc = (Position of GWM_Attacked)
Set GWM_Group = (Units within 500.00 of (Position of (Attacked unit)) matching (((Matching unit) belongs to an enemy of (Owner of (Attacked unit))) Igual a True))
Grupo de unidad - Pick every unit in GWM_Group and do (Actions)
Bucle: Acciones
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
(Random integer number between 1 and 100) Igual a 5
Entonces: Acciones
Set GWM_RandomUnit = (Random unit from GWM_Group)
Efecto especial - Create a special effect attached to the chest of GWM_RandomUnit using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Efecto especial - Destroy (Last created special effect)
Unidad - Kill GWM_RandomUnit
Otros: Acciones
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
(Random integer number between 1 and 100) Igual a 15
Entonces: Acciones
Set GWM_RandomUnit = (Random unit from GWM_Group)
Unidad - Create 1 Dummy Unit(GC) for (Owner of GWM_Attacked) at GWM_Attacked_Loc facing Vista edificio predeterminada degrees
Unidad - Add a 2.00 second Generico expiration timer to (Last created unit)
Unidad - Add Rayo de tormenta to (Last created unit)
Unidad - Order (Last created unit) to Humano Rey de la Montaña: Rayo de tormenta GWM_RandomUnit
Otros: Acciones
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
(Random integer number between 1 and 100) Igual a 20
Entonces: Acciones
Set GWM_RandomUnit = (Random unit from GWM_Group)
Unidad - Create 1 Dummy Unit(GC) for (Owner of GWM_Attacked) at GWM_Attacked_Loc facing Vista edificio predeterminada degrees
Unidad - Add a 2.00 second Generico expiration timer to (Last created unit)
Unidad - Add Quemar Mana to (Last created unit)
Unidad - Order (Last created unit) to Elfo de la noche Cazador de Demonios: Quemar mana GWM_RandomUnit
Otros: Acciones
Custom script: call DestroyGroup (udg_GWM_Group)
Custom script: call RemoveLocation (udg_GWM_Attacked_Loc)