|
| npc_mikhail () |
|
bool | OnQuestAccept (Player *player, Creature *creature, const Quest *quest) override |
|
bool | IsDatabaseBound () const override |
|
virtual bool | OnGossipHello (Player *, Creature *) |
|
virtual bool | OnGossipSelect (Player *, Creature *, uint32, uint32) |
|
virtual bool | OnGossipSelectCode (Player *, Creature *, uint32, uint32, const char *) |
|
virtual bool | OnQuestSelect (Player *, Creature *, Quest const *) |
|
virtual bool | OnQuestComplete (Player *, Creature *, Quest const *) |
|
virtual bool | OnQuestReward (Player *, Creature *, Quest const *, uint32) |
|
virtual uint32 | GetDialogStatus (Player *, Creature *) |
|
virtual CreatureAI * | GetAI (Creature *) const |
|
virtual void | OnFfaPvpStateUpdate (Creature *, bool) |
|
virtual bool | isAfterLoadScript () const |
|
virtual void | checkValidity () |
|
const std::string & | GetName () const |
|
uint16 | GetTotalAvailableHooks () |
|
virtual void | OnUpdate (Creature *, uint32) |
|
◆ npc_mikhail()
npc_mikhail::npc_mikhail |
( |
| ) |
|
|
inline |
Definition CreatureScript.h:25
◆ OnQuestAccept()
Reimplemented from CreatureScript.
129 {
131 {
133
134 if (!pSlim)
135 return false;
136
139
141 pEscortAI->Start(
false,
false, player->
GetGUID(), quest);
142 }
143 return false;
144 }
#define CAST_AI(a, b)
Definition UnitAI.h:26
CreatureAI * AI() const
Definition Creature.h:141
static ObjectGuid GetGUID(Object const *o)
Definition Object.h:113
uint32 GetQuestId() const
Definition QuestDef.h:228
bool HasStealthAura() const
Definition Unit.h:1746
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition Unit.cpp:1179
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition Object.cpp:2459
Definition zone_wetlands.cpp:47
@ NPC_TAPOKE_SLIM_JAHN
Definition zone_wetlands.cpp:33
@ SPELL_STEALTH
Definition zone_wetlands.cpp:30
@ QUEST_MISSING_DIPLO_PT11
Definition zone_wetlands.cpp:29
References Creature::AI(), CAST_AI, Unit::CastSpell(), WorldObject::FindNearestCreature(), Object::GetGUID(), Quest::GetQuestId(), Unit::HasStealthAura(), NPC_TAPOKE_SLIM_JAHN, QUEST_MISSING_DIPLO_PT11, and SPELL_STEALTH.
The documentation for this class was generated from the following file: