Core/Spells: Implemented target 62 TARGET_DEST_CASTER_GROUND (the same as target 125)
This commit is contained in:
1 parent
7ef17f416c
commit
28f79765ca
3 files changed
+7
-6
No files matched your search
@@ -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:
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user