144 if (soccothrates->IsAlive() && !soccothrates->IsInCombat())
145 soccothrates->AI()->SetData(1, 1);
199 if (soccothrates->IsAlive() && !soccothrates->IsInCombat())
bool roll_chance_i(int chance)
#define RegisterSpellScript(spell_script)
@ AURA_EFFECT_HANDLE_REAL
@ SPELL_AURA_PERIODIC_TRIGGER_SPELL
#define AuraEffectRemoveFn(F, I, N, M)
#define RegisterArcatrazCreatureAI(ai_name)
@ SPELL_GIFT_OF_THE_DOOMSAYER
@ EVENT_GIFT_OF_THE_DOOMSAYER
@ EVENT_SOCCOTHRATES_DEATH
void AddSC_boss_dalliah_the_doomsayer()
@ SAY_AGGRO_DALLIAH_FIRST
HookList< EffectApplyHandler > AfterEffectRemove
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
void Repeat(Milliseconds time)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
virtual ObjectGuid GetGuidData(uint32 type) const override
void DoMeleeAttackIfReady()
SpellCastResult DoCastSelf(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCastVictim(uint32 spellId, CastSpellExtraArgs const &args={})
bool HasUnitState(const uint32 f) const
bool HealthBelowPctDamaged(int32 pct, uint32 damage) const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
void AfterRemove(AuraEffect const *, AuraEffectHandleModes)
bool Validate(SpellInfo const *) override
PrepareAuraScript(spell_dalliah_the_doomsayer_whirlwind)
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
void KilledUnit(Unit *) override
void JustDied(Unit *) override
void JustEngagedWith(Unit *who) override
void SpellHit(WorldObject *, SpellInfo const *spellInfo) override
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
boss_dalliah_the_doomsayer(Creature *creature)
void UpdateAI(uint32 diff) override
void OnSpellCast(SpellInfo const *spell) override
void SetData(uint32, uint32 data) override