176 me->SetInCombatWithZone();
196 me->DespawnOrUnsummon();
202 me->SetInCombatWithZone();
209 pSnobold->EnterVehicle(
me, i);
210 pSnobold->SetInCombatWithZone();
219 if (damage >=
me->GetHealth())
221 if (
Unit* pSnobold =
me->GetVehicleKit()->GetPassenger(i))
222 pSnobold->ToCreature()->DespawnOrUnsummon();
250 if (
Unit* pSnobold =
me->GetVehicleKit()->GetPassenger(i))
252 pSnobold->ExitVehicle();
333 me->DespawnOrUnsummon();
343 if (target->IsAlive())
371 if (!target->IsAlive())
376 if (gormok && gormok->
IsAlive())
386 me->EnterVehicle(gormok, i);
395 me->GetMotionMaster()->MoveJump(target2->GetPositionX(), target2->GetPositionY(), target2->GetPositionZ(), 15.0f, 15.0f);
411 if (
me->GetVehicleBase())
413 me->CastSpell(target->GetPositionX(), target->GetPositionY(), target->GetPositionZ(),
SPELL_FIRE_BOMB,
true);
434 if (!
me->GetVehicleBase())
468 me->SetDisplayId(
me->GetCreatureTemplate()->Modelid2);
474 me->DespawnOrUnsummon();
511 if (!otherWorm->IsAlive())
515 me->DespawnOrUnsummon();
516 otherWorm->DespawnOrUnsummon();
530 me->DespawnOrUnsummon();
543 me->SetInCombatWithZone();
594 acidmaw->SetInCombatWithZone();
621 me->SetInCombatWithZone();
635 me->GetMotionMaster()->Clear();
653 me->GetMotionMaster()->MoveChase(
me->GetVictim());
748 me->SetInCombatWithZone();
803 me->DespawnOrUnsummon();
910 me->SetInCombatWithZone();
930 me->DespawnOrUnsummon();
1020 me->GetMotionMaster()->Clear();
1021 me->GetMotionMaster()->MoveIdle();
1078 if (
Unit* player = itr->GetSource())
1080 if (player->IsAlive() && player->IsWithinDistInMap(
me, 6.0f))
1104 me->GetMotionMaster()->MovementExpired();
1105 me->GetMotionMaster()->Clear();
1106 me->GetMotionMaster()->MoveChase(
me->GetVictim());
@ TEMPSUMMON_MANUAL_DESPAWN
@ TEMPSUMMON_CORPSE_DESPAWN
@ TEMPSUMMON_TIMED_DESPAWN
@ SPELL_EFFECT_TRIGGER_MISSILE
#define SpellEffectFn(F, I, N)
@ UNIT_FLAG_NON_ATTACKABLE
@ UNIT_FLAG_NOT_SELECTABLE
float frand(float min, float max)
@ MODEL_ACIDMAW_STATIONARY
@ MODEL_DREADSCALE_MOBILE
@ MODEL_DREADSCALE_STATIONARY
void AddSC_boss_northrend_beasts()
@ SPELL_SLIME_POOL_EFFECT
@ ACTION_ENABLE_FIRE_BOMB
@ ACTION_DISABLE_FIRE_BOMB
InstanceScript *const instance
BossAI(Creature *creature, uint32 bossId)
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
virtual void EnterEvadeMode()
CreatureScript(const char *name)
LinkedListHead::Iterator< MapReference const > const_iterator
static Creature * GetCreature(WorldObject const &u, uint64 guid)
static Player * GetPlayer(WorldObject const &, uint64 guid)
WorldLocation const * GetExplTargetDest()
HookList< EffectHandler > OnEffectHit
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)
bool DoSpellAttackIfReady(uint32 spell)
void DoCastVictim(uint32 spellId, bool triggered=false)
void DoCastAOE(uint32 spellId, bool triggered=false)
static Creature * GetCreature(WorldObject &object, uint64 guid)
Vehicle * GetVehicleKit() const
Unit * GetPassenger(int8 seatId) const
Gets a passenger on specified seat.
InstanceScript * GetInstanceScript()
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
void TriggerFireBomb(SpellEffIndex)
PrepareSpellScript(spell_gormok_fire_bomb_SpellScript)
SpellScript * GetSpellScript() const OVERRIDE
void SetCombatMovement(bool allowMovement)
Creature * DoSpawnCreature(uint32 entry, float offsetX, float offsetY, float offsetZ, float angle, TempSummonType type, uint32 despawntime)
ScriptedAI(Creature *creature)
void AttackStart(Unit *) OVERRIDE
boss_acidmawAI(Creature *creature)
void MovementInform(uint32 type, uint32 pointId) OVERRIDE
void EnterEvadeMode() OVERRIDE
boss_dreadscaleAI(Creature *creature)
void JustReachedHome() OVERRIDE
void JustReachedHome() OVERRIDE
void EnterCombat(Unit *) OVERRIDE
boss_gormokAI(Creature *creature)
void DamageTaken(Unit *, uint32 &damage) OVERRIDE
void JustDied(Unit *) OVERRIDE
void MovementInform(uint32 type, uint32 pointId) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void EnterEvadeMode() OVERRIDE
void JustReachedHome() OVERRIDE
void MovementInform(uint32 type, uint32 pointId) OVERRIDE
void KilledUnit(Unit *who) OVERRIDE
void EnterEvadeMode() OVERRIDE
void SpellHitTarget(Unit *target, SpellInfo const *spell) OVERRIDE
boss_icehowlAI(Creature *creature)
uint64 _trampleTargetGUID
void EnterCombat(Unit *) OVERRIDE
void JustDied(Unit *) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void EnterCombat(Unit *) OVERRIDE
void KilledUnit(Unit *who) OVERRIDE
boss_jormungarAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void JustReachedHome() OVERRIDE
void JustDied(Unit *) OVERRIDE
void UpdateAI(uint32) OVERRIDE
== Triggered Actions Requested ==================
InstanceScript * _instance
npc_firebombAI(Creature *creature)
void UpdateAI(uint32) OVERRIDE
== Triggered Actions Requested ==================
InstanceScript * _instance
npc_slime_poolAI(Creature *creature)
npc_snobold_vassalAI(Creature *creature)
void EnterEvadeMode() OVERRIDE
void MovementInform(uint32 type, uint32 pointId) OVERRIDE
void DoAction(int32 action) OVERRIDE
void EnterCombat(Unit *who) OVERRIDE
void DamageTaken(Unit *pDoneBy, uint32 &uiDamage) OVERRIDE
InstanceScript * _instance
void JustDied(Unit *) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
const Position ToCCommonLoc[]
@ DATA_TRIBUTE_TO_IMMORTALITY_ELIGIBLE