137#define GOSSIP_ITEM_THERAMORE_GUARD "You look like an intelligent person. Why don't you read one of these leaflets and give it some thought?"
149 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
156 player->PlayerTalkClass->ClearMenus();
160 player->CLOSE_GOSSIP_MENU();
229#define GOSSIP_ITEM_JAINA "I know this is rather silly but i have a young ward who is a bit shy and would like your autograph."
238 player->PlayerTalkClass->ClearMenus();
241 player->SEND_GOSSIP_MENU(7012, creature->GetGUID());
249 if (creature->IsQuestGiver())
250 player->PrepareQuestMenu(creature->GetGUID());
255 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
277 player->PlayerTalkClass->ClearMenus();
279 player->GetSession()->SendListInventory(creature->GetGUID());
286 if (creature->IsQuestGiver())
287 player->PrepareQuestMenu(creature->GetGUID());
292 player->SEND_GOSSIP_MENU(7640, creature->GetGUID());
295 player->SEND_GOSSIP_MENU(7638, creature->GetGUID());
346 me->RestoreFaction();
354 if (
me->IsFriendlyTo(pAttacker))
362 if (Damage >
me->GetHealth() ||
me->HealthBelowPctDamaged(20, Damage))
410 if (
me->Attack(who,
true))
412 me->SetInCombatWith(who);
413 who->SetInCombatWith(
me);
416 me->GetMotionMaster()->MoveChase(who);
425 me->SetHomePosition(
me->GetPositionX(),
me->GetPositionY(),
me->GetPositionZ(),
me->GetOrientation());
429 if (
me->IsInCombat())
430 if (
Unit* unit =
me->GetVictim())
431 me->GetMotionMaster()->MoveChase(unit);
491 pEscortAI->Start(
false,
false, player->GetGUID());
687 for (std::list<WorldObject*>::iterator itr = targets.begin(); itr != targets.end();)
692 targets.erase(itr++);
734 go->UseDoorOrButton();
741 prisoner->DespawnOrUnsummon(6000);
@ QUEST_STATUS_INCOMPLETE
@ FACTION_ESCORT_N_NEUTRAL_ACTIVE
#define GOSSIP_TEXT_BROWSE_GOODS
@ SPELL_EFFECT_SCRIPT_EFFECT
@ TARGET_UNIT_SRC_AREA_ENTRY
@ SPELL_FAILED_BAD_TARGETS
@ SPELL_FAILED_CANT_DO_THAT_RIGHT_NOW
#define SpellCheckCastFn(F)
#define SpellEffectFn(F, I, N)
#define SpellObjectAreaTargetSelectFn(F, I, N)
@ SPELL_INTANGIBLE_PRESENCE
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
virtual void EnterEvadeMode()
CreatureScript(const char *name)
GameObjectScript(const char *name)
void GroupEventHappens(uint32 questId, WorldObject const *pEventObject)
QuestStatus GetQuestStatus(uint32 quest_id) const
void FailQuest(uint32 quest_id)
Unit * GetExplTargetUnit()
HookList< CheckCastHandler > OnCheckCast
SpellInfo const * GetSpellInfo()
void PreventHitDefaultEffect(SpellEffIndex effIndex)
HookList< EffectHandler > OnEffectHitTarget
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
SpellScriptLoader(const char *name)
void DoMeleeAttackIfReady()
void DoCast(uint32 spellId)
void DoCastVictim(uint32 spellId, bool triggered=false)
void Kill(Unit *victim, bool durabilityLoss=true)
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)
Player * GetCharmerOrOwnerPlayerOrPlayerItself() const
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
bool OnGossipSelect(Player *player, Creature *creature, uint32, uint32 action) OVERRIDE
bool OnGossipHello(Player *player, Creature *creature) OVERRIDE
npc_lady_jaina_proudmoore()
bool OnGossipSelect(Player *player, Creature *creature, uint32, uint32 action) OVERRIDE
bool OnGossipHello(Player *player, Creature *creature) OVERRIDE
bool OnQuestAccept(Player *, Creature *creature, const Quest *quest) OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
bool OnQuestAccept(Player *player, Creature *creature, Quest const *quest) OVERRIDE
bool OnGossipSelect(Player *player, Creature *creature, uint32, uint32 action) OVERRIDE
bool OnGossipHello(Player *player, Creature *creature) OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
bool Validate(SpellInfo const *) OVERRIDE
PrepareSpellScript(spell_energize_aoe_SpellScript)
void HandleScript(SpellEffIndex effIndex)
void FilterTargets(std::list< WorldObject * > &targets)
SpellScript * GetSpellScript() const OVERRIDE
SpellCastResult CheckRequirement()
PrepareSpellScript(spell_ooze_zap_SpellScript)
bool Validate(SpellInfo const *) OVERRIDE
void HandleDummy(SpellEffIndex effIndex)
PrepareSpellScript(spell_ooze_zap_channel_end_SpellScript)
void HandleDummy(SpellEffIndex effIndex)
bool Validate(SpellInfo const *) OVERRIDE
spell_ooze_zap_channel_end()
SpellScript * GetSpellScript() const OVERRIDE
SpellScript * GetSpellScript() const OVERRIDE
void SetCombatMovement(bool allowMovement)
bool IsCombatMovementAllowed() const
ScriptedAI(Creature *creature)
void AttackStart(Unit *) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
Player * GetPlayerForEscort()
bool HasEscortState(uint32 escortState) const
npc_escortAI(Creature *creature)
void AttackedBy(Unit *pAttacker) OVERRIDE
void DamageTaken(Unit *pDoneBy, uint32 &Damage) OVERRIDE
npc_private_hendelAI(Creature *creature)
npc_risen_husk_spiritAI(Creature *creature)
void JustDied(Unit *killer) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void UpdateAI(uint32 uiDiff) OVERRIDE
== Triggered Actions Requested ==================
void EnterCombat(Unit *who) OVERRIDE
npc_stinkyAI(Creature *creature)
void WaypointReached(uint32 waypointId) OVERRIDE
void JustDied(Unit *) OVERRIDE
npc_theramore_guardAI(Creature *creature)
void UpdateAI(uint32 Diff) OVERRIDE
== Triggered Actions Requested ==================
void UpdateAI(uint32) OVERRIDE
== Triggered Actions Requested ==================
void AttackStart(Unit *who) OVERRIDE
void MovementInform(uint32 Type, uint32) OVERRIDE
npc_zelfraxAI(Creature *creature)
#define GOSSIP_ITEM_THERAMORE_GUARD
Position const MovePosition
@ QUEST_MISSING_DIPLO_PT16
@ SPELL_WITCH_HILL_INFORMATION_CREDIT
@ QUEST_WHATS_HAUNTING_WITCH_HILL
@ SPELL_SUMMON_RESTLESS_APPARITION
@ SPELL_INTANGIBLE_PRESENCE
@ EVENT_INTANGIBLE_PRESENCE
@ SPELL_OOZE_ZAP_CHANNEL_END
@ SPELL_OOZE_CHANNEL_CREDIT
void AddSC_dustwallow_marsh()
#define GOSSIP_ITEM_JAINA
@ QUEST_DISCREDITING_THE_DESERTERS
@ QUEST_NATS_MEASURING_TAPE