Naminator
Coming Back To Life
- Reaction score
- 76
Hello..this is my first spell pack. Don't be so hard on me =P. I call it Massive Spells
It's in GUI
Massive Holy Shield: (Just copy the trigger and ability)
Make all unit in 400 of AoE Invulnerable for determinated seconds
Massive Healing: (Copy only the trigger and ability)
Heal the hit point of allies unit in an area of 500 of AoE
Massive Mana Burn:(Copy Dummy Unit, Ability, and Trigger) To change Mana Burn go to Night Elfs>Heroes>Mana Burn and change fields.
Burn mana of the selected area and dealing the burn mana as damage
Massive Mix:(Copy Dummy Unit, Ability, and Trigger) To change Mana Burn go to Neutral Hostile>Heroes>Soul Burn and change fields.
Burn souls of units in the select area. The afected units has -50% attack, -30% movement speed, -30% attack rate, silence and deals 50 of damage each second.
Hope you like it
!
It's in GUI
Massive Holy Shield: (Just copy the trigger and ability)
Make all unit in 400 of AoE Invulnerable for determinated seconds

Code:
Massive Holy Shield
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Massive Holy Shield
Actions
Set MHS_Caster = (Triggering unit)
Set MHS_Caster_Loc = (Position of MHS_Caster)
Set MHS_Hit_Group = (Units within 400.00 of MHS_Caster_Loc matching ((((Matching unit) belongs to an ally of (Owner of MHS_Caster)) Equal to True) and (((Matching unit) is alive) Equal to True)))
Unit Group - Pick every unit in MHS_Hit_Group and do (Actions)
Loop - Actions
Special Effect - Create a special effect attached to the chest of (Picked unit) using Objects\Spawnmodels\Undead\UCancelDeath\UCancelDeath.mdl
Special Effect - Destroy (Last created special effect)
Unit - Make (Picked unit) Invulnerable
Unit - Set the custom value of (Picked unit) to (Execution count of (This trigger))
Custom script: call RemoveLocation(udg_MHS_Caster_Loc)
Custom script: call DestroyGroup(udg_MHS_Hit_Group)
Wait (4.00 x (Real((Level of Massive Holy Shield for MHS_Caster)))) seconds
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units in (Playable map area) matching ((Custom value of (Matching unit)) Equal to (Execution count of (This trigger)))) and do (Actions)
Loop - Actions
Unit - Make (Picked unit) Vulnerable
Unit - Set the custom value of (Picked unit) to 0
Heal the hit point of allies unit in an area of 500 of AoE

Code:
Massive Healing
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Massive Healing
Actions
Set TempLine = 0.00
Set MH_Caster = (Triggering unit)
Set MH_Caster_Loc = (Position of MH_Caster)
For each (Integer A) from 1 to 10, do (Actions)
Loop - Actions
Set TempLine = (TempLine + 50.00)
For each (Integer B) from 1 to 8, do (Actions)
Loop - Actions
Set MH_Offset[(Integer B)] = (MH_Caster_Loc offset by TempLine towards (45.00 x (Real((Integer B)))) degrees)
Special Effect - Create a special effect at MH_Offset[(Integer B)] using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation(udg_MH_Offset[bj_forLoopBIndex])
Custom script: call RemoveLocation(udg_MH_Caster_Loc)
Set MH_Caster_Loc = (Position of MH_Caster)
Set MH_Heal_Group = (Units within 500.00 of MH_Caster_Loc matching ((((Matching unit) belongs to an ally of (Owner of MH_Caster)) Equal to True) and (((Matching unit) is alive) Equal to True)))
Unit Group - Pick every unit in MH_Heal_Group and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Life of (Picked unit)) Equal to (Max life of (Picked unit))
Then - Actions
Skip remaining actions
Else - Actions
Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Special Effect - Destroy (Last created special effect)
Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + (100.00 x (Real((Level of Massive Healing for MH_Caster)))))
Custom script: call RemoveLocation(udg_MH_Caster_Loc)
Custom script: call DestroyGroup (udg_MH_Heal_Group)
Burn mana of the selected area and dealing the burn mana as damage

Code:
Massive Mana Burn
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Massive Mana Burn
Actions
Set MMB_Caster = (Triggering unit)
Set MMB_Caster_Loc = (Position of MMB_Caster)
Set MMB_Target_Point = (Target point of ability being cast)
Set MMB_Target_Group = (Units within (225.00 + (100.00 x (Real((Level of Massive Mana Burn for MMB_Caster))))) of MMB_Target_Point matching ((((Matching unit) belongs to an enemy of (Owner of MMB_Caster)) Equal to True) and (((Matching unit) is dead) Equal to False)))
Unit Group - Pick every unit in MMB_Target_Group and do (Actions)
Loop - Actions
Unit - Create 1 Dummy Unit for (Owner of MMB_Caster) at MMB_Caster_Loc facing Default building facing degrees
Unit - Add Mana Burn to (Last created unit)
Unit - Set level of Mana Burn for (Last created unit) to (Level of Massive Mana Burn for MMB_Caster)
Unit - Order (Last created unit) to Night Elf Demon Hunter - Mana Burn (Picked unit)
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Custom script: call RemoveLocation(udg_MMB_Caster_Loc)
Custom script: call RemoveLocation(udg_MMB_Target_Point)
Custom script: call DestroyGroup (udg_MMB_Target_Group)
Massive Mix:(Copy Dummy Unit, Ability, and Trigger) To change Mana Burn go to Neutral Hostile>Heroes>Soul Burn and change fields.
Burn souls of units in the select area. The afected units has -50% attack, -30% movement speed, -30% attack rate, silence and deals 50 of damage each second.

Code:
Massive Mix
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Massive Mix
Actions
Set MM_Caster = (Triggering unit)
Set MM_Caster_Loc = (Position of MM_Caster)
Set MM_Target_Point = (Target point of ability being cast)
Set MM_Target_Group = (Units within (225.00 + (100.00 x (Real((Level of Massive Mix for MM_Caster))))) of MM_Target_Point matching ((((Matching unit) belongs to an enemy of (Owner of MM_Caster)) Equal to True) and (((Matching unit) is dead) Equal to False)))
Unit Group - Pick every unit in MM_Target_Group and do (Actions)
Loop - Actions
Unit - Create 1 Dummy Unit for (Owner of MM_Caster) at MM_Caster_Loc facing Default building facing degrees
Unit - Add Soul Burn to (Last created unit)
Unit - Set level of Mana Burn for (Last created unit) to (Level of Massive Mana Burn for MM_Caster)
Unit - Order (Last created unit) to Neutral Fire Lord - Soul Burn (Picked unit)
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Custom script: call RemoveLocation(udg_MM_Caster_Loc)
Custom script: call RemoveLocation(udg_MM_Target_Point)
Custom script: call DestroyGroup (udg_MM_Target_Group)
Attachments
-
24.6 KB Views: 670