diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Attackable.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Attackable.java index 8741d6b228..a11a4feb0c 100644 --- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Attackable.java +++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Attackable.java @@ -1124,10 +1124,11 @@ public class Attackable extends Npc } /** - * @param creature The Creature searched in the _aggroList of the Attackable - * @return True if the _aggroList of this Attackable contains the Creature. + * Verifies if the creature is in the aggro list. + * @param creature the creature + * @return {@code true} if the creature is in the aggro list, {@code false} otherwise */ - public boolean containsTarget(Creature creature) + public boolean isInAggroList(Creature creature) { return _aggroList.containsKey(creature); } diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java index 252d942118..a0f632d0bf 100644 --- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java +++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java @@ -174,7 +174,7 @@ public class GuardInstance extends Attackable else if (interact) { // Check if the PlayerInstance is in the _aggroList of the GuardInstance - if (containsTarget(player)) + if (isInAggroList(player)) { // Set the PlayerInstance Intention to AI_INTENTION_ATTACK player.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, this); diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Attackable.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Attackable.java index 1df38d05b1..92476d9a03 100644 --- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Attackable.java +++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Attackable.java @@ -1120,10 +1120,11 @@ public class Attackable extends Npc } /** - * @param creature The Creature searched in the _aggroList of the Attackable - * @return True if the _aggroList of this Attackable contains the Creature. + * Verifies if the creature is in the aggro list. + * @param creature the creature + * @return {@code true} if the creature is in the aggro list, {@code false} otherwise */ - public boolean containsTarget(Creature creature) + public boolean isInAggroList(Creature creature) { return _aggroList.containsKey(creature); } diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java index 252d942118..a0f632d0bf 100644 --- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java +++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java @@ -174,7 +174,7 @@ public class GuardInstance extends Attackable else if (interact) { // Check if the PlayerInstance is in the _aggroList of the GuardInstance - if (containsTarget(player)) + if (isInAggroList(player)) { // Set the PlayerInstance Intention to AI_INTENTION_ATTACK player.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, this); diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Attackable.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Attackable.java index 1df38d05b1..92476d9a03 100644 --- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Attackable.java +++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Attackable.java @@ -1120,10 +1120,11 @@ public class Attackable extends Npc } /** - * @param creature The Creature searched in the _aggroList of the Attackable - * @return True if the _aggroList of this Attackable contains the Creature. + * Verifies if the creature is in the aggro list. + * @param creature the creature + * @return {@code true} if the creature is in the aggro list, {@code false} otherwise */ - public boolean containsTarget(Creature creature) + public boolean isInAggroList(Creature creature) { return _aggroList.containsKey(creature); } diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java index 252d942118..a0f632d0bf 100644 --- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java +++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java @@ -174,7 +174,7 @@ public class GuardInstance extends Attackable else if (interact) { // Check if the PlayerInstance is in the _aggroList of the GuardInstance - if (containsTarget(player)) + if (isInAggroList(player)) { // Set the PlayerInstance Intention to AI_INTENTION_ATTACK player.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, this); diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Attackable.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Attackable.java index 1df38d05b1..92476d9a03 100644 --- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Attackable.java +++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Attackable.java @@ -1120,10 +1120,11 @@ public class Attackable extends Npc } /** - * @param creature The Creature searched in the _aggroList of the Attackable - * @return True if the _aggroList of this Attackable contains the Creature. + * Verifies if the creature is in the aggro list. + * @param creature the creature + * @return {@code true} if the creature is in the aggro list, {@code false} otherwise */ - public boolean containsTarget(Creature creature) + public boolean isInAggroList(Creature creature) { return _aggroList.containsKey(creature); } diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java index 252d942118..a0f632d0bf 100644 --- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java +++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java @@ -174,7 +174,7 @@ public class GuardInstance extends Attackable else if (interact) { // Check if the PlayerInstance is in the _aggroList of the GuardInstance - if (containsTarget(player)) + if (isInAggroList(player)) { // Set the PlayerInstance Intention to AI_INTENTION_ATTACK player.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, this); diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Attackable.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Attackable.java index 5783f04285..1a92f29a43 100644 --- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Attackable.java +++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Attackable.java @@ -1109,10 +1109,11 @@ public class Attackable extends Npc } /** - * @param creature The Creature searched in the _aggroList of the Attackable - * @return True if the _aggroList of this Attackable contains the Creature. + * Verifies if the creature is in the aggro list. + * @param creature the creature + * @return {@code true} if the creature is in the aggro list, {@code false} otherwise */ - public boolean containsTarget(Creature creature) + public boolean isInAggroList(Creature creature) { return _aggroList.containsKey(creature); } diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java index 252d942118..a0f632d0bf 100644 --- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java +++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java @@ -174,7 +174,7 @@ public class GuardInstance extends Attackable else if (interact) { // Check if the PlayerInstance is in the _aggroList of the GuardInstance - if (containsTarget(player)) + if (isInAggroList(player)) { // Set the PlayerInstance Intention to AI_INTENTION_ATTACK player.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, this); diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Attackable.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Attackable.java index 5783f04285..1a92f29a43 100644 --- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Attackable.java +++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Attackable.java @@ -1109,10 +1109,11 @@ public class Attackable extends Npc } /** - * @param creature The Creature searched in the _aggroList of the Attackable - * @return True if the _aggroList of this Attackable contains the Creature. + * Verifies if the creature is in the aggro list. + * @param creature the creature + * @return {@code true} if the creature is in the aggro list, {@code false} otherwise */ - public boolean containsTarget(Creature creature) + public boolean isInAggroList(Creature creature) { return _aggroList.containsKey(creature); } diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java index 252d942118..a0f632d0bf 100644 --- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java +++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java @@ -174,7 +174,7 @@ public class GuardInstance extends Attackable else if (interact) { // Check if the PlayerInstance is in the _aggroList of the GuardInstance - if (containsTarget(player)) + if (isInAggroList(player)) { // Set the PlayerInstance Intention to AI_INTENTION_ATTACK player.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, this); diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Attackable.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Attackable.java index 5783f04285..1a92f29a43 100644 --- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Attackable.java +++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Attackable.java @@ -1109,10 +1109,11 @@ public class Attackable extends Npc } /** - * @param creature The Creature searched in the _aggroList of the Attackable - * @return True if the _aggroList of this Attackable contains the Creature. + * Verifies if the creature is in the aggro list. + * @param creature the creature + * @return {@code true} if the creature is in the aggro list, {@code false} otherwise */ - public boolean containsTarget(Creature creature) + public boolean isInAggroList(Creature creature) { return _aggroList.containsKey(creature); } diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java index 252d942118..a0f632d0bf 100644 --- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java +++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java @@ -174,7 +174,7 @@ public class GuardInstance extends Attackable else if (interact) { // Check if the PlayerInstance is in the _aggroList of the GuardInstance - if (containsTarget(player)) + if (isInAggroList(player)) { // Set the PlayerInstance Intention to AI_INTENTION_ATTACK player.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, this); diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/Attackable.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/Attackable.java index 5385490ce7..1a88f164a0 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/Attackable.java +++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/Attackable.java @@ -1117,10 +1117,11 @@ public class Attackable extends Npc } /** - * @param creature The Creature searched in the _aggroList of the Attackable - * @return True if the _aggroList of this Attackable contains the Creature. + * Verifies if the creature is in the aggro list. + * @param creature the creature + * @return {@code true} if the creature is in the aggro list, {@code false} otherwise */ - public boolean containsTarget(Creature creature) + public boolean isInAggroList(Creature creature) { return _aggroList.containsKey(creature); } diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java index 252d942118..a0f632d0bf 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java +++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java @@ -174,7 +174,7 @@ public class GuardInstance extends Attackable else if (interact) { // Check if the PlayerInstance is in the _aggroList of the GuardInstance - if (containsTarget(player)) + if (isInAggroList(player)) { // Set the PlayerInstance Intention to AI_INTENTION_ATTACK player.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, this); diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Attackable.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Attackable.java index 2c6a730d59..a317332bba 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Attackable.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Attackable.java @@ -1120,10 +1120,11 @@ public class Attackable extends Npc } /** - * @param creature The Creature searched in the _aggroList of the Attackable - * @return True if the _aggroList of this Attackable contains the Creature. + * Verifies if the creature is in the aggro list. + * @param creature the creature + * @return {@code true} if the creature is in the aggro list, {@code false} otherwise */ - public boolean containsTarget(Creature creature) + public boolean isInAggroList(Creature creature) { return _aggroList.containsKey(creature); } diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java index 252d942118..a0f632d0bf 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java @@ -174,7 +174,7 @@ public class GuardInstance extends Attackable else if (interact) { // Check if the PlayerInstance is in the _aggroList of the GuardInstance - if (containsTarget(player)) + if (isInAggroList(player)) { // Set the PlayerInstance Intention to AI_INTENTION_ATTACK player.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, this); diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Attackable.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Attackable.java index 2c6a730d59..a317332bba 100644 --- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Attackable.java +++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Attackable.java @@ -1120,10 +1120,11 @@ public class Attackable extends Npc } /** - * @param creature The Creature searched in the _aggroList of the Attackable - * @return True if the _aggroList of this Attackable contains the Creature. + * Verifies if the creature is in the aggro list. + * @param creature the creature + * @return {@code true} if the creature is in the aggro list, {@code false} otherwise */ - public boolean containsTarget(Creature creature) + public boolean isInAggroList(Creature creature) { return _aggroList.containsKey(creature); } diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java index 252d942118..a0f632d0bf 100644 --- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java +++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java @@ -174,7 +174,7 @@ public class GuardInstance extends Attackable else if (interact) { // Check if the PlayerInstance is in the _aggroList of the GuardInstance - if (containsTarget(player)) + if (isInAggroList(player)) { // Set the PlayerInstance Intention to AI_INTENTION_ATTACK player.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, this); diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Attackable.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Attackable.java index 2c6a730d59..a317332bba 100644 --- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Attackable.java +++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Attackable.java @@ -1120,10 +1120,11 @@ public class Attackable extends Npc } /** - * @param creature The Creature searched in the _aggroList of the Attackable - * @return True if the _aggroList of this Attackable contains the Creature. + * Verifies if the creature is in the aggro list. + * @param creature the creature + * @return {@code true} if the creature is in the aggro list, {@code false} otherwise */ - public boolean containsTarget(Creature creature) + public boolean isInAggroList(Creature creature) { return _aggroList.containsKey(creature); } diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java index 252d942118..a0f632d0bf 100644 --- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java +++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java @@ -174,7 +174,7 @@ public class GuardInstance extends Attackable else if (interact) { // Check if the PlayerInstance is in the _aggroList of the GuardInstance - if (containsTarget(player)) + if (isInAggroList(player)) { // Set the PlayerInstance Intention to AI_INTENTION_ATTACK player.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, this); diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Attackable.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Attackable.java index 0e1cec454c..4dc03ef862 100644 --- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Attackable.java +++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Attackable.java @@ -1142,10 +1142,11 @@ public class Attackable extends Npc } /** - * @param creature The Creature searched in the _aggroList of the Attackable - * @return True if the _aggroList of this Attackable contains the Creature. + * Verifies if the creature is in the aggro list. + * @param creature the creature + * @return {@code true} if the creature is in the aggro list, {@code false} otherwise */ - public boolean containsTarget(Creature creature) + public boolean isInAggroList(Creature creature) { return _aggroList.containsKey(creature); } diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java index 252d942118..a0f632d0bf 100644 --- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java +++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java @@ -174,7 +174,7 @@ public class GuardInstance extends Attackable else if (interact) { // Check if the PlayerInstance is in the _aggroList of the GuardInstance - if (containsTarget(player)) + if (isInAggroList(player)) { // Set the PlayerInstance Intention to AI_INTENTION_ATTACK player.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, this); diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Attackable.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Attackable.java index 0e1cec454c..4dc03ef862 100644 --- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Attackable.java +++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Attackable.java @@ -1142,10 +1142,11 @@ public class Attackable extends Npc } /** - * @param creature The Creature searched in the _aggroList of the Attackable - * @return True if the _aggroList of this Attackable contains the Creature. + * Verifies if the creature is in the aggro list. + * @param creature the creature + * @return {@code true} if the creature is in the aggro list, {@code false} otherwise */ - public boolean containsTarget(Creature creature) + public boolean isInAggroList(Creature creature) { return _aggroList.containsKey(creature); } diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java index 252d942118..a0f632d0bf 100644 --- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java +++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java @@ -174,7 +174,7 @@ public class GuardInstance extends Attackable else if (interact) { // Check if the PlayerInstance is in the _aggroList of the GuardInstance - if (containsTarget(player)) + if (isInAggroList(player)) { // Set the PlayerInstance Intention to AI_INTENTION_ATTACK player.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, this); diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/Attackable.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/Attackable.java index 0e1cec454c..4dc03ef862 100644 --- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/Attackable.java +++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/Attackable.java @@ -1142,10 +1142,11 @@ public class Attackable extends Npc } /** - * @param creature The Creature searched in the _aggroList of the Attackable - * @return True if the _aggroList of this Attackable contains the Creature. + * Verifies if the creature is in the aggro list. + * @param creature the creature + * @return {@code true} if the creature is in the aggro list, {@code false} otherwise */ - public boolean containsTarget(Creature creature) + public boolean isInAggroList(Creature creature) { return _aggroList.containsKey(creature); } diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java index 252d942118..a0f632d0bf 100644 --- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java +++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java @@ -174,7 +174,7 @@ public class GuardInstance extends Attackable else if (interact) { // Check if the PlayerInstance is in the _aggroList of the GuardInstance - if (containsTarget(player)) + if (isInAggroList(player)) { // Set the PlayerInstance Intention to AI_INTENTION_ATTACK player.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, this); diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/Attackable.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/Attackable.java index 2c6a730d59..a317332bba 100644 --- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/Attackable.java +++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/Attackable.java @@ -1120,10 +1120,11 @@ public class Attackable extends Npc } /** - * @param creature The Creature searched in the _aggroList of the Attackable - * @return True if the _aggroList of this Attackable contains the Creature. + * Verifies if the creature is in the aggro list. + * @param creature the creature + * @return {@code true} if the creature is in the aggro list, {@code false} otherwise */ - public boolean containsTarget(Creature creature) + public boolean isInAggroList(Creature creature) { return _aggroList.containsKey(creature); } diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java index 252d942118..a0f632d0bf 100644 --- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java +++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java @@ -174,7 +174,7 @@ public class GuardInstance extends Attackable else if (interact) { // Check if the PlayerInstance is in the _aggroList of the GuardInstance - if (containsTarget(player)) + if (isInAggroList(player)) { // Set the PlayerInstance Intention to AI_INTENTION_ATTACK player.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, this);