100 { 1653.36f, -6038.34f, 127.584f },
101 { 1653.765f, -6035.075f, 127.5844f },
102 { 1651.89f, -6037.101f, 127.5844f }
155 fakeValroth->AI()->Talk(
id);
402 tree->GetContactPoint(
me, x, y, z);
#define INTERACTION_DISTANCE
@ QUEST_STATUS_INCOMPLETE
#define RegisterCreatureAI(ai_name)
#define RegisterSpellScript(spell_script)
Creature * GetClosestCreatureWithEntry(WorldObject *source, uint32 entry, float maxSearchRange, bool alive=true)
void SendGossipMenuFor(Player *player, uint32 npcTextID, ObjectGuid const &guid)
@ SPELL_EFFECT_SCRIPT_EFFECT
#define SpellEffectFn(F, I, N)
Position const koltiraPos[3]
void AddSC_the_scarlet_enclave_c2()
@ SPELL_KOLTIRA_TRANSFORM
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void setDeathState(DeathState s) override
void SetImmuneToPC(bool apply) override
void LoadEquipment(int8 id=1, bool force=false)
void DespawnOrUnsummon(Milliseconds timeToDespawn=0s, Seconds forceRespawnTime=0s)
void SetImmuneToNPC(bool apply) override
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
void CancelEvent(uint32 eventId)
void MoveJump(Position const &pos, float speedXY, float speedZ, uint32 id=EVENT_JUMP, bool hasOrientation=false, JumpArrivalCastArgs const *arrivalCast=nullptr, Movement::SpellEffectExtraData const *spellEffectExtraData=nullptr)
void MovePath(uint32 pathId, bool repeatable, Optional< Milliseconds > duration={}, Optional< float > speed={}, MovementWalkRunSpeedSelectionMode speedSelectionMode=MovementWalkRunSpeedSelectionMode::Default, Optional< std::pair< Milliseconds, Milliseconds > > waitTimeRangeAtPathEnd={}, Optional< float > wanderDistanceAtPathEnds={}, Optional< bool > followPathBackwardsFromEndToStart={}, bool generatePath=true)
void MovePoint(uint32 id, Position const &pos, bool generatePath=true, Optional< float > finalOrient={}, Optional< float > speed={}, MovementWalkRunSpeedSelectionMode speedSelectionMode=MovementWalkRunSpeedSelectionMode::Default, Optional< float > closeEnoughDistance={})
static ObjectGuid GetGUID(Object const *o)
static Player * ToPlayer(Object *o)
void PrepareQuestMenu(ObjectGuid guid)
QuestStatus GetQuestStatus(uint32 quest_id) const
uint32 GetQuestId() const
Unit * GetHitUnit() const
int32 GetEffectValue() const
HookList< EffectHandler > OnEffectHitTarget
bool HasEntry(uint32 entry) const
void Despawn(Creature const *summon)
void Summon(Creature const *summon)
SpellCastResult DoCastSelf(uint32 spellId, CastSpellExtraArgs const &args={})
void SetHealth(uint64 val)
void SetStandState(UnitStandStateType state, uint32 animKitID=0)
MotionMaster * GetMotionMaster()
void RemoveNpcFlag(NPCFlags flags)
bool IsQuestGiver() const
void Mount(uint32 mount, uint32 vehicleId=0, uint32 creatureEntry=0)
void SetNpcFlag(NPCFlags flags)
bool SetWalk(bool enable)
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
GameObject * FindNearestGameObject(uint32 entry, float range, bool spawnedOnly=true) const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
bool IsWithinDist(WorldObject const *obj, float dist2compare, bool is3D=true, bool incOwnRadius=true, bool incTargetRadius=true) const
void SummonCreatureGroup(uint8 group, std::list< TempSummon * > *list=nullptr)
CreatureAI * GetAI(Creature *creature) const override
CreatureAI * GetAI(Creature *creature) const override
void HandleScriptEffect(SpellEffIndex)
TC_GAME_API Player * GetPlayer(Map const *, ObjectGuid const &guid)
void AttackStart(Unit *) override
== Triggered Actions Requested ==================
bool MeetQuestCondition(Player *player)
void UpdateAI(uint32 diff) override
uint32 ExecuteSpeech_Timer
npc_a_special_surpriseAI(Creature *creature)
uint32 ExecuteSpeech_Counter
void MoveInLineOfSight(Unit *who) override
bool OnGossipHello(Player *player) override
void UpdateAI(uint32 diff) override
npc_koltira_deathweaver(Creature *creature)
void JustSummoned(Creature *summon) override
void OnQuestAccept(Player *, Quest const *quest) override
void SummonedCreatureDespawn(Creature *summon) override
void MovementInform(uint32 type, uint32 pointId) override
void FakeValrothTalk(uint32 id)
npc_scarlet_courierAI(Creature *creature)
void JustEngagedWith(Unit *) override
void UpdateAI(uint32 diff) override
void MovementInform(uint32 type, uint32 id) override