95 me->DeleteThreatList();
150 SF_LOG_ERROR(
"scripts",
"SKYFIRE: npc_ancestral_wolf can not obtain owner or owner is not a player.");
167 if (!
pRyga && who->GetEntry() ==
NPC_RYGA &&
me->IsWithinDistInMap(who, 15.0f))
197#define GOSSIP_NALADU_ITEM1 "Why don't you escape?"
211 player->PlayerTalkClass->ClearMenus();
220 if (creature->IsQuestGiver())
221 player->PrepareQuestMenu(creature->GetGUID());
224 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
233#define GOSSIP_TEXT_REDEEM_MARKS "I have marks to redeem!"
234#define GOSSIP_TRACY_PROUDWELL_ITEM1 "I heard that your dog Fei Fei took Klatu's prayer beads..."
235#define GOSSIP_TRACY_PROUDWELL_ITEM2 "<back>"
250 player->PlayerTalkClass->ClearMenus();
258 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
261 player->GetSession()->SendListInventory(creature->GetGUID());
270 if (creature->IsQuestGiver())
271 player->PrepareQuestMenu(creature->GetGUID());
273 if (creature->IsVendor())
279 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
288#define GOSSIP_TROLLBANE_ITEM1 "Tell me of the Sons of Lothar."
289#define GOSSIP_TROLLBANE_ITEM2 "<more>"
290#define GOSSIP_TROLLBANE_ITEM3 "Tell me of your homeland."
306 player->PlayerTalkClass->ClearMenus();
326 if (creature->IsQuestGiver())
327 player->PrepareQuestMenu(creature->GetGUID());
331 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
362 pEscortAI->Start(
true,
false, player->GetGUID());
365 creature->setFaction(775);
424 summoned->AI()->AttackStart(
me);
470 pHelboar->RemoveCorpse();
473 if (
Player* owner =
me->GetCharmerOrOwnerPlayerOrPlayerItself())
474 me->GetMotionMaster()->MoveFollow(owner, 0.0f, 0.0f);
487 me->GetMotionMaster()->MovePoint(1, pHelboar->GetPositionX(), pHelboar->GetPositionY(), pHelboar->GetPositionZ());
#define SF_LOG_ERROR(filterType__,...)
@ TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT
@ QUEST_STATUS_INCOMPLETE
@ UNIT_NPC_FLAG_QUESTGIVER
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
CreatureScript(const char *name)
void GroupEventHappens(uint32 questId, WorldObject const *pEventObject)
void DoMeleeAttackIfReady()
void DoCast(uint32 spellId)
void DoCastVictim(uint32 spellId, bool triggered=false)
void SetSpeed(UnitMoveType mtype, float rate, bool forced=false)
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
bool OnGossipHello(Player *player, Creature *creature) OVERRIDE
bool OnGossipSelect(Player *player, Creature *creature, uint32, uint32 action) OVERRIDE
bool OnGossipHello(Player *player, Creature *creature) OVERRIDE
bool OnGossipSelect(Player *player, Creature *creature, uint32, uint32 action) OVERRIDE
bool OnGossipSelect(Player *player, Creature *creature, uint32, uint32 action) OVERRIDE
bool OnGossipHello(Player *player, Creature *creature) OVERRIDE
bool OnQuestAccept(Player *player, Creature *creature, Quest const *quest) OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
bool HealthBelowPct(uint32 pct) const
Creature * DoSpawnCreature(uint32 entry, float offsetX, float offsetY, float offsetZ, float angle, TempSummonType type, uint32 despawntime)
ScriptedAI(Creature *creature)
uint32 EnvelopingWinds_Timer
npc_aeranasAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void WaypointReached(uint32 waypointId) OVERRIDE
npc_ancestral_wolfAI(Creature *creature)
void MoveInLineOfSight(Unit *who) OVERRIDE
Player * GetPlayerForEscort()
bool HasEscortState(uint32 escortState) const
npc_escortAI(Creature *creature)
void Start(bool isActiveAttacker=true, bool run=false, uint64 playerGUID=0, Quest const *quest=NULL, bool instantRespawn=false, bool canLoopPath=false, bool resetWaypoints=true)
void MoveInLineOfSight(Unit *who) OVERRIDE
void UpdateAI(uint32 uiDiff) OVERRIDE
== Triggered Actions Requested ==================
void MovementInform(uint32 uiType, uint32 uiId) OVERRIDE
npc_fel_guard_houndAI(Creature *creature)
npc_wounded_blood_elfAI(Creature *creature)
void EnterCombat(Unit *) OVERRIDE
void WaypointReached(uint32 waypointId) OVERRIDE
void JustSummoned(Creature *summoned) OVERRIDE
@ GOSSIP_TEXTID_TROLLBANE2
@ GOSSIP_TEXTID_TROLLBANE3
@ GOSSIP_TEXTID_TROLLBANE1
@ QUEST_ROAD_TO_FALCON_WATCH
#define GOSSIP_TRACY_PROUDWELL_ITEM1
#define GOSSIP_TRACY_PROUDWELL_ITEM2
#define GOSSIP_TROLLBANE_ITEM1
#define GOSSIP_TEXT_REDEEM_MARKS
@ QUEST_DIGGING_FOR_PRAYER_BEADS
@ GOSSIP_TEXTID_TRACY_PROUDWELL1
#define GOSSIP_TROLLBANE_ITEM2
#define GOSSIP_TROLLBANE_ITEM3
@ SPELL_ANCESTRAL_WOLF_BUFF
#define GOSSIP_NALADU_ITEM1
void AddSC_hellfire_peninsula()