Prevent changing z based on calculated value.
This commit is contained in:
parent
f7338373bb
commit
a47368f286
@ -3286,7 +3286,6 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
final Location destiny = GeoEngine.getInstance().canMoveToTargetLoc(curX, curY, curZ, x, y, z, getInstanceWorld());
|
final Location destiny = GeoEngine.getInstance().canMoveToTargetLoc(curX, curY, curZ, x, y, z, getInstanceWorld());
|
||||||
x = destiny.getX();
|
x = destiny.getX();
|
||||||
y = destiny.getY();
|
y = destiny.getY();
|
||||||
z = destiny.getZ();
|
|
||||||
dx = x - curX;
|
dx = x - curX;
|
||||||
dy = y - curY;
|
dy = y - curY;
|
||||||
dz = z - curZ;
|
dz = z - curZ;
|
||||||
|
@ -3286,7 +3286,6 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
final Location destiny = GeoEngine.getInstance().canMoveToTargetLoc(curX, curY, curZ, x, y, z, getInstanceWorld());
|
final Location destiny = GeoEngine.getInstance().canMoveToTargetLoc(curX, curY, curZ, x, y, z, getInstanceWorld());
|
||||||
x = destiny.getX();
|
x = destiny.getX();
|
||||||
y = destiny.getY();
|
y = destiny.getY();
|
||||||
z = destiny.getZ();
|
|
||||||
dx = x - curX;
|
dx = x - curX;
|
||||||
dy = y - curY;
|
dy = y - curY;
|
||||||
dz = z - curZ;
|
dz = z - curZ;
|
||||||
|
@ -3286,7 +3286,6 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
final Location destiny = GeoEngine.getInstance().canMoveToTargetLoc(curX, curY, curZ, x, y, z, getInstanceWorld());
|
final Location destiny = GeoEngine.getInstance().canMoveToTargetLoc(curX, curY, curZ, x, y, z, getInstanceWorld());
|
||||||
x = destiny.getX();
|
x = destiny.getX();
|
||||||
y = destiny.getY();
|
y = destiny.getY();
|
||||||
z = destiny.getZ();
|
|
||||||
dx = x - curX;
|
dx = x - curX;
|
||||||
dy = y - curY;
|
dy = y - curY;
|
||||||
dz = z - curZ;
|
dz = z - curZ;
|
||||||
|
@ -3286,7 +3286,6 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
final Location destiny = GeoEngine.getInstance().canMoveToTargetLoc(curX, curY, curZ, x, y, z, getInstanceWorld());
|
final Location destiny = GeoEngine.getInstance().canMoveToTargetLoc(curX, curY, curZ, x, y, z, getInstanceWorld());
|
||||||
x = destiny.getX();
|
x = destiny.getX();
|
||||||
y = destiny.getY();
|
y = destiny.getY();
|
||||||
z = destiny.getZ();
|
|
||||||
dx = x - curX;
|
dx = x - curX;
|
||||||
dy = y - curY;
|
dy = y - curY;
|
||||||
dz = z - curZ;
|
dz = z - curZ;
|
||||||
|
@ -3286,7 +3286,6 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
final Location destiny = GeoEngine.getInstance().canMoveToTargetLoc(curX, curY, curZ, x, y, z, getInstanceWorld());
|
final Location destiny = GeoEngine.getInstance().canMoveToTargetLoc(curX, curY, curZ, x, y, z, getInstanceWorld());
|
||||||
x = destiny.getX();
|
x = destiny.getX();
|
||||||
y = destiny.getY();
|
y = destiny.getY();
|
||||||
z = destiny.getZ();
|
|
||||||
dx = x - curX;
|
dx = x - curX;
|
||||||
dy = y - curY;
|
dy = y - curY;
|
||||||
dz = z - curZ;
|
dz = z - curZ;
|
||||||
|
@ -3286,7 +3286,6 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
final Location destiny = GeoEngine.getInstance().canMoveToTargetLoc(curX, curY, curZ, x, y, z, getInstanceWorld());
|
final Location destiny = GeoEngine.getInstance().canMoveToTargetLoc(curX, curY, curZ, x, y, z, getInstanceWorld());
|
||||||
x = destiny.getX();
|
x = destiny.getX();
|
||||||
y = destiny.getY();
|
y = destiny.getY();
|
||||||
z = destiny.getZ();
|
|
||||||
dx = x - curX;
|
dx = x - curX;
|
||||||
dy = y - curY;
|
dy = y - curY;
|
||||||
dz = z - curZ;
|
dz = z - curZ;
|
||||||
|
@ -6490,7 +6490,6 @@ public abstract class L2Character extends L2Object implements ISkillsHolder
|
|||||||
final Location destiny = GeoData.getInstance().moveCheck(curX, curY, curZ, x, y, z);
|
final Location destiny = GeoData.getInstance().moveCheck(curX, curY, curZ, x, y, z);
|
||||||
x = destiny.getX();
|
x = destiny.getX();
|
||||||
y = destiny.getY();
|
y = destiny.getY();
|
||||||
z = destiny.getZ();
|
|
||||||
dx = x - curX;
|
dx = x - curX;
|
||||||
dy = y - curY;
|
dy = y - curY;
|
||||||
dz = z - curZ;
|
dz = z - curZ;
|
||||||
|
@ -4288,7 +4288,6 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
final Location destiny = GeoEngine.getInstance().canMoveToTargetLoc(curX, curY, curZ, x, y, z, getInstanceId());
|
final Location destiny = GeoEngine.getInstance().canMoveToTargetLoc(curX, curY, curZ, x, y, z, getInstanceId());
|
||||||
x = destiny.getX();
|
x = destiny.getX();
|
||||||
y = destiny.getY();
|
y = destiny.getY();
|
||||||
z = destiny.getZ();
|
|
||||||
dx = x - curX;
|
dx = x - curX;
|
||||||
dy = y - curY;
|
dy = y - curY;
|
||||||
dz = z - curZ;
|
dz = z - curZ;
|
||||||
|
@ -3286,7 +3286,6 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
final Location destiny = GeoEngine.getInstance().canMoveToTargetLoc(curX, curY, curZ, x, y, z, getInstanceWorld());
|
final Location destiny = GeoEngine.getInstance().canMoveToTargetLoc(curX, curY, curZ, x, y, z, getInstanceWorld());
|
||||||
x = destiny.getX();
|
x = destiny.getX();
|
||||||
y = destiny.getY();
|
y = destiny.getY();
|
||||||
z = destiny.getZ();
|
|
||||||
dx = x - curX;
|
dx = x - curX;
|
||||||
dy = y - curY;
|
dy = y - curY;
|
||||||
dz = z - curZ;
|
dz = z - curZ;
|
||||||
|
@ -3286,7 +3286,6 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
final Location destiny = GeoEngine.getInstance().canMoveToTargetLoc(curX, curY, curZ, x, y, z, getInstanceWorld());
|
final Location destiny = GeoEngine.getInstance().canMoveToTargetLoc(curX, curY, curZ, x, y, z, getInstanceWorld());
|
||||||
x = destiny.getX();
|
x = destiny.getX();
|
||||||
y = destiny.getY();
|
y = destiny.getY();
|
||||||
z = destiny.getZ();
|
|
||||||
dx = x - curX;
|
dx = x - curX;
|
||||||
dy = y - curY;
|
dy = y - curY;
|
||||||
dz = z - curZ;
|
dz = z - curZ;
|
||||||
|
@ -3286,7 +3286,6 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
final Location destiny = GeoEngine.getInstance().canMoveToTargetLoc(curX, curY, curZ, x, y, z, getInstanceWorld());
|
final Location destiny = GeoEngine.getInstance().canMoveToTargetLoc(curX, curY, curZ, x, y, z, getInstanceWorld());
|
||||||
x = destiny.getX();
|
x = destiny.getX();
|
||||||
y = destiny.getY();
|
y = destiny.getY();
|
||||||
z = destiny.getZ();
|
|
||||||
dx = x - curX;
|
dx = x - curX;
|
||||||
dy = y - curY;
|
dy = y - curY;
|
||||||
dz = z - curZ;
|
dz = z - curZ;
|
||||||
|
@ -3286,7 +3286,6 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
|||||||
final Location destiny = GeoEngine.getInstance().canMoveToTargetLoc(curX, curY, curZ, x, y, z, getInstanceWorld());
|
final Location destiny = GeoEngine.getInstance().canMoveToTargetLoc(curX, curY, curZ, x, y, z, getInstanceWorld());
|
||||||
x = destiny.getX();
|
x = destiny.getX();
|
||||||
y = destiny.getY();
|
y = destiny.getY();
|
||||||
z = destiny.getZ();
|
|
||||||
dx = x - curX;
|
dx = x - curX;
|
||||||
dy = y - curY;
|
dy = y - curY;
|
||||||
dz = z - curZ;
|
dz = z - curZ;
|
||||||
|
Loading…
Reference in New Issue
Block a user