fix(Scripts/SunwellPlateau): Entropius' darkness spawn height (#21914)
This commit is contained in:
parent
00f69bdcb7
commit
3f418ca3ee
1 changed files with 1 additions and 1 deletions
|
|
@ -372,7 +372,7 @@ class spell_muru_blackhole : public SpellScript
|
|||
return;
|
||||
|
||||
WorldLocation summonPos = *GetExplTargetDest();
|
||||
float destZ = summonPos.GetPositionZ() - GetCaster()->GetMapWaterOrGroundLevel(GetCaster()->GetPosition());
|
||||
float destZ = summonPos.GetPositionZ() - GetCaster()->GetMapWaterOrGroundLevel(summonPos);
|
||||
Position offset = { 0.0f, 0.0f, -destZ, 0.0f};
|
||||
summonPos.RelocateOffset(offset);
|
||||
SetExplTargetDest(summonPos);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue