darkreapers
New Member
- Reaction score
- 6
trying to make trigger that every 5 seconds would cause lightning to erupt from the caster. The spell is a channeling spell that lasts for 30 seconds.
If i do event, unit casts a spell
Condition, spell = electric over load.
then it would work, so i know just the first 2 lines of trigger is messed up.
i need the spell to fire off once every 5 seconds, can anyone pls help??
Trigger:
- Lightning overload Copy
- Events
- Time - Every 5.00 seconds of game time
- Conditions
- ((Casting unit) has buff Electic Overload (f) ) Equal to True
- Actions
- Set Electric_Point[0] = (Position of (Triggering unit))
- Set Electic_Real = 0.00
- For each (Integer A) from 1 to 8, do (Actions)
- Loop - Actions
- Unit - Create 1 Dummy (Electric overload) for (Owner of (Triggering unit)) at Electric_Point[0] facing Default building facing degrees
- Unit - Add Breath of Fire to (Last created unit)
- Unit - Set level of Breath of Fire for (Last created unit) to (Level of Electric Overload for (Triggering unit))
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Set Electric_Point[(Integer A)] = (Electric_Point[0] offset by 200.00 towards Electric_Real degrees)
- Unit - Order (Last created unit) to Neutral Pandaren Brewmaster - Breath Of Fire Electric_Point[(Integer A)]
- Set Eletric_Real = (FireNova_Real + (360.00 / 8.00))
- Custom script: call RemoveLocation(udg_Electric_Point[bj_forLoopAIndex])
- Loop - Actions
- Custom script: call RemoveLocation(udg_Electric_Point[0])
- Actions
- Events
If i do event, unit casts a spell
Condition, spell = electric over load.
then it would work, so i know just the first 2 lines of trigger is messed up.
i need the spell to fire off once every 5 seconds, can anyone pls help??