- Joined
- Mar 17, 2012
- Messages
- 579
Hi everyone. I have a basic unit group that receives damage in 400 AoE, but surprisingly only 1 unit receives damage... I've checked the trigger several times, but I don't understand what works wrong. I've done it plenty of times and now I'm confused:
-
Infernal Explosion
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Infernal Explosion
-
Actions
- Set Player_Number_Int = (Player number of (Owner of (Triggering unit)))
- Set Infernal_Explosion_Caster[Player_Number_Int] = (Triggering unit)
- Set Infernal_Explosion_Point[Player_Number_Int] = (Target point of ability being cast)
- -------- effect --------
- Unit - Create 1 Regular Dummy for (Owner of Infernal_Explosion_Caster[Player_Number_Int]) at Infernal_Explosion_Point[Player_Number_Int] facing Default building facing degrees
- Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
- Unit - Add Infernal Explosion (Neutral Hostile 2) to (Last created unit)
- Unit - Order (Last created unit) to Human Blood Mage - Flame Strike Infernal_Explosion_Point[Player_Number_Int]
- -------- damage --------
- Special Effect - Create a special effect at Infernal_Explosion_Point[Player_Number_Int] using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
- Special Effect - Destroy (Last created special effect)
- Set Infernal_Explosion_Group[Player_Number_Int] = (Units within 400.00 of Infernal_Explosion_Point[Player_Number_Int] matching ((((Matching unit) belongs to an enemy of (Owner of Infernal_Explosion_Caster[Player_Number_Int])) Equal to True) and ((((Matching unit) is An Ancient) Not equal to True) and (((Matc
-
Unit Group - Pick every unit in Infernal_Explosion_Group[Player_Number_Int] and do (Actions)
-
Loop - Actions
- Set Infernal_Explosion_Damage[Player_Number_Int] = (((((Real((Level of Infernal Explosion for Infernal_Explosion_Caster[Player_Number_Int]))) x 30.00) + 30.00) + ((Real((Intelligence of Infernal_Explosion_Caster[Player_Number_Int] (Include bonuses)))) x (((Real((Level of Infernal Explosion for Infernal_Expl
- Unit - Cause Infernal_Explosion_Caster[Player_Number_Int] to damage (Picked unit), dealing Infernal_Explosion_Damage[Player_Number_Int] damage of attack type Spells and damage type Fire
- Special Effect - Create a special effect attached to the chest of (Picked unit) using OrbOfFire.mdx
- Special Effect - Destroy (Last created special effect)
-
Loop - Actions
- Custom script: call RemoveLocation(udg_Infernal_Explosion_Point[udg_Player_Number_Int])
- Custom script: call DestroyGroup(udg_Infernal_Explosion_Group[udg_Player_Number_Int])
-
Events