|
| | go_razorscale_harpoon () |
| |
| bool | OnGossipHello (Player *, GameObject *go) override |
| |
| GameObjectAI * | GetAI (GameObject *go) const override |
| |
| bool | IsDatabaseBound () const override |
| |
| virtual bool | OnGossipSelect (Player *, GameObject *, uint32, uint32) |
| |
| virtual bool | OnGossipSelectCode (Player *, GameObject *, uint32, uint32, char const *) |
| |
| 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 bool | isAfterLoadScript () const |
| |
| virtual void | checkValidity () |
| |
| std::string const & | GetName () const |
| |
| uint16 | GetTotalAvailableHooks () |
| |
| virtual void | OnUpdate (GameObject *, uint32) |
| |
◆ go_razorscale_harpoon()
| go_razorscale_harpoon::go_razorscale_harpoon |
( |
| ) |
|
|
inlineexplicit |
1222 { }
Definition GameObjectScript.h:25
◆ GetAI()
Reimplemented from GameObjectScript.
1281 {
1282 return GetUlduarAI<go_razorscale_harpoonAI>(go);
1283 }
◆ OnGossipHello()
Reimplemented from GameObjectScript.
1225 {
1228 {
1230 return true;
1231
1234 {
1237 break;
1240 break;
1243 break;
1246 break;
1247 }
1248 if (spell)
1249 controller->CastSpell(controller, spell, true);
1250 }
1251 return true;
1252 }
std::uint32_t uint32
Definition Define.h:107
@ GO_FLAG_NOT_SELECTABLE
Definition SharedDefines.h:1611
@ UNIT_STATE_CASTING
Definition UnitDefines.h:188
@ SPELL_HARPOON_SHOT_1
Definition boss_razorscale.cpp:53
@ SPELL_HARPOON_SHOT_3
Definition boss_razorscale.cpp:55
@ SPELL_HARPOON_SHOT_4
Definition boss_razorscale.cpp:56
@ SPELL_HARPOON_SHOT_2
Definition boss_razorscale.cpp:54
void SetGameObjectFlag(GameObjectFlags flags)
Definition GameObject.h:218
uint32 GetEntry() const
Definition Object.h:117
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition Object.cpp:2553
@ GO_RAZOR_HARPOON_4
Definition ulduar.h:305
@ GO_RAZOR_HARPOON_3
Definition ulduar.h:304
@ GO_RAZOR_HARPOON_2
Definition ulduar.h:303
@ GO_RAZOR_HARPOON_1
Definition ulduar.h:302
@ NPC_RAZORSCALE_CONTROLLER
Definition ulduar.h:186
References WorldObject::FindNearestCreature(), Object::GetEntry(), GO_FLAG_NOT_SELECTABLE, GO_RAZOR_HARPOON_1, GO_RAZOR_HARPOON_2, GO_RAZOR_HARPOON_3, GO_RAZOR_HARPOON_4, NPC_RAZORSCALE_CONTROLLER, GameObject::SetGameObjectFlag(), SPELL_HARPOON_SHOT_1, SPELL_HARPOON_SHOT_2, SPELL_HARPOON_SHOT_3, SPELL_HARPOON_SHOT_4, and UNIT_STATE_CASTING.
The documentation for this class was generated from the following file: