|
| | npc_mikhail () |
| |
| bool | OnQuestAccept (Player *player, Creature *creature, Quest const *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, char const *) |
| |
| 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 () |
| |
| std::string const & | GetName () const |
| |
| uint16 | GetTotalAvailableHooks () |
| |
| virtual void | OnUpdate (Creature *, uint32) |
| |
◆ npc_mikhail()
| npc_mikhail::npc_mikhail |
( |
| ) |
|
|
inline |
Definition CreatureScript.h:25
◆ OnQuestAccept()
Reimplemented from CreatureScript.
130 {
132 {
134
135 if (!pSlim)
136 return false;
137
140
142 {
144 pEscortAI->Start(
false, player->
GetGUID(), quest);
145 }
146 }
147 return false;
148 }
#define CAST_AI(a, b)
Definition UnitAI.h:26
bool SetWalk(bool enable) override
Enable or disable the creature's walk mode by removing: MOVEMENTFLAG_WALKING. Infom also the client.
Definition Creature.cpp:3343
CreatureAI * AI() const
Definition Creature.h:144
static ObjectGuid GetGUID(Object const *o)
Definition Object.h:114
bool HasStealthAura() const
Definition Unit.h:1841
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:1361
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition Object.cpp:2553
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, Creature::SetWalk(), and SPELL_STEALTH.
The documentation for this class was generated from the following file: