112 if (!possessedTarget->HasAura(
SPELL_POSSESSED) || possessedTarget->HealthBelowPct(50))
void AddSC_boss_baroness_anastari()
@ EVENT_SPELL_BANSHEECURSE
@ EVENT_SPELL_BANSHEEWAIL
InstanceScript *const instance
void Repeat(Milliseconds time)
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
void CancelEvent(uint32 eventId)
void DoRemoveAurasDueToSpellOnPlayers(uint32 spell, bool includePets=false, bool includeControlled=false)
SpellCastResult DoCastSelf(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCastVictim(uint32 spellId, CastSpellExtraArgs const &args={})
Unit * SelectTarget(SelectTargetMethod targetType, uint32 offset=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
SpellCastResult DoCast(uint32 spellId)
bool HasUnitState(const uint32 f) const
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
TC_GAME_API Player * GetPlayer(Map const *, ObjectGuid const &guid)
#define RegisterStratholmeCreatureAI(ai_name)
ObjectGuid _possessedTargetGuid
void UpdateAI(uint32 diff) override
boss_baroness_anastari(Creature *creature)
void JustEngagedWith(Unit *) override