◆ ModDestHeight()
| void spell_the_lich_king_summon_into_air::ModDestHeight |
( |
SpellEffIndex |
effIndex | ) |
|
|
inlineprivate |
2626 {
2627 float addZ;
2629 {
2631 addZ = 30.0f;
2632 break;
2634 addZ = 13.0f;
2635 break;
2636 default:
2637 addZ = 15.0f;
2638 break;
2639 }
2640 Position const offset = {0.0f, 0.0f, addZ, 0.0f};
2644 }
WorldLocation const * GetExplTargetDest()
Definition SpellScript.cpp:416
SpellInfo const * GetSpellInfo()
Definition SpellScript.cpp:411
WorldLocation * GetHitDest()
Definition SpellScript.cpp:504
Definition Position.h:256
@ NPC_SPIRIT_BOMB
Definition icecrown_citadel.h:364
@ NPC_VILE_SPIRIT
Definition icecrown_citadel.h:359
void RelocateOffset(const Position &offset)
Definition Position.cpp:66
References SpellScript::GetExplTargetDest(), SpellScript::GetHitDest(), SpellScript::GetSpellInfo(), NPC_SPIRIT_BOMB, NPC_VILE_SPIRIT, and Position::RelocateOffset().
Referenced by Register().
◆ PrepareSpellScript()
◆ Register()
| void spell_the_lich_king_summon_into_air::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following file: