- Joined
- Dec 29, 2008
- Messages
- 3,361
-
Nova 1
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Nova
-
Actions
- Set Nova_Target = (Target unit of ability being cast)
- Set Nova_Caster = (Triggering unit)
- Set Nova_PointCaster = (Position of Nova_Caster)
- Set Nova_PointTarget = (Position of Nova_Target)
- Unit - Hide Nova_Caster
- Unit - Create 1 Phoenix Dummy for (Owner of Nova_Caster) at Nova_PointCaster facing (Facing of Nova_Caster) degrees
- Unit - Order (Last created unit) to Move To Nova_PointTarget
- Unit Group - Add (Last created unit) to Nova_UG1
- Hashtable - Save Handle OfNova_Caster as (Key caster) of (Key (Last created unit)) in Nova_Hash
- Hashtable - Save Handle OfNova_Target as (Key target) of (Key (Last created unit)) in Nova_Hash
- Custom script: call RemoveLocation(udg_Nova_PointTarget)
- Custom script: call RemoveLocation(udg_Nova_PointCaster)
-
Events
-
Nova 2
-
Events
- Time - Every 0.07 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in Nova_UG1 and do (Actions)
-
Loop - Actions
- Set Nova_Caster = (Load (Key caster) of (Key (Picked unit)) in Nova_Hash)
- Set Nova_Target = (Load (Key target) of (Key (Picked unit)) in Nova_Hash)
- Set Nova_MissilePoint = (Position of (Picked unit))
- Set Nova_PointTarget = (Position of Nova_Target)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Distance between Nova_MissilePoint and Nova_PointTarget) Less than or equal to 10.00
-
Then - Actions
- Unit - Kill (Picked unit)
- Special Effect - Create a special effect at Nova_PointTarget using Abilities\Spells\Other\Incinerate\FireLordDeathExplode.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Cause Nova_Caster to damage Nova_Target, dealing 90.00 damage of attack type Spells and damage type Fire
- Set Nova_UG2 = (Units within 450.00 of Nova_PointTarget matching (((Owner of (Matching unit)) is an enemy of (Owner of Nova_Caster)) Equal to True))
-
Unit Group - Pick every unit in Nova_UG2 and do (Actions)
-
Loop - Actions
- Unit - Cause Nova_Caster to damage (Picked unit), dealing 40.00 damage of attack type Spells and damage type Fire
-
Loop - Actions
- Unit - Move Nova_Caster instantly to Nova_PointTarget, facing Default building facing degrees
- Unit - Unhide Nova_Caster
- Unit - Remove (Picked unit) from the game
- Custom script: call RemoveLocation(udg_Nova_PointTarget)
- Custom script: call RemoveLocation(udg_Nova_MissilePoint)
- Custom script: call DestroyGroup(udg_Nova_UG2)
- Else - Actions
-
If - Conditions
-
Loop - Actions
-
Unit Group - Pick every unit in Nova_UG1 and do (Actions)
-
Events
Is it MUI?
Does it leaks?
Would you tell me?
~supertoinkz