180 rune1->SetGoState(state);
182 rune2->SetGoState(state);
184 rune3->SetGoState(state);
186 rune4->SetGoState(state);
188 rune5->SetGoState(state);
190 rune6->SetGoState(state);
192 rune7->SetGoState(state);
209 std::list<Creature*> creatureList;
211 for (std::list<Creature*>::iterator itr = creatureList.begin(); itr != creatureList.end(); ++itr)
214 if (!creatureList->IsAlive())
216 creatureList->Respawn();
218 creatureList->AI()->SetData(1, 1);
227 std::list<Creature*> creatureList;
229 for (std::list<Creature*>::iterator itr = creatureList.begin(); itr != creatureList.end(); ++itr)
232 creatureList->AI()->SetData(1, 1);
250 bool _hasAura =
true;
337 Emberseer->AI()->SetData(1, 3);
342 me->DespawnOrUnsummon(10000);
347 if (data == 1 && value == 1)
354 if (data == 1 && value == 2)
364 Emberseer->AI()->SetData(1, 2);
367 std::list<Creature*> creatureList;
369 for (std::list<Creature*>::iterator itr = creatureList.begin(); itr != creatureList.end(); ++itr)
372 creatureList->SetInCombatWithZone();
391 if (
me->GetPositionX() ==
me->GetHomePosition().GetPositionX())
void GetCreatureListWithEntryInGrid(std::list< Creature * > &list, WorldObject *source, uint32 entry, float maxSearchRange)
@ CURRENT_CHANNELED_SPELL
@ UNIT_FLAG_IMMUNE_TO_NPC
@ UNIT_FLAG_NOT_SELECTABLE
@ NPC_BLACKHAND_INCARCERATOR
@ NPC_PYROGAURD_EMBERSEER
@ DATA_PYROGAURD_EMBERSEER
void AddSC_boss_pyroguard_emberseer()
@ SPELL_EMBERSEER_FULL_STRENGTH
@ SPELL_EMBERSEER_GROWING_TRIGGER
@ SPELL_EMBERSEER_OBJECT_VISUAL
@ SPELL_FIRE_SHIELD_TRIGGER
@ SPELL_ENCAGED_EMBERSEER
@ SPELL_EMBERSEER_GROWING
@ EVENT_ENCAGED_EMBERSEER
InstanceScript *const instance
BossAI(Creature *creature, uint32 bossId)
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
CreatureScript(const char *name)
LinkedListHead::Iterator< MapReference const > const_iterator
void DoMeleeAttackIfReady()
void DoCast(uint32 spellId)
Unit * SelectTarget(SelectAggroTarget targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, int32 aura=0)
void DoCastVictim(uint32 spellId, bool triggered=false)
CreatureAI * GetAI(Creature *creature) const OVERRIDE
boss_pyroguard_emberseer()
npc_blackhand_incarcerator()
CreatureAI * GetAI(Creature *creature) const OVERRIDE
ScriptedAI(Creature *creature)
void AttackStart(Unit *) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void JustDied(Unit *) OVERRIDE
void OpenDoors(bool Boss_Killed)
void UpdateRunes(GOState state)
void SetData(uint32, uint32 data) OVERRIDE
void SpellHit(Unit *, SpellInfo const *spell) OVERRIDE
boss_pyroguard_emberseerAI(Creature *creature)
void EnterCombat(Unit *) OVERRIDE
void EnterCombat(Unit *) OVERRIDE
void JustDied(Unit *) OVERRIDE
npc_blackhand_incarceratorAI(Creature *creature)
void SetData(uint32 data, uint32 value) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================