From 8ce7e99ab314127893adc2a8e56df5b4197c9ec9 Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Mon, 29 Jan 2018 16:44:25 +0000 Subject: [PATCH] Increased and merged NPC interaction distances. --- .../java/com/l2jmobius/gameserver/model/actor/L2Npc.java | 6 ++---- .../gameserver/model/actor/instance/L2PcInstance.java | 4 ++-- .../network/clientpackets/RequestBypassToServer.java | 4 ++-- .../java/com/l2jmobius/gameserver/model/actor/L2Npc.java | 6 ++---- .../gameserver/model/actor/instance/L2PcInstance.java | 4 ++-- .../network/clientpackets/RequestBypassToServer.java | 4 ++-- .../java/com/l2jmobius/gameserver/model/actor/L2Npc.java | 6 ++---- .../gameserver/model/actor/instance/L2PcInstance.java | 4 ++-- .../network/clientpackets/RequestBypassToServer.java | 4 ++-- .../java/com/l2jmobius/gameserver/model/actor/L2Npc.java | 6 ++---- .../gameserver/model/actor/instance/L2PcInstance.java | 4 ++-- .../network/clientpackets/RequestBypassToServer.java | 4 ++-- .../java/com/l2jmobius/gameserver/model/actor/L2Npc.java | 6 ++---- .../gameserver/model/actor/instance/L2PcInstance.java | 4 ++-- .../network/clientpackets/RequestBypassToServer.java | 4 ++-- 15 files changed, 30 insertions(+), 40 deletions(-) diff --git a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/actor/L2Npc.java b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/actor/L2Npc.java index e11872575b..8c8def011b 100644 --- a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/actor/L2Npc.java +++ b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/actor/L2Npc.java @@ -110,9 +110,7 @@ import com.l2jmobius.gameserver.util.Broadcast; public class L2Npc extends L2Character { /** The interaction distance of the L2NpcInstance(is used as offset in MovetoLocation method) */ - public static final int INTERACTION_DISTANCE = 150; - /** The talking interaction distance of the L2NpcInstance */ - public static final int INTERACTION_DISTANCE_TALK = 200; + public static final int INTERACTION_DISTANCE = 250; /** Maximum distance where the drop may appear given this NPC position. */ public static final int RANDOM_ITEM_DROP_LIMIT = 70; /** The L2Spawn object that manage this L2NpcInstance */ @@ -508,7 +506,7 @@ public class L2Npc extends L2Character { return false; } - else if (!isInsideRadius(player, INTERACTION_DISTANCE_TALK, true, false)) + else if (!isInsideRadius(player, INTERACTION_DISTANCE, true, false)) { return false; } diff --git a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java index cb661c272f..1028a4fcb9 100644 --- a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java +++ b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java @@ -1494,7 +1494,7 @@ public final class L2PcInstance extends L2Playable final L2Npc target = getLastFolkNPC(); - if ((target != null) && isInsideRadius(target, L2Npc.INTERACTION_DISTANCE_TALK, false, false)) + if ((target != null) && isInsideRadius(target, L2Npc.INTERACTION_DISTANCE, false, false)) { quest.notifyEvent(event, target, this); } @@ -1502,7 +1502,7 @@ public final class L2PcInstance extends L2Playable { final L2Object object = L2World.getInstance().findObject(getLastQuestNpcObject()); - if (object.isNpc() && isInsideRadius(object, L2Npc.INTERACTION_DISTANCE_TALK, false, false)) + if (object.isNpc() && isInsideRadius(object, L2Npc.INTERACTION_DISTANCE, false, false)) { final L2Npc npc = (L2Npc) object; quest.notifyEvent(event, npc, this); diff --git a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/network/clientpackets/RequestBypassToServer.java b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/network/clientpackets/RequestBypassToServer.java index bb06f1bfcc..942135b6d3 100644 --- a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/network/clientpackets/RequestBypassToServer.java +++ b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/network/clientpackets/RequestBypassToServer.java @@ -110,7 +110,7 @@ public final class RequestBypassToServer implements IClientIncomingPacket return; } - if ((bypassOriginId > 0) && !Util.isInsideRangeOfObjectId(activeChar, bypassOriginId, L2Npc.INTERACTION_DISTANCE_TALK)) + if ((bypassOriginId > 0) && !Util.isInsideRangeOfObjectId(activeChar, bypassOriginId, L2Npc.INTERACTION_DISTANCE)) { // No logging here, this could be a common case where the player has the html still open and run too far away and then clicks a html action return; @@ -159,7 +159,7 @@ public final class RequestBypassToServer implements IClientIncomingPacket { final L2Object object = L2World.getInstance().findObject(Integer.parseInt(id)); - if ((object != null) && object.isNpc() && (endOfId > 0) && activeChar.isInsideRadius(object, L2Npc.INTERACTION_DISTANCE_TALK, false, false)) + if ((object != null) && object.isNpc() && (endOfId > 0) && activeChar.isInsideRadius(object, L2Npc.INTERACTION_DISTANCE, false, false)) { ((L2Npc) object).onBypassFeedback(activeChar, _command.substring(endOfId + 1)); } diff --git a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/actor/L2Npc.java b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/actor/L2Npc.java index c1216af688..6d3cc44c65 100644 --- a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/actor/L2Npc.java +++ b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/actor/L2Npc.java @@ -110,9 +110,7 @@ import com.l2jmobius.gameserver.util.Broadcast; public class L2Npc extends L2Character { /** The interaction distance of the L2NpcInstance(is used as offset in MovetoLocation method) */ - public static final int INTERACTION_DISTANCE = 150; - /** The talking interaction distance of the L2NpcInstance */ - public static final int INTERACTION_DISTANCE_TALK = 200; + public static final int INTERACTION_DISTANCE = 250; /** Maximum distance where the drop may appear given this NPC position. */ public static final int RANDOM_ITEM_DROP_LIMIT = 70; /** The L2Spawn object that manage this L2NpcInstance */ @@ -508,7 +506,7 @@ public class L2Npc extends L2Character { return false; } - else if (!isInsideRadius(player, INTERACTION_DISTANCE_TALK, true, false)) + else if (!isInsideRadius(player, INTERACTION_DISTANCE, true, false)) { return false; } diff --git a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java index 5caa9a5def..e99727d27c 100644 --- a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java +++ b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java @@ -1494,7 +1494,7 @@ public final class L2PcInstance extends L2Playable final L2Npc target = getLastFolkNPC(); - if ((target != null) && isInsideRadius(target, L2Npc.INTERACTION_DISTANCE_TALK, false, false)) + if ((target != null) && isInsideRadius(target, L2Npc.INTERACTION_DISTANCE, false, false)) { quest.notifyEvent(event, target, this); } @@ -1502,7 +1502,7 @@ public final class L2PcInstance extends L2Playable { final L2Object object = L2World.getInstance().findObject(getLastQuestNpcObject()); - if (object.isNpc() && isInsideRadius(object, L2Npc.INTERACTION_DISTANCE_TALK, false, false)) + if (object.isNpc() && isInsideRadius(object, L2Npc.INTERACTION_DISTANCE, false, false)) { final L2Npc npc = (L2Npc) object; quest.notifyEvent(event, npc, this); diff --git a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/network/clientpackets/RequestBypassToServer.java b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/network/clientpackets/RequestBypassToServer.java index bb06f1bfcc..942135b6d3 100644 --- a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/network/clientpackets/RequestBypassToServer.java +++ b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/network/clientpackets/RequestBypassToServer.java @@ -110,7 +110,7 @@ public final class RequestBypassToServer implements IClientIncomingPacket return; } - if ((bypassOriginId > 0) && !Util.isInsideRangeOfObjectId(activeChar, bypassOriginId, L2Npc.INTERACTION_DISTANCE_TALK)) + if ((bypassOriginId > 0) && !Util.isInsideRangeOfObjectId(activeChar, bypassOriginId, L2Npc.INTERACTION_DISTANCE)) { // No logging here, this could be a common case where the player has the html still open and run too far away and then clicks a html action return; @@ -159,7 +159,7 @@ public final class RequestBypassToServer implements IClientIncomingPacket { final L2Object object = L2World.getInstance().findObject(Integer.parseInt(id)); - if ((object != null) && object.isNpc() && (endOfId > 0) && activeChar.isInsideRadius(object, L2Npc.INTERACTION_DISTANCE_TALK, false, false)) + if ((object != null) && object.isNpc() && (endOfId > 0) && activeChar.isInsideRadius(object, L2Npc.INTERACTION_DISTANCE, false, false)) { ((L2Npc) object).onBypassFeedback(activeChar, _command.substring(endOfId + 1)); } diff --git a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/actor/L2Npc.java b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/actor/L2Npc.java index c1216af688..6d3cc44c65 100644 --- a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/actor/L2Npc.java +++ b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/actor/L2Npc.java @@ -110,9 +110,7 @@ import com.l2jmobius.gameserver.util.Broadcast; public class L2Npc extends L2Character { /** The interaction distance of the L2NpcInstance(is used as offset in MovetoLocation method) */ - public static final int INTERACTION_DISTANCE = 150; - /** The talking interaction distance of the L2NpcInstance */ - public static final int INTERACTION_DISTANCE_TALK = 200; + public static final int INTERACTION_DISTANCE = 250; /** Maximum distance where the drop may appear given this NPC position. */ public static final int RANDOM_ITEM_DROP_LIMIT = 70; /** The L2Spawn object that manage this L2NpcInstance */ @@ -508,7 +506,7 @@ public class L2Npc extends L2Character { return false; } - else if (!isInsideRadius(player, INTERACTION_DISTANCE_TALK, true, false)) + else if (!isInsideRadius(player, INTERACTION_DISTANCE, true, false)) { return false; } diff --git a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java index cbf2114920..1231001706 100644 --- a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java +++ b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java @@ -1496,7 +1496,7 @@ public final class L2PcInstance extends L2Playable final L2Npc target = getLastFolkNPC(); - if ((target != null) && isInsideRadius(target, L2Npc.INTERACTION_DISTANCE_TALK, false, false)) + if ((target != null) && isInsideRadius(target, L2Npc.INTERACTION_DISTANCE, false, false)) { quest.notifyEvent(event, target, this); } @@ -1504,7 +1504,7 @@ public final class L2PcInstance extends L2Playable { final L2Object object = L2World.getInstance().findObject(getLastQuestNpcObject()); - if (object.isNpc() && isInsideRadius(object, L2Npc.INTERACTION_DISTANCE_TALK, false, false)) + if (object.isNpc() && isInsideRadius(object, L2Npc.INTERACTION_DISTANCE, false, false)) { final L2Npc npc = (L2Npc) object; quest.notifyEvent(event, npc, this); diff --git a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/network/clientpackets/RequestBypassToServer.java b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/network/clientpackets/RequestBypassToServer.java index bb06f1bfcc..942135b6d3 100644 --- a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/network/clientpackets/RequestBypassToServer.java +++ b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/network/clientpackets/RequestBypassToServer.java @@ -110,7 +110,7 @@ public final class RequestBypassToServer implements IClientIncomingPacket return; } - if ((bypassOriginId > 0) && !Util.isInsideRangeOfObjectId(activeChar, bypassOriginId, L2Npc.INTERACTION_DISTANCE_TALK)) + if ((bypassOriginId > 0) && !Util.isInsideRangeOfObjectId(activeChar, bypassOriginId, L2Npc.INTERACTION_DISTANCE)) { // No logging here, this could be a common case where the player has the html still open and run too far away and then clicks a html action return; @@ -159,7 +159,7 @@ public final class RequestBypassToServer implements IClientIncomingPacket { final L2Object object = L2World.getInstance().findObject(Integer.parseInt(id)); - if ((object != null) && object.isNpc() && (endOfId > 0) && activeChar.isInsideRadius(object, L2Npc.INTERACTION_DISTANCE_TALK, false, false)) + if ((object != null) && object.isNpc() && (endOfId > 0) && activeChar.isInsideRadius(object, L2Npc.INTERACTION_DISTANCE, false, false)) { ((L2Npc) object).onBypassFeedback(activeChar, _command.substring(endOfId + 1)); } diff --git a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/actor/L2Npc.java b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/actor/L2Npc.java index c1216af688..6d3cc44c65 100644 --- a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/actor/L2Npc.java +++ b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/actor/L2Npc.java @@ -110,9 +110,7 @@ import com.l2jmobius.gameserver.util.Broadcast; public class L2Npc extends L2Character { /** The interaction distance of the L2NpcInstance(is used as offset in MovetoLocation method) */ - public static final int INTERACTION_DISTANCE = 150; - /** The talking interaction distance of the L2NpcInstance */ - public static final int INTERACTION_DISTANCE_TALK = 200; + public static final int INTERACTION_DISTANCE = 250; /** Maximum distance where the drop may appear given this NPC position. */ public static final int RANDOM_ITEM_DROP_LIMIT = 70; /** The L2Spawn object that manage this L2NpcInstance */ @@ -508,7 +506,7 @@ public class L2Npc extends L2Character { return false; } - else if (!isInsideRadius(player, INTERACTION_DISTANCE_TALK, true, false)) + else if (!isInsideRadius(player, INTERACTION_DISTANCE, true, false)) { return false; } diff --git a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java index 73fdb4daf0..21c4b0e1a7 100644 --- a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java +++ b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java @@ -1507,7 +1507,7 @@ public final class L2PcInstance extends L2Playable final L2Npc target = getLastFolkNPC(); - if ((target != null) && isInsideRadius(target, L2Npc.INTERACTION_DISTANCE_TALK, false, false)) + if ((target != null) && isInsideRadius(target, L2Npc.INTERACTION_DISTANCE, false, false)) { quest.notifyEvent(event, target, this); } @@ -1515,7 +1515,7 @@ public final class L2PcInstance extends L2Playable { final L2Object object = L2World.getInstance().findObject(getLastQuestNpcObject()); - if (object.isNpc() && isInsideRadius(object, L2Npc.INTERACTION_DISTANCE_TALK, false, false)) + if (object.isNpc() && isInsideRadius(object, L2Npc.INTERACTION_DISTANCE, false, false)) { final L2Npc npc = (L2Npc) object; quest.notifyEvent(event, npc, this); diff --git a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/network/clientpackets/RequestBypassToServer.java b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/network/clientpackets/RequestBypassToServer.java index bb06f1bfcc..942135b6d3 100644 --- a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/network/clientpackets/RequestBypassToServer.java +++ b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/network/clientpackets/RequestBypassToServer.java @@ -110,7 +110,7 @@ public final class RequestBypassToServer implements IClientIncomingPacket return; } - if ((bypassOriginId > 0) && !Util.isInsideRangeOfObjectId(activeChar, bypassOriginId, L2Npc.INTERACTION_DISTANCE_TALK)) + if ((bypassOriginId > 0) && !Util.isInsideRangeOfObjectId(activeChar, bypassOriginId, L2Npc.INTERACTION_DISTANCE)) { // No logging here, this could be a common case where the player has the html still open and run too far away and then clicks a html action return; @@ -159,7 +159,7 @@ public final class RequestBypassToServer implements IClientIncomingPacket { final L2Object object = L2World.getInstance().findObject(Integer.parseInt(id)); - if ((object != null) && object.isNpc() && (endOfId > 0) && activeChar.isInsideRadius(object, L2Npc.INTERACTION_DISTANCE_TALK, false, false)) + if ((object != null) && object.isNpc() && (endOfId > 0) && activeChar.isInsideRadius(object, L2Npc.INTERACTION_DISTANCE, false, false)) { ((L2Npc) object).onBypassFeedback(activeChar, _command.substring(endOfId + 1)); } diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/actor/L2Npc.java b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/actor/L2Npc.java index 2def7d55d8..87387f0f95 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/actor/L2Npc.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/actor/L2Npc.java @@ -110,9 +110,7 @@ import com.l2jmobius.gameserver.util.Broadcast; public class L2Npc extends L2Character { /** The interaction distance of the L2NpcInstance(is used as offset in MovetoLocation method) */ - public static final int INTERACTION_DISTANCE = 150; - /** The talking interaction distance of the L2NpcInstance */ - public static final int INTERACTION_DISTANCE_TALK = 200; + public static final int INTERACTION_DISTANCE = 250; /** Maximum distance where the drop may appear given this NPC position. */ public static final int RANDOM_ITEM_DROP_LIMIT = 70; /** The L2Spawn object that manage this L2NpcInstance */ @@ -508,7 +506,7 @@ public class L2Npc extends L2Character { return false; } - else if (!isInsideRadius(player, INTERACTION_DISTANCE_TALK, true, false)) + else if (!isInsideRadius(player, INTERACTION_DISTANCE, true, false)) { return false; } diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java index ce5ecb97fd..739cab590f 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java @@ -1471,7 +1471,7 @@ public final class L2PcInstance extends L2Playable final L2Npc target = getLastFolkNPC(); - if ((target != null) && isInsideRadius(target, L2Npc.INTERACTION_DISTANCE_TALK, false, false)) + if ((target != null) && isInsideRadius(target, L2Npc.INTERACTION_DISTANCE, false, false)) { quest.notifyEvent(event, target, this); } @@ -1479,7 +1479,7 @@ public final class L2PcInstance extends L2Playable { final L2Object object = L2World.getInstance().findObject(getLastQuestNpcObject()); - if (object.isNpc() && isInsideRadius(object, L2Npc.INTERACTION_DISTANCE_TALK, false, false)) + if (object.isNpc() && isInsideRadius(object, L2Npc.INTERACTION_DISTANCE, false, false)) { final L2Npc npc = (L2Npc) object; quest.notifyEvent(event, npc, this); diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/network/clientpackets/RequestBypassToServer.java b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/network/clientpackets/RequestBypassToServer.java index bb06f1bfcc..942135b6d3 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/network/clientpackets/RequestBypassToServer.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/network/clientpackets/RequestBypassToServer.java @@ -110,7 +110,7 @@ public final class RequestBypassToServer implements IClientIncomingPacket return; } - if ((bypassOriginId > 0) && !Util.isInsideRangeOfObjectId(activeChar, bypassOriginId, L2Npc.INTERACTION_DISTANCE_TALK)) + if ((bypassOriginId > 0) && !Util.isInsideRangeOfObjectId(activeChar, bypassOriginId, L2Npc.INTERACTION_DISTANCE)) { // No logging here, this could be a common case where the player has the html still open and run too far away and then clicks a html action return; @@ -159,7 +159,7 @@ public final class RequestBypassToServer implements IClientIncomingPacket { final L2Object object = L2World.getInstance().findObject(Integer.parseInt(id)); - if ((object != null) && object.isNpc() && (endOfId > 0) && activeChar.isInsideRadius(object, L2Npc.INTERACTION_DISTANCE_TALK, false, false)) + if ((object != null) && object.isNpc() && (endOfId > 0) && activeChar.isInsideRadius(object, L2Npc.INTERACTION_DISTANCE, false, false)) { ((L2Npc) object).onBypassFeedback(activeChar, _command.substring(endOfId + 1)); }