Why doesint this work?

tork

New Member
Reaction score
2
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
 

WolfieeifloW

WEHZ Helper
Reaction score
372
Can you put your trigger into [noparse]
Code:
[/noparse]
tags please?
Go to your trigger in WE and right click it and click "Copy As Text" then paste it into [noparse]
Code:
[/noparse]
tags here :D .
 

thewrongvine

The Evolved Panda Commandant
Reaction score
506
First of all, read the thread for making titles. The only reason I read this was because it was on top. Make interesting titles that actually relate to your question, WCIII wise.

Secondly, does it spash only on chance? Because you are doing "random interger conditions" so it will only go if that condition is true. Also, you can just Unit > Deal AoE damage instead of selecting units around him and dealing damage one at a time. Or you could make it create a dummy that casts an AoE spell...
 

Charapanga

New Member
Reaction score
46
Code:
Unit - Cause ([B]Casting unit[/B]) to damage (Picked unit), dealing (25.00 x (Real((Level of Searing Arrows (Fire Ranger) for ([B]Casting unit[/B]))))) damage of attack type Spells and damage type Normal
I think it's triggering unit, and you better store it in a variable
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top