◆ ModDestHeight()
| void spell_the_lich_king_summon_into_air::ModDestHeight |
( |
SpellEffIndex |
effIndex | ) |
|
|
inlineprivate |
2629 {
2630 float addZ;
2632 {
2634 addZ = 30.0f;
2635 break;
2637 addZ = 13.0f;
2638 break;
2639 default:
2640 addZ = 15.0f;
2641 break;
2642 }
2643 Position const offset = {0.0f, 0.0f, addZ, 0.0f};
2647 }
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:374
@ NPC_VILE_SPIRIT
Definition icecrown_citadel.h:369
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: