mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
Scripts/TotT: Unyielding Behemoth's Shadow Blast will now use the correct helper to avoid having it fall below the map
This commit is contained in:
@@ -862,7 +862,7 @@ class spell_ozumat_shadow_blast_missile : public SpellScript
|
||||
|
||||
// Calculation is correct, core needs to support vertical only splines....
|
||||
Position pos = GetCaster()->GetPosition();
|
||||
pos.m_positionZ = caster->GetMap()->GetHeight(caster->GetPhaseShift(), pos);
|
||||
pos.m_positionZ = caster->GetFloorZ();
|
||||
dest.Relocate(pos);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user