139 return GetRazorfenKraulAI<npc_willixAI>(creature);
158 return GetRazorfenKraulAI<npc_snufflenose_gopherAI>(creature);
180 go->SetRespawnTime(5 *
MINUTE);
193 std::list<GameObject*> tubbersInRange;
196 if (tubbersInRange.empty())
206 GameObject* nearestTubber = tubbersInRange.front();
@ TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT
void GetGameObjectListWithEntryInGrid(Container &container, WorldObject *source, uint32 entry, float maxSearchRange)
@ FACTION_ESCORTEE_N_NEUTRAL_PASSIVE
#define SpellEffectFn(F, I, N)
@ UNIT_NPC_FLAG_QUESTGIVER
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void AttackStart(Unit *victim) override
== Triggered Actions Requested ==================
bool HasFlag(GameObjectFlags flags) 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 ObjectGuid GetGUID(Object const *o)
void MovementInform(uint32 type, uint32 id) override
void UpdateAI(uint32) override
void GroupEventHappens(uint32 questId, WorldObject const *pEventObject)
uint32 GetQuestId() const
Creature * GetHitCreature() const
HookList< EffectHandler > OnEffectHitTarget
void SetFaction(uint32 faction) override
MotionMaster * GetMotionMaster()
void SetNpcFlag(NPCFlags flags)
void HandleEmoteCommand(Emote emoteId, Player *target=nullptr, Trinity::IteratorPair< int32 const * > spellVisualKitIds={}, int32 sequenceVariation=0)
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)
CreatureAI * GetAI(Creature *creature) const override
void HandleEffect(SpellEffIndex)
spell_snufflenose_command()
SpellScript * GetSpellScript() const override
TC_GAME_API GameObject * GetGameObject(WorldObject const &u, ObjectGuid const &guid)
void AddSC_razorfen_kraul()
@ QUEST_WILLIX_THE_IMPORTER
void Start(bool isActiveAttacker=true, ObjectGuid playerGUID=ObjectGuid::Empty, Quest const *quest=nullptr, bool instantRespawn=false, bool canLoopPath=false)
void LoadPath(uint32 pathId)
Player * GetPlayerForEscort()
constexpr float GetPositionX() const
constexpr float GetPositionY() const
constexpr float GetPositionZ() const
void UpdateAI(uint32 diff) override
npc_snufflenose_gopherAI(Creature *creature)
void DoAction(int32 action) override
ObjectGuid TargetTubberGUID
void MovementInform(uint32 type, uint32 id) override
CreatureAI * GetAI(Creature *creature) const override
void OnQuestAccept(Player *player, Quest const *quest) override
void JustDied(Unit *) override
npc_willixAI(Creature *creature)
void JustSummoned(Creature *summoned) override
void JustEngagedWith(Unit *who) override
void WaypointReached(uint32 waypointId, uint32) override