- Joined
- Dec 30, 2007
- Messages
- 1,549
Hey guys!
I've been having some problem with a spell based on the "Aerial Shackles" spell.
What I want it to do:
Hold an enemy for X amout of time, doing X amount of Damage (Basic Spell).
Units in the radius of 200 units from the targeted unit will recive 150 Damage each second.
Short Verison:
Hold Specific unit and damage surrounding units.
This is what I've done this far (yes, I suck...)
Help would be awesome
I've been having some problem with a spell based on the "Aerial Shackles" spell.
What I want it to do:
Hold an enemy for X amout of time, doing X amount of Damage (Basic Spell).
Units in the radius of 200 units from the targeted unit will recive 150 Damage each second.
Short Verison:
Hold Specific unit and damage surrounding units.
This is what I've done this far (yes, I suck...)
-
Arcane Prison
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Arcane Prison (Anchorite)
-
Actions
- Set Temp_Pt_Spell = (Target point of ability being cast)
- Set Temp_UG_Spell = (Units within 200.00 of Temp_Pt_Spell matching ((((Matching unit) is A structure) Equal to False) and (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)))
-
Unit Group - Pick every unit in Temp_UG_Spell and do (Actions)
-
Loop - Actions
- Unit - Cause (Triggering unit) to damage (Picked unit), dealing 150.00 damage of attack type Spells and damage type Normal
- Special Effect - Create a special effect attached to the chest of (Picked unit) using Abilities\Spells\NightElf\ManaBurn\ManaBurnTarget.mdl
- Special Effect - Destroy (Last created special effect)
-
Loop - Actions
- Custom script: call DestroyGroup (udg_Temp_UG_Spell)
- Custom script: call RemoveLocation (udg_Temp_Pt_Spell)
-
Events
Help would be awesome