void ChangeSummonPos(SpellEffIndex /*effIndex*/) { WorldLocation summonPos = *GetExplTargetDest(); Position offset = {0.0f, 0.0f, 15.0f, 0.0f}; summonPos.RelocateOffset(offset); SetExplTargetDest(summonPos); GetHitDest()->RelocateOffset(offset); }
void SpellValanarKineticBombSpellScript::ChangeSummonPos(SpellEffIndex /*effIndex*/) { WorldLocation summonPos = *GetExplTargetDest(); Position offset = {0.0f, 0.0f, 20.0f, 0.0f}; summonPos.RelocateOffset(offset); SetExplTargetDest(summonPos); GetHitDest()->RelocateOffset(offset); }