155 if (!pAdd->GetVictim())
157 who->SetInCombatWith(pAdd);
158 pAdd->AddThreat(who, 0.0f);
251 me->GetHomePosition(x, y, z, o);
252 if (
me->GetPositionZ() >= z+10)
268 if (pAdd->IsAlive() && pAdd->GetHealth() < health)
373 if (!pDelrissa->IsAlive())
374 pDelrissa->Respawn();
389 if (!pAdd->GetVictim() && pAdd !=
me)
391 who->SetInCombatWith(pAdd);
392 pAdd->AddThreat(who, 0.0f);
399 if (pDelrissa->IsAlive() && !pDelrissa->GetVictim())
401 who->SetInCombatWith(pDelrissa);
402 pDelrissa->AddThreat(who, 0.0f);
425 ++uiLackeyDeathCount;
446 Delrissa->AI()->KilledUnit(victim);
517 me->SetVisible(
true);
538 me->AddThreat(unit, 1000.0f);
551 me->SetVisible(
true);
835 bool InMeleeRange =
false;
837 for (ThreatContainer::StorageType::const_iterator itr = t_list.begin(); itr!= t_list.end(); ++itr)
842 if (target->IsWithinDistInMap(
me, 5))
921 bool InMeleeRange =
false;
923 for (ThreatContainer::StorageType::const_iterator itr = t_list.begin(); itr!= t_list.end(); ++itr)
1265 if (pAdd->IsPolymorphed())
const T & RAND(const T &v1, const T &v2)
@ TEMPSUMMON_CORPSE_DESPAWN
@ OBJECT_FIELD_DYNAMIC_FLAGS
@ SPELL_FRIGHTENING_SHOUT
float LackeyLocations[4][2]
const uint32 m_auiAddEntries[]
@ SPELL_HIGH_EXPLOSIVE_SHEEP
@ SPELL_GOBLIN_DRAGON_GUN
void AddSC_boss_priestess_delrissa()
static Speech LackeyDeath[]
@ SPELL_SEED_OF_CORRUPTION
@ SPELL_FRIGHTENING_SHOUT
@ SPELL_LESSER_HEALING_WAVE
static Speech PlayerDeath[]
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
virtual void EnterEvadeMode()
CreatureScript(const char *name)
void SetFlag(uint16 index, uint32 newFlag)
bool HasFlag(uint16 index, uint32 flag) const
std::list< HostileReference * > StorageType
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)
static Creature * GetCreature(WorldObject &object, uint64 guid)
static Unit * GetUnit(WorldObject &object, uint64 guid)
InstanceScript * GetInstanceScript()
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
boss_eramas_brightblaze()
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
boss_kagani_nightstrike()
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
boss_priestess_delrissa()
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
#define SPELL_ROCKET_LAUNCH
#define SPELL_FEL_IRON_BOMB
@ DATA_DELRISSA_DEATH_COUNT
bool HealthBelowPct(uint32 pct) const
ScriptedAI(Creature *creature)
uint32 Healing_Wave_Timer
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
boss_apokoAI(Creature *creature)
boss_ellris_duskhallowAI(Creature *creature)
uint32 Curse_of_Agony_Timer
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void EnterCombat(Unit *) OVERRIDE
uint32 Seed_of_Corruption_Timer
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
boss_eramas_brightblazeAI(Creature *creature)
boss_garaxxasAI(Creature *creature)
uint32 Freezing_Trap_Timer
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void JustSummoned(Creature *summoned) OVERRIDE
uint32 Concussive_Shot_Timer
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
boss_kagani_nightstrikeAI(Creature *creature)
boss_priestess_delrissaAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
uint64 m_auiLackeyGUID[MAX_ACTIVE_LACKEY]
InstanceScript * instance
void JustDied(Unit *) OVERRIDE
void JustReachedHome() OVERRIDE
void EnterCombat(Unit *who) OVERRIDE
std::vector< uint32 > LackeyEntryList
void KilledUnit(Unit *victim) OVERRIDE
void JustDied(Unit *) OVERRIDE
uint64 m_auiLackeyGUIDs[MAX_ACTIVE_LACKEY]
void KilledUnit(Unit *victim) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
InstanceScript * instance
boss_priestess_lackey_commonAI(Creature *creature)
void EnterCombat(Unit *who) OVERRIDE
uint32 Intercept_Stun_Timer
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
boss_warlord_salarisAI(Creature *creature)
uint32 Mortal_Strike_Timer
uint32 Frightening_Shout_Timer
void EnterCombat(Unit *) OVERRIDE
uint32 Piercing_Howl_Timer
boss_yazzaiAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
uint32 Cone_of_Cold_Timer
uint32 Goblin_Dragon_Gun_Timer
uint32 High_Explosive_Sheep_Timer
uint32 Recombobulate_Timer
uint32 Rocket_Launch_Timer
boss_zelfanAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
uint32 Fel_Iron_Bomb_Timer