This trigger is to make it when a unit attacks another unit with searing arrow on auto attack it make an exspolsh and deal AoE Damage.
Help PLeace.
Blazing Arrow
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Searing Arrows (Fire Ranger)
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 0 and 100) Less than or equal to (5 x (Level of Searing Arrows (Fire Ranger) for (Casting unit)))
Then - Actions
Set AttackUnit = (Target unit of ability being cast)
Unit Group - Pick every unit in (Units within 200.00 of (Position of AttackUnit) matching ((Owner of (Picked unit)) Equal to Player 12 (Brown))) and do (Actions)
Loop - Actions
Unit - Cause (Casting unit) to damage (Picked unit), dealing (25.00 x (Real((Level of Searing Arrows (Fire Ranger) for (Casting unit))))) damage of attack type Spells and damage type Normal
Special Effect - Create a special effect at (Position of AttackUnit) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
Wait 2.00 seconds
Special Effect - Destroy (Last created special effect)
Else - Actions
Help PLeace.
Blazing Arrow
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Searing Arrows (Fire Ranger)
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 0 and 100) Less than or equal to (5 x (Level of Searing Arrows (Fire Ranger) for (Casting unit)))
Then - Actions
Set AttackUnit = (Target unit of ability being cast)
Unit Group - Pick every unit in (Units within 200.00 of (Position of AttackUnit) matching ((Owner of (Picked unit)) Equal to Player 12 (Brown))) and do (Actions)
Loop - Actions
Unit - Cause (Casting unit) to damage (Picked unit), dealing (25.00 x (Real((Level of Searing Arrows (Fire Ranger) for (Casting unit))))) damage of attack type Spells and damage type Normal
Special Effect - Create a special effect at (Position of AttackUnit) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
Wait 2.00 seconds
Special Effect - Destroy (Last created special effect)
Else - Actions