296 creature->AI()->JustEngagedWith(player);
First const & RAND(First const &first, Second const &second, Rest const &... rest)
uint32 urand(uint32 min, uint32 max)
#define RegisterBlackwingLairCreatureAI(ai_name)
#define RegisterBlackwingLairGameObjectAI(ai_name)
@ DATA_GO_CHROMAGGUS_DOOR
void AddSC_boss_chromaggus()
@ SPELL_SHADOW_VULNERABILITY
@ SPELL_FROST_VULNERABILITY
@ SPELL_FIRE_VULNERABILITY
@ SPELL_NATURE_VULNERABILITY
@ SPELL_ARCANE_VULNERABILITY
void JustEngagedWith(Unit *who) override
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
void SetGoState(GOState state)
void SetFlag(GameObjectFlags flags)
virtual bool SetBossState(uint32 id, EncounterState state)
Creature * GetCreature(uint32 type)
void HandleGameObject(ObjectGuid guid, bool open, GameObject *go=nullptr)
EncounterState GetBossState(uint32 id) const
GameObject * GetGameObject(uint32 type)
PlayerList const & GetPlayers() const
static ObjectGuid const Empty
static Player * ToPlayer(Object *o)
SpellCastResult DoCastVictim(uint32 spellId, CastSpellExtraArgs const &args={})
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)
bool HealthBelowPct(uint32 pct) const
boss_chromaggus(Creature *creature)
void JustEngagedWith(Unit *who) override
uint32 CurrentVurln_Spell
void UpdateAI(uint32 diff) override
bool OnGossipHello(Player *player) override
InstanceScript * _instance
go_chromaggus_lever(GameObject *go)