- Joined
- Mar 23, 2008
- Messages
- 1,813
Hi.
I have a spell like this:
The Faceless Being bursts out a wave of energy in an area, destroying mana and exploding corpses, dealing damage to all enemies inside the target area. Damage per corpse 20xlevel. Current mana burned (%) 5xlevel.
My trigger looks like this, and i need someone to check if this will explode corpses and deal damage in area around the exploded corpse. I also need someone to tell me how i make a trigger that removes 5%xlevel of the current mana (not the maximum mana). This is how the trigger looks now, without any manaburn, only the action to pick the units that should lose mana.
I have a spell like this:
The Faceless Being bursts out a wave of energy in an area, destroying mana and exploding corpses, dealing damage to all enemies inside the target area. Damage per corpse 20xlevel. Current mana burned (%) 5xlevel.
My trigger looks like this, and i need someone to check if this will explode corpses and deal damage in area around the exploded corpse. I also need someone to tell me how i make a trigger that removes 5%xlevel of the current mana (not the maximum mana). This is how the trigger looks now, without any manaburn, only the action to pick the units that should lose mana.
-
Overdrive
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Overdrive
-
-
Actions
-
Set OverDrivePoint = (Target point of ability being cast)
-
Unit Group - Pick every unit in (Units within ((Real((Level of Overdrive for (Casting unit)))) x 50.00) of OverDrivePoint matching ((((Picked unit) is A structure) Equal to False) and (((Picked player) is an enemy of (Owner of (Casting unit))) Equal to True))) 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 Group - Pick every unit in (Units within 250.00 of (Position of (Picked unit)) matching ((((Picked unit) is alive) Equal to True) and ((((Triggering unit) is A structure) Equal to False) and (((Picked unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True)))) and do (Actions)
-
Loop - Actions
-
Unit - Cause (Casting unit) to damage (Picked unit), dealing ((Real((Level of Overdrive for (Casting unit)))) x 20.00) damage of attack type Spells and damage type Normal
-
-
-
Unit - Explode (Picked unit)
-
-
Else - Actions
-
-
-