Hey I'm having trouble creating a flame breath type skill for a dragon in my RPG, its not supposed to be a a breath of fire, and he is not supposed to cast it.
What I need is triggers to every 15 seconds or so do a cone of damage in front of the dragon, he should not have to cast it himself, this is similar to a dragon in WoW (Nefarian, Onyxia, Vaelstraz, ect.) ATM I have no clue how to do this.
needs a Point variable called Loc, to clean up leaks. (and a Point variable called Loc2 for the same reason) Also, of course, needs a dummy, and a Breath of Fire skill -------------------------------------------
Events Every X Seconds of game time Conditions (none) Actions Set Loc = Position of (Dragon) Unit - Create One Dummy at Loc facing 0 Degrees Unit - Add Breath of Fire to Last Created Unit Set Loc2 = Loc Offset by 50 Towards Facing of (dragon) Custom Script call RemoveLocation( udg_Loc ) Unit - Order Last Created Unit to Neutral Brewmaster - Breath of Fire Loc2 Custom Script: call RemoveLocation( udg_Loc2 ) Unit - Add a 1 second Generic Expiration Timer to Last Created Unit
The map works like a WoW instance, so things such as tanks apply, if I use an actual Breath of Fire spell then he will turn from the tank and kill everyone with the breath of fire (Because of the massive damage it does) so I need to figure out how to do this so he doesn't turn and that he just casts it in front of him with no target.
Looking at triggers I can't find a trigger that forces a unit to cast a spell at a point in a certain direction icon_confused.gif .
Ummm... What about that trigger that says Unit - Order Last Created Unit to Neutral Brewmaster - Breath of Fire Loc2 Like in Purple's script? --donut3.5--