◆ HandleDummy()
132 {
134 {
137 {
139 {
141 break;
142 }
144 {
146 break;
147 }
148 default:
149 {
150 return;
151 }
152 }
153 target->CastSpell(target, spellId,
true,
nullptr,
nullptr,
GetCaster()->GetGUID());
154 }
155 }
std::uint32_t uint32
Definition Define.h:107
@ SPELL_LAVA_BOMB_EFFECT
Definition boss_magmadar.cpp:35
@ SPELL_LAVA_BOMB_RANGED_EFFECT
Definition boss_magmadar.cpp:37
@ SPELL_LAVA_BOMB_RANGED
Definition boss_magmadar.cpp:36
@ SPELL_LAVA_BOMB
Definition boss_magmadar.cpp:34
Unit * GetHitUnit()
Definition SpellScript.cpp:448
Unit * GetCaster()
Definition SpellScript.cpp:401
uint32 m_scriptSpellId
Definition SpellScript.h:107
References SpellScript::GetCaster(), SpellScript::GetHitUnit(), _SpellScript::m_scriptSpellId, SPELL_LAVA_BOMB, SPELL_LAVA_BOMB_EFFECT, SPELL_LAVA_BOMB_RANGED, and SPELL_LAVA_BOMB_RANGED_EFFECT.
Referenced by Register().
◆ PrepareSpellScript()
◆ Register()
void spell_magmadar_lava_bomb::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ Validate()
bool spell_magmadar_lava_bomb::Validate |
( |
SpellInfo const * |
| ) |
|
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following file:
- azerothcore-wotlk/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_magmadar.cpp