Fixed movement through ramps.
This commit is contained in:
@@ -2952,7 +2952,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Prevent player moving on ledges.
|
// Prevent player moving on ledges.
|
||||||
if ((dz > 100) && (distance < 300))
|
if ((dz > 180) && (distance < 300))
|
||||||
{
|
{
|
||||||
_move.onGeodataPathIndex = -1;
|
_move.onGeodataPathIndex = -1;
|
||||||
stopMove(getActingPlayer().getLastServerPosition());
|
stopMove(getActingPlayer().getLastServerPosition());
|
||||||
|
|||||||
@@ -2952,7 +2952,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Prevent player moving on ledges.
|
// Prevent player moving on ledges.
|
||||||
if ((dz > 100) && (distance < 300))
|
if ((dz > 180) && (distance < 300))
|
||||||
{
|
{
|
||||||
_move.onGeodataPathIndex = -1;
|
_move.onGeodataPathIndex = -1;
|
||||||
stopMove(getActingPlayer().getLastServerPosition());
|
stopMove(getActingPlayer().getLastServerPosition());
|
||||||
|
|||||||
@@ -2952,7 +2952,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Prevent player moving on ledges.
|
// Prevent player moving on ledges.
|
||||||
if ((dz > 100) && (distance < 300))
|
if ((dz > 180) && (distance < 300))
|
||||||
{
|
{
|
||||||
_move.onGeodataPathIndex = -1;
|
_move.onGeodataPathIndex = -1;
|
||||||
stopMove(getActingPlayer().getLastServerPosition());
|
stopMove(getActingPlayer().getLastServerPosition());
|
||||||
|
|||||||
@@ -2952,7 +2952,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Prevent player moving on ledges.
|
// Prevent player moving on ledges.
|
||||||
if ((dz > 100) && (distance < 300))
|
if ((dz > 180) && (distance < 300))
|
||||||
{
|
{
|
||||||
_move.onGeodataPathIndex = -1;
|
_move.onGeodataPathIndex = -1;
|
||||||
stopMove(getActingPlayer().getLastServerPosition());
|
stopMove(getActingPlayer().getLastServerPosition());
|
||||||
|
|||||||
@@ -2952,7 +2952,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Prevent player moving on ledges.
|
// Prevent player moving on ledges.
|
||||||
if ((dz > 100) && (distance < 300))
|
if ((dz > 180) && (distance < 300))
|
||||||
{
|
{
|
||||||
_move.onGeodataPathIndex = -1;
|
_move.onGeodataPathIndex = -1;
|
||||||
stopMove(getActingPlayer().getLastServerPosition());
|
stopMove(getActingPlayer().getLastServerPosition());
|
||||||
|
|||||||
@@ -2952,7 +2952,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Prevent player moving on ledges.
|
// Prevent player moving on ledges.
|
||||||
if ((dz > 100) && (distance < 300))
|
if ((dz > 180) && (distance < 300))
|
||||||
{
|
{
|
||||||
_move.onGeodataPathIndex = -1;
|
_move.onGeodataPathIndex = -1;
|
||||||
stopMove(getActingPlayer().getLastServerPosition());
|
stopMove(getActingPlayer().getLastServerPosition());
|
||||||
|
|||||||
@@ -5622,7 +5622,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Prevent player moving on ledges.
|
// Prevent player moving on ledges.
|
||||||
if ((dz > 100) && (distance < 300))
|
if ((dz > 180) && (distance < 300))
|
||||||
{
|
{
|
||||||
_move.onGeodataPathIndex = -1;
|
_move.onGeodataPathIndex = -1;
|
||||||
stopMove(getActingPlayer().getLastServerPosition());
|
stopMove(getActingPlayer().getLastServerPosition());
|
||||||
|
|||||||
@@ -3951,7 +3951,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Prevent player moving on ledges.
|
// Prevent player moving on ledges.
|
||||||
if ((dz > 100) && (distance < 300))
|
if ((dz > 180) && (distance < 300))
|
||||||
{
|
{
|
||||||
_move.onGeodataPathIndex = -1;
|
_move.onGeodataPathIndex = -1;
|
||||||
stopMove(getActingPlayer().getLastServerPosition());
|
stopMove(getActingPlayer().getLastServerPosition());
|
||||||
|
|||||||
@@ -2952,7 +2952,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Prevent player moving on ledges.
|
// Prevent player moving on ledges.
|
||||||
if ((dz > 100) && (distance < 300))
|
if ((dz > 180) && (distance < 300))
|
||||||
{
|
{
|
||||||
_move.onGeodataPathIndex = -1;
|
_move.onGeodataPathIndex = -1;
|
||||||
stopMove(getActingPlayer().getLastServerPosition());
|
stopMove(getActingPlayer().getLastServerPosition());
|
||||||
|
|||||||
@@ -2952,7 +2952,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Prevent player moving on ledges.
|
// Prevent player moving on ledges.
|
||||||
if ((dz > 100) && (distance < 300))
|
if ((dz > 180) && (distance < 300))
|
||||||
{
|
{
|
||||||
_move.onGeodataPathIndex = -1;
|
_move.onGeodataPathIndex = -1;
|
||||||
stopMove(getActingPlayer().getLastServerPosition());
|
stopMove(getActingPlayer().getLastServerPosition());
|
||||||
|
|||||||
@@ -2952,7 +2952,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Prevent player moving on ledges.
|
// Prevent player moving on ledges.
|
||||||
if ((dz > 100) && (distance < 300))
|
if ((dz > 180) && (distance < 300))
|
||||||
{
|
{
|
||||||
_move.onGeodataPathIndex = -1;
|
_move.onGeodataPathIndex = -1;
|
||||||
stopMove(getActingPlayer().getLastServerPosition());
|
stopMove(getActingPlayer().getLastServerPosition());
|
||||||
|
|||||||
@@ -2952,7 +2952,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Prevent player moving on ledges.
|
// Prevent player moving on ledges.
|
||||||
if ((dz > 100) && (distance < 300))
|
if ((dz > 180) && (distance < 300))
|
||||||
{
|
{
|
||||||
_move.onGeodataPathIndex = -1;
|
_move.onGeodataPathIndex = -1;
|
||||||
stopMove(getActingPlayer().getLastServerPosition());
|
stopMove(getActingPlayer().getLastServerPosition());
|
||||||
|
|||||||
Reference in New Issue
Block a user