|
| | go_ravager_cage () |
| |
| bool | OnGossipHello (Player *player, GameObject *go) override |
| |
| bool | IsDatabaseBound () const override |
| |
| virtual bool | OnGossipSelect (Player *, GameObject *, uint32, uint32) |
| |
| virtual bool | OnGossipSelectCode (Player *, GameObject *, uint32, uint32, const char *) |
| |
| virtual bool | OnQuestAccept (Player *, GameObject *, Quest const *) |
| |
| virtual bool | OnQuestReward (Player *, GameObject *, Quest const *, uint32) |
| |
| virtual uint32 | GetDialogStatus (Player *, GameObject *) |
| |
| virtual void | OnDestroyed (GameObject *, Player *) |
| |
| virtual void | OnDamaged (GameObject *, Player *) |
| |
| virtual void | OnModifyHealth (GameObject *, Unit *, int32 &, SpellInfo const *) |
| |
| virtual void | OnLootStateChanged (GameObject *, uint32, Unit *) |
| |
| virtual void | OnGameObjectStateChanged (GameObject *, uint32) |
| |
| virtual GameObjectAI * | GetAI (GameObject *) const |
| |
| virtual bool | isAfterLoadScript () const |
| |
| virtual void | checkValidity () |
| |
| const std::string & | GetName () const |
| |
| uint16 | GetTotalAvailableHooks () |
| |
| virtual void | OnUpdate (GameObject *, uint32) |
| |
◆ go_ravager_cage()
| go_ravager_cage::go_ravager_cage |
( |
| ) |
|
|
inline |
Definition GameObjectScript.h:25
◆ OnGossipHello()
Reimplemented from GameObjectScript.
345 {
348 {
350 {
353 ravager->AI()->AttackStart(player);
354 }
355 }
356 return true;
357 }
@ QUEST_STATUS_INCOMPLETE
Definition QuestDef.h:103
@ UNIT_FLAG_NON_ATTACKABLE
Definition UnitDefines.h:258
@ REACT_AGGRESSIVE
Definition Unit.h:568
void UseDoorOrButton(uint32 time_to_restore=0, bool alternative=false, Unit *user=nullptr)
Definition GameObject.cpp:1405
QuestStatus GetQuestStatus(uint32 quest_id) const
Definition PlayerQuest.cpp:1462
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition Object.cpp:2499
@ QUEST_STRENGTH_ONE
Definition zone_azuremyst_isle.cpp:336
@ NPC_DEATH_RAVAGER
Definition zone_azuremyst_isle.cpp:331
References WorldObject::FindNearestCreature(), Player::GetQuestStatus(), NPC_DEATH_RAVAGER, QUEST_STATUS_INCOMPLETE, QUEST_STRENGTH_ONE, REACT_AGGRESSIVE, UNIT_FLAG_NON_ATTACKABLE, and GameObject::UseDoorOrButton().
The documentation for this class was generated from the following file: