311 Vapor->AI()->AttackStart(target);
339 pVapor->AI()->AttackStart(target);
493 std::vector<Position> unyieldingDeadPositions;
501 unyieldingDeadPositions.push_back(vapor->GetPosition());
506 for (
Position const& unyieldingDeadPosition : unyieldingDeadPositions)
@ TEMPSUMMON_TIMED_DESPAWN
@ TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT
if(posix_memalign(&__mallocedMemory, __align, __size)) return NULL
@ SPELL_SCHOOL_MASK_NORMAL
@ SPELL_TRANSFORM_FELMYST
@ SPELL_TRANSFORM_TRIGGER
@ SPELL_ENCAPSULATE_CHANNEL
void AddSC_boss_felmyst()
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
void JustDied(Unit *) override
void JustSummoned(Creature *summon) override
void _DespawnAtEvade(Seconds delayToRespawn=30s, Creature *who=nullptr)
virtual void MoveInLineOfSight(Unit *)
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void AttackStart(Unit *victim) override
== Triggered Actions Requested ==================
void SetCanMelee(bool canMelee, bool fleeFromMelee=false)
void SetDisplayFromModel(uint32 modelIdx)
void SetTarget(ObjectGuid const &guid) override
void SetDisplayId(uint32 displayId, bool setNative=false) override
bool IsInEvadeMode() const
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
Creature * GetCreature(uint32 type)
virtual ObjectGuid GetGuidData(uint32 type) const override
EncounterState GetBossState(uint32 id) const
void MovePoint(uint32 id, Position const &pos, bool generatePath=true, Optional< float > finalOrient={}, Optional< float > speed={}, MovementWalkRunSpeedSelectionMode speedSelectionMode=MovementWalkRunSpeedSelectionMode::Default, Optional< float > closeEnoughDistance={})
static Unit * ToUnit(Object *o)
static ObjectGuid GetGUID(Object const *o)
void DespawnIf(T const &predicate)
SpellCastResult DoCastVictim(uint32 spellId, CastSpellExtraArgs const &args={})
Unit * SelectTarget(SelectTargetMethod targetType, uint32 offset=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
SpellCastResult DoCast(uint32 spellId)
static uint32 DealDamage(Unit *attacker, Unit *victim, uint32 damage, CleanDamage const *cleanDamage=nullptr, DamageEffectType damagetype=DIRECT_DAMAGE, SpellSchoolMask damageSchoolMask=SPELL_SCHOOL_MASK_NORMAL, SpellInfo const *spellProto=nullptr, bool durabilityLoss=true)
void CastStop(uint32 except_spellid=0)
void InterruptNonMeleeSpells(bool withDelayed, uint32 spellid=0, bool withInstant=true)
MotionMaster * GetMotionMaster()
bool IsNonMeleeSpellCast(bool withDelayed, bool skipChanneled=false, bool skipAutorepeat=false, bool isAutoshoot=false, bool skipInstant=true) const
bool SetDisableGravity(bool disable, bool updateAnimTier=true)
void SetBoundingRadius(float boundingRadius)
void SetCombatReach(float combatReach)
uint32 GetDisplayId() const
uint64 GetMaxHealth() const
void SetSpeedRate(UnitMoveType mtype, float rate)
void SetFacingTo(float const ori, bool force=true)
void HandleEmoteCommand(Emote emoteId, Player *target=nullptr, Trinity::IteratorPair< int32 const * > spellVisualKitIds={}, int32 sequenceVariation=0)
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
TempSummon * SummonCreature(uint32 entry, Position const &pos, TempSummonType despawnType=TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime=0s, uint32 vehId=0, uint32 spellId=0, ObjectGuid privateObjectOwner=ObjectGuid::Empty)
void GetContactPoint(WorldObject const *obj, float &x, float &y, float &z, float distance2d=CONTACT_DISTANCE) const
void UpdateGroundPositionZ(float x, float y, float &z) const
TC_GAME_API Unit * GetUnit(WorldObject const &, ObjectGuid const &guid)
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
constexpr float GetPositionX() const
constexpr float GetPositionY() const
float GetAbsoluteAngle(float x, float y) const
constexpr void GetPosition(float &x, float &y) const
constexpr void Relocate(float x, float y)
constexpr float GetPositionZ() const
void AttackStart(Unit *) override
== Triggered Actions Requested ==================
void DoStartMovement(Unit *target, float distance=0.0f, float angle=0.0f)
void DespawnSummons(uint32 entry)
void SpellHit(WorldObject *caster, SpellInfo const *spellInfo) override
void UpdateAI(uint32 diff) override
void EnterPhase(PhaseFelmyst NextPhase)
void JustDied(Unit *killer) override
void JustAppeared() override
void JustEngagedWith(Unit *who) override
boss_felmyst(Creature *creature)
void MoveInLineOfSight(Unit *who) override
void MovementInform(uint32, uint32) override
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void AttackStart(Unit *who) override
== Triggered Actions Requested ==================
void JustSummoned(Creature *summon) override
void EnterEvadeMode(EvadeReason) override
void HandleFlightSequence()
void InitializeAI() override
void KilledUnit(Unit *) override
void AttackStart(Unit *) override
== Triggered Actions Requested ==================
void JustEngagedWith(Unit *) override
void MoveInLineOfSight(Unit *) override
void UpdateAI(uint32) override
npc_felmyst_trail(Creature *creature)
npc_felmyst_vapor(Creature *creature)
void JustEngagedWith(Unit *) override
void UpdateAI(uint32) override
#define RegisterSunwellPlateauCreatureAI(ai_name)