WolfieeifloW
WEHZ Helper
- Reaction score
- 372
--- Nevermind ---
@bugbear: I don't think there's a way to do what you want.
@bugbear: I don't think there's a way to do what you want.
You sure ?...ANYTHING...
Melee Arrows (This is the trigger for the spell when manually casted)
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to <Your spell>
Actions
Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing <insert extra damage of spell here> damage of attack type <attack type of spell> and damage type <damage type you want for the spell>
Unit - Set mana of (Triggering unit) to ((Mana of (Triggering unit)) - <insert the manacost of spell here>)
Melee Arrow Autocast Detection (To detect if the arrows is on autocast)
Events
Unit - A unit Is issued an order with no target
Conditions
(Issued order) Equal to (Order(flamingarrows))
Actions
Set Attacker = (Ordered unit)
Set Mana = (Mana of Attacker)
Trigger - Turn on Melee Arrows Autocast <gen>
Melee Arrow Unautocast detection (detects if arrows is not on autocast)
Events
Unit - A unit Is issued an order with no target
Conditions
(Issued order) Equal to (Order(unflamingarrows))
Actions
Trigger - Turn off Melee Arrow Autocast Detection Copy <gen>
Melee Arrows Autocast (This is initially off, and is turned on/off by the two triggers above, this is the trigger for when arrows is on autocast)
Melee Arrows Autocast
Events
Unit - A unit Is attacked
Conditions
(Attacking unit) Equal to Attacker
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Mana of (Attacking unit)) Greater than or equal to <Manacost of spell>
Then - Actions
Unit - Cause Attacker to damage (Attacked unit), dealing <bonus damage of spell> damage of attack type Spells and damage type Normal
Unit - Set mana of Attacker to ((Mana of Attacker) - <Spell manacost>)
Set Mana = (Mana of Attacker)
Else - Actions