65 me->IsAIEnabled =
false;
66 else if (!
me->isDead())
122 summon->GetMotionMaster()->Clear();
123 summon->GetMotionMaster()->MoveFollow(
me,
me->GetObjectSize(), 0.0f);
146 if (!
me->IsWithinMeleeRange(
me->GetVictim()))
243 newDamage = std::min<int32>(maxDamage, newDamage);
299 for (
uint32 i = 68904; i <= 68907; ++i)
330 for (
uint32 i = 68896; i <= 68898; ++i)
353 if (
caster->GetExactDist2d(unit) <= 10.0f)
uint32 GUID_LOPART(uint64 x)
@ SPELL_EFFECT_SCRIPT_EFFECT
@ TARGET_UNIT_DEST_AREA_ENEMY
@ SPELL_AURA_PERIODIC_DUMMY
#define SpellEffectFn(F, I, N)
#define SpellObjectAreaTargetSelectFn(F, I, N)
#define AuraEffectPeriodicFn(F, I, N)
void AddSC_boss_bronjahm()
@ SPELL_PURPLE_BANISH_VISUAL
@ SPELL_SOULSTORM_CHANNEL
uint32 GetTickNumber() const
void PreventDefaultAction()
HookList< EffectPeriodicHandler > OnEffectPeriodic
InstanceScript *const instance
BossAI(Creature *creature, uint32 bossId)
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
CreatureScript(const char *name)
bool operator()(WorldObject *unit) const
DistanceCheck(Unit *_caster)
uint32 GetScriptId() const
uint8 GetSpawnMode() const
static Creature * GetCreature(WorldObject const &u, uint64 guid)
HookList< HitHandler > OnHit
void PreventHitDefaultEffect(SpellEffIndex effIndex)
HookList< EffectHandler > OnEffectHitTarget
void SetHitDamage(int32 damage)
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 CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, uint64 originalCaster=0)
int32 GetMaxPower(Powers power) const
CreatureAI * GetAI(Creature *creature) const OVERRIDE
npc_corrupted_soul_fragment()
CreatureAI * GetAI(Creature *creature) const OVERRIDE
PrepareSpellScript(spell_bronjahm_consume_soul_SpellScript)
void HandleScript(SpellEffIndex effIndex)
SpellScript * GetSpellScript() const OVERRIDE
spell_bronjahm_consume_soul()
PrepareSpellScript(spell_bronjahm_magic_bane_SpellScript)
spell_bronjahm_magic_bane()
SpellScript * GetSpellScript() const OVERRIDE
void HandlePeriodicTick(AuraEffect const *)
PrepareAuraScript(spell_bronjahm_soulstorm_channel_AuraScript)
AuraScript * GetAuraScript() const OVERRIDE
spell_bronjahm_soulstorm_channel()
void FilterTargetsSubsequent(std::list< WorldObject * > &targets)
void FilterTargetsInitial(std::list< WorldObject * > &targets)
std::list< WorldObject * > sharedTargets
PrepareSpellScript(spell_bronjahm_soulstorm_targeting_SpellScript)
spell_bronjahm_soulstorm_targeting()
SpellScript * GetSpellScript() const OVERRIDE
void HandlePeriodicTick(AuraEffect const *aurEff)
PrepareAuraScript(spell_bronjahm_soulstorm_visual_AuraScript)
AuraScript * GetAuraScript() const OVERRIDE
spell_bronjahm_soulstorm_visual()
bool HealthAbovePct(uint32 pct) const
ScriptedAI(Creature *creature)
void KilledUnit(Unit *who) OVERRIDE
boss_bronjahmAI(Creature *creature)
void EnterCombat(Unit *) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void DamageTaken(Unit *, uint32 &) OVERRIDE
void InitializeAI() OVERRIDE
void JustSummoned(Creature *summon) OVERRIDE
void JustDied(Unit *) OVERRIDE
void JustReachedHome() OVERRIDE
npc_corrupted_soul_fragmentAI(Creature *creature)
InstanceScript * instance
void MovementInform(uint32 type, uint32 id) OVERRIDE