This will be called when Right Arm (vehicle) has sustained a specific amount of damage depending on instance mode What we do here is remove all harmful aura's related and teleport to safe spot.
Map * GetMap() const
Definition: Object.h:543
Difficulty GetDifficultyID() const
Definition: Map.h:390
Definition: Creature.h:467
Definition: boss_kologarn.cpp:42
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition: Object.cpp:2443
AuraApplication const * GetTargetApplication() const
Definition: SpellScript.cpp:1179
WorldObject * GetOwner() const
Definition: SpellScript.cpp:1011
uint32_t uint32
Definition: Define.h:150
void CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:869
Definition: DBCEnums.h:405