102 { { 0, 0 }, { 0.0f, 0.0f, 0.0f, 0.0f } }
126 me->IsAIEnabled =
false;
127 else if (!
me->isDead())
166 switch (
me->GetDisplayId())
189 Position spawnPoint = {5618.139f, 2451.873f, 705.854f, 0};
205 summon->GetMotionMaster()->MovePoint(0,
outroPositions[i].movePosition);
277 me->SetFacingToObject(target);
284 if (
RAND(
true,
false))
287 me->InterruptNonMeleeSpells(
false);
293 me->GetMotionMaster()->Clear();
297 events.DelayEvents(18000);
315 me->GetMotionMaster()->MoveChase(
me->GetVictim());
446 targets.push_back(target);
const T & RAND(const T &v1, const T &v2)
@ TEMPSUMMON_DEAD_DESPAWN
@ SPELL_EFFECT_SCRIPT_EFFECT
@ TARGET_UNIT_SRC_AREA_ENTRY
@ SPELL_AURA_PROC_TRIGGER_SPELL
#define AuraEffectProcFn(F, I, N)
#define SpellEffectFn(F, I, N)
#define SpellObjectAreaTargetSelectFn(F, I, N)
#define AuraCheckProcFn(F)
T CalculatePct(T base, U pct)
struct outroPosition outroPositions[]
void AddSC_boss_devourer_of_souls()
@ SPELL_MIRRORED_SOUL_DAMAGE
@ SPELL_MIRRORED_SOUL_PROC_AURA
@ SPELL_WAILING_SOULS_BEAM
@ SPELL_MIRRORED_SOUL_TARGET_SELECTOR
@ SPELL_WAILING_SOULS_STARTING
@ SPELL_MIRRORED_SOUL_BUFF
Position const CrucibleSummonPos
@ EVENT_WAILING_SOULS_TICK
AchievementCriteriaScript(const char *name)
void PreventDefaultAction()
HookList< CheckProcHandler > DoCheckProc
HookList< EffectProcHandler > OnEffectProc
InstanceScript *const instance
BossAI(Creature *creature, uint32 bossId)
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
CreatureScript(const char *name)
uint32 GetScriptId() const
DamageInfo * GetDamageInfo() const
HookList< EffectHandler > OnEffectHitTarget
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
SpellScriptLoader(const char *name)
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)
void DoCastAOE(uint32 spellId, bool triggered=false)
void CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, uint64 originalCaster=0)
void CastCustomSpell(Unit *victim, uint32 spellId, int32 const *bp0, int32 const *bp1, int32 const *bp2, bool triggered, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, uint64 originalCaster=0)
bool OnCheck(Player *, Unit *target) OVERRIDE
achievement_three_faced()
CreatureAI * GetAI(Creature *creature) const OVERRIDE
void HandleScript(SpellEffIndex)
PrepareSpellScript(spell_devourer_of_souls_mirrored_soul_SpellScript)
bool Validate(SpellInfo const *) OVERRIDE
bool Validate(SpellInfo const *) OVERRIDE
bool CheckProc(ProcEventInfo &)
PrepareAuraScript(spell_devourer_of_souls_mirrored_soul_proc_AuraScript)
void HandleProc(AuraEffect const *, ProcEventInfo &eventInfo)
spell_devourer_of_souls_mirrored_soul_proc()
AuraScript * GetAuraScript() const OVERRIDE
PrepareSpellScript(spell_devourer_of_souls_mirrored_soul_target_selector_SpellScript)
bool Validate(SpellInfo const *) OVERRIDE
void HandleScript(SpellEffIndex)
void FilterTargets(std::list< WorldObject * > &targets)
SpellScript * GetSpellScript() const OVERRIDE
spell_devourer_of_souls_mirrored_soul_target_selector()
SpellScript * GetSpellScript() const OVERRIDE
spell_devourer_of_souls_mirrored_soul()
@ NPC_CHAMPION_1_ALLIANCE
@ NPC_CHAMPION_2_ALLIANCE
C::value_type const & SelectRandomContainerElement(C const &container)
void InitializeAI() OVERRIDE
uint32 GetData(uint32 type) const OVERRIDE
void SpellHitTarget(Unit *, const SpellInfo *spell) OVERRIDE
void JustDied(Unit *) OVERRIDE
boss_devourer_of_soulsAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void KilledUnit(Unit *victim) OVERRIDE
void EnterCombat(Unit *) OVERRIDE