|
| npc_death_knight_initiate () |
|
bool | OnGossipSelect (Player *player, Creature *creature, uint32, uint32 action) override |
|
bool | OnGossipHello (Player *player, Creature *creature) override |
|
CreatureAI * | GetAI (Creature *creature) const override |
|
virtual bool | OnDummyEffect (Unit *, uint32, SpellEffIndex, Creature *) |
|
virtual bool | OnGossipSelectCode (Player *, Creature *, uint32, uint32, const char *) |
|
virtual bool | OnQuestAccept (Player *, Creature *, Quest const *) |
|
virtual bool | OnQuestSelect (Player *, Creature *, Quest const *) |
|
virtual bool | OnQuestReward (Player *, Creature *, Quest const *, uint32) |
|
virtual uint32 | GetDialogStatus (Player *, Creature *) |
|
virtual void | OnHeal (Unit *, Unit *, uint32 &) |
|
virtual void | OnDamage (Unit *, Unit *, uint32 &) |
|
virtual void | ModifyPeriodicDamageAurasTick (Unit *, Unit *, uint32 &) |
|
virtual void | ModifyMeleeDamage (Unit *, Unit *, uint32 &) |
|
virtual void | ModifySpellDamageTaken (Unit *, Unit *, int32 &) |
|
const std::string & | GetName () const |
|
virtual void | OnUpdate (Creature *, uint32) |
|
npc_death_knight_initiate::npc_death_knight_initiate |
( |
| ) |
|
|
inline |
CreatureScript(const char *name)
Definition: ScriptMgr.cpp:1586
Reimplemented from CreatureScript.
627 return new npc_death_knight_initiateAI(creature);
Reimplemented from CreatureScript.
509 if (player->HealthBelowPct(10))
512 if (player->IsInCombat() || creature->
IsInCombat())
516 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->
GetGUID());
Definition: ScriptedGossip.h:71
bool IsInCombat() const
Definition: Unit.h:1584
bool IsFullHealth() const
Definition: Unit.h:1429
Definition: ScriptedGossip.h:73
ObjectGuid const & GetGUID() const
Definition: Object.h:105
Definition: QuestDef.h:113
Definition: chapter1.cpp:471
Reimplemented from CreatureScript.
482 player->PlayerTalkClass->ClearMenus();
485 player->CLOSE_GOSSIP_MENU();
487 if (player->IsInCombat() || creature->
IsInCombat())
492 if (pInitiateAI->m_bIsDuelInProgress)
499 player->CastSpell(creature,
SPELL_DUEL,
false);
Definition: chapter1.cpp:460
Definition: ScriptedGossip.h:71
Definition: chapter1.cpp:521
bool IsInCombat() const
Definition: Unit.h:1584
#define CAST_AI(a, b)
Definition: ScriptedCreature.h:28
Definition: chapter1.cpp:457
CreatureAI * AI() const
Definition: Creature.h:525
void RemoveFlag(uint16 index, uint32 oldFlag)
Definition: Object.cpp:1214
Definition: UpdateFields.h:109
The documentation for this class was generated from the following file:
- src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp