Warcraft III resources & community, 2003–2006 · archived

Searing Arrows and Trigger-enhanced spells

4 posts
#1

Searing Arrows and Trigger-enhanced spells

Is it possible to make a trigger-enhanced spell that goes into effect every time a unit uses the searing arrows spell or a dummy version thereof?

The closest I could get was a trigger that had the effect go off each time the unit attacked, a seperate pair of triggers to activate/deactivate the first one whenever the autocast was turned on or off, and a fourth trigger to go off whenever the ability was used manually.

This, of course, is buggy because it makes use of the Unit Attacks event, so it happens before the unit actually uses the ability/spends the mana.
#2
no u cant, i think triggers dont detect when u 'cast' searing arrows. maybe u coulds use an atttack with a buff (col arrows) so units with that buff will get the actions
#3
That would require, what, a periodic trigger that checks for all units with the buff and applies the effect forthwith? I'm currently using Critical Strike as my base ability instead, and manually subtracting the mana in the trigger. It has the advantage of only needing one trigger...but there is a disconnect between the game interface and what the spell actually does, and further there is no way to turn if off if you really need the mana for something.
#4
Use Cold or some other friggin arrows. Or even better use a generic damage detection system made in JASS so you can leaklessly detect the damage and check for the buff to do the effect.