|
| 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.
141 {
143 {
145
146 if (!pSlim)
147 return false;
148
151
153 pEscortAI->Start(
false,
false, player->
GetGUID(), quest);
154 }
155 return false;
156 }
#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:112
uint32 GetQuestId() const
Definition QuestDef.h:228
bool HasStealthAura() const
Definition Unit.h:1755
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:1178
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition Object.cpp:2459
Definition zone_wetlands.cpp:59
@ NPC_TAPOKE_SLIM_JAHN
Definition zone_wetlands.cpp:45
@ SPELL_STEALTH
Definition zone_wetlands.cpp:42
@ QUEST_MISSING_DIPLO_PT11
Definition zone_wetlands.cpp:41
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: