Moderator
M
Moderator
12th Dec 2015
IcemanBo: Too long time as NeedsFix. Rejected.
17:14, 4th Mar 2011
Bribe:
IcemanBo: Too long time as NeedsFix. Rejected.
17:14, 4th Mar 2011
Bribe:
Hell Eruption

Events


Unit - A unit Starts the effect of an ability

Conditions


(Ability being cast) Equal to Hell Eruption

Actions


Set EruptionPoint = (Target point of ability being cast)


Custom script: set bj_wantDestroyGroup = true


Unit Group - Pick every unit in (Units within 300.00 of EruptionPoint matching ((Owner of (Matching unit)) Not equal to (Owner of (Triggering unit)))) and do (Actions)



Loop - Actions




Set EruptionDamage = (Last created unit group)




Unit - Cause (Triggering unit) to damage (Picked unit), dealing ((Real((Level of Hell Eruption for (Triggering unit)))) x 100.00) damage of attack type Chaos and damage type Normal




Custom script: call DestroyGroup ( udg_EruptionDamage )


Environment - Create a 1.00 second wave deformation from EruptionPoint to EruptionPoint with radius 200.00, depth -200.00, and a 0.00 second trailing delay


Special Effect - Create a special effect at EruptionPoint using Abilities\Spells\Other\Incinerate\FireLordDeathExplode.mdl


Special Effect - Destroy (Last created special effect)


Special Effect - Create a special effect at EruptionPoint using Abilities\Spells\Other\Volcano\VolcanoDeath.mdl


Special Effect - Destroy (Last created special effect)


Custom script: set bj_wantDestroyGroup = true


Unit Group - Pick every unit in (Units within 300.00 of EruptionPoint) and do (Actions)



Loop - Actions




Unit Group - Remove (Triggering unit) from EruptionPick




Unit Group - Remove all units of (Units owned by (Owner of (Triggering unit))) from EruptionPick




Set EruptionPick = (Last created unit group)




Unit - Turn collision for (Picked unit) Off




Set EruptionUnitPoint = (Position of (Picked unit))




Hashtable - Save (Angle from EruptionPoint to EruptionUnitPoint) as (Key KnockbackDegrees) of (Key (Picked unit)) in Helltable




Hashtable - Save 30.00 as (Key KnockbackSpeed) of (Key (Picked unit)) in Helltable




Hashtable - Save 30.00 as (Key KnockbackHeight) of (Key (Picked unit)) in Helltable




Unit Group - Add (Picked unit) to EruptionGroup




Unit Group - Remove (Triggering unit) from EruptionGroup




Unit Group - Remove all units of (Units owned by (Owner of (Triggering unit))) from EruptionGroup




Unit - Turn collision for (Triggering unit) On




Custom script: call DestroyGroup ( udg_EruptionPick )




Unit - Add Crow Form to (Picked unit)




Unit - Remove Crow Form from (Picked unit)


Custom script: call RemoveLocation ( udg_EruptionPoint )


Custom script: call RemoveLocation ( udg_EruptionUnitPoint )
Hell Knockback

Events


Time - Every 0.05 seconds of game time

Conditions

Actions


Unit Group - Pick every unit in EruptionGroup and do (Actions)



Loop - Actions




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






((Picked unit) is dead) Equal to True





Then - Actions






Unit - Turn collision for (Picked unit) On






Unit Group - Remove (Picked unit) from EruptionGroup





Else - Actions






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








((Picked unit) is A structure) Equal to True







Then - Actions








Unit - Turn collision for (Picked unit) On








Unit Group - Remove (Picked unit) from EruptionGroup







Else - Actions








Set KnockbackCurrentPoint = (Position of (Picked unit))








Hashtable - Save ((Load (Key KnockbackSpeed) of (Key (Picked unit)) from Helltable) - 0.75) as (Key KnockbackSpeed) of (Key (Picked unit)) in Helltable








Set KnockbackPoint = (KnockbackCurrentPoint offset by (Load (Key KnockbackSpeed) of (Key (Picked unit)) from Helltable) towards (Load (Key KnockbackDegrees) of (Key (Picked unit)) from Helltable) degrees)








Unit - Move (Picked unit) instantly to KnockbackPoint








If (All Conditions are True) then do (Then Actions) else do (Else Actions)









If - Conditions










(Load (Key KnockbackSpeed) of (Key (Picked unit)) from Helltable) Greater than or equal to 20.00









Then - Actions










Hashtable - Save ((Load (Key KnockbackHeight) of (Key (Picked unit)) from Helltable) + 10.00) as (Key KnockbackHeight) of (Key (Picked unit)) in Helltable









Else - Actions










Hashtable - Save ((Load (Key KnockbackHeight) of (Key (Picked unit)) from Helltable) - 10.00) as (Key KnockbackHeight) of (Key (Picked unit)) in Helltable








Animation - Change (Picked unit) flying height to (Load (Key KnockbackHeight) of (Key (Picked unit)) from Helltable) at 1000000000.00








If (All Conditions are True) then do (Then Actions) else do (Else Actions)









If - Conditions










(Terrain pathing at KnockbackPoint of type Walkability is off) Equal to True









Then - Actions










Unit - Turn collision for (Picked unit) On










Unit Group - Remove (Picked unit) from EruptionGroup










Animation - Change (Picked unit) flying height to 0.00 at 100000000.00










Hashtable - Clear all child hashtables of child (Key (Picked unit)) in Helltable









Else - Actions




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






(Load (Key KnockbackSpeed) of (Key (Picked unit)) from Helltable) Equal to 0.00





Then - Actions






Unit - Turn collision for (Picked unit) On






Unit Group - Remove (Picked unit) from EruptionGroup






Hashtable - Clear all child hashtables of child (Key (Picked unit)) in Helltable






Custom script: call RemoveLocation ( udg_KnockbackCurrentPoint )






Custom script: call RemoveLocation ( udg_KnockbackPoint )





Else - Actions
Hell Effect

Events


Time - Every 0.50 seconds of game time

Conditions

Actions


Unit Group - Pick every unit in EruptionGroup and do (Actions)



Loop - Actions




Set EffectPoint = (Position of (Picked unit))




Special Effect - Create a special effect at EffectPoint using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl




Special Effect - Destroy (Last created special effect)




Custom script: call RemoveLocation ( udg_EffectPoint )