Better comment for correcting destination prohibition.

This commit is contained in:
MobiusDev
2018-09-03 05:37:10 +00:00
parent 23c618db62
commit f5843e1b16
8 changed files with 8 additions and 8 deletions

View File

@@ -3281,7 +3281,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
} }
if (!isInVehicle // Not in vehicle. if (!isInVehicle // Not in vehicle.
&& !(((curZ - z) > 300) && (distance < 300))) // Character wants to fall. && !(((curZ - z) > 300) && (distance < 300))) // Prohibit correcting destination if character wants to fall.
{ {
// location different if destination wasn't reached (or just z coord is different) // location different if destination wasn't reached (or just z coord is different)
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());

View File

@@ -3281,7 +3281,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
} }
if (!isInVehicle // Not in vehicle. if (!isInVehicle // Not in vehicle.
&& !(((curZ - z) > 300) && (distance < 300))) // Character wants to fall. && !(((curZ - z) > 300) && (distance < 300))) // Prohibit correcting destination if character wants to fall.
{ {
// location different if destination wasn't reached (or just z coord is different) // location different if destination wasn't reached (or just z coord is different)
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());

View File

@@ -3281,7 +3281,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
} }
if (!isInVehicle // Not in vehicle. if (!isInVehicle // Not in vehicle.
&& !(((curZ - z) > 300) && (distance < 300))) // Character wants to fall. && !(((curZ - z) > 300) && (distance < 300))) // Prohibit correcting destination if character wants to fall.
{ {
// location different if destination wasn't reached (or just z coord is different) // location different if destination wasn't reached (or just z coord is different)
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());

View File

@@ -3281,7 +3281,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
} }
if (!isInVehicle // Not in vehicle. if (!isInVehicle // Not in vehicle.
&& !(((curZ - z) > 300) && (distance < 300))) // Character wants to fall. && !(((curZ - z) > 300) && (distance < 300))) // Prohibit correcting destination if character wants to fall.
{ {
// location different if destination wasn't reached (or just z coord is different) // location different if destination wasn't reached (or just z coord is different)
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());

View File

@@ -4306,7 +4306,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
} }
if (!isInVehicle // Not in vehicle. if (!isInVehicle // Not in vehicle.
&& !(((curZ - z) > 300) && (distance < 300))) // Character wants to fall. && !(((curZ - z) > 300) && (distance < 300))) // Prohibit correcting destination if character wants to fall.
{ {
// location different if destination wasn't reached (or just z coord is different) // location different if destination wasn't reached (or just z coord is different)
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());

View File

@@ -3281,7 +3281,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
} }
if (!isInVehicle // Not in vehicle. if (!isInVehicle // Not in vehicle.
&& !(((curZ - z) > 300) && (distance < 300))) // Character wants to fall. && !(((curZ - z) > 300) && (distance < 300))) // Prohibit correcting destination if character wants to fall.
{ {
// location different if destination wasn't reached (or just z coord is different) // location different if destination wasn't reached (or just z coord is different)
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());

View File

@@ -3281,7 +3281,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
} }
if (!isInVehicle // Not in vehicle. if (!isInVehicle // Not in vehicle.
&& !(((curZ - z) > 300) && (distance < 300))) // Character wants to fall. && !(((curZ - z) > 300) && (distance < 300))) // Prohibit correcting destination if character wants to fall.
{ {
// location different if destination wasn't reached (or just z coord is different) // location different if destination wasn't reached (or just z coord is different)
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());

View File

@@ -3281,7 +3281,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
} }
if (!isInVehicle // Not in vehicle. if (!isInVehicle // Not in vehicle.
&& !(((curZ - z) > 300) && (distance < 300))) // Character wants to fall. && !(((curZ - z) > 300) && (distance < 300))) // Prohibit correcting destination if character wants to fall.
{ {
// location different if destination wasn't reached (or just z coord is different) // location different if destination wasn't reached (or just z coord is different)
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());