◆ HandleOnHit()
void spell_egg_event::HandleOnHit |
( |
| ) |
|
|
inlineprivate |
293 {
295 {
297 }
298
300 {
302 {
305 egg->UseDoorOrButton(10000);
306 egg->SetRespawnTime(
WEEK);
307 }
308 }
309 }
constexpr auto WEEK
Definition Common.h:50
@ GO_READY
Definition GameObject.h:111
@ SPECIAL
Definition InstanceScript.h:62
@ TALK_EGG_BROKEN_RAND
Definition blackwing_lair.h:113
@ DATA_EGG_EVENT
Definition blackwing_lair.h:112
Definition GameObject.h:120
Definition InstanceScript.h:143
GameObject * GetHitGObj()
Definition SpellScript.cpp:494
Unit * GetCaster()
Definition SpellScript.cpp:401
References DATA_EGG_EVENT, SpellScript::GetCaster(), SpellScript::GetHitGObj(), GO_READY, SPECIAL, TALK_EGG_BROKEN_RAND, and WEEK.
Referenced by Register().
◆ PrepareSpellScript()
◆ Register()
void spell_egg_event::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following file:
- azerothcore-wotlk/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_razorgore.cpp