◆ ModDestHeight()
| void spell_the_lich_king_summon_into_air::ModDestHeight |
( |
SpellEffIndex |
effIndex | ) |
|
|
inlineprivate |
2638 {
2639 float addZ;
2641 {
2643 addZ = 30.0f;
2644 break;
2646 addZ = 13.0f;
2647 break;
2648 default:
2649 addZ = 15.0f;
2650 break;
2651 }
2652 Position const offset = {0.0f, 0.0f, addZ, 0.0f};
2656 }
WorldLocation const * GetExplTargetDest()
Definition SpellScript.cpp:421
SpellInfo const * GetSpellInfo()
Definition SpellScript.cpp:416
WorldLocation * GetHitDest()
Definition SpellScript.cpp:509
Definition Position.h:256
@ NPC_SPIRIT_BOMB
Definition icecrown_citadel.h:384
@ NPC_VILE_SPIRIT
Definition icecrown_citadel.h:379
void RelocateOffset(Position const &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: