132 me->SetDisableGravity(
true);
137 me->setActive(
false);
199 caster->GetPosition(x, y, z);
202 summon->SetMaxHealth(caster->GetMaxHealth());
203 summon->SetHealth(caster->GetMaxHealth());
250 me->SetDisableGravity(
true);
267 me->GetMotionMaster()->Clear(
false);
274 me->GetMotionMaster()->MovePoint(0,
me->GetPositionX()+1,
me->GetPositionY(),
me->GetPositionZ()+10);
292 me->InterruptNonMeleeSpells(
false);
321 me->InterruptNonMeleeSpells(
false);
349 me->GetMotionMaster()->MovePoint(0, x, y, z+10);
362 me->GetPosition(x, y, z);
365 me->GetMotionMaster()->MovePoint(0, x, y, z);
387 me->SetDisableGravity(
false);
407 if (
me->IsNonMeleeSpellCasted(
false))
412 switch (
events.ExecuteEvent())
447 switch (
events.ExecuteEvent())
459 me->GetPosition(x, y, z);
460 me->UpdateGroundPositionZ(x, y, z);
476 std::list<Creature*> templist;
478 me->GetPosition(x, y, z);
487 cell.
Visit(pair, cSearcher, *(
me->GetMap()), *
me,
me->GetGridActivationRange());
489 for (std::list<Creature*>::const_iterator i = templist.begin(); i != templist.end(); ++i)
493 (*i)->GetPosition(x, y, z);
496 (*i)->SetVisible(
false);
499 (*i)->RemoveCorpse();
530 if (!
me->GetVictim())
553 me->SetTarget(
me->GetGUID());
TypeMapContainer< AllGridObjectTypes > GridTypeMapContainer
CoordPair< TOTAL_NUMBER_OF_CELLS_PER_MAP > CellCoord
@ TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT
@ TEMPSUMMON_TIMED_DESPAWN
@ SPELL_SCHOOL_MASK_NORMAL
@ UNIT_FLAG_NOT_SELECTABLE
@ UNIT_FIELD_BOUNDING_RADIUS
@ UNIT_FIELD_COMBAT_REACH
@ SPELL_TRANSFORM_FELMYST
@ SPELL_TRANSFORM_TRIGGER
@ SPELL_ENCAPSULATE_CHANNEL
void AddSC_boss_felmyst()
virtual void MoveInLineOfSight(Unit *)
void DoZoneInCombat(Creature *creature=NULL, float maxRangeToNearestTarget=50.0f)
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
virtual void EnterEvadeMode()
CreatureScript(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)
virtual void AttackStart(Unit *)
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)
static Unit * GetUnit(WorldObject &object, uint64 guid)
InstanceScript * GetInstanceScript()
void GetContactPoint(WorldObject const *obj, float &x, float &y, float &z, float distance2d=CONTACT_DISTANCE) const
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CellCoord ComputeCellCoord(float x, float y)
void Visit(CellCoord const &, TypeContainerVisitor< T, CONTAINER > &visitor, Map &, WorldObject const &, float) const
float GetPositionZ() const
float GetPositionX() const
float GetPositionY() const
ScriptedAI(Creature *creature)
void AttackStart(Unit *) OVERRIDE
void DoStartMovement(Unit *target, float distance=0.0f, float angle=0.0f)
void JustDied(Unit *) OVERRIDE
InstanceScript * instance
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void MovementInform(uint32, uint32) OVERRIDE
void JustSummoned(Creature *summon) OVERRIDE
void SpellHit(Unit *caster, const SpellInfo *spell) OVERRIDE
void JustRespawned() OVERRIDE
void EnterPhase(PhaseFelmyst NextPhase)
void AttackStart(Unit *who) OVERRIDE
void DamageTaken(Unit *, uint32 &damage) OVERRIDE
void EnterCombat(Unit *) OVERRIDE
void MoveInLineOfSight(Unit *who) OVERRIDE
boss_felmystAI(Creature *creature)
void HandleFlightSequence()
void KilledUnit(Unit *) OVERRIDE
void DespawnSummons(uint32 entry)
void UpdateAI(uint32) OVERRIDE
== Triggered Actions Requested ==================
npc_felmyst_trailAI(Creature *creature)
void EnterCombat(Unit *) OVERRIDE
void AttackStart(Unit *) OVERRIDE
void MoveInLineOfSight(Unit *) OVERRIDE
npc_felmyst_vaporAI(Creature *creature)
void UpdateAI(uint32) OVERRIDE
== Triggered Actions Requested ==================
void EnterCombat(Unit *) OVERRIDE