Core/Spells: Implemented target 62 TARGET_DEST_CASTER_GROUND (the same as target 125)

This commit is contained in:
Shauren authored and Ovahlord committed 2021-12-30 20:00:42 +01:00
1 parent 7ef17f416c
commit 28f79765ca
3 files changed
+7 -6

No files matched your search

+3 -2
View File
@@ -1469,8 +1469,9 @@ void Spell::SelectImplicitCasterDestTargets(SpellEffIndex effIndex, SpellImplici
dest.Relocate(pos);
break;
}
case TARGET_DEST_CASTER_FLOOR:
dest._position.m_positionZ = m_caster->GetFloorZ();
case TARGET_DEST_CASTER_GROUND:
case TARGET_DEST_CASTER_GROUND_2:
dest._position.m_positionZ = m_caster->GetMapWaterOrGroundLevel(dest._position.GetPositionX(), dest._position.GetPositionY(), dest._position.GetPositionZ());
break;
default:
{