Set the NpcInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
- *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
*/
@Override
public boolean action(PlayerInstance player, WorldObject target, boolean interact)
diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
index bb73cd0bae..1f204280f0 100644
--- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
+++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
@@ -36,27 +36,22 @@ import org.l2jmobius.gameserver.network.serverpackets.MoveToPawn;
public class NpcAction implements IActionHandler
{
/**
- * Manage actions when a player click on the Npc.
- *
- * Actions on first click on the Npc (Select it) :
- *
+ * Manage actions when a player click on the Npc.
+ *
+ * Actions on first click on the Npc (Select it):
*
Set the Npc as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, send a Server->Client packet StatusUpdate to the PlayerInstance in order to update Npc HP bar
- *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
- *
- * Actions on second click on the Npc (Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
+ *
+ * Actions on second click on the Npc (Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, notify the PlayerInstance AI with AI_INTENTION_ATTACK (after a height verification)
- *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
- *
- * Caution : Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
+ * Caution: Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The PlayerInstance that start an action on the Npc
*/
@Override
diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
index 28aa39ab39..d52da54398 100644
--- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
+++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
@@ -31,25 +31,20 @@ public class PlayerInstanceAction implements IActionHandler
private static final int CURSED_WEAPON_VICTIM_MIN_LEVEL = 21;
/**
- * Manage actions when a player click on this PlayerInstance.
- *
- * Actions on first click on the PlayerInstance (Select it) :
- *
+ * Manage actions when a player click on this PlayerInstance.
+ *
+ * Actions on first click on the PlayerInstance (Select it):
*
Set the target of the player
- *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
- *
- * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
+ *
+ * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the player (display the select window)
*
If target PlayerInstance has a Private Store, notify the player AI with AI_INTENTION_INTERACT
- *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
- *
- *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
+ *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The player that start an action on target PlayerInstance
*/
@Override
diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
index 20a4e8f57c..6da5c01385 100644
--- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
+++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
@@ -29,7 +29,7 @@ public class PlayerInstanceActionShift implements IActionShiftHandler
{
if (player.isGM())
{
- // Check if the gm already target this l2pcinstance
+ // Check if the GM already target this l2pcinstance
if (player.getTarget() != target)
{
// Set the target of the PlayerInstance player
diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
index ea73fa17a1..1aa5e5074a 100644
--- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
+++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
@@ -86,13 +86,13 @@ public class AdminAdmin implements IAdminCommandHandler
else if (command.startsWith("admin_gmliston"))
{
AdminData.getInstance().showGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Registered into gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Registered into GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_gmlistoff"))
{
AdminData.getInstance().hideGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Removed from gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Removed from GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_silence"))
diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
index 2efc2df69a..3fed3db486 100644
--- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
+++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
@@ -486,7 +486,7 @@ public class AdminEventEngine implements IAdminCommandHandler
sb.append("
");
sb.append("
");
sb.append("
");
- sb.append("
");
+ sb.append("
");
sb.append("Teams' names:
");
for (int i = 1; (i - 1) < teamnumbers; i++) // Team names params
{
diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
index 5e3fc05aa9..91259505bf 100644
--- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
+++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
@@ -31,7 +31,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
/**
- * This class handles following admin commands: - gm = turns gm mode on/off
+ * This class handles following admin commands: - GM = turns GM mode on/off
* @version $Revision: 1.1.2.1 $ $Date: 2005/03/15 21:32:48 $
*/
public class AdminFightCalculator implements IAdminCommandHandler
diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
index a32a84dd35..e9acb6a1f6 100644
--- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
+++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles following admin commands: - gm = turns gm mode off
+ * This class handles following admin commands: - GM = turns GM mode off
* @version $Revision: 1.2.4.4 $ $Date: 2005/04/11 10:06:06 $
*/
public class AdminGm implements IAdminCommandHandler
diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
index 364bba90a9..f0b2f857a4 100644
--- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
+++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles commands for gm to forge packets
+ * This class handles commands for GM to forge packets
* @author Maktakien, HorridoJoho
*/
public class AdminPForge implements IAdminCommandHandler
diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
index 9dd195001c..b5e732f3f7 100644
--- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
+++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
@@ -30,14 +30,14 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * Pledge Manipulation:
- *
With target in a character without clan:
+ * Pledge Manipulation:
+ *
With target in a character without clan:
* //pledge create clanname
- *
With target in a clan leader:
- * //pledge info
- * //pledge dismiss
- * //pledge setlevel level
- * //pledge rep reputation_points
+ *
With target in a clan leader:
+ * //pledge info
+ * //pledge dismiss
+ * //pledge setlevel level
+ * //pledge rep reputation_points
*/
public class AdminPledge implements IAdminCommandHandler
{
diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
index fb1eed2f9f..9be9eb040d 100644
--- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
+++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
@@ -78,8 +78,9 @@ public class QuestLink implements IBypassHandler
/**
* Open a choose quest window on client with all quests available of the NpcInstance.
+ *
* Actions:
- *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
+ *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
* @param player The PlayerInstance that talk with the NpcInstance
* @param npc The table containing quests of the NpcInstance
* @param quests
@@ -231,6 +232,7 @@ public class QuestLink implements IBypassHandler
/**
* Open a quest window on client with the text of the NpcInstance.
+ *
* Actions:
*
*
Get the text of the quest state in the folder data/scripts/quests/questId/stateId.htm
Fly Radius means the distance between starting point and final point, it must be an integer.
*
Fly Course means the movement direction: imagine a compass above player's head, making north player's heading. So if fly course is 180, player will go backwards (good for blink, e.g.).
*
- * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
+ * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
* If target is effector, put in XML self="1", this will make _actor = getEffector(). This, combined with target type, allows more complex actions like flying target's backwards or player's backwards.
* @author DrHouse
*/
diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
index ca935396a6..e4e937ef41 100644
--- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
+++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.network.serverpackets.ValidateLocation;
/**
* This Blink effect switches the location of the caster and the target.
- * This effect is totally done based on client description.
+ * This effect is totally done based on client description.
* Assume that geodata checks are done on the skill cast and not needed to repeat here.
* @author Nik
*/
diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
index 0f1802d986..00474ef88a 100644
--- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
+++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.effects.EffectFlag;
import org.l2jmobius.gameserver.model.effects.EffectType;
/**
- * An effect that blocks the player (NPC?) control.
+ * An effect that blocks the player (NPC?) control.
* It prevents moving, casting, social actions, etc.
* @author Nik
*/
diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
index 6b463fd9d2..f94ecb0b46 100644
--- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
+++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
@@ -21,7 +21,7 @@ import org.l2jmobius.gameserver.model.effects.AbstractEffect;
import org.l2jmobius.gameserver.model.effects.EffectFlag;
/**
- * Effect that blocks damage and heals to HP/MP.
+ * Effect that blocks damage and heals to HP/MP.
* Regeneration or DOT shouldn't be blocked, Vampiric Rage and Balance Life as well.
* @author Nik
*/
diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
index 9eb0b4e233..8c7fddca06 100644
--- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
+++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
/**
* An effect that changes damage taken from an attack.
- * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
+ * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
* Exceptions for this effect appears to be DOT effects and terrain damage, they are unaffected by this stat.
* As for example in retail this effect does reduce reflected damage taken (because it is received damage), as well as it does not decrease reflected damage done,
* because reflected damage is being calculated with the original attack damage and not this altered one.
diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
index a4808a3312..5624fe4e60 100644
--- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
+++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
@@ -34,10 +34,10 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
- * Current formulas were tested to be the best matching retail, damage appears to be identical:
- * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
- * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
+ * Physical Attack effect implementation.
+ * Current formulas were tested to be the best matching retail, damage appears to be identical:
+ * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
+ * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
* @author Nik
*/
public class PhysicalAttack extends AbstractEffect
diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
index 332fa3fa4f..17f093e386 100644
--- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
+++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
index 34e643a5b1..4f29f685f7 100644
--- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
+++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
index e1c554d674..92d5fb7d96 100644
--- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
+++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.zone.ZoneId;
/**
* Not Friend affect object implementation. Based on Gracia Final retail tests.
* Such are considered flagged/karma players (except party/clan/ally). Doesn't matter if in command channel.
- * In arena such are considered clan/ally/command channel (except party).
+ * In arena such are considered clan/ally/command channel (except party).
* In peace zone such are considered monsters.
* Monsters consider such all players, npcs (Citizens, Guild Masters, Merchants, Guards, etc. except monsters). Doesn't matter if in peace zone or arena.
* @author Nik
diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/instances/AbstractInstance.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/instances/AbstractInstance.java
index 17d748fad2..354b0d5137 100644
--- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/instances/AbstractInstance.java
+++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/instances/AbstractInstance.java
@@ -62,7 +62,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Get instance world associated with {@code player}.
+ * Get instance world associated with {@code player}.
* @param player player who wants get instance world
* @return instance world if found, otherwise null
*/
@@ -229,8 +229,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Sets instance to finish state.
- * See {@link Instance#finishInstance()} for more details.
+ * Sets instance to finish state.
* @param player player used for determine current instance world
*/
protected void finishInstance(PlayerInstance player)
@@ -244,7 +243,6 @@ public abstract class AbstractInstance extends AbstractNpcAI
/**
* Sets instance to finish state.
- * See {@link Instance#finishInstance(int)} for more details.
* @param player player used for determine current instance world
* @param delay finish delay in minutes
*/
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
index 93028744ee..aa8ac8f064 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
@@ -1232,8 +1232,7 @@ public class BlowfishEngine
/**
* Method to encrypt the block at the given index.
- * The encrypted block goes to the destination array at the given index.
- *
+ * The encrypted block goes to the destination array at the given index.
* @param src source array with the plain data
* @param srcIndex index where the block to encrypt is located
* @param dst destination array the encryption will go to
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/GameTimeController.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/GameTimeController.java
index 131fb28d3d..aa4d359090 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/GameTimeController.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/GameTimeController.java
@@ -118,10 +118,13 @@ public class GameTimeController extends Thread
}
/**
- * Move all Creatures contained in movingObjects of GameTimeController.
- * Concept :
- * All Creature in movement are identified in movingObjects of GameTimeController.
- * Actions :
+ * Move all Creatures contained in movingObjects of GameTimeController.
+ *
+ * Concept:
+ *
+ * All Creature in movement are identified in movingObjects of GameTimeController.
+ *
+ * Actions:
*
*
Update the position of each Creature
*
If movement is finished, the Creature is removed from movingObjects
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/LoginServerThread.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/LoginServerThread.java
index 87460d0ad2..e82f429db0 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/LoginServerThread.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/LoginServerThread.java
@@ -93,7 +93,6 @@ public class LoginServerThread extends Thread
* The BlowFish engine used to encrypt packets
* It is first initialized with a unified key:
* "_;v.]05-31!|+-%xT!^[$\00"
- *
* and then after handshake, with a new key sent by
* login server during the handshake. This new key is stored
* in blowfishKey
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/Shutdown.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/Shutdown.java
index 7ced9a191b..e81e4222dc 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/Shutdown.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/Shutdown.java
@@ -232,7 +232,7 @@ public class Shutdown extends Thread
}
else
{
- // gm shutdown: send warnings and then call exit to start shutdown sequence
+ // GM shutdown: send warnings and then call exit to start shutdown sequence
countdown();
// last point where logging is operational :(
LOGGER.warning("GM shutdown countdown is over. " + MODE_TEXT[_shutdownMode] + " NOW!");
@@ -538,7 +538,7 @@ public class Shutdown extends Thread
}
/**
- * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
+ * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
* @return instance of Shutdown, to be used as shutdown hook
*/
public static Shutdown getInstance()
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/ai/AbstractAI.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/ai/AbstractAI.java
index 95f441a5d6..c544548976 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/ai/AbstractAI.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/ai/AbstractAI.java
@@ -45,7 +45,7 @@ import org.l2jmobius.gameserver.taskmanager.AttackStanceTaskManager;
/**
* Mother class of all objects AI in the world.
- * AbastractAI :
+ * AbastractAI:
*
CreatureAI
*/
public abstract class AbstractAI implements Ctrl
@@ -126,10 +126,10 @@ public abstract class AbstractAI implements Ctrl
/**
* Set the Intention of this AbstractAI.
- * Caution : This method is USED by AI classes
- * Overridden in :
- * AttackableAI : Create an AI Task executed every 1s (if necessary)
- * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
+ * Caution: This method is USED by AI classes
+ * Overridden in:
+ * AttackableAI : Create an AI Task executed every 1s (if necessary)
+ * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -141,7 +141,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
*/
@Override
@@ -152,7 +152,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
* @param args The first parameters of the Intention (optional target)
*/
@@ -225,7 +225,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onEvt method corresponding to the Event.
- * Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
*/
@Override
@@ -235,7 +235,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
*/
@@ -246,7 +246,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
* @param arg1 The second parameter of the Event (optional target)
@@ -419,7 +419,7 @@ public abstract class AbstractAI implements Ctrl
protected abstract void onEvtFinishCasting();
/**
- * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution : Low level function, used by AI subclasses
+ * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution: Low level function, used by AI subclasses
*/
protected void clientActionFailed()
{
@@ -430,8 +430,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param pawn
* @param offset
*/
@@ -514,8 +514,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param x
* @param y
* @param z
@@ -542,8 +542,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param loc
*/
public void clientStopMoving(Location loc)
@@ -591,8 +591,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
public void clientStartAutoAttack()
{
@@ -632,8 +632,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
void clientStopAutoAttack()
{
@@ -661,8 +661,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
protected void clientNotifyDead()
{
@@ -679,7 +679,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Update the state of this actor client side by sending Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance player.
- * Caution : Low level function, used by AI subclasses
+ * Caution: Low level function, used by AI subclasses
* @param player The PlayerIstance to notify with state of this Creature
*/
public void describeStateToPlayer(PlayerInstance player)
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/ai/AttackableAI.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/ai/AttackableAI.java
index 28bb61cbff..6075092cb6 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/ai/AttackableAI.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/ai/AttackableAI.java
@@ -212,7 +212,7 @@ public class AttackableAI extends CreatureAI
/**
* Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
- * Caution : If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
+ * Caution: If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -317,7 +317,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update every 1s the _globalAggro counter to come close to 0
*
If the actor is Aggressive and can attack, add all autoAttackable Creature in its Aggro Range to its _aggroList, chose a target and order to attack it
@@ -612,7 +612,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update the attack timeout if actor is running
*
If target is dead or timeout is expired, stop this attack and set the Intention to AI_INTENTION_ACTIVE
@@ -1237,7 +1237,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Attacked.
- * Actions :
+ *
+ * Actions:
*
*
Init the attack : Calculate the attack timeout, Set the _globalAggro to 0, Add the attacker to the actor _aggroList
*
Set the Creature movement type to run and send Server->Client packet ChangeMoveType to all others PlayerInstance
@@ -1301,7 +1302,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Aggression.
- * Actions :
+ *
+ * Actions:
*
*
Add the target to the actor _aggroList or update hate if already present
*
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/ai/CreatureAI.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/ai/CreatureAI.java
index aeb15558db..a5b0347ce9 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/ai/CreatureAI.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/ai/CreatureAI.java
@@ -139,7 +139,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Idle Intention : Stop Attack, Movement and Stand Up the actor.
- * Actions :
+ *
+ * Actions:
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
Init cast and attack target
@@ -164,7 +165,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Active Intention : Stop Attack, Movement and Launch Think Event.
- * Actions : if the Intention is not already Active
+ *
+ * Actions : if the Intention is not already Active
*
*
Set the AI Intention to AI_INTENTION_ACTIVE
*
Init cast and attack target
@@ -195,7 +197,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Rest Intention.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
@@ -209,7 +212,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Attack Intention : Stop current Attack (if necessary), Start a new Attack and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_ATTACK
@@ -217,7 +221,8 @@ public class CreatureAI extends AbstractAI
*
Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast)
*
Launch the Think Event
*
- * Overridden in :
+ *
+ * Overridden in:
*
*
AttackableAI : Calculate attack timeout
*
@@ -281,7 +286,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Cast Intention : Stop current Attack, Init the AI in order to cast and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI cast target
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
@@ -331,7 +337,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
@@ -370,7 +377,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Follow Intention : Stop current Attack and Launch a Follow Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_FOLLOW
@@ -427,7 +435,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the PickUp Intention : Set the pick up target and Launch a Move To Pawn Task (offset=20).
- * Actions :
+ *
+ * Actions :
*
*
Set the AI pick up target
*
Set the Intention of this AI to AI_INTENTION_PICK_UP
@@ -476,7 +485,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Interact Intention : Set the interact target and Launch a Move To Pawn Task (offset=60).
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the AI interact target
@@ -537,7 +547,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Stunned then onAttacked Event.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
@@ -565,7 +576,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Rooted.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -588,7 +600,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Confused.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -606,7 +619,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Muted.
- * Actions :
+ *
+ * Actions:
*
*
Break a cast and send Server->Client ActionFailed packet and a System Message to the Creature
*
@@ -629,7 +643,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -643,7 +658,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Arrived.
- * Actions :
+ *
+ * Actions:
*
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
*
Launch actions corresponding to the Event Think
@@ -686,7 +702,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedRevalidate.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -700,7 +717,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedBlocked.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
@@ -725,7 +743,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ForgetObject.
- * Actions :
+ *
+ * Actions:
*
*
If the object was targeted and the Intention was AI_INTENTION_INTERACT or AI_INTENTION_PICK_UP, set the Intention to AI_INTENTION_ACTIVE
*
If the object was targeted to attack, stop the auto-attack, cancel target and set the Intention to AI_INTENTION_ACTIVE
@@ -781,7 +800,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -806,7 +826,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Dead.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast)
@@ -829,7 +850,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Fake Death.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
@@ -910,13 +932,15 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move to Pawn action in function of the distance and of the Interact area.
- * Actions :
+ *
+ * Actions:
*
*
Get the distance between the current position of the Creature and the target (x,y)
*
If the distance > offset+20, move the actor (by running) to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast)
*
If the distance <= offset+20, Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1017,13 +1041,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost or dead.
- * Actions : If the target is lost or dead
+ *
+ * Actions : If the target is lost or dead
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1050,13 +1076,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost.
- * Actions : If the target is lost
+ *
+ * Actions : If the target is lost
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/ai/PlayerAI.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/ai/PlayerAI.java
index 1af86289ec..72cd985005 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/ai/PlayerAI.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/ai/PlayerAI.java
@@ -90,7 +90,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -109,7 +110,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -124,7 +126,7 @@ public class PlayerAI extends PlayableAI
/**
* Finalize the casting of a skill. This method overrides CreatureAI method.
- * What it does:
+ * What it does:
* Check if actual intention is set to CAST and, if so, retrieves latest intention before the actual CAST and set it as the current intention for the player.
*/
@Override
@@ -197,7 +199,8 @@ public class PlayerAI extends PlayableAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
index a6c22e57af..dcfcbb433f 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
@@ -158,7 +158,7 @@ public class AdminData implements IXmlReader
AdminCommandAccessRight acar = _adminCommandAccessRights.get(adminCommand);
if (acar == null)
{
- // Trying to avoid the spam for next time when the gm would try to use the same command
+ // Trying to avoid the spam for next time when the GM would try to use the same command
if ((accessLevel.getLevel() > 0) && (accessLevel.getLevel() == _highestLevel))
{
acar = new AdminCommandAccessRight(adminCommand, true, accessLevel.getLevel());
@@ -341,7 +341,7 @@ public class AdminData implements IXmlReader
/**
* Gets the single instance of AdminTable.
- * @return AccessLevels: the one and only instance of this class
+ * @return AccessLevels: the one and only instance of this class
*/
public static AdminData getInstance()
{
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
index ab688fb612..a4de5a1083 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
@@ -63,7 +63,7 @@ import org.l2jmobius.gameserver.model.skills.Skill;
* Here can be found the following skill trees:
*
*
Class skill trees: player skill trees for each class.
- *
Transfer skill trees: player skill trees for each healer class.
+ *
Transfer skill trees: player skill trees for each healer class.
*
Collect skill tree: player skill tree for Gracia related skills.
*
Fishing skill tree: player skill tree for fishing related skills.
*
Transform skill tree: player skill tree for transformation related skills.
@@ -464,7 +464,7 @@ public class SkillTreeData implements IXmlReader
}
/**
- * Gets the race skill tree.
+ * Gets the race skill tree.
* @param race the race skill tree Id
* @return the complete race Skill Tree for a given {@code Race}
*/
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/datatables/BotReportTable.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
index 72de11fa1c..d8d3932288 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
@@ -206,7 +206,7 @@ public class BotReportTable
}
/**
- * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
+ * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
* @param reporter (PlayerInstance who issued the report)
* @return True, if the report was registered, False otherwise
*/
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/datatables/ItemTable.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/datatables/ItemTable.java
index d63129deff..bfae3f7a36 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/datatables/ItemTable.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/datatables/ItemTable.java
@@ -195,10 +195,10 @@ public class ItemTable
}
/**
- * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions :
+ * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions:
*
Create and Init the ItemInstance corresponding to the Item Identifier and quantity
*
Add the ItemInstance object to _allObjects of L2world
- *
Logs Item creation according to log settings
+ *
Logs Item creation according to log settings
* @param process : String Identifier of process triggering this action
* @param itemId : int Item Identifier of the item to be created
* @param count : int Quantity of items to be created for stackable items
@@ -304,7 +304,8 @@ public class ItemTable
/**
* Destroys the ItemInstance.
- * Actions :
+ *
+ * Actions:
*
*
Sets ItemInstance parameters to be unusable
*
Removes the ItemInstance object to _allObjects of L2world
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/enums/BasicProperty.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/enums/BasicProperty.java
index 77a2a7a477..1e5cac18dd 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/enums/BasicProperty.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/enums/BasicProperty.java
@@ -17,17 +17,17 @@
package org.l2jmobius.gameserver.enums;
/**
- * Basic property type of skills.
- * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
- * After, only 3 types are used: physical, magic and none.
- *
- * Quote from Juji:
- * ----------------------------------------------------------------------
- * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
- * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
- * ----------------------------------------------------------------------
- * All other are considered with no basic property aka NONE.
- *
+ * Basic property type of skills.
+ * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
+ * After, only 3 types are used: physical, magic and none.
+ *
+ * Quote from Juji:
+ * ----------------------------------------------------------------------
+ * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
+ * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
+ * ----------------------------------------------------------------------
+ * All other are considered with no basic property aka NONE.
+ *
* @author Nik
*/
public enum BasicProperty
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/handler/ItemHandler.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/handler/ItemHandler.java
index 939d8263da..a815f2646e 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/handler/ItemHandler.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/handler/ItemHandler.java
@@ -38,10 +38,9 @@ public class ItemHandler implements IHandler
}
/**
- * Adds handler of item type in datatable.
- *
- * Concept :
- * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
+ * Adds handler of item type in datatable.
+ * Concept :
+ * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
* @param handler (IItemHandler)
*/
@Override
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
index 7d6c13d3b9..b510fdc4ee 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
@@ -456,7 +456,7 @@ public class InstanceManager implements IXmlReader
}
/**
- * Register instance world.
+ * Register instance world.
* @param instance instance which should be registered
*/
public void register(Instance instance)
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/AccessLevel.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/AccessLevel.java
index ced434ddda..2dac00e406 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/AccessLevel.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/AccessLevel.java
@@ -87,9 +87,8 @@ public class AccessLevel
}
/**
- * Returns the access level
- *
- * @return int: access level
+ * Returns the access level
+ * @return int: access level
*/
public int getLevel()
{
@@ -97,9 +96,8 @@ public class AccessLevel
}
/**
- * Returns the access level name
- *
- * @return String: access level name
+ * Returns the access level name
+ * @return String: access level name
*/
public String getName()
{
@@ -107,9 +105,8 @@ public class AccessLevel
}
/**
- * Returns the name color of the access level
- *
- * @return int: the name color for the access level
+ * Returns the name color of the access level
+ * @return int: the name color for the access level
*/
public int getNameColor()
{
@@ -117,9 +114,8 @@ public class AccessLevel
}
/**
- * Returns the title color color of the access level
- *
- * @return int: the title color for the access level
+ * Returns the title color color of the access level
+ * @return int: the title color for the access level
*/
public int getTitleColor()
{
@@ -127,9 +123,8 @@ public class AccessLevel
}
/**
- * Retuns if the access level has gm access or not
- *
- * @return boolean: true if access level have gm access, otherwise false
+ * Retuns if the access level has GM access or not
+ * @return boolean: true if access level have GM access, otherwise false
*/
public boolean isGm()
{
@@ -137,9 +132,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to attack in peace zone or not
- *
- * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
+ * Returns if the access level is allowed to attack in peace zone or not
+ * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
*/
public boolean allowPeaceAttack()
{
@@ -147,9 +141,8 @@ public class AccessLevel
}
/**
- * Retruns if the access level is allowed to use fixed res or not
- *
- * @return true if the access level is allowed to use fixed res, otherwise false
+ * Retruns if the access level is allowed to use fixed res or not
+ * @return true if the access level is allowed to use fixed res, otherwise false
*/
public boolean allowFixedRes()
{
@@ -157,9 +150,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to perform transactions or not
- *
- * @return boolean: true if access level is allowed to perform transactions, otherwise false
+ * Returns if the access level is allowed to perform transactions or not
+ * @return boolean: true if access level is allowed to perform transactions, otherwise false
*/
public boolean allowTransaction()
{
@@ -167,9 +159,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to use AltG commands or not
- *
- * @return boolean: true if access level is allowed to use AltG commands, otherwise false
+ * Returns if the access level is allowed to use AltG commands or not
+ * @return boolean: true if access level is allowed to use AltG commands, otherwise false
*/
public boolean allowAltG()
{
@@ -177,9 +168,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can give damage or not
- *
- * @return boolean: true if the access level can give damage, otherwise false
+ * Returns if the access level can give damage or not
+ * @return boolean: true if the access level can give damage, otherwise false
*/
public boolean canGiveDamage()
{
@@ -187,9 +177,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can take aggro or not
- *
- * @return boolean: true if the access level can take aggro, otherwise false
+ * Returns if the access level can take aggro or not
+ * @return boolean: true if the access level can take aggro, otherwise false
*/
public boolean canTakeAggro()
{
@@ -197,9 +186,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can gain exp or not
- *
- * @return boolean: true if the access level can gain exp, otherwise false
+ * Returns if the access level can gain exp or not
+ * @return boolean: true if the access level can gain exp, otherwise false
*/
public boolean canGainExp()
{
@@ -207,9 +195,9 @@ public class AccessLevel
}
/**
- * Returns if the access level contains allowedAccess as child
- * @param accessLevel as AccessLevel
- * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
+ * Returns if the access level contains allowedAccess as child
+ * @param accessLevel as AccessLevel
+ * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
*/
public boolean hasChildAccess(AccessLevel accessLevel)
{
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/EffectList.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/EffectList.java
index 72d713b173..78596bd21e 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/EffectList.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/EffectList.java
@@ -159,7 +159,7 @@ public class EffectList
}
/**
- * Verifies if this effect list contains the given skill ID.
+ * Verifies if this effect list contains the given skill ID.
* @param skillId the skill ID to verify
* @return {@code true} if the skill ID is present in the effect list (includes active and passive effects), {@code false} otherwise
*/
@@ -179,7 +179,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param type the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching the specified {@code AbnormalType}, {@code false} otherwise
*/
@@ -189,7 +189,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param types the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching one of the specified {@code AbnormalType}s, {@code false} otherwise
*/
@@ -421,7 +421,7 @@ public class EffectList
}
/**
- * Exit all effects having a specified flag.
+ * Exit all effects having a specified flag.
* @param effectFlag the flag of the effect to stop
*/
public void stopEffects(EffectFlag effectFlag)
@@ -438,7 +438,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, Skill)}
+ * {@link #stopSkillEffects(boolean, Skill)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skillId the skill ID
*/
@@ -457,7 +457,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, int)}
+ * {@link #stopSkillEffects(boolean, int)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skill the skill
*/
@@ -483,7 +483,7 @@ public class EffectList
}
/**
- * Exits all effects created by a specific skill {@code AbnormalType}s.
+ * Exits all effects created by a specific skill {@code AbnormalType}s.
* @param types the skill {@code AbnormalType}s to be checked and removed.
* @return {@code true} if there was any {@code BuffInfo} with one of the given {@code AbnormalType}s, {@code false} otherwise
*/
@@ -498,7 +498,7 @@ public class EffectList
}
/**
- * Exits all effects matched by a specific filter.
+ * Exits all effects matched by a specific filter.
* @param filter any filter to apply when selecting which {@code BuffInfo}s to be removed.
* @param update update effect flags and icons after the operation finishes.
* @param broadcast {@code true} to broadcast update packets if updating, {@code false} otherwise.
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/Party.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/Party.java
index bfa180535b..e5518154d9 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/Party.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/Party.java
@@ -142,7 +142,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Set invitation process flag and store time for expiration.
+ * Set invitation process flag and store time for expiration.
* Happens when a player joins party or declines to join.
* @param value the pending invitation state to set
*/
@@ -273,8 +273,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Send a Server->Client packet to all other PlayerInstance of the Party.
- *
+ * Send a Server->Client packet to all other PlayerInstance of the Party.
* @param player
* @param msg
*/
@@ -821,12 +820,12 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
- *
- * Actions :
+ * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
+ *
+ * Actions:
*
Get the PlayerInstance owner of the ServitorInstance (if necessary)
*
Calculate the Experience and SP reward distribution rate
- *
Add Experience and SP to the PlayerInstance
+ *
Add Experience and SP to the PlayerInstance
* @param xpReward The Experience reward to distribute
* @param spReward The SP reward to distribute
* @param rewardedMembers The list of PlayerInstance to reward
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/Spawn.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/Spawn.java
index e9068a0b5f..9f8d6a075f 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/Spawn.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/Spawn.java
@@ -41,7 +41,7 @@ import org.l2jmobius.gameserver.util.Util;
/**
* This class manages the spawn and respawn of a group of NpcInstance that are in the same are and have the same type.
- * Concept:
+ * Concept:
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
* @author Nightmare
@@ -78,13 +78,16 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Constructor of Spawn.
- * Concept:
+ *
+ * Concept:
+ *
* Each Spawn owns generic and static properties (ex : RewardExp, RewardSP, AggroRange...).
* All of those properties are stored in a different NpcTemplate for each type of Spawn. Each template is loaded once in the server cache memory (reduce memory use).
* When a new instance of Spawn is created, server just create a link between the instance and the template.
- * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
- * This link is stored in _spawn of the NpcInstance.
- * Actions:
+ * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
+ * This link is stored in _spawn of the NpcInstance.
+ *
+ * Actions:
*
*
Set the _template of the Spawn
*
Calculate the implementationName used to generate the generic constructor of NpcInstance managed by this Spawn
@@ -227,11 +230,11 @@ public class Spawn extends Location implements IIdentifiable, INamable
}
/**
- * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions :
+ * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions:
*
Decrease the current number of NpcInstance of this Spawn
*
Check if respawn is possible to prevent multiple respawning caused by lag
*
Update the current number of SpawnTask in progress or stand by of this Spawn
- *
Create a new SpawnTask to launch after the respawn Delay
Caution : A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
+ *
Create a new SpawnTask to launch after the respawn Delay
Caution: A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
* @param oldNpc
*/
public void decreaseCount(Npc oldNpc)
@@ -305,10 +308,13 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Create the NpcInstance, add it to the world and lauch its OnSpawn action.
- * Concept:
+ *
+ * Concept:
+ *
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
- * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
+ *
+ * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
*
*
Get NpcInstance Init parameters and its generate an Identifier
*
Call the constructor of the NpcInstance
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/World.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/World.java
index 0b8cd8b4f1..09579e901c 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/World.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/World.java
@@ -132,7 +132,8 @@ public class World
/**
* Adds an object to the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Withdraw an item from the warehouse, create an item
*
Spawn a Creature (PC, NPC, Pet)
@@ -172,7 +173,8 @@ public class World
/**
* Removes an object from the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Delete item from inventory, transfer Item from inventory to warehouse
*
Crystallize item
@@ -209,7 +211,7 @@ public class World
}
/**
- * Example of use:
+ * Example of use:
*
@@ -251,7 +253,7 @@ public class World
}
/**
- * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
+ * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
* @param name Name of the player to get Instance
* @return the player instance corresponding to the given name.
*/
@@ -299,18 +301,18 @@ public class World
}
/**
- * Add a WorldObject in the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Add a WorldObject in the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Add the WorldObject object in _allPlayers* of World
*
Add the WorldObject object in _gmList** of GmListTable
- *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
- * * only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstanceCaution : This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
- * Caution : This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use :
+ *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
+ * * only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstanceCaution: This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
+ * Caution: This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use:
*
Drop an Item
*
Spawn a Creature
- *
Apply Death Penalty of a PlayerInstance
+ *
Apply Death Penalty of a PlayerInstance
* @param object L2object to add in the world
* @param newRegion WorldRegion in wich the object will be add (not used)
*/
@@ -382,16 +384,16 @@ public class World
}
/**
- * Remove a WorldObject from the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Remove a WorldObject from the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Remove the WorldObject object from _allPlayers* of World
*
Remove the WorldObject object from _visibleObjects and _allPlayers* of WorldRegion
*
Remove the WorldObject object from _gmList** of GmListTable
- *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution : This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstance Example of use :
+ *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution: This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstance Example of use:
*
Pickup an Item
- *
Decay a Creature
+ *
Decay a Creature
* @param object L2object to remove from the world
* @param oldRegion WorldRegion in which the object was before removing
*/
@@ -690,9 +692,9 @@ public class World
}
/**
- * Calculate the current WorldRegions of the object according to its position (x,y). Example of use :
+ * Calculate the current WorldRegions of the object according to its position (x,y). Example of use:
*
Set position of a new WorldObject (drop, spawn...)
- *
Update position of a WorldObject after a movement
+ *
Update position of a WorldObject after a movement
* @param object the object
* @return
*/
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/WorldObject.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/WorldObject.java
index 63e719d10f..adc7402c47 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/WorldObject.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/WorldObject.java
@@ -670,7 +670,7 @@ public abstract class WorldObject extends ListenersContainer implements IIdentif
}
/**
- * Sets instance for current object by instance ID.
+ * Sets instance for current object by instance ID.
* @param id ID of instance world which should be set (0 means normal world)
*/
public void setInstanceById(int id)
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/WorldRegion.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/WorldRegion.java
index 4a166d2b8a..25ada44e59 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/WorldRegion.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/WorldRegion.java
@@ -195,8 +195,8 @@ public class WorldRegion
}
/**
- * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
- * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
+ * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
+ * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
* @param object
*/
public void addVisibleObject(WorldObject object)
@@ -216,7 +216,7 @@ public class WorldRegion
}
/**
- * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
+ * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
* @param object
*/
public void removeVisibleObject(WorldObject object)
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 8293be3e53..e2d4dba94b 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
@@ -1057,7 +1057,7 @@ public class Attackable extends Npc
* During a Special Event all Attackable can drop extra Items.
* Those extra Items are defined in the table allNpcDateDrops of the EventDroplist.
* Each Special Event has a start and end date to stop to drop extra Items automatically.
- * Actions: If an extra drop must be generated
+ * Actions: If an extra drop must be generated
* Get an Item Identifier (random) from the DateDrop Item table of this Event.
* Get the Item quantity dropped (random).
* Create this or these ItemInstance corresponding to this Item Identifier.
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Creature.java
index 23dc0ec731..06bc34124f 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Creature.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Creature.java
@@ -167,7 +167,6 @@ import org.l2jmobius.gameserver.util.Util;
*
Trap
*
Vehicle
*
- *
* Concept of CreatureTemplate:
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
@@ -295,11 +294,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Constructor of Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature. Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
- * Actions:
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
+ *
+ * Actions:
*
*
Set the _template of the Creature
*
Set _overloaded to false (the character can take more items)
@@ -542,8 +544,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Remove the Creature from the world when the decay task is launched.
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
public void onDecay()
{
@@ -603,8 +605,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
*/
@@ -621,8 +625,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the radius (max knownlist radius) from the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
* @param radiusInKnownlist
@@ -678,12 +684,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send the Server->Client packet StatusUpdate with current HP and MP to all other PlayerInstance to inform.
- * Actions:
+ *
+ * Actions:
*
*
Create the Server->Client packet StatusUpdate with current HP and MP
*
Send the Server->Client packet StatusUpdate with current HP and MP to all Creature called _statusListener that must be informed of HP/MP updates of this Creature
*
- * Caution: This method DOESN'T SEND CP information
+ * Caution: This method DOESN'T SEND CP information
* @param caster
*/
public void broadcastStatusUpdate(Creature caster)
@@ -714,7 +721,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Teleport a Creature and its pet if necessary.
- * Actions:
+ *
+ * Actions:
*
*
Stop the movement of the Creature
*
Set the x,y,z position of the WorldObject and if necessary modify its _worldRegion
@@ -883,7 +891,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a physical attack against a target (Simple, Bow, Pole or Dual).
- * Actions:
+ *
+ * Actions:
*
*
Get the active weapon (always equipped in the right hand)
*
If weapon is a bow, check for arrows, MP and bow re-use delay (if necessary, equip the PlayerInstance with arrows in left hand)
@@ -1274,7 +1283,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Manage the casting task (casting and interrupt time, re-use delay...) and display the casting bar and animation on client.
- * Actions:
+ *
+ * Actions:
*
*
Verify the possibility of the the cast : skill is a spell, caster isn't muted...
*
Get the list of all targets (ex : area effects) and define the Creature targeted (its stats will be used in calculation)
@@ -1564,7 +1574,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Kill the Creature.
- * Actions:
+ *
+ * Actions:
*
*
Set target to null and cancel Attack or Cast
*
Stop movement
@@ -2191,11 +2202,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Set the template of the Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
* Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
* @param template
*/
protected final void setTemplate(CreatureTemplate template)
@@ -2372,7 +2385,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop a specified/all Fake Death abnormal Effect.
- * Actions:
+ *
+ * Actions:
*
*
Delete a specified/all (if effect=null) Fake Death abnormal Effect from Creature and update client magic icon
*
Set the abnormal effect flag _fake_death to False
@@ -2400,7 +2414,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Stop all block actions (stun) effects.
+ * Stop all block actions (stun) effects.
* @param removeEffects {@code true} removes all block actions effects, {@code false} only notifies AI to think.
*/
public void stopStunning(boolean removeEffects)
@@ -2418,7 +2432,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop Effect: Transformation.
- * Actions:
+ *
+ * Actions:
*
*
Remove Transformation Effect
*
Notify the Creature AI
@@ -2447,7 +2462,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Updates the visual abnormal state of this character.
+ * Updates the visual abnormal state of this character.
*/
public void updateAbnormalVisualEffects()
{
@@ -2456,9 +2471,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update active skills in progress (In Use and Not In Use because stacked) icons on client.
- * Concept:
+ *
+ * Concept:
+ *
* All active skills effects in progress (In Use and Not In Use because stacked) are represented by an icon on the client.
- * Caution : This method ONLY UPDATE the client of the player and not clients of all players in the party.
+ * Caution: This method ONLY UPDATE the client of the player and not clients of all players in the party.
*/
public void updateEffectIcons()
{
@@ -2492,7 +2509,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* This class group all movement data.
- * Data :
+ *
+ * Data:
*
*
_moveTimestamp : Last time position update
*
_xDestination, _yDestination, _zDestination : Position of the destination
@@ -2786,7 +2804,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * @return True if the Creature is travelling a calculated path.
+ * @return True if the Creature is traveling a calculated path.
*/
public boolean isOnGeodataPath()
{
@@ -2896,16 +2914,18 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update the position of the Creature during a movement and return True if the movement is finished.
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
* When the movement is started (ex : by MovetoLocation), this method will be called each 0.1 sec to estimate and update the Creature position on the server.
* Note, that the current server position can differe from the current client position even if each movement is straight foward.
* That's why, client send regularly a Client->Server ValidatePosition packet to eventually correct the gap on the server.
* But, it's always the server position that is used in range calculation. At the end of the estimated movement time,
* the Creature position is automatically set to the destination position even if the movement is not finished.
- * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
- * But x and y positions must be calculated to avoid that players try to modify their movement speed.
+ * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
+ * But x and y positions must be calculated to avoid that players try to modify their movement speed.
* @return True if the movement is finished
*/
public boolean updatePosition()
@@ -3073,14 +3093,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop movement of the Creature (Called by AI Accessor only).
- * Actions:
+ *
+ * Actions:
*
*
Delete movement data of the Creature
*
Set the current position (x,y,z), its current WorldRegion if necessary and its heading
*
Remove the WorldObject object from _gmList of GmListTable
*
Remove object from _knownObjects and _knownPlayer of all surrounding WorldRegion Creatures
*
- * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
+ * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
* @param loc
*/
public void stopMove(Location loc)
@@ -3117,9 +3138,12 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Target a WorldObject (add the target to the Creature _target, _knownObject and Creature to _KnownObject of the WorldObject).
- * Concept:
- * The WorldObject (including Creature) targeted is identified in _target of the Creature.
- * Actions:
+ *
+ * Concept:
+ *
+ * The WorldObject (including Creature) targeted is identified in _target of the Creature.
+ *
+ * Actions:
*
*
Set the _target of Creature to WorldObject
*
If necessary, add WorldObject to _knownObject of the Creature
@@ -3162,11 +3186,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Calculate movement data for a move to location action and add the Creature to movingObjects of GameTimeController (only called by AI Accessor).
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
- * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
- * Actions:
+ * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
+ *
+ * Actions:
*
*
Get current position of the Creature
*
Calculate distance (dx,dy) between current position and destination including offset
@@ -3175,8 +3202,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
*
Add the Creature to movingObjects of the GameTimeController
*
Create a task to notify the AI that Creature arrives at a check point of the movement
*
- * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
- * Example of use:
+ * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
+ *
+ * Example of use:
*
*
AI : onIntentionMoveTo(Location), onIntentionPickUp(WorldObject), onIntentionInteract(WorldObject)
*
FollowTask
@@ -3580,7 +3608,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
* @return True if arrows are available.
* @param type
@@ -3592,9 +3620,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add Exp and Sp to the Creature.
- * Overridden in :
+ *
+ * Overridden in:
*
PlayerInstance
- *
PetInstance
+ *
PetInstance
* @param addToExp
* @param addToSp
*/
@@ -3604,36 +3633,37 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon instance (always equiped in the right hand).
+ * @return the active weapon instance (always equipped in the right hand).
*/
public abstract ItemInstance getActiveWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon item (always equiped in the right hand).
+ * @return the active weapon item (always equipped in the right hand).
*/
public abstract Weapon getActiveWeaponItem();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary weapon instance (always equiped in the left hand).
+ * @return the secondary weapon instance (always equipped in the left hand).
*/
public abstract ItemInstance getSecondaryWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary {@link Item} item (always equiped in the left hand).
+ * @return the secondary {@link Item} item (always equipped in the left hand).
*/
public abstract Item getSecondaryWeaponItem();
/**
* Manage hit process (called by Hit Task).
- * Actions:
+ *
+ * Actions:
*
*
If the attacker/target is dead or use fake death, notify the AI with EVT_CANCEL and send a Server->Client packet ActionFailed (if attacker is a PlayerInstance)
*
If attack isn't aborted, send a message system (critical hit, missed...) to attacker/target if they are PlayerInstance
If Creature or target is in a town area, send a system message TARGET_IN_PEACEZONE a Server->Client packet ActionFailed
*
If target is confused, send a Server->Client packet ActionFailed
@@ -3953,15 +3984,19 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add a skill to the Creature _skills and its Func objects to the calculator set of the Creature.
- * Concept:
- * All skills own by a Creature are identified in _skills
- * Actions:
+ *
+ * Concept:
+ *
+ * All skills own by a Creature are identified in _skills
+ *
+ * Actions:
*
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
*
Add Func objects of newSkill to the calculator set of the Creature
*
- * Overridden in:
+ *
+ * Overridden in:
*
*
PlayerInstance : Save update in the character_skills table of the database
*
@@ -5243,7 +5278,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
+ * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
* @param range
*/
public void initSeenCreatures(int range)
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Npc.java
index caf06c0418..8671417696 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Npc.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Npc.java
@@ -158,7 +158,8 @@ public class Npc extends Creature
/**
* Constructor of NpcInstance (use Creature constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the Creature (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the Creature
@@ -578,7 +579,8 @@ public class Npc extends Creature
/**
* Open a quest or chat window on client with the text of the NpcInstance in function of the command.
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : RequestBypassToServer
*
@@ -638,11 +640,11 @@ public class Npc extends Creature
}
/**
- * :
+ * :
*
- *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
- *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
- *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
+ *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
+ *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
+ *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -705,7 +707,8 @@ public class Npc extends Creature
/**
* Open a chat window on client with the text of the NpcInstance.
- * Actions:
+ *
+ * Actions:
*
*
Get the text of the selected HTML file in function of the npcId and of the page number
*
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
@@ -865,7 +868,8 @@ public class Npc extends Creature
/**
* Kill the NpcInstance (the corpse disappeared after 7 seconds).
- * Actions:
+ *
+ * Actions:
*
*
Create a DecayTask to remove the corpse of the NpcInstance after 7 seconds
*
Set target to null and cancel Attack or Cast
@@ -1091,14 +1095,15 @@ public class Npc extends Creature
/**
* Remove the NpcInstance from the world and update its spawn object (for a complete removal use the deleteMe method).
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world when the decay task is launched
*
Decrease its spawn counter
*
Manage Siege task (killFlag, killCT)
*
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
@Override
public void onDecay()
@@ -1137,13 +1142,14 @@ public class Npc extends Creature
/**
* Remove PROPERLY the NpcInstance from the world.
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world and update its spawn object
*
Remove all WorldObject from _knownObjects and _knownPlayer of the NpcInstance then cancel Attack or Cast and notify AI
*
Remove WorldObject object from _allObjects of World
*
- * Caution: This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T SEND Server->Client packets to players
* UnAfraid: TODO: Add Listener here
*/
@Override
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Playable.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Playable.java
index 622442ab2e..750bdba19c 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Playable.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Playable.java
@@ -52,7 +52,8 @@ public abstract class Playable extends Creature
/**
* Constructor of Playable.
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and link copy basic Calculator set to this Playable
*
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Summon.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Summon.java
index c2bca015fb..34eb558e47 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Summon.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Summon.java
@@ -588,7 +588,8 @@ public abstract class Summon extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the target is correct
*
Check if the target is in the skill cast range
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
index 5af1884bac..ba0920369e 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
@@ -24,21 +24,19 @@ import org.l2jmobius.gameserver.model.skills.Skill;
import org.l2jmobius.gameserver.network.serverpackets.ActionFailed;
/**
- * This class manages all Castle Siege Artefacts.
- *
+ * This class manages all Castle Siege Artefacts.
+ *
* @version $Revision: 1.11.2.1.2.7 $ $Date: 2005/04/06 16:13:40 $
*/
public class ArtefactInstance extends Npc
{
/**
- * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
- *
- * Actions :
- *
+ * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
+ *
+ * Actions:
*
Call the Creature constructor to set the _template of the ArtefactInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the ArtefactInstance
- *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
- *
+ *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
* @param template to apply to the NPC
*/
public ArtefactInstance(NpcTemplate template)
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 5f34d57abe..d359c8335b 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
@@ -36,7 +36,8 @@ public class GuardInstance extends Attackable
{
/**
* Constructor of GuardInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the GuardInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the GuardInstance
@@ -100,10 +101,11 @@ public class GuardInstance extends Attackable
/**
* Return the pathfile of the selected HTML file in function of the GuardInstance Identifier and of the page number.
- * Format of the pathfile :
+ *
+ * Format of the pathfile:
*
- *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
- *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
+ *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
+ *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -125,19 +127,22 @@ public class GuardInstance extends Attackable
/**
* Manage actions when a player click on the GuardInstance.
- * Actions on first click on the GuardInstance (Select it) :
+ *
+ * Actions on first click on the GuardInstance (Select it):
*
*
Set the GuardInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
Set the PlayerInstance Intention to AI_INTENTION_IDLE
*
Send a Server->Client packet ValidateLocation to correct the GuardInstance position and heading on the client
*
- * Actions on second click on the GuardInstance (Attack it/Interact with it) :
+ *
+ * Actions on second click on the GuardInstance (Attack it/Interact with it):
*
*
If PlayerInstance is in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_ATTACK
*
If PlayerInstance is NOT in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_INTERACT (after a distance verification) and show message
*
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : Action, AttackRequest
*
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
index 2b71cdcfe3..bee6060aec 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
@@ -43,7 +43,8 @@ public class MonsterInstance extends Attackable
/**
* Constructor of MonsterInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the MonsterInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the MonsterInstance
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
index ba902887c1..e4a3b06ba0 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
@@ -121,7 +121,7 @@ public class PetInstance extends Summon
}
/**
- * Manage Feeding Task.
+ * Manage Feeding Task.
* Feed or kill the pet depending on hunger level.
* If pet has food in inventory and feed level drops below 55% then consume food from inventory.
* Send a broadcastStatusUpdate packet for this PetInstance
@@ -417,7 +417,7 @@ public class PetInstance extends Summon
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -1133,8 +1133,7 @@ public class PetInstance extends Summon
}
/**
- * Restore the specified % of experience this PetInstance has lost.
- *
+ * Restore the specified % of experience this PetInstance has lost.
* @param restorePercent
*/
public void restoreExp(double restorePercent)
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
index f792d3b0c4..e07fc3f181 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
@@ -873,7 +873,8 @@ public class PlayerInstance extends Playable
/**
* Create a new PlayerInstance and add it in the characters table of the database.
- * Actions :
+ *
+ * Actions:
*
*
Create a new PlayerInstance with an account name
*
Set the name, the Hair Style, the Hair Color and the Face type of the PlayerInstance
@@ -1064,7 +1065,8 @@ public class PlayerInstance extends Playable
/**
* Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world (call restore method).
- * Actions :
+ *
+ * Actions:
*
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
@@ -1091,12 +1093,13 @@ public class PlayerInstance extends Playable
/**
* Constructor of PlayerInstance (use Creature constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and copy basic Calculator set to this PlayerInstance
*
Set the name of the PlayerInstance
*
- * Caution : This method SET the level of the PlayerInstance to 1
+ * Caution: This method SET the level of the PlayerInstance to 1
* @param objectId Identifier of the object to initialized
* @param template The PlayerTemplate to apply to the PlayerInstance
* @param accountName The name of the account including this PlayerInstance
@@ -2550,7 +2553,7 @@ public class PlayerInstance extends Playable
}
/**
- * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
+ * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
*/
public void regiveTemporarySkills()
{
@@ -3499,7 +3502,7 @@ public class PlayerInstance extends Playable
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -3754,7 +3757,7 @@ public class PlayerInstance extends Playable
}
/**
- * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : long Quantity of items to be dropped
@@ -4021,9 +4024,9 @@ public class PlayerInstance extends Playable
}
/**
- * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions :
- *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
- *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution : This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
+ * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions:
+ *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
+ *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution: This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
*/
@Override
public void broadcastStatusUpdate(Creature caster)
@@ -4090,11 +4093,11 @@ public class PlayerInstance extends Playable
}
/**
- * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept : Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
- * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions :
+ * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept: Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
+ * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions:
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
- *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as
- * MaxHP, STR, DEX...
+ *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP,
+ * STR, DEX...
*/
public void broadcastUserInfo()
{
@@ -4248,10 +4251,10 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Interact Task with another PlayerInstance. Actions :
+ * Manage Interact Task with another PlayerInstance. Actions:
*
If the private store is a STORE_PRIVATE_SELL, send a Server->Client PrivateBuyListSell packet to the PlayerInstance
*
If the private store is a STORE_PRIVATE_BUY, send a Server->Client PrivateBuyListBuy packet to the PlayerInstance
- *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
+ *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
* @param target The Creature targeted
*/
public void doInteract(Creature target)
@@ -4300,7 +4303,7 @@ public class PlayerInstance extends Playable
*
Send a Server->Client packet InventoryUpdate to this player with NewItem (use a new slot) or ModifiedItem (increase amount).
*
Send a Server->Client packet StatusUpdate to this player with current weight.
*
- * Caution: If a party is in progress, distribute the items between the party members!
+ * Caution: If a party is in progress, distribute the items between the party members!
* @param target the NPC dropping the item
* @param itemId the item ID
* @param itemCount the item count
@@ -4332,13 +4335,13 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Pickup Task. Actions :
+ * Manage Pickup Task. Actions:
*
Send a Server->Client packet StopMove to this PlayerInstance
*
Remove the ItemInstance from the world and send server->client GetItem packets
*
Send a System Message to the PlayerInstance : YOU_PICKED_UP_S1_ADENA or YOU_PICKED_UP_S1_S2
*
Add the Item to the PlayerInstance inventory
*
Send a Server->Client packet InventoryUpdate to this PlayerInstance with NewItem (use a new slot) or ModifiedItem (increase amount)
- *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution : If a Party is in progress, distribute Items between party members
+ *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution: If a Party is in progress, distribute Items between party members
* @param object The ItemInstance to pick up
*/
@Override
@@ -4601,7 +4604,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set a target. Actions :
+ * Set a target. Actions:
*
*
Remove the PlayerInstance from the _statusListener of the old target if it was a Creature
*
Add the PlayerInstance to the _statusListener of the new target if it's a Creature
@@ -4693,7 +4696,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon instance (always equiped in the right hand).
+ * Return the active weapon instance (always equipped in the right hand).
*/
@Override
public ItemInstance getActiveWeaponInstance()
@@ -4702,7 +4705,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon item (always equiped in the right hand).
+ * Return the active weapon item (always equipped in the right hand).
*/
@Override
public Weapon getActiveWeaponItem()
@@ -4791,7 +4794,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary weapon instance (always equiped in the left hand).
+ * Return the secondary weapon instance (always equipped in the left hand).
*/
@Override
public ItemInstance getSecondaryWeaponInstance()
@@ -4800,8 +4803,8 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary Item item (always equiped in the left hand).
- * Arrows, Shield..
+ * Return the secondary Item item (always equipped in the left hand).
+ * Arrows, Shield..
*/
@Override
public Item getSecondaryWeaponItem()
@@ -4815,12 +4818,12 @@ public class PlayerInstance extends Playable
}
/**
- * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions :
+ * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions:
*
Reduce the Experience of the PlayerInstance in function of the calculated Death Penalty
*
If necessary, unsummon the Pet of the killed PlayerInstance
*
Manage Karma gain for attacker and Karam loss for the killed PlayerInstance
*
If the killed PlayerInstance has Karma, manage Drop Item
- *
Kill the PlayerInstance
+ *
Kill the PlayerInstance
* @param killer
*/
@Override
@@ -5292,12 +5295,13 @@ public class PlayerInstance extends Playable
}
/**
- * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
- * Actions :
+ * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
+ *
+ * Actions:
*
Calculate the Experience loss
*
Set the value of _expBeforeDeath
*
Set the new Experience value of the PlayerInstance and Decrease its level if necessary
- *
Send a Server->Client StatusUpdate packet with its new Experience
+ *
Send a Server->Client StatusUpdate packet with its new Experience
* @param killer
*/
public void calculateDeathExpPenalty(Creature killer)
@@ -5349,7 +5353,7 @@ public class PlayerInstance extends Playable
}
/**
- * Stop the HP/MP/CP Regeneration task. Actions :
+ * Stop the HP/MP/CP Regeneration task. Actions:
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
*/
@@ -5696,13 +5700,13 @@ public class PlayerInstance extends Playable
}
/**
- * Set the Private Store type of the PlayerInstance. Values :
+ * Set the Private Store type of the PlayerInstance. Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @param privateStoreType
*/
public void setPrivateStoreType(PrivateStoreType privateStoreType)
@@ -5715,13 +5719,13 @@ public class PlayerInstance extends Playable
}
/**
- * Values :
+ * Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @return the Private Store type of the PlayerInstance.
*/
public PrivateStoreType getPrivateStoreType()
@@ -6439,11 +6443,11 @@ public class PlayerInstance extends Playable
}
/**
- * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions :
+ * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions:
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
*
Set the x,y,z position of the PlayerInstance and make it invisible
- *
Update the overloaded status of the PlayerInstance
+ *
Update the overloaded status of the PlayerInstance
* @param objectId Identifier of the object to initialized
* @return The PlayerInstance loaded from the database
*/
@@ -7340,10 +7344,10 @@ public class PlayerInstance extends Playable
}
/**
- * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept : All skills own by a PlayerInstance are identified in _skills Actions :
+ * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept: All skills own by a PlayerInstance are identified in _skills Actions:
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
- *
Add Func objects of newSkill to the calculator set of the Creature
+ *
Add Func objects of newSkill to the calculator set of the Creature
* @param newSkill The Skill to add to the Creature
* @param store
* @return The Skill replaced or null if just added a new Skill
@@ -7374,10 +7378,10 @@ public class PlayerInstance extends Playable
}
/**
- * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept : All skills own by a Creature are identified in _skills Actions :
+ * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept: All skills own by a Creature are identified in _skills Actions:
*
Remove the skill from the Creature _skills
- *
Remove all its Func objects from the Creature calculator set
Overridden in :
- *
PlayerInstance : Save update in the character_skills table of the database
+ *
Remove all its Func objects from the Creature calculator set
Overridden in:
+ *
PlayerInstance : Save update in the character_skills table of the database
* @param skill The Skill to remove from the Creature
* @return The Skill removed
*/
@@ -8079,7 +8083,8 @@ public class PlayerInstance extends Playable
/**
* Return True if the PlayerInstance is autoAttackable.
- * Actions:
+ *
+ * Actions:
*
*
Check if the attacker isn't the PlayerInstance Pet
*
Check if the attacker is MonsterInstance
@@ -8241,7 +8246,8 @@ public class PlayerInstance extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the skill isn't toggle and is offensive
*
Check if the target is in the skill cast range
@@ -8599,15 +8605,18 @@ public class PlayerInstance extends Playable
/**
* Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers.
- * Concept:
- * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
* In order to inform other players of this PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet
- * Actions:
+ *
+ * Actions:
*
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
*
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
*
- * Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
+ * Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
*/
@Override
public void updateAbnormalVisualEffects()
@@ -9434,7 +9443,7 @@ public class PlayerInstance extends Playable
}
/**
- * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
+ * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
* 2. This method no longer changes the active _classIndex of the player. This is only done by the calling of setActiveClass() method as that should be the only way to do so.
* @param classId
* @param classIndex
@@ -10605,7 +10614,8 @@ public class PlayerInstance extends Playable
/**
* Manage the delete task of a PlayerInstance (Leave Party, Unsummon pet, Save its inventory in the database, Remove it from the world...).
- * Actions:
+ *
+ * Actions:
*
*
If the PlayerInstance is in observer mode, set its position to its position before entering in observer mode
*
Set the online Flag to True or False and update the characters table of the database with online status and lastAccess
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
index d58c4a2344..1538e27eb0 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
@@ -31,7 +31,8 @@ public class RaidBossInstance extends MonsterInstance
/**
* Constructor of RaidBossInstance (use Creature and NpcInstance constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the RaidBossInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the RaidBossInstance
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
index 0746dde009..e66a7d8d7f 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
@@ -152,7 +152,8 @@ public class StaticObjectInstance extends Creature
/**
* Set the meshIndex of the object.
- * Values :
+ *
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
@@ -166,7 +167,7 @@ public class StaticObjectInstance extends Creature
}
/**
- * Values :
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
index 0a935e82db..f6b1fdd6c1 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
@@ -265,7 +265,8 @@ public class CreatureStat
/**
* Return the MAtk (base+modifier) of the Creature.
- * Example of use: Calculate Magic damage
+ *
+ * Example of use: Calculate Magic damage
* @return
*/
public int getMAtk()
@@ -290,7 +291,7 @@ public class CreatureStat
}
/**
- * Example of use : Calculate Magic damage.
+ * Example of use : Calculate Magic damage.
* @return the MDef (base+modifier) of the Creature against a skill in function of abnormal effects in progress.
*/
public int getMDef()
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
index a34f446f36..ecb6ca7cf2 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
@@ -57,11 +57,14 @@ public class CreatureStatus
/**
* Add the object to the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use:
+ *
+ * Example of use:
*
*
Target a PC or NPC
*
@@ -79,11 +82,14 @@ public class CreatureStatus
/**
* Remove the object from the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use :
+ *
+ * Example of use :
*
*
Untarget a PC or NPC
*
@@ -96,8 +102,10 @@ public class CreatureStatus
/**
* Return the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
* @return The list of Creature to inform or null if empty
@@ -188,7 +196,8 @@ public class CreatureStatus
/**
* Start the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Calculate the regen task period
*
Launch the HP/MP/CP Regeneration task with Medium priority
@@ -208,7 +217,8 @@ public class CreatureStatus
/**
* Stop the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/base/SubClass.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/base/SubClass.java
index 6e1b4abe48..8e382665f8 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/base/SubClass.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/base/SubClass.java
@@ -20,7 +20,7 @@ import org.l2jmobius.Config;
import org.l2jmobius.gameserver.data.xml.impl.ExperienceData;
/**
- * Character Sub-Class Definition
+ * Character Sub-Class Definition
* Used to store key information about a character's sub-class.
* @author Tempy
*/
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
index ee74925752..a54baee819 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
@@ -62,7 +62,7 @@ public abstract class AbstractEffect
/**
* Calculates whether this effects land or not.
* If it lands will be scheduled and added to the character effect list.
- * Override in effect implementation to change behavior.
+ * Override in effect implementation to change behavior.
* Warning: Must be used only for instant effects continuous effects will not call this they have their success handled by activate_rate.
* @param effector
* @param effected
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/entity/Castle.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/entity/Castle.java
index c0ec518a28..ce46b99bf1 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/entity/Castle.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/entity/Castle.java
@@ -615,8 +615,7 @@ public class Castle extends AbstractResidence
}
/**
- * Respawn all doors on castle grounds
- *
+ * Respawn all doors on castle grounds
* @param isDoorWeak
*/
public void spawnDoor(boolean isDoorWeak)
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/entity/Fort.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/entity/Fort.java
index 755bee3310..667c694f50 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/entity/Fort.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/entity/Fort.java
@@ -273,8 +273,7 @@ public class Fort extends AbstractResidence
}
/**
- * Move non clan members off fort area and to nearest town.
- *
+ * Move non clan members off fort area and to nearest town.
*/
public void banishForeigners()
{
@@ -516,8 +515,7 @@ public class Fort extends AbstractResidence
}
/**
- * Respawn all doors on fort grounds
- *
+ * Respawn all doors on fort grounds.
*/
public void resetDoors()
{
@@ -976,11 +974,10 @@ public class Fort extends AbstractResidence
}
/**
- * @return Returns state of fortress.
- *
- * 0 - not decided yet
- * 1 - independent
- * 2 - contracted with castle
+ * @return Returns state of fortress.
+ * 0 - not decided yet
+ * 1 - independent
+ * 2 - contracted with castle
*/
public int getFortState()
{
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/entity/FortSiege.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
index fe98f73d82..d4e5ae83b5 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
@@ -703,14 +703,14 @@ public class FortSiege implements Siegable
}
/**
- * Register clan as attacker.
+ * Register clan as attacker.
* @param player The PlayerInstance of the player trying to register.
* @param checkConditions True if should be checked conditions, false otherwise
- * @return Number that defines what happened.
- * 0 - Player don't have clan.
- * 1 - Player don't have enough adena to register.
- * 2 - Is not right time to register Fortress now.
- * 3 - Players clan is already registered to siege.
+ * @return Number that defines what happened.
+ * 0 - Player don't have clan.
+ * 1 - Player don't have enough adena to register.
+ * 2 - Is not right time to register Fortress now.
+ * 3 - Players clan is already registered to siege.
* 4 - Players clan is successfully registered to siege.
*/
public int addAttacker(PlayerInstance player, boolean checkConditions)
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/entity/Hero.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/entity/Hero.java
index 49b405d179..8c9bbb0bc0 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/entity/Hero.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/entity/Hero.java
@@ -866,7 +866,7 @@ public class Hero
}
/**
- * Saving task for {@link Hero}
+ * Saving task for {@link Hero}
* Save all hero messages to DB.
*/
public void shutdown()
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/entity/Siege.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/entity/Siege.java
index a10a23405c..bdd37c1c8c 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/entity/Siege.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/entity/Siege.java
@@ -383,8 +383,7 @@ public class Siege implements Siegable
}
/**
- * When control of castle changed during siege
- *
+ * When control of castle changed during siege.
*/
public void midVictory()
{
@@ -470,8 +469,7 @@ public class Siege implements Siegable
}
/**
- * When siege starts
- *
+ * When siege starts.
*/
@Override
public void startSiege()
@@ -529,8 +527,7 @@ public class Siege implements Siegable
}
/**
- * Announce to player.
- *
+ * Announce to player.
* @param message The SystemMessage to send to player
* @param bothSides True - broadcast to both attackers and defenders. False - only to defenders.
*/
@@ -682,8 +679,7 @@ public class Siege implements Siegable
}
/**
- * Approve clan as defender for siege
- *
+ * Approve clan as defender for siege
* @param clanId The int of player's clan id
*/
public void approveSiegeDefenderClan(int clanId)
@@ -717,8 +713,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is attacker
- *
+ * Return true if clan is attacker
* @param clan The Clan of the player
*/
@Override
@@ -728,8 +723,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is defender
- *
+ * Return true if clan is defender
* @param clan The Clan of the player
*/
@Override
@@ -866,8 +860,7 @@ public class Siege implements Siegable
}
/**
- * Register clan as attacker
- *
+ * Register clan as attacker
* @param player The PlayerInstance of the player trying to register
*/
public void registerAttacker(PlayerInstance player)
@@ -948,8 +941,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clanId The int of player's clan id
*/
public void removeSiegeClan(int clanId)
@@ -975,8 +967,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clan clan being removed
*/
public void removeSiegeClan(Clan clan)
@@ -989,8 +980,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param player The PlayerInstance of player/clan being removed
*/
public void removeSiegeClan(PlayerInstance player)
@@ -999,8 +989,7 @@ public class Siege implements Siegable
}
/**
- * Start the auto tasks
- *
+ * Start the auto tasks.
*/
public void startAutoTask()
{
@@ -1073,8 +1062,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as attacker
- *
+ * Add clan as attacker
* @param clanId The int of clan's id
*/
private void addAttacker(int clanId)
@@ -1083,8 +1071,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender
- *
+ * Add clan as defender
* @param clanId The int of clan's id
*/
private void addDefender(int clanId)
@@ -1105,8 +1092,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender waiting approval
- *
+ * Add clan as defender waiting approval
* @param clanId The int of clan's id
*/
private void addDefenderWaiting(int clanId)
@@ -1198,8 +1184,7 @@ public class Siege implements Siegable
}
/**
- * Return the correct siege date as Calendar.
- *
+ * Return the correct siege date as Calendar.
*/
public void correctSiegeDateTime()
{
@@ -1348,8 +1333,7 @@ public class Siege implements Siegable
}
/**
- * Save registration to database.
- *
+ * Save registration to database.
* @param clan The Clan of player
* @param typeId -1 = owner 0 = defender, 1 = attacker, 2 = defender waiting
* @param isUpdateRegistration
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/events/AbstractScript.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
index 0ef2316e35..c27882656b 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
@@ -3018,7 +3018,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param array of values.
* @return one value from array.
@@ -3034,7 +3034,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param list of values.
* @return one value from list.
@@ -3049,7 +3049,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param array of Integers.
* @return one Integer from array.
*/
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
index 0da0f1ff20..a4335762c0 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
@@ -53,7 +53,7 @@ public class PlayerSkillHolder implements ISkillsHolder
}
/**
- * Add a skill to the skills map.
+ * Add a skill to the skills map.
* @param skill
*/
@Override
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/instancezone/Instance.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
index 6603cc529b..6fdb98f39a 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
@@ -329,7 +329,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Get player by ID from instance.
+ * Get player by ID from instance.
* @param id objectId of player
* @return first player by ID, otherwise {@code null}
*/
@@ -803,7 +803,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Set reenter penalty for players associated with current instance.
+ * Set reenter penalty for players associated with current instance.
* @param time penalty time in milliseconds since January 1, 1970
*/
public void setReenterTime(long time)
@@ -860,8 +860,7 @@ public class Instance implements IIdentifiable, INamable
/**
* Set instance world to finish state.
- * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
- * See {@link Instance#finishInstance(int)} for more details.
+ * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
*/
public void finishInstance()
{
@@ -1016,7 +1015,7 @@ public class Instance implements IIdentifiable, INamable
// Template methods
// ----------------------------------------------
/**
- * Get parameters from instance template.
+ * Get parameters from instance template.
* @return template parameters
*/
public StatSet getTemplateParameters()
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
index 8b8365eb78..5aa51439ca 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
@@ -891,7 +891,7 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Drop item from inventory by using its objectID and updates database
+ * Drop item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
@@ -1192,7 +1192,7 @@ public abstract class Inventory extends ItemContainer
/**
* Equips an item in the given slot of the paperdoll.
- * Remark : The item must be in the inventory already.
+ * Remark : The item must be in the inventory already.
* @param slot : int pointing out the slot of the paperdoll
* @param item : ItemInstance pointing out the item to add in slot
* @return ItemInstance designating the item placed in the slot before
@@ -1397,8 +1397,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in body slot and returns alterations.
- * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(int)} instead
+ * Unequips item in body slot and returns alterations.
+ * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(int)} instead
* @param slot : int designating the slot of the paperdoll
* @return ItemInstance[] : list of changes
*/
@@ -1428,8 +1428,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in slot and returns alterations
- * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
+ * Unequips item in slot and returns alterations
+ * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
* @param slot : int designating the slot
* @return ItemInstance[] : list of items altered
*/
@@ -1601,8 +1601,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Equips item and returns list of alterations
- * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
+ * Equips item and returns list of alterations
+ * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
* @param item : ItemInstance corresponding to the item
* @return ItemInstance[] : list of alterations
*/
@@ -2178,8 +2178,9 @@ public abstract class Inventory extends ItemContainer
/**
* Reduce the arrow number of the Creature.
- * Overridden in :
- *
PlayerInstance
+ *
+ * Overridden in:
+ *
PlayerInstance
* @param type
*/
public void reduceArrowCount(EtcItemType type)
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
index 2847ecdcd5..2e5f90dcee 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
@@ -530,7 +530,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its objectID and updates database
+ * Destroy item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -545,7 +545,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its itemId and updates database
+ * Destroy item from inventory by using its itemId and updates database
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
index 0a9e6cc66d..5d3bed530d 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
@@ -113,7 +113,7 @@ public class PetInventory extends Inventory
public void restore()
{
super.restore();
- // check for equiped items from other pets
+ // check for equipped items from other pets
for (ItemInstance item : _items.values())
{
if (item.isEquipped() && !item.getItem().checkCondition(_owner, _owner, false))
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
index e41321f471..03403f51d4 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
@@ -586,7 +586,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
+ * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -632,7 +632,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
+ * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/items/Item.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/items/Item.java
index 1bcfe92dd5..6a6a0a407f 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/items/Item.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/items/Item.java
@@ -58,7 +58,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
/**
- * This class contains all informations concerning the item (weapon, armor, etc).
+ * This class contains all informations concerning the item (weapon, armor, etc).
* Mother class of :
*
*
Armor
@@ -173,8 +173,7 @@ public abstract class Item extends ListenersContainer implements IIdentifiable
private boolean _isBlessed;
/**
- * Constructor of the Item that fill class variables.
- *
+ * Constructor of the Item that fill class variables.
* @param set : StatSet corresponding to a set of couples (key,value) for description of the item
*/
protected Item(StatSet set)
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
index a060bb33b8..1208ac605a 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
@@ -25,7 +25,7 @@ import org.l2jmobius.gameserver.model.items.type.CrystalType;
import org.l2jmobius.gameserver.model.items.type.ItemType;
/**
- * This class contains ItemInstance
+ * This class contains ItemInstance
* Use to sort ItemInstance of :
*
*
Armor
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
index f1e30c48b4..d5f6a0fba5 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
@@ -258,19 +258,15 @@ public class ItemInstance extends WorldObject
}
/**
- * Remove a ItemInstance from the world and send server->client GetItem packets.
- *
- * Actions :
- *
+ * Remove a ItemInstance from the world and send server->client GetItem packets.
+ *
+ * Actions:
*
Send a Server->Client Packet GetItem to player that pick up and its _knowPlayers member
- *
Remove the WorldObject from the world
- *
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- *
- * Example of use :
- *
- *
Do Pickup Item : PCInstance and Pet
- *
+ *
Remove the WorldObject from the world
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ *
+ * Example of use:
+ *
Do Pickup Item : PCInstance and Pet
* @param creature Character that pick up the item
*/
public void pickupMe(Creature creature)
@@ -401,9 +397,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the location of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the location of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param loc : ItemLocation (enumeration)
* @param loc_data : int designating the slot where the item is stored or the village for freights
*/
@@ -432,8 +427,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
+ * Sets the quantity of the item.
* @param count the new count to set
*/
public void setCount(long count)
@@ -456,9 +450,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the quantity of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param process : String Identifier of process triggering this action
* @param count : int
* @param creator : PlayerInstance Player requesting the item creation
@@ -1468,7 +1461,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
*/
public void updateDatabase()
{
@@ -1476,7 +1469,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
* @param force if the update should necessarilly be done.
*/
public void updateDatabase(boolean force)
@@ -1512,20 +1505,17 @@ public class ItemInstance extends WorldObject
}
/**
- * Init a dropped ItemInstance and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a dropped ItemInstance and add it in the world as a visible object.
+ *
+ * Actions:
*
Set the x,y,z position of the ItemInstance dropped and update its _worldregion
*
Add the ItemInstance dropped to _visibleObjects of its WorldRegion
- *
Add the ItemInstance dropped in the world as a visible object
- *
- * Caution : This method DOESN'T ADD the object to _allObjects of World
- *
- * Example of use :
- *
+ *
Add the ItemInstance dropped in the world as a visible object
+ * Caution: This method DOESN'T ADD the object to _allObjects of World
+ *
+ * Example of use:
*
Drop item
- *
Call Pet
+ *
Call Pet
*/
public class ItemDropTask implements Runnable
{
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/quest/Quest.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/quest/Quest.java
index edbeddd441..bd9c1d4e5e 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/quest/Quest.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/quest/Quest.java
@@ -997,7 +997,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever a player attacks an NPC that is registered for the quest.
- * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
+ * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
* @param npc this parameter contains a reference to the exact instance of the NPC that got attacked.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked the NPC.
* @param damage this parameter represents the total damage that this attack has inflicted to the NPC.
@@ -1134,7 +1134,7 @@ public class Quest extends AbstractScript implements IIdentifiable
* The coder of the script may need to create a new quest state (if necessary).
* Note 3:
* The returned value of onFirstTalk replaces the default HTML that would have otherwise been loaded from a sub-folder of DatapackRoot/game/data/html/.
- * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
+ * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
* @param npc this parameter contains a reference to the exact instance of the NPC that the player is talking with.
* @param player this parameter contains a reference to the exact instance of the player who is talking to the NPC.
* @return the text returned by the event (may be {@code null}, a filename or just text)
@@ -1261,7 +1261,7 @@ public class Quest extends AbstractScript implements IIdentifiable
}
/**
- * This function is called whenever an NPC is teleport.
+ * This function is called whenever an NPC is teleport.
* @param npc this parameter contains a reference to the exact instance of the NPC who just teleport.
*/
protected void onTeleport(Npc npc)
@@ -1271,7 +1271,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever an NPC is called by another NPC in the same faction.
* @param npc this parameter contains a reference to the exact instance of the NPC who is being asked for help.
- * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
+ * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked.
* @param isSummon this parameter if it's {@code false} it denotes that the attacker was indeed the player, else it specifies that the attacker was the player's summon.
* @return
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
index 2a4be84453..72c63b4c74 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
@@ -689,7 +689,7 @@ public class SkillCaster implements Runnable
}
/**
- * Stops this casting and cleans all cast parameters.
+ * Stops this casting and cleans all cast parameters.
* @param aborted if {@code true}, server will send packets to the player, notifying him that the skill has been aborted.
*/
public void stopCasting(boolean aborted)
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/stats/Formulas.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/stats/Formulas.java
index 57bb765173..2b3c7f4b23 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/stats/Formulas.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/stats/Formulas.java
@@ -550,7 +550,7 @@ public class Formulas
* Returns:
* 0 = shield defense doesn't succeed
* 1 = shield defense succeed
- * 2 = perfect block
+ * 2 = perfect block
* @param attacker
* @param target
* @param sendSysMsg
@@ -655,7 +655,7 @@ public class Formulas
}
/**
- * Calculates the effect landing success.
+ * Calculates the effect landing success.
* @param attacker the attacker
* @param target the target
* @param skill the skill
@@ -963,9 +963,9 @@ public class Formulas
}
/**
- * Calculates the attribute bonus with the following formula:
- * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
- * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
+ * Calculates the attribute bonus with the following formula:
+ * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
+ * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
* diff == 0, so AttBonus = 1
* It has been tested that physical skills do get affected by attack attribute even
* if they don't have any attribute. In that case only the biggest attack attribute is taken.
@@ -1207,7 +1207,7 @@ public class Formulas
* Confuse
* Compelling,
* Knockback
- * Pull
+ * Pull
* @param baseChance chance from effect parameter
* @param attacker
* @param target
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
index 2988807295..c621fab8f6 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
* A Function object is a component of a Calculator created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...).
* In fact, each calculator is a table of functions object in which each function represents a mathematics function:
* FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
+ * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
* Indeed, functions with lowest priority order is executed first and functions with the same order are executed in unspecified order.
* @author Zoey76
*/
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
index 1cb8bc9d02..d898d2c397 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
@@ -71,7 +71,7 @@ public class TaxZone extends ZoneType
}
/**
- * Gets castle associated with tax zone.
+ * Gets castle associated with tax zone.
* @return instance of {@link Castle} if found otherwise {@code null}
*/
public Castle getCastle()
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
index ca7f8d6d99..dee0ea769d 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
@@ -55,8 +55,8 @@ public class BlowFishKeygen
}
/**
- * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
- * Thus when getting a key with interests other then read-only a copy must be performed.
+ * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
+ * Thus when getting a key with interests other then read-only a copy must be performed.
* @return A key from this keygen pool.
*/
public static byte[] getRandomKey()
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
index d8f6f3cd13..417a8a1c57 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
@@ -546,7 +546,7 @@ public class RequestAcquireSkill implements IClientIncomingPacket
/**
* Perform a simple check for current player and skill.
* Takes the needed SP if the skill require it and all requirements are meet.
- * Consume required items if the skill require it and all requirements are meet.
+ * Consume required items if the skill require it and all requirements are meet.
* @param player the skill learning player.
* @param trainer the skills teaching Npc.
* @param skillLearn the skill to be learn.
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
index 99188ca980..a4accd8a47 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
@@ -96,7 +96,7 @@ public class RequestDestroyItem implements IClientIncomingPacket
// if we can't find the requested item, its actually a cheat
if (itemToRemove == null)
{
- // gm can destroy other player items
+ // GM can destroy other player items
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
index 206640aad7..eb85f84823 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
@@ -50,7 +50,7 @@ public class RequestGMCommand implements IClientIncomingPacket
@Override
public void run(GameClient client)
{
- // prevent non gm or low level GMs from vieweing player stuff
+ // prevent non GM or low level GMs from vieweing player stuff
if (!client.getPlayer().isGM() || !client.getPlayer().getAccessLevel().allowAltG())
{
return;
@@ -99,7 +99,7 @@ public class RequestGMCommand implements IClientIncomingPacket
}
case 6: // player warehouse
{
- // gm warehouse view to be implemented
+ // GM warehouse view to be implemented
if (player != null)
{
client.sendPacket(new GMViewWarehouseWithdrawList(player));
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
index 442b4ad701..c2650bf6a0 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
@@ -90,7 +90,7 @@ public class UseItem implements IClientIncomingPacket
final ItemInstance item = player.getInventory().getItemByObjectId(_objectId);
if (item == null)
{
- // gm can use other player item
+ // GM can use other player item
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
index d19f06f141..f4f0c5ca81 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.network.OutgoingPackets;
import org.l2jmobius.gameserver.network.clientpackets.RequestAllyInfo;
/**
- * Sent in response to {@link RequestAllyInfo}, if applicable.
+ * Sent in response to {@link RequestAllyInfo}, if applicable.
* @author afk5min
*/
public class AllianceInfo implements IClientOutgoingPacket
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
index 80a7042463..1fd7ec663a 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
@@ -20,9 +20,9 @@ import org.l2jmobius.commons.network.PacketWriter;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Eva's Inferno event packet. info params:
- * type (1 - %, 2 - npcId),
- * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
+ * Eva's Inferno event packet. info params:
+ * type (1 - %, 2 - npcId),
+ * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
* state (0-1), endtime (only when type 2)
*/
public class ExBrBuffEventState implements IClientOutgoingPacket
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
index 52cadba571..35fcc3b4a8 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
@@ -114,7 +114,7 @@ public interface IClientOutgoingPacket extends IOutgoingPacket
}
/**
- * Sends this packet to the target player, useful for lambda operations like
+ * Sends this packet to the target player, useful for lambda operations like
* {@code World.getInstance().getPlayers().forEach(packet::sendTo)}
* @param player
*/
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
index 1a0c26e078..7fd8a52be7 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
@@ -24,25 +24,25 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Attacker List in the SiegeInfo Window
- *
- * c = ca
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Attackers Clans?
- * d = Number of Attackers Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Attacker List in the SiegeInfo Window
+ *
+ * c = ca
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Attackers Clans?
+ * d = Number of Attackers Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeAttackerList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
index 7066b92fa1..52e10be7c6 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
@@ -25,26 +25,26 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Defender List in the SiegeInfo Window
- *
- * c = 0xcb
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Defending Clans?
- * d = Number of Defending Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Defender List in the SiegeInfo Window
+ *
+ * c = 0xcb
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Defending Clans?
+ * d = Number of Defending Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeDefenderList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
index 355cea9565..6c647eec90 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
@@ -27,18 +27,18 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Shows the Siege Info
- *
- * c = c9
- * d = CastleID
- * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
- * d = Owner ClanID
- * S = Owner ClanName
- * S = Owner Clan LeaderName
- * d = Owner AllyID
- * S = Owner AllyName
- * d = current time (seconds)
- * d = Siege time (seconds) (0 for selectable)
+ * Shows the Siege Info
+ *
+ * c = c9
+ * d = CastleID
+ * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
+ * d = Owner ClanID
+ * S = Owner ClanName
+ * S = Owner Clan LeaderName
+ * d = Owner AllyID
+ * S = Owner AllyName
+ * d = current time (seconds)
+ * d = Siege time (seconds) (0 for selectable)
* d = (UNKNOW) Siege Time Select Related?
* @author KenM
*/
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/scripting/ManagedScript.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
index f2b91791ab..00235baa25 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
@@ -21,7 +21,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
/**
- * Abstract class for classes that are meant to be implemented by scripts.
+ * Abstract class for classes that are meant to be implemented by scripts.
* @author KenM
*/
public abstract class ManagedScript
@@ -41,7 +41,7 @@ public abstract class ManagedScript
public abstract Path getScriptPath();
/**
- * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
+ * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
* Subclasses of this class should override this method to properly refresh their bindings when necessary.
* @return true if and only if the script was reloaded, false otherwise.
*/
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
index 34ba313686..620f020f4e 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
@@ -77,7 +77,7 @@ public class AttackStanceTaskManager
}
/**
- * Checks for attack stance task.
+ * Checks for attack stance task.
* @param actor the actor
* @return {@code true} if the character has an attack stance task, {@code false} otherwise
*/
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/ui/frmAbout.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/ui/frmAbout.java
index a3e5c2cc67..4d161afb73 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/ui/frmAbout.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/ui/frmAbout.java
@@ -83,7 +83,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblProtocols);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 128, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/util/Broadcast.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/util/Broadcast.java
index e0d798deff..5a7eb1a4df 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/util/Broadcast.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/util/Broadcast.java
@@ -40,11 +40,13 @@ public class Broadcast
private static final Logger LOGGER = Logger.getLogger(Broadcast.class.getName());
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -60,11 +62,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -108,11 +112,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
* @param radius
@@ -128,10 +134,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param creature
* @param mov
*/
@@ -162,10 +170,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance present in the world.
- * Concept :
- * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance present in the world.
+ *
+ * Concept:
+ *
+ * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param packet
*/
public static void toAllOnlinePlayers(IClientOutgoingPacket packet)
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/util/MinionList.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/util/MinionList.java
index 29a8c04c1e..9a6f694eaa 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/util/MinionList.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/util/MinionList.java
@@ -58,13 +58,11 @@ public class MinionList
}
/**
- * Manage the spawn of Minions.
- *
- * Actions :
- *
+ * Manage the spawn of Minions.
+ *
+ * Actions:
*
Get the Minion data of all Minions that must be spawn
- *
For each Minion type, spawn the amount of Minion needed
- *
+ *
For each Minion type, spawn the amount of Minion needed
* @param minions
*/
public void spawnMinions(List minions)
@@ -260,16 +258,14 @@ public class MinionList
}
/**
- * Init a Minion and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a Minion and add it in the world as a visible object.
+ *
+ * Actions:
*
Get the template of the Minion to spawn
*
Create and Init the Minion and generate its Identifier
*
Set the Minion HP, MP and Heading
*
Set the Minion leader to this RaidBoss
- *
Init the position of the Minion and add it in the world as a visible object
- *
+ *
Init the position of the Minion and add it in the world as a visible object
* @param master MonsterInstance used as master for this minion
* @param minionId The NpcTemplate Identifier of the Minion to spawn
* @return
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/util/PrimeFinder.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/util/PrimeFinder.java
index c9532000c8..20016811a1 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/util/PrimeFinder.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/util/PrimeFinder.java
@@ -33,7 +33,7 @@ import java.util.Arrays;
public class PrimeFinder
{
/**
- * The largest prime this class can generate; currently equal to Integer.MAX_VALUE.
+ * The largest prime this class can generate; currently equal to Integer.MAX_VALUE
*/
public static final int LARGEST_PRIME = Integer.MAX_VALUE; // yes, it is prime.
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
index 2e46e0a048..0a81e323a3 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
@@ -67,8 +67,7 @@ public class TimeAmountInterpreter
}
/**
- * Appends an user-friendly description of the given amount of time to the specified text builder.
- *
+ * Appends an user-friendly description of the given amount of time to the specified text builder.
* Please keep in mind, that this method is primarily designed to be used with heap text builders. Therefore, if the given text builder throws an {@link IOException}, this exception will be wrapped in a {@link RuntimeException} and returned to the caller as an unchecked exception.
* @param
* @param textBuilder a character sequence builder
diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/loginserver/ui/frmAbout.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/loginserver/ui/frmAbout.java
index 8488868090..06a5d95539 100644
--- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/loginserver/ui/frmAbout.java
+++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/loginserver/ui/frmAbout.java
@@ -75,7 +75,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblLoginServer);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 148, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/custom/listeners/ListenerTest.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/custom/listeners/ListenerTest.java
index 0f855db33f..ed9d1c76f4 100644
--- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/custom/listeners/ListenerTest.java
+++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/custom/listeners/ListenerTest.java
@@ -114,7 +114,7 @@ public class ListenerTest extends AbstractNpcAI
}
/**
- * Prioritized event notification
+ * Prioritized event notification
* This method will be invoked as soon as creature from level range between 1 and 10 dies.
* This listener is registered into individual npcs container.
* @param event
diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
index 4185463b7a..a20f09c9cd 100644
--- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
+++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
@@ -26,18 +26,15 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
public class ArtefactInstanceAction implements IActionHandler
{
/**
- * Manage actions when a player click on the ArtefactInstance.
- *
- * Actions :
- *
+ * Manage actions when a player click on the ArtefactInstance.
+ *
+ * Actions:
*
Set the NpcInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
- *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
*/
@Override
public boolean action(PlayerInstance player, WorldObject target, boolean interact)
diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
index bb73cd0bae..1f204280f0 100644
--- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
+++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
@@ -36,27 +36,22 @@ import org.l2jmobius.gameserver.network.serverpackets.MoveToPawn;
public class NpcAction implements IActionHandler
{
/**
- * Manage actions when a player click on the Npc.
- *
- * Actions on first click on the Npc (Select it) :
- *
+ * Manage actions when a player click on the Npc.
+ *
+ * Actions on first click on the Npc (Select it):
*
Set the Npc as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, send a Server->Client packet StatusUpdate to the PlayerInstance in order to update Npc HP bar
- *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
- *
- * Actions on second click on the Npc (Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
+ *
+ * Actions on second click on the Npc (Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, notify the PlayerInstance AI with AI_INTENTION_ATTACK (after a height verification)
- *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
- *
- * Caution : Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
+ * Caution: Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The PlayerInstance that start an action on the Npc
*/
@Override
diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
index 28aa39ab39..d52da54398 100644
--- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
+++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
@@ -31,25 +31,20 @@ public class PlayerInstanceAction implements IActionHandler
private static final int CURSED_WEAPON_VICTIM_MIN_LEVEL = 21;
/**
- * Manage actions when a player click on this PlayerInstance.
- *
- * Actions on first click on the PlayerInstance (Select it) :
- *
+ * Manage actions when a player click on this PlayerInstance.
+ *
+ * Actions on first click on the PlayerInstance (Select it):
*
Set the target of the player
- *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
- *
- * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
+ *
+ * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the player (display the select window)
*
If target PlayerInstance has a Private Store, notify the player AI with AI_INTENTION_INTERACT
- *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
- *
- *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
+ *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The player that start an action on target PlayerInstance
*/
@Override
diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
index 20a4e8f57c..6da5c01385 100644
--- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
+++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
@@ -29,7 +29,7 @@ public class PlayerInstanceActionShift implements IActionShiftHandler
{
if (player.isGM())
{
- // Check if the gm already target this l2pcinstance
+ // Check if the GM already target this l2pcinstance
if (player.getTarget() != target)
{
// Set the target of the PlayerInstance player
diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
index ea73fa17a1..1aa5e5074a 100644
--- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
+++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
@@ -86,13 +86,13 @@ public class AdminAdmin implements IAdminCommandHandler
else if (command.startsWith("admin_gmliston"))
{
AdminData.getInstance().showGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Registered into gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Registered into GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_gmlistoff"))
{
AdminData.getInstance().hideGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Removed from gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Removed from GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_silence"))
diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
index 2efc2df69a..3fed3db486 100644
--- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
+++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
@@ -486,7 +486,7 @@ public class AdminEventEngine implements IAdminCommandHandler
sb.append("
");
sb.append("
");
sb.append("
");
- sb.append("
");
+ sb.append("
");
sb.append("Teams' names:
");
for (int i = 1; (i - 1) < teamnumbers; i++) // Team names params
{
diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
index 5e3fc05aa9..91259505bf 100644
--- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
+++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
@@ -31,7 +31,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
/**
- * This class handles following admin commands: - gm = turns gm mode on/off
+ * This class handles following admin commands: - GM = turns GM mode on/off
* @version $Revision: 1.1.2.1 $ $Date: 2005/03/15 21:32:48 $
*/
public class AdminFightCalculator implements IAdminCommandHandler
diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
index a32a84dd35..e9acb6a1f6 100644
--- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
+++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles following admin commands: - gm = turns gm mode off
+ * This class handles following admin commands: - GM = turns GM mode off
* @version $Revision: 1.2.4.4 $ $Date: 2005/04/11 10:06:06 $
*/
public class AdminGm implements IAdminCommandHandler
diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
index 364bba90a9..f0b2f857a4 100644
--- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
+++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles commands for gm to forge packets
+ * This class handles commands for GM to forge packets
* @author Maktakien, HorridoJoho
*/
public class AdminPForge implements IAdminCommandHandler
diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
index 9dd195001c..b5e732f3f7 100644
--- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
+++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
@@ -30,14 +30,14 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * Pledge Manipulation:
- *
With target in a character without clan:
+ * Pledge Manipulation:
+ *
With target in a character without clan:
* //pledge create clanname
- *
With target in a clan leader:
- * //pledge info
- * //pledge dismiss
- * //pledge setlevel level
- * //pledge rep reputation_points
+ *
With target in a clan leader:
+ * //pledge info
+ * //pledge dismiss
+ * //pledge setlevel level
+ * //pledge rep reputation_points
*/
public class AdminPledge implements IAdminCommandHandler
{
diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
index fb1eed2f9f..9be9eb040d 100644
--- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
+++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
@@ -78,8 +78,9 @@ public class QuestLink implements IBypassHandler
/**
* Open a choose quest window on client with all quests available of the NpcInstance.
+ *
* Actions:
- *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
+ *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
* @param player The PlayerInstance that talk with the NpcInstance
* @param npc The table containing quests of the NpcInstance
* @param quests
@@ -231,6 +232,7 @@ public class QuestLink implements IBypassHandler
/**
* Open a quest window on client with the text of the NpcInstance.
+ *
* Actions:
*
*
Get the text of the quest state in the folder data/scripts/quests/questId/stateId.htm
Fly Radius means the distance between starting point and final point, it must be an integer.
*
Fly Course means the movement direction: imagine a compass above player's head, making north player's heading. So if fly course is 180, player will go backwards (good for blink, e.g.).
*
- * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
+ * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
* If target is effector, put in XML self="1", this will make _actor = getEffector(). This, combined with target type, allows more complex actions like flying target's backwards or player's backwards.
* @author DrHouse
*/
diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
index ca935396a6..e4e937ef41 100644
--- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
+++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.network.serverpackets.ValidateLocation;
/**
* This Blink effect switches the location of the caster and the target.
- * This effect is totally done based on client description.
+ * This effect is totally done based on client description.
* Assume that geodata checks are done on the skill cast and not needed to repeat here.
* @author Nik
*/
diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
index 0f1802d986..00474ef88a 100644
--- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
+++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.effects.EffectFlag;
import org.l2jmobius.gameserver.model.effects.EffectType;
/**
- * An effect that blocks the player (NPC?) control.
+ * An effect that blocks the player (NPC?) control.
* It prevents moving, casting, social actions, etc.
* @author Nik
*/
diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
index 6b463fd9d2..f94ecb0b46 100644
--- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
+++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
@@ -21,7 +21,7 @@ import org.l2jmobius.gameserver.model.effects.AbstractEffect;
import org.l2jmobius.gameserver.model.effects.EffectFlag;
/**
- * Effect that blocks damage and heals to HP/MP.
+ * Effect that blocks damage and heals to HP/MP.
* Regeneration or DOT shouldn't be blocked, Vampiric Rage and Balance Life as well.
* @author Nik
*/
diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
index 9eb0b4e233..8c7fddca06 100644
--- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
+++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
/**
* An effect that changes damage taken from an attack.
- * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
+ * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
* Exceptions for this effect appears to be DOT effects and terrain damage, they are unaffected by this stat.
* As for example in retail this effect does reduce reflected damage taken (because it is received damage), as well as it does not decrease reflected damage done,
* because reflected damage is being calculated with the original attack damage and not this altered one.
diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
index a4808a3312..5624fe4e60 100644
--- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
+++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
@@ -34,10 +34,10 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
- * Current formulas were tested to be the best matching retail, damage appears to be identical:
- * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
- * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
+ * Physical Attack effect implementation.
+ * Current formulas were tested to be the best matching retail, damage appears to be identical:
+ * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
+ * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
* @author Nik
*/
public class PhysicalAttack extends AbstractEffect
diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
index 332fa3fa4f..17f093e386 100644
--- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
+++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
index 34e643a5b1..4f29f685f7 100644
--- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
+++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
index d70a5a1f64..75bfb2f7db 100644
--- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
+++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.zone.ZoneId;
/**
* Not Friend affect object implementation. Based on Gracia Final retail tests.
* Such are considered flagged/karma players (except party/clan/ally). Doesn't matter if in command channel.
- * In arena such are considered clan/ally/command channel (except party).
+ * In arena such are considered clan/ally/command channel (except party).
* In peace zone such are considered monsters.
* Monsters consider such all players, npcs (Citizens, Guild Masters, Merchants, Guards, etc. except monsters). Doesn't matter if in peace zone or arena.
* @author Nik
diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/instances/AbstractInstance.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/instances/AbstractInstance.java
index 17d748fad2..354b0d5137 100644
--- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/instances/AbstractInstance.java
+++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/instances/AbstractInstance.java
@@ -62,7 +62,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Get instance world associated with {@code player}.
+ * Get instance world associated with {@code player}.
* @param player player who wants get instance world
* @return instance world if found, otherwise null
*/
@@ -229,8 +229,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Sets instance to finish state.
- * See {@link Instance#finishInstance()} for more details.
+ * Sets instance to finish state.
* @param player player used for determine current instance world
*/
protected void finishInstance(PlayerInstance player)
@@ -244,7 +243,6 @@ public abstract class AbstractInstance extends AbstractNpcAI
/**
* Sets instance to finish state.
- * See {@link Instance#finishInstance(int)} for more details.
* @param player player used for determine current instance world
* @param delay finish delay in minutes
*/
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
index 93028744ee..aa8ac8f064 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
@@ -1232,8 +1232,7 @@ public class BlowfishEngine
/**
* Method to encrypt the block at the given index.
- * The encrypted block goes to the destination array at the given index.
- *
+ * The encrypted block goes to the destination array at the given index.
* @param src source array with the plain data
* @param srcIndex index where the block to encrypt is located
* @param dst destination array the encryption will go to
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/GameTimeController.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/GameTimeController.java
index 131fb28d3d..aa4d359090 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/GameTimeController.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/GameTimeController.java
@@ -118,10 +118,13 @@ public class GameTimeController extends Thread
}
/**
- * Move all Creatures contained in movingObjects of GameTimeController.
- * Concept :
- * All Creature in movement are identified in movingObjects of GameTimeController.
- * Actions :
+ * Move all Creatures contained in movingObjects of GameTimeController.
+ *
+ * Concept:
+ *
+ * All Creature in movement are identified in movingObjects of GameTimeController.
+ *
+ * Actions:
*
*
Update the position of each Creature
*
If movement is finished, the Creature is removed from movingObjects
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/LoginServerThread.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/LoginServerThread.java
index 87460d0ad2..e82f429db0 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/LoginServerThread.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/LoginServerThread.java
@@ -93,7 +93,6 @@ public class LoginServerThread extends Thread
* The BlowFish engine used to encrypt packets
* It is first initialized with a unified key:
* "_;v.]05-31!|+-%xT!^[$\00"
- *
* and then after handshake, with a new key sent by
* login server during the handshake. This new key is stored
* in blowfishKey
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/Shutdown.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/Shutdown.java
index 7ced9a191b..e81e4222dc 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/Shutdown.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/Shutdown.java
@@ -232,7 +232,7 @@ public class Shutdown extends Thread
}
else
{
- // gm shutdown: send warnings and then call exit to start shutdown sequence
+ // GM shutdown: send warnings and then call exit to start shutdown sequence
countdown();
// last point where logging is operational :(
LOGGER.warning("GM shutdown countdown is over. " + MODE_TEXT[_shutdownMode] + " NOW!");
@@ -538,7 +538,7 @@ public class Shutdown extends Thread
}
/**
- * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
+ * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
* @return instance of Shutdown, to be used as shutdown hook
*/
public static Shutdown getInstance()
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/ai/AbstractAI.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/ai/AbstractAI.java
index 95f441a5d6..c544548976 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/ai/AbstractAI.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/ai/AbstractAI.java
@@ -45,7 +45,7 @@ import org.l2jmobius.gameserver.taskmanager.AttackStanceTaskManager;
/**
* Mother class of all objects AI in the world.
- * AbastractAI :
+ * AbastractAI:
*
CreatureAI
*/
public abstract class AbstractAI implements Ctrl
@@ -126,10 +126,10 @@ public abstract class AbstractAI implements Ctrl
/**
* Set the Intention of this AbstractAI.
- * Caution : This method is USED by AI classes
- * Overridden in :
- * AttackableAI : Create an AI Task executed every 1s (if necessary)
- * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
+ * Caution: This method is USED by AI classes
+ * Overridden in:
+ * AttackableAI : Create an AI Task executed every 1s (if necessary)
+ * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -141,7 +141,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
*/
@Override
@@ -152,7 +152,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
* @param args The first parameters of the Intention (optional target)
*/
@@ -225,7 +225,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onEvt method corresponding to the Event.
- * Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
*/
@Override
@@ -235,7 +235,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
*/
@@ -246,7 +246,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
* @param arg1 The second parameter of the Event (optional target)
@@ -419,7 +419,7 @@ public abstract class AbstractAI implements Ctrl
protected abstract void onEvtFinishCasting();
/**
- * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution : Low level function, used by AI subclasses
+ * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution: Low level function, used by AI subclasses
*/
protected void clientActionFailed()
{
@@ -430,8 +430,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param pawn
* @param offset
*/
@@ -514,8 +514,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param x
* @param y
* @param z
@@ -542,8 +542,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param loc
*/
public void clientStopMoving(Location loc)
@@ -591,8 +591,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
public void clientStartAutoAttack()
{
@@ -632,8 +632,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
void clientStopAutoAttack()
{
@@ -661,8 +661,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
protected void clientNotifyDead()
{
@@ -679,7 +679,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Update the state of this actor client side by sending Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance player.
- * Caution : Low level function, used by AI subclasses
+ * Caution: Low level function, used by AI subclasses
* @param player The PlayerIstance to notify with state of this Creature
*/
public void describeStateToPlayer(PlayerInstance player)
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/ai/AttackableAI.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/ai/AttackableAI.java
index 28bb61cbff..6075092cb6 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/ai/AttackableAI.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/ai/AttackableAI.java
@@ -212,7 +212,7 @@ public class AttackableAI extends CreatureAI
/**
* Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
- * Caution : If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
+ * Caution: If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -317,7 +317,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update every 1s the _globalAggro counter to come close to 0
*
If the actor is Aggressive and can attack, add all autoAttackable Creature in its Aggro Range to its _aggroList, chose a target and order to attack it
@@ -612,7 +612,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update the attack timeout if actor is running
*
If target is dead or timeout is expired, stop this attack and set the Intention to AI_INTENTION_ACTIVE
@@ -1237,7 +1237,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Attacked.
- * Actions :
+ *
+ * Actions:
*
*
Init the attack : Calculate the attack timeout, Set the _globalAggro to 0, Add the attacker to the actor _aggroList
*
Set the Creature movement type to run and send Server->Client packet ChangeMoveType to all others PlayerInstance
@@ -1301,7 +1302,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Aggression.
- * Actions :
+ *
+ * Actions:
*
*
Add the target to the actor _aggroList or update hate if already present
*
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/ai/CreatureAI.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/ai/CreatureAI.java
index aeb15558db..a5b0347ce9 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/ai/CreatureAI.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/ai/CreatureAI.java
@@ -139,7 +139,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Idle Intention : Stop Attack, Movement and Stand Up the actor.
- * Actions :
+ *
+ * Actions:
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
Init cast and attack target
@@ -164,7 +165,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Active Intention : Stop Attack, Movement and Launch Think Event.
- * Actions : if the Intention is not already Active
+ *
+ * Actions : if the Intention is not already Active
*
*
Set the AI Intention to AI_INTENTION_ACTIVE
*
Init cast and attack target
@@ -195,7 +197,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Rest Intention.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
@@ -209,7 +212,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Attack Intention : Stop current Attack (if necessary), Start a new Attack and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_ATTACK
@@ -217,7 +221,8 @@ public class CreatureAI extends AbstractAI
*
Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast)
*
Launch the Think Event
*
- * Overridden in :
+ *
+ * Overridden in:
*
*
AttackableAI : Calculate attack timeout
*
@@ -281,7 +286,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Cast Intention : Stop current Attack, Init the AI in order to cast and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI cast target
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
@@ -331,7 +337,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
@@ -370,7 +377,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Follow Intention : Stop current Attack and Launch a Follow Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_FOLLOW
@@ -427,7 +435,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the PickUp Intention : Set the pick up target and Launch a Move To Pawn Task (offset=20).
- * Actions :
+ *
+ * Actions :
*
*
Set the AI pick up target
*
Set the Intention of this AI to AI_INTENTION_PICK_UP
@@ -476,7 +485,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Interact Intention : Set the interact target and Launch a Move To Pawn Task (offset=60).
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the AI interact target
@@ -537,7 +547,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Stunned then onAttacked Event.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
@@ -565,7 +576,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Rooted.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -588,7 +600,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Confused.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -606,7 +619,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Muted.
- * Actions :
+ *
+ * Actions:
*
*
Break a cast and send Server->Client ActionFailed packet and a System Message to the Creature
*
@@ -629,7 +643,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -643,7 +658,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Arrived.
- * Actions :
+ *
+ * Actions:
*
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
*
Launch actions corresponding to the Event Think
@@ -686,7 +702,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedRevalidate.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -700,7 +717,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedBlocked.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
@@ -725,7 +743,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ForgetObject.
- * Actions :
+ *
+ * Actions:
*
*
If the object was targeted and the Intention was AI_INTENTION_INTERACT or AI_INTENTION_PICK_UP, set the Intention to AI_INTENTION_ACTIVE
*
If the object was targeted to attack, stop the auto-attack, cancel target and set the Intention to AI_INTENTION_ACTIVE
@@ -781,7 +800,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -806,7 +826,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Dead.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast)
@@ -829,7 +850,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Fake Death.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
@@ -910,13 +932,15 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move to Pawn action in function of the distance and of the Interact area.
- * Actions :
+ *
+ * Actions:
*
*
Get the distance between the current position of the Creature and the target (x,y)
*
If the distance > offset+20, move the actor (by running) to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast)
*
If the distance <= offset+20, Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1017,13 +1041,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost or dead.
- * Actions : If the target is lost or dead
+ *
+ * Actions : If the target is lost or dead
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1050,13 +1076,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost.
- * Actions : If the target is lost
+ *
+ * Actions : If the target is lost
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/ai/PlayerAI.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/ai/PlayerAI.java
index 1af86289ec..72cd985005 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/ai/PlayerAI.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/ai/PlayerAI.java
@@ -90,7 +90,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -109,7 +110,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -124,7 +126,7 @@ public class PlayerAI extends PlayableAI
/**
* Finalize the casting of a skill. This method overrides CreatureAI method.
- * What it does:
+ * What it does:
* Check if actual intention is set to CAST and, if so, retrieves latest intention before the actual CAST and set it as the current intention for the player.
*/
@Override
@@ -197,7 +199,8 @@ public class PlayerAI extends PlayableAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
index a6c22e57af..dcfcbb433f 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
@@ -158,7 +158,7 @@ public class AdminData implements IXmlReader
AdminCommandAccessRight acar = _adminCommandAccessRights.get(adminCommand);
if (acar == null)
{
- // Trying to avoid the spam for next time when the gm would try to use the same command
+ // Trying to avoid the spam for next time when the GM would try to use the same command
if ((accessLevel.getLevel() > 0) && (accessLevel.getLevel() == _highestLevel))
{
acar = new AdminCommandAccessRight(adminCommand, true, accessLevel.getLevel());
@@ -341,7 +341,7 @@ public class AdminData implements IXmlReader
/**
* Gets the single instance of AdminTable.
- * @return AccessLevels: the one and only instance of this class
+ * @return AccessLevels: the one and only instance of this class
*/
public static AdminData getInstance()
{
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
index ab688fb612..a4de5a1083 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
@@ -63,7 +63,7 @@ import org.l2jmobius.gameserver.model.skills.Skill;
* Here can be found the following skill trees:
*
*
Class skill trees: player skill trees for each class.
- *
Transfer skill trees: player skill trees for each healer class.
+ *
Transfer skill trees: player skill trees for each healer class.
*
Collect skill tree: player skill tree for Gracia related skills.
*
Fishing skill tree: player skill tree for fishing related skills.
*
Transform skill tree: player skill tree for transformation related skills.
@@ -464,7 +464,7 @@ public class SkillTreeData implements IXmlReader
}
/**
- * Gets the race skill tree.
+ * Gets the race skill tree.
* @param race the race skill tree Id
* @return the complete race Skill Tree for a given {@code Race}
*/
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/datatables/BotReportTable.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
index 72de11fa1c..d8d3932288 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
@@ -206,7 +206,7 @@ public class BotReportTable
}
/**
- * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
+ * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
* @param reporter (PlayerInstance who issued the report)
* @return True, if the report was registered, False otherwise
*/
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/datatables/ItemTable.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/datatables/ItemTable.java
index d63129deff..bfae3f7a36 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/datatables/ItemTable.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/datatables/ItemTable.java
@@ -195,10 +195,10 @@ public class ItemTable
}
/**
- * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions :
+ * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions:
*
Create and Init the ItemInstance corresponding to the Item Identifier and quantity
*
Add the ItemInstance object to _allObjects of L2world
- *
Logs Item creation according to log settings
+ *
Logs Item creation according to log settings
* @param process : String Identifier of process triggering this action
* @param itemId : int Item Identifier of the item to be created
* @param count : int Quantity of items to be created for stackable items
@@ -304,7 +304,8 @@ public class ItemTable
/**
* Destroys the ItemInstance.
- * Actions :
+ *
+ * Actions:
*
*
Sets ItemInstance parameters to be unusable
*
Removes the ItemInstance object to _allObjects of L2world
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/enums/BasicProperty.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/enums/BasicProperty.java
index 77a2a7a477..1e5cac18dd 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/enums/BasicProperty.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/enums/BasicProperty.java
@@ -17,17 +17,17 @@
package org.l2jmobius.gameserver.enums;
/**
- * Basic property type of skills.
- * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
- * After, only 3 types are used: physical, magic and none.
- *
- * Quote from Juji:
- * ----------------------------------------------------------------------
- * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
- * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
- * ----------------------------------------------------------------------
- * All other are considered with no basic property aka NONE.
- *
+ * Basic property type of skills.
+ * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
+ * After, only 3 types are used: physical, magic and none.
+ *
+ * Quote from Juji:
+ * ----------------------------------------------------------------------
+ * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
+ * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
+ * ----------------------------------------------------------------------
+ * All other are considered with no basic property aka NONE.
+ *
* @author Nik
*/
public enum BasicProperty
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/handler/ItemHandler.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/handler/ItemHandler.java
index 939d8263da..a815f2646e 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/handler/ItemHandler.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/handler/ItemHandler.java
@@ -38,10 +38,9 @@ public class ItemHandler implements IHandler
}
/**
- * Adds handler of item type in datatable.
- *
- * Concept :
- * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
+ * Adds handler of item type in datatable.
+ * Concept :
+ * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
* @param handler (IItemHandler)
*/
@Override
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
index 7d6c13d3b9..b510fdc4ee 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
@@ -456,7 +456,7 @@ public class InstanceManager implements IXmlReader
}
/**
- * Register instance world.
+ * Register instance world.
* @param instance instance which should be registered
*/
public void register(Instance instance)
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/AccessLevel.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/AccessLevel.java
index ced434ddda..2dac00e406 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/AccessLevel.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/AccessLevel.java
@@ -87,9 +87,8 @@ public class AccessLevel
}
/**
- * Returns the access level
- *
- * @return int: access level
+ * Returns the access level
+ * @return int: access level
*/
public int getLevel()
{
@@ -97,9 +96,8 @@ public class AccessLevel
}
/**
- * Returns the access level name
- *
- * @return String: access level name
+ * Returns the access level name
+ * @return String: access level name
*/
public String getName()
{
@@ -107,9 +105,8 @@ public class AccessLevel
}
/**
- * Returns the name color of the access level
- *
- * @return int: the name color for the access level
+ * Returns the name color of the access level
+ * @return int: the name color for the access level
*/
public int getNameColor()
{
@@ -117,9 +114,8 @@ public class AccessLevel
}
/**
- * Returns the title color color of the access level
- *
- * @return int: the title color for the access level
+ * Returns the title color color of the access level
+ * @return int: the title color for the access level
*/
public int getTitleColor()
{
@@ -127,9 +123,8 @@ public class AccessLevel
}
/**
- * Retuns if the access level has gm access or not
- *
- * @return boolean: true if access level have gm access, otherwise false
+ * Retuns if the access level has GM access or not
+ * @return boolean: true if access level have GM access, otherwise false
*/
public boolean isGm()
{
@@ -137,9 +132,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to attack in peace zone or not
- *
- * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
+ * Returns if the access level is allowed to attack in peace zone or not
+ * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
*/
public boolean allowPeaceAttack()
{
@@ -147,9 +141,8 @@ public class AccessLevel
}
/**
- * Retruns if the access level is allowed to use fixed res or not
- *
- * @return true if the access level is allowed to use fixed res, otherwise false
+ * Retruns if the access level is allowed to use fixed res or not
+ * @return true if the access level is allowed to use fixed res, otherwise false
*/
public boolean allowFixedRes()
{
@@ -157,9 +150,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to perform transactions or not
- *
- * @return boolean: true if access level is allowed to perform transactions, otherwise false
+ * Returns if the access level is allowed to perform transactions or not
+ * @return boolean: true if access level is allowed to perform transactions, otherwise false
*/
public boolean allowTransaction()
{
@@ -167,9 +159,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to use AltG commands or not
- *
- * @return boolean: true if access level is allowed to use AltG commands, otherwise false
+ * Returns if the access level is allowed to use AltG commands or not
+ * @return boolean: true if access level is allowed to use AltG commands, otherwise false
*/
public boolean allowAltG()
{
@@ -177,9 +168,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can give damage or not
- *
- * @return boolean: true if the access level can give damage, otherwise false
+ * Returns if the access level can give damage or not
+ * @return boolean: true if the access level can give damage, otherwise false
*/
public boolean canGiveDamage()
{
@@ -187,9 +177,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can take aggro or not
- *
- * @return boolean: true if the access level can take aggro, otherwise false
+ * Returns if the access level can take aggro or not
+ * @return boolean: true if the access level can take aggro, otherwise false
*/
public boolean canTakeAggro()
{
@@ -197,9 +186,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can gain exp or not
- *
- * @return boolean: true if the access level can gain exp, otherwise false
+ * Returns if the access level can gain exp or not
+ * @return boolean: true if the access level can gain exp, otherwise false
*/
public boolean canGainExp()
{
@@ -207,9 +195,9 @@ public class AccessLevel
}
/**
- * Returns if the access level contains allowedAccess as child
- * @param accessLevel as AccessLevel
- * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
+ * Returns if the access level contains allowedAccess as child
+ * @param accessLevel as AccessLevel
+ * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
*/
public boolean hasChildAccess(AccessLevel accessLevel)
{
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/EffectList.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/EffectList.java
index 72d713b173..78596bd21e 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/EffectList.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/EffectList.java
@@ -159,7 +159,7 @@ public class EffectList
}
/**
- * Verifies if this effect list contains the given skill ID.
+ * Verifies if this effect list contains the given skill ID.
* @param skillId the skill ID to verify
* @return {@code true} if the skill ID is present in the effect list (includes active and passive effects), {@code false} otherwise
*/
@@ -179,7 +179,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param type the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching the specified {@code AbnormalType}, {@code false} otherwise
*/
@@ -189,7 +189,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param types the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching one of the specified {@code AbnormalType}s, {@code false} otherwise
*/
@@ -421,7 +421,7 @@ public class EffectList
}
/**
- * Exit all effects having a specified flag.
+ * Exit all effects having a specified flag.
* @param effectFlag the flag of the effect to stop
*/
public void stopEffects(EffectFlag effectFlag)
@@ -438,7 +438,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, Skill)}
+ * {@link #stopSkillEffects(boolean, Skill)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skillId the skill ID
*/
@@ -457,7 +457,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, int)}
+ * {@link #stopSkillEffects(boolean, int)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skill the skill
*/
@@ -483,7 +483,7 @@ public class EffectList
}
/**
- * Exits all effects created by a specific skill {@code AbnormalType}s.
+ * Exits all effects created by a specific skill {@code AbnormalType}s.
* @param types the skill {@code AbnormalType}s to be checked and removed.
* @return {@code true} if there was any {@code BuffInfo} with one of the given {@code AbnormalType}s, {@code false} otherwise
*/
@@ -498,7 +498,7 @@ public class EffectList
}
/**
- * Exits all effects matched by a specific filter.
+ * Exits all effects matched by a specific filter.
* @param filter any filter to apply when selecting which {@code BuffInfo}s to be removed.
* @param update update effect flags and icons after the operation finishes.
* @param broadcast {@code true} to broadcast update packets if updating, {@code false} otherwise.
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/Party.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/Party.java
index bfa180535b..e5518154d9 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/Party.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/Party.java
@@ -142,7 +142,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Set invitation process flag and store time for expiration.
+ * Set invitation process flag and store time for expiration.
* Happens when a player joins party or declines to join.
* @param value the pending invitation state to set
*/
@@ -273,8 +273,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Send a Server->Client packet to all other PlayerInstance of the Party.
- *
+ * Send a Server->Client packet to all other PlayerInstance of the Party.
* @param player
* @param msg
*/
@@ -821,12 +820,12 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
- *
- * Actions :
+ * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
+ *
+ * Actions:
*
Get the PlayerInstance owner of the ServitorInstance (if necessary)
*
Calculate the Experience and SP reward distribution rate
- *
Add Experience and SP to the PlayerInstance
+ *
Add Experience and SP to the PlayerInstance
* @param xpReward The Experience reward to distribute
* @param spReward The SP reward to distribute
* @param rewardedMembers The list of PlayerInstance to reward
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/Spawn.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/Spawn.java
index e9068a0b5f..9f8d6a075f 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/Spawn.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/Spawn.java
@@ -41,7 +41,7 @@ import org.l2jmobius.gameserver.util.Util;
/**
* This class manages the spawn and respawn of a group of NpcInstance that are in the same are and have the same type.
- * Concept:
+ * Concept:
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
* @author Nightmare
@@ -78,13 +78,16 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Constructor of Spawn.
- * Concept:
+ *
+ * Concept:
+ *
* Each Spawn owns generic and static properties (ex : RewardExp, RewardSP, AggroRange...).
* All of those properties are stored in a different NpcTemplate for each type of Spawn. Each template is loaded once in the server cache memory (reduce memory use).
* When a new instance of Spawn is created, server just create a link between the instance and the template.
- * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
- * This link is stored in _spawn of the NpcInstance.
- * Actions:
+ * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
+ * This link is stored in _spawn of the NpcInstance.
+ *
+ * Actions:
*
*
Set the _template of the Spawn
*
Calculate the implementationName used to generate the generic constructor of NpcInstance managed by this Spawn
@@ -227,11 +230,11 @@ public class Spawn extends Location implements IIdentifiable, INamable
}
/**
- * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions :
+ * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions:
*
Decrease the current number of NpcInstance of this Spawn
*
Check if respawn is possible to prevent multiple respawning caused by lag
*
Update the current number of SpawnTask in progress or stand by of this Spawn
- *
Create a new SpawnTask to launch after the respawn Delay
Caution : A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
+ *
Create a new SpawnTask to launch after the respawn Delay
Caution: A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
* @param oldNpc
*/
public void decreaseCount(Npc oldNpc)
@@ -305,10 +308,13 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Create the NpcInstance, add it to the world and lauch its OnSpawn action.
- * Concept:
+ *
+ * Concept:
+ *
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
- * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
+ *
+ * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
*
*
Get NpcInstance Init parameters and its generate an Identifier
*
Call the constructor of the NpcInstance
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/World.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/World.java
index 0b8cd8b4f1..09579e901c 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/World.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/World.java
@@ -132,7 +132,8 @@ public class World
/**
* Adds an object to the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Withdraw an item from the warehouse, create an item
*
Spawn a Creature (PC, NPC, Pet)
@@ -172,7 +173,8 @@ public class World
/**
* Removes an object from the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Delete item from inventory, transfer Item from inventory to warehouse
*
Crystallize item
@@ -209,7 +211,7 @@ public class World
}
/**
- * Example of use:
+ * Example of use:
*
@@ -251,7 +253,7 @@ public class World
}
/**
- * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
+ * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
* @param name Name of the player to get Instance
* @return the player instance corresponding to the given name.
*/
@@ -299,18 +301,18 @@ public class World
}
/**
- * Add a WorldObject in the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Add a WorldObject in the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Add the WorldObject object in _allPlayers* of World
*
Add the WorldObject object in _gmList** of GmListTable
- *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
- * * only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstanceCaution : This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
- * Caution : This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use :
+ *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
+ * * only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstanceCaution: This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
+ * Caution: This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use:
*
Drop an Item
*
Spawn a Creature
- *
Apply Death Penalty of a PlayerInstance
+ *
Apply Death Penalty of a PlayerInstance
* @param object L2object to add in the world
* @param newRegion WorldRegion in wich the object will be add (not used)
*/
@@ -382,16 +384,16 @@ public class World
}
/**
- * Remove a WorldObject from the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Remove a WorldObject from the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Remove the WorldObject object from _allPlayers* of World
*
Remove the WorldObject object from _visibleObjects and _allPlayers* of WorldRegion
*
Remove the WorldObject object from _gmList** of GmListTable
- *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution : This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstance Example of use :
+ *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution: This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstance Example of use:
*
Pickup an Item
- *
Decay a Creature
+ *
Decay a Creature
* @param object L2object to remove from the world
* @param oldRegion WorldRegion in which the object was before removing
*/
@@ -690,9 +692,9 @@ public class World
}
/**
- * Calculate the current WorldRegions of the object according to its position (x,y). Example of use :
+ * Calculate the current WorldRegions of the object according to its position (x,y). Example of use:
*
Set position of a new WorldObject (drop, spawn...)
- *
Update position of a WorldObject after a movement
+ *
Update position of a WorldObject after a movement
* @param object the object
* @return
*/
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/WorldObject.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/WorldObject.java
index 63e719d10f..adc7402c47 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/WorldObject.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/WorldObject.java
@@ -670,7 +670,7 @@ public abstract class WorldObject extends ListenersContainer implements IIdentif
}
/**
- * Sets instance for current object by instance ID.
+ * Sets instance for current object by instance ID.
* @param id ID of instance world which should be set (0 means normal world)
*/
public void setInstanceById(int id)
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/WorldRegion.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/WorldRegion.java
index 4a166d2b8a..25ada44e59 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/WorldRegion.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/WorldRegion.java
@@ -195,8 +195,8 @@ public class WorldRegion
}
/**
- * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
- * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
+ * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
+ * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
* @param object
*/
public void addVisibleObject(WorldObject object)
@@ -216,7 +216,7 @@ public class WorldRegion
}
/**
- * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
+ * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
* @param object
*/
public void removeVisibleObject(WorldObject object)
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 f3b8dcf934..27e7e104f7 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
@@ -1050,7 +1050,7 @@ public class Attackable extends Npc
* During a Special Event all Attackable can drop extra Items.
* Those extra Items are defined in the table allNpcDateDrops of the EventDroplist.
* Each Special Event has a start and end date to stop to drop extra Items automatically.
- * Actions: If an extra drop must be generated
+ * Actions: If an extra drop must be generated
* Get an Item Identifier (random) from the DateDrop Item table of this Event.
* Get the Item quantity dropped (random).
* Create this or these ItemInstance corresponding to this Item Identifier.
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Creature.java
index 23dc0ec731..06bc34124f 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Creature.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Creature.java
@@ -167,7 +167,6 @@ import org.l2jmobius.gameserver.util.Util;
*
Trap
*
Vehicle
*
- *
* Concept of CreatureTemplate:
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
@@ -295,11 +294,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Constructor of Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature. Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
- * Actions:
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
+ *
+ * Actions:
*
*
Set the _template of the Creature
*
Set _overloaded to false (the character can take more items)
@@ -542,8 +544,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Remove the Creature from the world when the decay task is launched.
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
public void onDecay()
{
@@ -603,8 +605,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
*/
@@ -621,8 +625,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the radius (max knownlist radius) from the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
* @param radiusInKnownlist
@@ -678,12 +684,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send the Server->Client packet StatusUpdate with current HP and MP to all other PlayerInstance to inform.
- * Actions:
+ *
+ * Actions:
*
*
Create the Server->Client packet StatusUpdate with current HP and MP
*
Send the Server->Client packet StatusUpdate with current HP and MP to all Creature called _statusListener that must be informed of HP/MP updates of this Creature
*
- * Caution: This method DOESN'T SEND CP information
+ * Caution: This method DOESN'T SEND CP information
* @param caster
*/
public void broadcastStatusUpdate(Creature caster)
@@ -714,7 +721,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Teleport a Creature and its pet if necessary.
- * Actions:
+ *
+ * Actions:
*
*
Stop the movement of the Creature
*
Set the x,y,z position of the WorldObject and if necessary modify its _worldRegion
@@ -883,7 +891,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a physical attack against a target (Simple, Bow, Pole or Dual).
- * Actions:
+ *
+ * Actions:
*
*
Get the active weapon (always equipped in the right hand)
*
If weapon is a bow, check for arrows, MP and bow re-use delay (if necessary, equip the PlayerInstance with arrows in left hand)
@@ -1274,7 +1283,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Manage the casting task (casting and interrupt time, re-use delay...) and display the casting bar and animation on client.
- * Actions:
+ *
+ * Actions:
*
*
Verify the possibility of the the cast : skill is a spell, caster isn't muted...
*
Get the list of all targets (ex : area effects) and define the Creature targeted (its stats will be used in calculation)
@@ -1564,7 +1574,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Kill the Creature.
- * Actions:
+ *
+ * Actions:
*
*
Set target to null and cancel Attack or Cast
*
Stop movement
@@ -2191,11 +2202,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Set the template of the Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
* Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
* @param template
*/
protected final void setTemplate(CreatureTemplate template)
@@ -2372,7 +2385,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop a specified/all Fake Death abnormal Effect.
- * Actions:
+ *
+ * Actions:
*
*
Delete a specified/all (if effect=null) Fake Death abnormal Effect from Creature and update client magic icon
*
Set the abnormal effect flag _fake_death to False
@@ -2400,7 +2414,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Stop all block actions (stun) effects.
+ * Stop all block actions (stun) effects.
* @param removeEffects {@code true} removes all block actions effects, {@code false} only notifies AI to think.
*/
public void stopStunning(boolean removeEffects)
@@ -2418,7 +2432,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop Effect: Transformation.
- * Actions:
+ *
+ * Actions:
*
*
Remove Transformation Effect
*
Notify the Creature AI
@@ -2447,7 +2462,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Updates the visual abnormal state of this character.
+ * Updates the visual abnormal state of this character.
*/
public void updateAbnormalVisualEffects()
{
@@ -2456,9 +2471,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update active skills in progress (In Use and Not In Use because stacked) icons on client.
- * Concept:
+ *
+ * Concept:
+ *
* All active skills effects in progress (In Use and Not In Use because stacked) are represented by an icon on the client.
- * Caution : This method ONLY UPDATE the client of the player and not clients of all players in the party.
+ * Caution: This method ONLY UPDATE the client of the player and not clients of all players in the party.
*/
public void updateEffectIcons()
{
@@ -2492,7 +2509,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* This class group all movement data.
- * Data :
+ *
+ * Data:
*
*
_moveTimestamp : Last time position update
*
_xDestination, _yDestination, _zDestination : Position of the destination
@@ -2786,7 +2804,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * @return True if the Creature is travelling a calculated path.
+ * @return True if the Creature is traveling a calculated path.
*/
public boolean isOnGeodataPath()
{
@@ -2896,16 +2914,18 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update the position of the Creature during a movement and return True if the movement is finished.
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
* When the movement is started (ex : by MovetoLocation), this method will be called each 0.1 sec to estimate and update the Creature position on the server.
* Note, that the current server position can differe from the current client position even if each movement is straight foward.
* That's why, client send regularly a Client->Server ValidatePosition packet to eventually correct the gap on the server.
* But, it's always the server position that is used in range calculation. At the end of the estimated movement time,
* the Creature position is automatically set to the destination position even if the movement is not finished.
- * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
- * But x and y positions must be calculated to avoid that players try to modify their movement speed.
+ * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
+ * But x and y positions must be calculated to avoid that players try to modify their movement speed.
* @return True if the movement is finished
*/
public boolean updatePosition()
@@ -3073,14 +3093,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop movement of the Creature (Called by AI Accessor only).
- * Actions:
+ *
+ * Actions:
*
*
Delete movement data of the Creature
*
Set the current position (x,y,z), its current WorldRegion if necessary and its heading
*
Remove the WorldObject object from _gmList of GmListTable
*
Remove object from _knownObjects and _knownPlayer of all surrounding WorldRegion Creatures
*
- * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
+ * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
* @param loc
*/
public void stopMove(Location loc)
@@ -3117,9 +3138,12 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Target a WorldObject (add the target to the Creature _target, _knownObject and Creature to _KnownObject of the WorldObject).
- * Concept:
- * The WorldObject (including Creature) targeted is identified in _target of the Creature.
- * Actions:
+ *
+ * Concept:
+ *
+ * The WorldObject (including Creature) targeted is identified in _target of the Creature.
+ *
+ * Actions:
*
*
Set the _target of Creature to WorldObject
*
If necessary, add WorldObject to _knownObject of the Creature
@@ -3162,11 +3186,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Calculate movement data for a move to location action and add the Creature to movingObjects of GameTimeController (only called by AI Accessor).
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
- * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
- * Actions:
+ * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
+ *
+ * Actions:
*
*
Get current position of the Creature
*
Calculate distance (dx,dy) between current position and destination including offset
@@ -3175,8 +3202,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
*
Add the Creature to movingObjects of the GameTimeController
*
Create a task to notify the AI that Creature arrives at a check point of the movement
*
- * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
- * Example of use:
+ * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
+ *
+ * Example of use:
*
*
AI : onIntentionMoveTo(Location), onIntentionPickUp(WorldObject), onIntentionInteract(WorldObject)
*
FollowTask
@@ -3580,7 +3608,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
* @return True if arrows are available.
* @param type
@@ -3592,9 +3620,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add Exp and Sp to the Creature.
- * Overridden in :
+ *
+ * Overridden in:
*
PlayerInstance
- *
PetInstance
+ *
PetInstance
* @param addToExp
* @param addToSp
*/
@@ -3604,36 +3633,37 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon instance (always equiped in the right hand).
+ * @return the active weapon instance (always equipped in the right hand).
*/
public abstract ItemInstance getActiveWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon item (always equiped in the right hand).
+ * @return the active weapon item (always equipped in the right hand).
*/
public abstract Weapon getActiveWeaponItem();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary weapon instance (always equiped in the left hand).
+ * @return the secondary weapon instance (always equipped in the left hand).
*/
public abstract ItemInstance getSecondaryWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary {@link Item} item (always equiped in the left hand).
+ * @return the secondary {@link Item} item (always equipped in the left hand).
*/
public abstract Item getSecondaryWeaponItem();
/**
* Manage hit process (called by Hit Task).
- * Actions:
+ *
+ * Actions:
*
*
If the attacker/target is dead or use fake death, notify the AI with EVT_CANCEL and send a Server->Client packet ActionFailed (if attacker is a PlayerInstance)
*
If attack isn't aborted, send a message system (critical hit, missed...) to attacker/target if they are PlayerInstance
If Creature or target is in a town area, send a system message TARGET_IN_PEACEZONE a Server->Client packet ActionFailed
*
If target is confused, send a Server->Client packet ActionFailed
@@ -3953,15 +3984,19 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add a skill to the Creature _skills and its Func objects to the calculator set of the Creature.
- * Concept:
- * All skills own by a Creature are identified in _skills
- * Actions:
+ *
+ * Concept:
+ *
+ * All skills own by a Creature are identified in _skills
+ *
+ * Actions:
*
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
*
Add Func objects of newSkill to the calculator set of the Creature
*
- * Overridden in:
+ *
+ * Overridden in:
*
*
PlayerInstance : Save update in the character_skills table of the database
*
@@ -5243,7 +5278,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
+ * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
* @param range
*/
public void initSeenCreatures(int range)
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Npc.java
index 9f444d25d3..935b46f424 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Npc.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Npc.java
@@ -158,7 +158,8 @@ public class Npc extends Creature
/**
* Constructor of NpcInstance (use Creature constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the Creature (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the Creature
@@ -578,7 +579,8 @@ public class Npc extends Creature
/**
* Open a quest or chat window on client with the text of the NpcInstance in function of the command.
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : RequestBypassToServer
*
@@ -638,11 +640,11 @@ public class Npc extends Creature
}
/**
- * :
+ * :
*
- *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
- *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
- *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
+ *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
+ *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
+ *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -705,7 +707,8 @@ public class Npc extends Creature
/**
* Open a chat window on client with the text of the NpcInstance.
- * Actions:
+ *
+ * Actions:
*
*
Get the text of the selected HTML file in function of the npcId and of the page number
*
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
@@ -865,7 +868,8 @@ public class Npc extends Creature
/**
* Kill the NpcInstance (the corpse disappeared after 7 seconds).
- * Actions:
+ *
+ * Actions:
*
*
Create a DecayTask to remove the corpse of the NpcInstance after 7 seconds
*
Set target to null and cancel Attack or Cast
@@ -1091,14 +1095,15 @@ public class Npc extends Creature
/**
* Remove the NpcInstance from the world and update its spawn object (for a complete removal use the deleteMe method).
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world when the decay task is launched
*
Decrease its spawn counter
*
Manage Siege task (killFlag, killCT)
*
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
@Override
public void onDecay()
@@ -1137,13 +1142,14 @@ public class Npc extends Creature
/**
* Remove PROPERLY the NpcInstance from the world.
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world and update its spawn object
*
Remove all WorldObject from _knownObjects and _knownPlayer of the NpcInstance then cancel Attack or Cast and notify AI
*
Remove WorldObject object from _allObjects of World
*
- * Caution: This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T SEND Server->Client packets to players
* UnAfraid: TODO: Add Listener here
*/
@Override
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Playable.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Playable.java
index 622442ab2e..750bdba19c 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Playable.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Playable.java
@@ -52,7 +52,8 @@ public abstract class Playable extends Creature
/**
* Constructor of Playable.
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and link copy basic Calculator set to this Playable
*
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Summon.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Summon.java
index c2bca015fb..34eb558e47 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Summon.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Summon.java
@@ -588,7 +588,8 @@ public abstract class Summon extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the target is correct
*
Check if the target is in the skill cast range
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
index 5af1884bac..ba0920369e 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
@@ -24,21 +24,19 @@ import org.l2jmobius.gameserver.model.skills.Skill;
import org.l2jmobius.gameserver.network.serverpackets.ActionFailed;
/**
- * This class manages all Castle Siege Artefacts.
- *
+ * This class manages all Castle Siege Artefacts.
+ *
* @version $Revision: 1.11.2.1.2.7 $ $Date: 2005/04/06 16:13:40 $
*/
public class ArtefactInstance extends Npc
{
/**
- * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
- *
- * Actions :
- *
+ * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
+ *
+ * Actions:
*
Call the Creature constructor to set the _template of the ArtefactInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the ArtefactInstance
- *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
- *
+ *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
* @param template to apply to the NPC
*/
public ArtefactInstance(NpcTemplate template)
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 5f34d57abe..d359c8335b 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
@@ -36,7 +36,8 @@ public class GuardInstance extends Attackable
{
/**
* Constructor of GuardInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the GuardInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the GuardInstance
@@ -100,10 +101,11 @@ public class GuardInstance extends Attackable
/**
* Return the pathfile of the selected HTML file in function of the GuardInstance Identifier and of the page number.
- * Format of the pathfile :
+ *
+ * Format of the pathfile:
*
- *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
- *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
+ *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
+ *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -125,19 +127,22 @@ public class GuardInstance extends Attackable
/**
* Manage actions when a player click on the GuardInstance.
- * Actions on first click on the GuardInstance (Select it) :
+ *
+ * Actions on first click on the GuardInstance (Select it):
*
*
Set the GuardInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
Set the PlayerInstance Intention to AI_INTENTION_IDLE
*
Send a Server->Client packet ValidateLocation to correct the GuardInstance position and heading on the client
*
- * Actions on second click on the GuardInstance (Attack it/Interact with it) :
+ *
+ * Actions on second click on the GuardInstance (Attack it/Interact with it):
*
*
If PlayerInstance is in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_ATTACK
*
If PlayerInstance is NOT in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_INTERACT (after a distance verification) and show message
*
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : Action, AttackRequest
*
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
index 2b71cdcfe3..bee6060aec 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
@@ -43,7 +43,8 @@ public class MonsterInstance extends Attackable
/**
* Constructor of MonsterInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the MonsterInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the MonsterInstance
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
index ba902887c1..e4a3b06ba0 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
@@ -121,7 +121,7 @@ public class PetInstance extends Summon
}
/**
- * Manage Feeding Task.
+ * Manage Feeding Task.
* Feed or kill the pet depending on hunger level.
* If pet has food in inventory and feed level drops below 55% then consume food from inventory.
* Send a broadcastStatusUpdate packet for this PetInstance
@@ -417,7 +417,7 @@ public class PetInstance extends Summon
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -1133,8 +1133,7 @@ public class PetInstance extends Summon
}
/**
- * Restore the specified % of experience this PetInstance has lost.
- *
+ * Restore the specified % of experience this PetInstance has lost.
* @param restorePercent
*/
public void restoreExp(double restorePercent)
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
index 0dcd749e29..00666408d8 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
@@ -879,7 +879,8 @@ public class PlayerInstance extends Playable
/**
* Create a new PlayerInstance and add it in the characters table of the database.
- * Actions :
+ *
+ * Actions:
*
*
Create a new PlayerInstance with an account name
*
Set the name, the Hair Style, the Hair Color and the Face type of the PlayerInstance
@@ -1070,7 +1071,8 @@ public class PlayerInstance extends Playable
/**
* Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world (call restore method).
- * Actions :
+ *
+ * Actions:
*
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
@@ -1097,12 +1099,13 @@ public class PlayerInstance extends Playable
/**
* Constructor of PlayerInstance (use Creature constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and copy basic Calculator set to this PlayerInstance
*
Set the name of the PlayerInstance
*
- * Caution : This method SET the level of the PlayerInstance to 1
+ * Caution: This method SET the level of the PlayerInstance to 1
* @param objectId Identifier of the object to initialized
* @param template The PlayerTemplate to apply to the PlayerInstance
* @param accountName The name of the account including this PlayerInstance
@@ -2556,7 +2559,7 @@ public class PlayerInstance extends Playable
}
/**
- * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
+ * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
*/
public void regiveTemporarySkills()
{
@@ -3505,7 +3508,7 @@ public class PlayerInstance extends Playable
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -3760,7 +3763,7 @@ public class PlayerInstance extends Playable
}
/**
- * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : long Quantity of items to be dropped
@@ -4027,9 +4030,9 @@ public class PlayerInstance extends Playable
}
/**
- * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions :
- *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
- *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution : This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
+ * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions:
+ *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
+ *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution: This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
*/
@Override
public void broadcastStatusUpdate(Creature caster)
@@ -4096,11 +4099,11 @@ public class PlayerInstance extends Playable
}
/**
- * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept : Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
- * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions :
+ * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept: Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
+ * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions:
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
- *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as
- * MaxHP, STR, DEX...
+ *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP,
+ * STR, DEX...
*/
public void broadcastUserInfo()
{
@@ -4254,10 +4257,10 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Interact Task with another PlayerInstance. Actions :
+ * Manage Interact Task with another PlayerInstance. Actions:
*
If the private store is a STORE_PRIVATE_SELL, send a Server->Client PrivateBuyListSell packet to the PlayerInstance
*
If the private store is a STORE_PRIVATE_BUY, send a Server->Client PrivateBuyListBuy packet to the PlayerInstance
- *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
+ *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
* @param target The Creature targeted
*/
public void doInteract(Creature target)
@@ -4306,7 +4309,7 @@ public class PlayerInstance extends Playable
*
Send a Server->Client packet InventoryUpdate to this player with NewItem (use a new slot) or ModifiedItem (increase amount).
*
Send a Server->Client packet StatusUpdate to this player with current weight.
*
- * Caution: If a party is in progress, distribute the items between the party members!
+ * Caution: If a party is in progress, distribute the items between the party members!
* @param target the NPC dropping the item
* @param itemId the item ID
* @param itemCount the item count
@@ -4338,13 +4341,13 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Pickup Task. Actions :
+ * Manage Pickup Task. Actions:
*
Send a Server->Client packet StopMove to this PlayerInstance
*
Remove the ItemInstance from the world and send server->client GetItem packets
*
Send a System Message to the PlayerInstance : YOU_PICKED_UP_S1_ADENA or YOU_PICKED_UP_S1_S2
*
Add the Item to the PlayerInstance inventory
*
Send a Server->Client packet InventoryUpdate to this PlayerInstance with NewItem (use a new slot) or ModifiedItem (increase amount)
- *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution : If a Party is in progress, distribute Items between party members
+ *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution: If a Party is in progress, distribute Items between party members
* @param object The ItemInstance to pick up
*/
@Override
@@ -4607,7 +4610,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set a target. Actions :
+ * Set a target. Actions:
*
*
Remove the PlayerInstance from the _statusListener of the old target if it was a Creature
*
Add the PlayerInstance to the _statusListener of the new target if it's a Creature
@@ -4699,7 +4702,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon instance (always equiped in the right hand).
+ * Return the active weapon instance (always equipped in the right hand).
*/
@Override
public ItemInstance getActiveWeaponInstance()
@@ -4708,7 +4711,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon item (always equiped in the right hand).
+ * Return the active weapon item (always equipped in the right hand).
*/
@Override
public Weapon getActiveWeaponItem()
@@ -4797,7 +4800,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary weapon instance (always equiped in the left hand).
+ * Return the secondary weapon instance (always equipped in the left hand).
*/
@Override
public ItemInstance getSecondaryWeaponInstance()
@@ -4806,8 +4809,8 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary Item item (always equiped in the left hand).
- * Arrows, Shield..
+ * Return the secondary Item item (always equipped in the left hand).
+ * Arrows, Shield..
*/
@Override
public Item getSecondaryWeaponItem()
@@ -4821,12 +4824,12 @@ public class PlayerInstance extends Playable
}
/**
- * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions :
+ * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions:
*
Reduce the Experience of the PlayerInstance in function of the calculated Death Penalty
*
If necessary, unsummon the Pet of the killed PlayerInstance
*
Manage Karma gain for attacker and Karam loss for the killed PlayerInstance
*
If the killed PlayerInstance has Karma, manage Drop Item
- *
Kill the PlayerInstance
+ *
Kill the PlayerInstance
* @param killer
*/
@Override
@@ -5298,12 +5301,13 @@ public class PlayerInstance extends Playable
}
/**
- * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
- * Actions :
+ * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
+ *
+ * Actions:
*
Calculate the Experience loss
*
Set the value of _expBeforeDeath
*
Set the new Experience value of the PlayerInstance and Decrease its level if necessary
- *
Send a Server->Client StatusUpdate packet with its new Experience
+ *
Send a Server->Client StatusUpdate packet with its new Experience
* @param killer
*/
public void calculateDeathExpPenalty(Creature killer)
@@ -5355,7 +5359,7 @@ public class PlayerInstance extends Playable
}
/**
- * Stop the HP/MP/CP Regeneration task. Actions :
+ * Stop the HP/MP/CP Regeneration task. Actions:
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
*/
@@ -5702,13 +5706,13 @@ public class PlayerInstance extends Playable
}
/**
- * Set the Private Store type of the PlayerInstance. Values :
+ * Set the Private Store type of the PlayerInstance. Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @param privateStoreType
*/
public void setPrivateStoreType(PrivateStoreType privateStoreType)
@@ -5721,13 +5725,13 @@ public class PlayerInstance extends Playable
}
/**
- * Values :
+ * Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @return the Private Store type of the PlayerInstance.
*/
public PrivateStoreType getPrivateStoreType()
@@ -6445,11 +6449,11 @@ public class PlayerInstance extends Playable
}
/**
- * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions :
+ * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions:
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
*
Set the x,y,z position of the PlayerInstance and make it invisible
- *
Update the overloaded status of the PlayerInstance
+ *
Update the overloaded status of the PlayerInstance
* @param objectId Identifier of the object to initialized
* @return The PlayerInstance loaded from the database
*/
@@ -7347,10 +7351,10 @@ public class PlayerInstance extends Playable
}
/**
- * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept : All skills own by a PlayerInstance are identified in _skills Actions :
+ * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept: All skills own by a PlayerInstance are identified in _skills Actions:
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
- *
Add Func objects of newSkill to the calculator set of the Creature
+ *
Add Func objects of newSkill to the calculator set of the Creature
* @param newSkill The Skill to add to the Creature
* @param store
* @return The Skill replaced or null if just added a new Skill
@@ -7381,10 +7385,10 @@ public class PlayerInstance extends Playable
}
/**
- * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept : All skills own by a Creature are identified in _skills Actions :
+ * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept: All skills own by a Creature are identified in _skills Actions:
*
Remove the skill from the Creature _skills
- *
Remove all its Func objects from the Creature calculator set
Overridden in :
- *
PlayerInstance : Save update in the character_skills table of the database
+ *
Remove all its Func objects from the Creature calculator set
Overridden in:
+ *
PlayerInstance : Save update in the character_skills table of the database
* @param skill The Skill to remove from the Creature
* @return The Skill removed
*/
@@ -8086,7 +8090,8 @@ public class PlayerInstance extends Playable
/**
* Return True if the PlayerInstance is autoAttackable.
- * Actions:
+ *
+ * Actions:
*
*
Check if the attacker isn't the PlayerInstance Pet
*
Check if the attacker is MonsterInstance
@@ -8248,7 +8253,8 @@ public class PlayerInstance extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the skill isn't toggle and is offensive
*
Check if the target is in the skill cast range
@@ -8606,15 +8612,18 @@ public class PlayerInstance extends Playable
/**
* Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers.
- * Concept:
- * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
* In order to inform other players of this PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet
- * Actions:
+ *
+ * Actions:
*
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
*
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
*
- * Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
+ * Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
*/
@Override
public void updateAbnormalVisualEffects()
@@ -9441,7 +9450,7 @@ public class PlayerInstance extends Playable
}
/**
- * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
+ * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
* 2. This method no longer changes the active _classIndex of the player. This is only done by the calling of setActiveClass() method as that should be the only way to do so.
* @param classId
* @param classIndex
@@ -10612,7 +10621,8 @@ public class PlayerInstance extends Playable
/**
* Manage the delete task of a PlayerInstance (Leave Party, Unsummon pet, Save its inventory in the database, Remove it from the world...).
- * Actions:
+ *
+ * Actions:
*
*
If the PlayerInstance is in observer mode, set its position to its position before entering in observer mode
*
Set the online Flag to True or False and update the characters table of the database with online status and lastAccess
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
index d58c4a2344..1538e27eb0 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
@@ -31,7 +31,8 @@ public class RaidBossInstance extends MonsterInstance
/**
* Constructor of RaidBossInstance (use Creature and NpcInstance constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the RaidBossInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the RaidBossInstance
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
index 0746dde009..e66a7d8d7f 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
@@ -152,7 +152,8 @@ public class StaticObjectInstance extends Creature
/**
* Set the meshIndex of the object.
- * Values :
+ *
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
@@ -166,7 +167,7 @@ public class StaticObjectInstance extends Creature
}
/**
- * Values :
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
index 0a935e82db..f6b1fdd6c1 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
@@ -265,7 +265,8 @@ public class CreatureStat
/**
* Return the MAtk (base+modifier) of the Creature.
- * Example of use: Calculate Magic damage
+ *
+ * Example of use: Calculate Magic damage
* @return
*/
public int getMAtk()
@@ -290,7 +291,7 @@ public class CreatureStat
}
/**
- * Example of use : Calculate Magic damage.
+ * Example of use : Calculate Magic damage.
* @return the MDef (base+modifier) of the Creature against a skill in function of abnormal effects in progress.
*/
public int getMDef()
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
index a34f446f36..ecb6ca7cf2 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
@@ -57,11 +57,14 @@ public class CreatureStatus
/**
* Add the object to the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use:
+ *
+ * Example of use:
*
*
Target a PC or NPC
*
@@ -79,11 +82,14 @@ public class CreatureStatus
/**
* Remove the object from the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use :
+ *
+ * Example of use :
*
*
Untarget a PC or NPC
*
@@ -96,8 +102,10 @@ public class CreatureStatus
/**
* Return the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
* @return The list of Creature to inform or null if empty
@@ -188,7 +196,8 @@ public class CreatureStatus
/**
* Start the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Calculate the regen task period
*
Launch the HP/MP/CP Regeneration task with Medium priority
@@ -208,7 +217,8 @@ public class CreatureStatus
/**
* Stop the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/base/SubClass.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/base/SubClass.java
index 6e1b4abe48..8e382665f8 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/base/SubClass.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/base/SubClass.java
@@ -20,7 +20,7 @@ import org.l2jmobius.Config;
import org.l2jmobius.gameserver.data.xml.impl.ExperienceData;
/**
- * Character Sub-Class Definition
+ * Character Sub-Class Definition
* Used to store key information about a character's sub-class.
* @author Tempy
*/
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
index ee74925752..a54baee819 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
@@ -62,7 +62,7 @@ public abstract class AbstractEffect
/**
* Calculates whether this effects land or not.
* If it lands will be scheduled and added to the character effect list.
- * Override in effect implementation to change behavior.
+ * Override in effect implementation to change behavior.
* Warning: Must be used only for instant effects continuous effects will not call this they have their success handled by activate_rate.
* @param effector
* @param effected
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/entity/Castle.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/entity/Castle.java
index c0ec518a28..ce46b99bf1 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/entity/Castle.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/entity/Castle.java
@@ -615,8 +615,7 @@ public class Castle extends AbstractResidence
}
/**
- * Respawn all doors on castle grounds
- *
+ * Respawn all doors on castle grounds
* @param isDoorWeak
*/
public void spawnDoor(boolean isDoorWeak)
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/entity/Fort.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/entity/Fort.java
index 755bee3310..667c694f50 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/entity/Fort.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/entity/Fort.java
@@ -273,8 +273,7 @@ public class Fort extends AbstractResidence
}
/**
- * Move non clan members off fort area and to nearest town.
- *
+ * Move non clan members off fort area and to nearest town.
*/
public void banishForeigners()
{
@@ -516,8 +515,7 @@ public class Fort extends AbstractResidence
}
/**
- * Respawn all doors on fort grounds
- *
+ * Respawn all doors on fort grounds.
*/
public void resetDoors()
{
@@ -976,11 +974,10 @@ public class Fort extends AbstractResidence
}
/**
- * @return Returns state of fortress.
- *
- * 0 - not decided yet
- * 1 - independent
- * 2 - contracted with castle
+ * @return Returns state of fortress.
+ * 0 - not decided yet
+ * 1 - independent
+ * 2 - contracted with castle
*/
public int getFortState()
{
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/entity/FortSiege.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
index fe98f73d82..d4e5ae83b5 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
@@ -703,14 +703,14 @@ public class FortSiege implements Siegable
}
/**
- * Register clan as attacker.
+ * Register clan as attacker.
* @param player The PlayerInstance of the player trying to register.
* @param checkConditions True if should be checked conditions, false otherwise
- * @return Number that defines what happened.
- * 0 - Player don't have clan.
- * 1 - Player don't have enough adena to register.
- * 2 - Is not right time to register Fortress now.
- * 3 - Players clan is already registered to siege.
+ * @return Number that defines what happened.
+ * 0 - Player don't have clan.
+ * 1 - Player don't have enough adena to register.
+ * 2 - Is not right time to register Fortress now.
+ * 3 - Players clan is already registered to siege.
* 4 - Players clan is successfully registered to siege.
*/
public int addAttacker(PlayerInstance player, boolean checkConditions)
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/entity/Hero.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/entity/Hero.java
index 49b405d179..8c9bbb0bc0 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/entity/Hero.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/entity/Hero.java
@@ -866,7 +866,7 @@ public class Hero
}
/**
- * Saving task for {@link Hero}
+ * Saving task for {@link Hero}
* Save all hero messages to DB.
*/
public void shutdown()
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/entity/Siege.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/entity/Siege.java
index c864909114..5b84c4a276 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/entity/Siege.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/entity/Siege.java
@@ -383,8 +383,7 @@ public class Siege implements Siegable
}
/**
- * When control of castle changed during siege
- *
+ * When control of castle changed during siege.
*/
public void midVictory()
{
@@ -470,8 +469,7 @@ public class Siege implements Siegable
}
/**
- * When siege starts
- *
+ * When siege starts.
*/
@Override
public void startSiege()
@@ -529,8 +527,7 @@ public class Siege implements Siegable
}
/**
- * Announce to player.
- *
+ * Announce to player.
* @param message The SystemMessage to send to player
* @param bothSides True - broadcast to both attackers and defenders. False - only to defenders.
*/
@@ -682,8 +679,7 @@ public class Siege implements Siegable
}
/**
- * Approve clan as defender for siege
- *
+ * Approve clan as defender for siege
* @param clanId The int of player's clan id
*/
public void approveSiegeDefenderClan(int clanId)
@@ -717,8 +713,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is attacker
- *
+ * Return true if clan is attacker
* @param clan The Clan of the player
*/
@Override
@@ -728,8 +723,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is defender
- *
+ * Return true if clan is defender
* @param clan The Clan of the player
*/
@Override
@@ -866,8 +860,7 @@ public class Siege implements Siegable
}
/**
- * Register clan as attacker
- *
+ * Register clan as attacker
* @param player The PlayerInstance of the player trying to register
*/
public void registerAttacker(PlayerInstance player)
@@ -948,8 +941,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clanId The int of player's clan id
*/
public void removeSiegeClan(int clanId)
@@ -975,8 +967,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clan clan being removed
*/
public void removeSiegeClan(Clan clan)
@@ -989,8 +980,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param player The PlayerInstance of player/clan being removed
*/
public void removeSiegeClan(PlayerInstance player)
@@ -999,8 +989,7 @@ public class Siege implements Siegable
}
/**
- * Start the auto tasks
- *
+ * Start the auto tasks.
*/
public void startAutoTask()
{
@@ -1073,8 +1062,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as attacker
- *
+ * Add clan as attacker
* @param clanId The int of clan's id
*/
private void addAttacker(int clanId)
@@ -1083,8 +1071,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender
- *
+ * Add clan as defender
* @param clanId The int of clan's id
*/
private void addDefender(int clanId)
@@ -1105,8 +1092,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender waiting approval
- *
+ * Add clan as defender waiting approval
* @param clanId The int of clan's id
*/
private void addDefenderWaiting(int clanId)
@@ -1198,8 +1184,7 @@ public class Siege implements Siegable
}
/**
- * Return the correct siege date as Calendar.
- *
+ * Return the correct siege date as Calendar.
*/
public void correctSiegeDateTime()
{
@@ -1348,8 +1333,7 @@ public class Siege implements Siegable
}
/**
- * Save registration to database.
- *
+ * Save registration to database.
* @param clan The Clan of player
* @param typeId -1 = owner 0 = defender, 1 = attacker, 2 = defender waiting
* @param isUpdateRegistration
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/events/AbstractScript.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
index 0ef2316e35..c27882656b 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
@@ -3018,7 +3018,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param array of values.
* @return one value from array.
@@ -3034,7 +3034,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param list of values.
* @return one value from list.
@@ -3049,7 +3049,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param array of Integers.
* @return one Integer from array.
*/
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
index 0da0f1ff20..a4335762c0 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
@@ -53,7 +53,7 @@ public class PlayerSkillHolder implements ISkillsHolder
}
/**
- * Add a skill to the skills map.
+ * Add a skill to the skills map.
* @param skill
*/
@Override
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/instancezone/Instance.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
index 6603cc529b..6fdb98f39a 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
@@ -329,7 +329,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Get player by ID from instance.
+ * Get player by ID from instance.
* @param id objectId of player
* @return first player by ID, otherwise {@code null}
*/
@@ -803,7 +803,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Set reenter penalty for players associated with current instance.
+ * Set reenter penalty for players associated with current instance.
* @param time penalty time in milliseconds since January 1, 1970
*/
public void setReenterTime(long time)
@@ -860,8 +860,7 @@ public class Instance implements IIdentifiable, INamable
/**
* Set instance world to finish state.
- * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
- * See {@link Instance#finishInstance(int)} for more details.
+ * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
*/
public void finishInstance()
{
@@ -1016,7 +1015,7 @@ public class Instance implements IIdentifiable, INamable
// Template methods
// ----------------------------------------------
/**
- * Get parameters from instance template.
+ * Get parameters from instance template.
* @return template parameters
*/
public StatSet getTemplateParameters()
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
index 80a8eef201..7c892faae4 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
@@ -897,7 +897,7 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Drop item from inventory by using its objectID and updates database
+ * Drop item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
@@ -1198,7 +1198,7 @@ public abstract class Inventory extends ItemContainer
/**
* Equips an item in the given slot of the paperdoll.
- * Remark : The item must be in the inventory already.
+ * Remark : The item must be in the inventory already.
* @param slot : int pointing out the slot of the paperdoll
* @param item : ItemInstance pointing out the item to add in slot
* @return ItemInstance designating the item placed in the slot before
@@ -1403,8 +1403,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in body slot and returns alterations.
- * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(int)} instead
+ * Unequips item in body slot and returns alterations.
+ * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(int)} instead
* @param slot : int designating the slot of the paperdoll
* @return ItemInstance[] : list of changes
*/
@@ -1434,8 +1434,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in slot and returns alterations
- * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
+ * Unequips item in slot and returns alterations
+ * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
* @param slot : int designating the slot
* @return ItemInstance[] : list of items altered
*/
@@ -1607,8 +1607,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Equips item and returns list of alterations
- * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
+ * Equips item and returns list of alterations
+ * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
* @param item : ItemInstance corresponding to the item
* @return ItemInstance[] : list of alterations
*/
@@ -2184,8 +2184,9 @@ public abstract class Inventory extends ItemContainer
/**
* Reduce the arrow number of the Creature.
- * Overridden in :
- *
PlayerInstance
+ *
+ * Overridden in:
+ *
PlayerInstance
* @param type
*/
public void reduceArrowCount(EtcItemType type)
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
index 2847ecdcd5..2e5f90dcee 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
@@ -530,7 +530,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its objectID and updates database
+ * Destroy item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -545,7 +545,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its itemId and updates database
+ * Destroy item from inventory by using its itemId and updates database
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
index 0a9e6cc66d..5d3bed530d 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
@@ -113,7 +113,7 @@ public class PetInventory extends Inventory
public void restore()
{
super.restore();
- // check for equiped items from other pets
+ // check for equipped items from other pets
for (ItemInstance item : _items.values())
{
if (item.isEquipped() && !item.getItem().checkCondition(_owner, _owner, false))
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
index c4e4fe8fd1..71f513dc71 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
@@ -586,7 +586,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
+ * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -632,7 +632,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
+ * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/items/Item.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/items/Item.java
index 1bcfe92dd5..6a6a0a407f 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/items/Item.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/items/Item.java
@@ -58,7 +58,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
/**
- * This class contains all informations concerning the item (weapon, armor, etc).
+ * This class contains all informations concerning the item (weapon, armor, etc).
* Mother class of :
*
*
Armor
@@ -173,8 +173,7 @@ public abstract class Item extends ListenersContainer implements IIdentifiable
private boolean _isBlessed;
/**
- * Constructor of the Item that fill class variables.
- *
+ * Constructor of the Item that fill class variables.
* @param set : StatSet corresponding to a set of couples (key,value) for description of the item
*/
protected Item(StatSet set)
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
index 771a5dda71..33205bd282 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.items.type.CrystalType;
import org.l2jmobius.gameserver.model.items.type.ItemType;
/**
- * This class contains ItemInstance
+ * This class contains ItemInstance
* Use to sort ItemInstance of :
*
*
Armor
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
index be8bea3274..3385332647 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
@@ -263,19 +263,15 @@ public class ItemInstance extends WorldObject
}
/**
- * Remove a ItemInstance from the world and send server->client GetItem packets.
- *
- * Actions :
- *
+ * Remove a ItemInstance from the world and send server->client GetItem packets.
+ *
+ * Actions:
*
Send a Server->Client Packet GetItem to player that pick up and its _knowPlayers member
- *
Remove the WorldObject from the world
- *
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- *
- * Example of use :
- *
- *
Do Pickup Item : PCInstance and Pet
- *
+ *
Remove the WorldObject from the world
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ *
+ * Example of use:
+ *
Do Pickup Item : PCInstance and Pet
* @param creature Character that pick up the item
*/
public void pickupMe(Creature creature)
@@ -406,9 +402,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the location of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the location of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param loc : ItemLocation (enumeration)
* @param locData : int designating the slot where the item is stored or the village for freights
*/
@@ -437,8 +432,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
+ * Sets the quantity of the item.
* @param count the new count to set
*/
public void setCount(long count)
@@ -461,9 +455,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the quantity of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param process : String Identifier of process triggering this action
* @param count : int
* @param creator : PlayerInstance Player requesting the item creation
@@ -1469,7 +1462,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
*/
public void updateDatabase()
{
@@ -1477,7 +1470,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
* @param force if the update should necessarilly be done.
*/
public void updateDatabase(boolean force)
@@ -1513,20 +1506,17 @@ public class ItemInstance extends WorldObject
}
/**
- * Init a dropped ItemInstance and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a dropped ItemInstance and add it in the world as a visible object.
+ *
+ * Actions:
*
Set the x,y,z position of the ItemInstance dropped and update its _worldregion
*
Add the ItemInstance dropped to _visibleObjects of its WorldRegion
- *
Add the ItemInstance dropped in the world as a visible object
- *
- * Caution : This method DOESN'T ADD the object to _allObjects of World
- *
- * Example of use :
- *
+ *
Add the ItemInstance dropped in the world as a visible object
+ * Caution: This method DOESN'T ADD the object to _allObjects of World
+ *
+ * Example of use:
*
Drop item
- *
Call Pet
+ *
Call Pet
*/
public class ItemDropTask implements Runnable
{
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/quest/Quest.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/quest/Quest.java
index 86d1f94f8d..599a2912a1 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/quest/Quest.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/quest/Quest.java
@@ -999,7 +999,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever a player attacks an NPC that is registered for the quest.
- * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
+ * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
* @param npc this parameter contains a reference to the exact instance of the NPC that got attacked.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked the NPC.
* @param damage this parameter represents the total damage that this attack has inflicted to the NPC.
@@ -1136,7 +1136,7 @@ public class Quest extends AbstractScript implements IIdentifiable
* The coder of the script may need to create a new quest state (if necessary).
* Note 3:
* The returned value of onFirstTalk replaces the default HTML that would have otherwise been loaded from a sub-folder of DatapackRoot/game/data/html/.
- * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
+ * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
* @param npc this parameter contains a reference to the exact instance of the NPC that the player is talking with.
* @param player this parameter contains a reference to the exact instance of the player who is talking to the NPC.
* @return the text returned by the event (may be {@code null}, a filename or just text)
@@ -1263,7 +1263,7 @@ public class Quest extends AbstractScript implements IIdentifiable
}
/**
- * This function is called whenever an NPC is teleport.
+ * This function is called whenever an NPC is teleport.
* @param npc this parameter contains a reference to the exact instance of the NPC who just teleport.
*/
protected void onTeleport(Npc npc)
@@ -1273,7 +1273,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever an NPC is called by another NPC in the same faction.
* @param npc this parameter contains a reference to the exact instance of the NPC who is being asked for help.
- * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
+ * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked.
* @param isSummon this parameter if it's {@code false} it denotes that the attacker was indeed the player, else it specifies that the attacker was the player's summon.
* @return
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
index e5aae3552e..6d6cd04ce0 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
@@ -695,7 +695,7 @@ public class SkillCaster implements Runnable
}
/**
- * Stops this casting and cleans all cast parameters.
+ * Stops this casting and cleans all cast parameters.
* @param aborted if {@code true}, server will send packets to the player, notifying him that the skill has been aborted.
*/
public void stopCasting(boolean aborted)
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/stats/Formulas.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/stats/Formulas.java
index 57bb765173..2b3c7f4b23 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/stats/Formulas.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/stats/Formulas.java
@@ -550,7 +550,7 @@ public class Formulas
* Returns:
* 0 = shield defense doesn't succeed
* 1 = shield defense succeed
- * 2 = perfect block
+ * 2 = perfect block
* @param attacker
* @param target
* @param sendSysMsg
@@ -655,7 +655,7 @@ public class Formulas
}
/**
- * Calculates the effect landing success.
+ * Calculates the effect landing success.
* @param attacker the attacker
* @param target the target
* @param skill the skill
@@ -963,9 +963,9 @@ public class Formulas
}
/**
- * Calculates the attribute bonus with the following formula:
- * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
- * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
+ * Calculates the attribute bonus with the following formula:
+ * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
+ * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
* diff == 0, so AttBonus = 1
* It has been tested that physical skills do get affected by attack attribute even
* if they don't have any attribute. In that case only the biggest attack attribute is taken.
@@ -1207,7 +1207,7 @@ public class Formulas
* Confuse
* Compelling,
* Knockback
- * Pull
+ * Pull
* @param baseChance chance from effect parameter
* @param attacker
* @param target
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
index 2988807295..c621fab8f6 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
* A Function object is a component of a Calculator created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...).
* In fact, each calculator is a table of functions object in which each function represents a mathematics function:
* FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
+ * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
* Indeed, functions with lowest priority order is executed first and functions with the same order are executed in unspecified order.
* @author Zoey76
*/
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
index 1cb8bc9d02..d898d2c397 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
@@ -71,7 +71,7 @@ public class TaxZone extends ZoneType
}
/**
- * Gets castle associated with tax zone.
+ * Gets castle associated with tax zone.
* @return instance of {@link Castle} if found otherwise {@code null}
*/
public Castle getCastle()
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
index ca7f8d6d99..dee0ea769d 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
@@ -55,8 +55,8 @@ public class BlowFishKeygen
}
/**
- * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
- * Thus when getting a key with interests other then read-only a copy must be performed.
+ * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
+ * Thus when getting a key with interests other then read-only a copy must be performed.
* @return A key from this keygen pool.
*/
public static byte[] getRandomKey()
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
index a9bafd3a65..fe9e0e70d3 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
@@ -546,7 +546,7 @@ public class RequestAcquireSkill implements IClientIncomingPacket
/**
* Perform a simple check for current player and skill.
* Takes the needed SP if the skill require it and all requirements are meet.
- * Consume required items if the skill require it and all requirements are meet.
+ * Consume required items if the skill require it and all requirements are meet.
* @param player the skill learning player.
* @param trainer the skills teaching Npc.
* @param skillLearn the skill to be learn.
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
index 99188ca980..a4accd8a47 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
@@ -96,7 +96,7 @@ public class RequestDestroyItem implements IClientIncomingPacket
// if we can't find the requested item, its actually a cheat
if (itemToRemove == null)
{
- // gm can destroy other player items
+ // GM can destroy other player items
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
index 206640aad7..eb85f84823 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
@@ -50,7 +50,7 @@ public class RequestGMCommand implements IClientIncomingPacket
@Override
public void run(GameClient client)
{
- // prevent non gm or low level GMs from vieweing player stuff
+ // prevent non GM or low level GMs from vieweing player stuff
if (!client.getPlayer().isGM() || !client.getPlayer().getAccessLevel().allowAltG())
{
return;
@@ -99,7 +99,7 @@ public class RequestGMCommand implements IClientIncomingPacket
}
case 6: // player warehouse
{
- // gm warehouse view to be implemented
+ // GM warehouse view to be implemented
if (player != null)
{
client.sendPacket(new GMViewWarehouseWithdrawList(player));
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
index 442b4ad701..c2650bf6a0 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
@@ -90,7 +90,7 @@ public class UseItem implements IClientIncomingPacket
final ItemInstance item = player.getInventory().getItemByObjectId(_objectId);
if (item == null)
{
- // gm can use other player item
+ // GM can use other player item
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
index d19f06f141..f4f0c5ca81 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.network.OutgoingPackets;
import org.l2jmobius.gameserver.network.clientpackets.RequestAllyInfo;
/**
- * Sent in response to {@link RequestAllyInfo}, if applicable.
+ * Sent in response to {@link RequestAllyInfo}, if applicable.
* @author afk5min
*/
public class AllianceInfo implements IClientOutgoingPacket
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
index 80a7042463..1fd7ec663a 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
@@ -20,9 +20,9 @@ import org.l2jmobius.commons.network.PacketWriter;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Eva's Inferno event packet. info params:
- * type (1 - %, 2 - npcId),
- * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
+ * Eva's Inferno event packet. info params:
+ * type (1 - %, 2 - npcId),
+ * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
* state (0-1), endtime (only when type 2)
*/
public class ExBrBuffEventState implements IClientOutgoingPacket
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
index 52cadba571..35fcc3b4a8 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
@@ -114,7 +114,7 @@ public interface IClientOutgoingPacket extends IOutgoingPacket
}
/**
- * Sends this packet to the target player, useful for lambda operations like
+ * Sends this packet to the target player, useful for lambda operations like
* {@code World.getInstance().getPlayers().forEach(packet::sendTo)}
* @param player
*/
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
index 1a0c26e078..7fd8a52be7 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
@@ -24,25 +24,25 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Attacker List in the SiegeInfo Window
- *
- * c = ca
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Attackers Clans?
- * d = Number of Attackers Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Attacker List in the SiegeInfo Window
+ *
+ * c = ca
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Attackers Clans?
+ * d = Number of Attackers Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeAttackerList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
index 7066b92fa1..52e10be7c6 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
@@ -25,26 +25,26 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Defender List in the SiegeInfo Window
- *
- * c = 0xcb
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Defending Clans?
- * d = Number of Defending Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Defender List in the SiegeInfo Window
+ *
+ * c = 0xcb
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Defending Clans?
+ * d = Number of Defending Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeDefenderList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
index 355cea9565..6c647eec90 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
@@ -27,18 +27,18 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Shows the Siege Info
- *
- * c = c9
- * d = CastleID
- * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
- * d = Owner ClanID
- * S = Owner ClanName
- * S = Owner Clan LeaderName
- * d = Owner AllyID
- * S = Owner AllyName
- * d = current time (seconds)
- * d = Siege time (seconds) (0 for selectable)
+ * Shows the Siege Info
+ *
+ * c = c9
+ * d = CastleID
+ * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
+ * d = Owner ClanID
+ * S = Owner ClanName
+ * S = Owner Clan LeaderName
+ * d = Owner AllyID
+ * S = Owner AllyName
+ * d = current time (seconds)
+ * d = Siege time (seconds) (0 for selectable)
* d = (UNKNOW) Siege Time Select Related?
* @author KenM
*/
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/scripting/ManagedScript.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
index f2b91791ab..00235baa25 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
@@ -21,7 +21,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
/**
- * Abstract class for classes that are meant to be implemented by scripts.
+ * Abstract class for classes that are meant to be implemented by scripts.
* @author KenM
*/
public abstract class ManagedScript
@@ -41,7 +41,7 @@ public abstract class ManagedScript
public abstract Path getScriptPath();
/**
- * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
+ * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
* Subclasses of this class should override this method to properly refresh their bindings when necessary.
* @return true if and only if the script was reloaded, false otherwise.
*/
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
index 34ba313686..620f020f4e 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
@@ -77,7 +77,7 @@ public class AttackStanceTaskManager
}
/**
- * Checks for attack stance task.
+ * Checks for attack stance task.
* @param actor the actor
* @return {@code true} if the character has an attack stance task, {@code false} otherwise
*/
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/ui/frmAbout.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/ui/frmAbout.java
index a3e5c2cc67..4d161afb73 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/ui/frmAbout.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/ui/frmAbout.java
@@ -83,7 +83,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblProtocols);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 128, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/util/Broadcast.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/util/Broadcast.java
index e0d798deff..5a7eb1a4df 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/util/Broadcast.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/util/Broadcast.java
@@ -40,11 +40,13 @@ public class Broadcast
private static final Logger LOGGER = Logger.getLogger(Broadcast.class.getName());
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -60,11 +62,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -108,11 +112,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
* @param radius
@@ -128,10 +134,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param creature
* @param mov
*/
@@ -162,10 +170,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance present in the world.
- * Concept :
- * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance present in the world.
+ *
+ * Concept:
+ *
+ * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param packet
*/
public static void toAllOnlinePlayers(IClientOutgoingPacket packet)
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/util/MinionList.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/util/MinionList.java
index 29a8c04c1e..9a6f694eaa 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/util/MinionList.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/util/MinionList.java
@@ -58,13 +58,11 @@ public class MinionList
}
/**
- * Manage the spawn of Minions.
- *
- * Actions :
- *
+ * Manage the spawn of Minions.
+ *
+ * Actions:
*
Get the Minion data of all Minions that must be spawn
- *
For each Minion type, spawn the amount of Minion needed
- *
+ *
For each Minion type, spawn the amount of Minion needed
* @param minions
*/
public void spawnMinions(List minions)
@@ -260,16 +258,14 @@ public class MinionList
}
/**
- * Init a Minion and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a Minion and add it in the world as a visible object.
+ *
+ * Actions:
*
Get the template of the Minion to spawn
*
Create and Init the Minion and generate its Identifier
*
Set the Minion HP, MP and Heading
*
Set the Minion leader to this RaidBoss
- *
Init the position of the Minion and add it in the world as a visible object
- *
+ *
Init the position of the Minion and add it in the world as a visible object
* @param master MonsterInstance used as master for this minion
* @param minionId The NpcTemplate Identifier of the Minion to spawn
* @return
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/util/PrimeFinder.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/util/PrimeFinder.java
index c9532000c8..20016811a1 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/util/PrimeFinder.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/util/PrimeFinder.java
@@ -33,7 +33,7 @@ import java.util.Arrays;
public class PrimeFinder
{
/**
- * The largest prime this class can generate; currently equal to Integer.MAX_VALUE.
+ * The largest prime this class can generate; currently equal to Integer.MAX_VALUE
*/
public static final int LARGEST_PRIME = Integer.MAX_VALUE; // yes, it is prime.
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
index 2e46e0a048..0a81e323a3 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
@@ -67,8 +67,7 @@ public class TimeAmountInterpreter
}
/**
- * Appends an user-friendly description of the given amount of time to the specified text builder.
- *
+ * Appends an user-friendly description of the given amount of time to the specified text builder.
* Please keep in mind, that this method is primarily designed to be used with heap text builders. Therefore, if the given text builder throws an {@link IOException}, this exception will be wrapped in a {@link RuntimeException} and returned to the caller as an unchecked exception.
* @param
* @param textBuilder a character sequence builder
diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/loginserver/ui/frmAbout.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/loginserver/ui/frmAbout.java
index 8488868090..06a5d95539 100644
--- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/loginserver/ui/frmAbout.java
+++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/loginserver/ui/frmAbout.java
@@ -75,7 +75,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblLoginServer);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 148, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/custom/listeners/ListenerTest.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/custom/listeners/ListenerTest.java
index 0f855db33f..ed9d1c76f4 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/custom/listeners/ListenerTest.java
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/custom/listeners/ListenerTest.java
@@ -114,7 +114,7 @@ public class ListenerTest extends AbstractNpcAI
}
/**
- * Prioritized event notification
+ * Prioritized event notification
* This method will be invoked as soon as creature from level range between 1 and 10 dies.
* This listener is registered into individual npcs container.
* @param event
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
index 4185463b7a..a20f09c9cd 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
@@ -26,18 +26,15 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
public class ArtefactInstanceAction implements IActionHandler
{
/**
- * Manage actions when a player click on the ArtefactInstance.
- *
- * Actions :
- *
+ * Manage actions when a player click on the ArtefactInstance.
+ *
+ * Actions:
*
Set the NpcInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
- *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
*/
@Override
public boolean action(PlayerInstance player, WorldObject target, boolean interact)
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
index bb73cd0bae..1f204280f0 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
@@ -36,27 +36,22 @@ import org.l2jmobius.gameserver.network.serverpackets.MoveToPawn;
public class NpcAction implements IActionHandler
{
/**
- * Manage actions when a player click on the Npc.
- *
- * Actions on first click on the Npc (Select it) :
- *
+ * Manage actions when a player click on the Npc.
+ *
+ * Actions on first click on the Npc (Select it):
*
Set the Npc as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, send a Server->Client packet StatusUpdate to the PlayerInstance in order to update Npc HP bar
- *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
- *
- * Actions on second click on the Npc (Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
+ *
+ * Actions on second click on the Npc (Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, notify the PlayerInstance AI with AI_INTENTION_ATTACK (after a height verification)
- *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
- *
- * Caution : Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
+ * Caution: Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The PlayerInstance that start an action on the Npc
*/
@Override
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
index 28aa39ab39..d52da54398 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
@@ -31,25 +31,20 @@ public class PlayerInstanceAction implements IActionHandler
private static final int CURSED_WEAPON_VICTIM_MIN_LEVEL = 21;
/**
- * Manage actions when a player click on this PlayerInstance.
- *
- * Actions on first click on the PlayerInstance (Select it) :
- *
+ * Manage actions when a player click on this PlayerInstance.
+ *
+ * Actions on first click on the PlayerInstance (Select it):
*
Set the target of the player
- *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
- *
- * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
+ *
+ * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the player (display the select window)
*
If target PlayerInstance has a Private Store, notify the player AI with AI_INTENTION_INTERACT
- *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
- *
- *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
+ *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The player that start an action on target PlayerInstance
*/
@Override
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
index 20a4e8f57c..6da5c01385 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
@@ -29,7 +29,7 @@ public class PlayerInstanceActionShift implements IActionShiftHandler
{
if (player.isGM())
{
- // Check if the gm already target this l2pcinstance
+ // Check if the GM already target this l2pcinstance
if (player.getTarget() != target)
{
// Set the target of the PlayerInstance player
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
index ea73fa17a1..1aa5e5074a 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
@@ -86,13 +86,13 @@ public class AdminAdmin implements IAdminCommandHandler
else if (command.startsWith("admin_gmliston"))
{
AdminData.getInstance().showGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Registered into gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Registered into GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_gmlistoff"))
{
AdminData.getInstance().hideGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Removed from gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Removed from GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_silence"))
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
index 2efc2df69a..3fed3db486 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
@@ -486,7 +486,7 @@ public class AdminEventEngine implements IAdminCommandHandler
sb.append("
");
sb.append("
");
sb.append("
");
- sb.append("
");
+ sb.append("
");
sb.append("Teams' names:
");
for (int i = 1; (i - 1) < teamnumbers; i++) // Team names params
{
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
index 5e3fc05aa9..91259505bf 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
@@ -31,7 +31,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
/**
- * This class handles following admin commands: - gm = turns gm mode on/off
+ * This class handles following admin commands: - GM = turns GM mode on/off
* @version $Revision: 1.1.2.1 $ $Date: 2005/03/15 21:32:48 $
*/
public class AdminFightCalculator implements IAdminCommandHandler
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
index a32a84dd35..e9acb6a1f6 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles following admin commands: - gm = turns gm mode off
+ * This class handles following admin commands: - GM = turns GM mode off
* @version $Revision: 1.2.4.4 $ $Date: 2005/04/11 10:06:06 $
*/
public class AdminGm implements IAdminCommandHandler
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
index 364bba90a9..f0b2f857a4 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles commands for gm to forge packets
+ * This class handles commands for GM to forge packets
* @author Maktakien, HorridoJoho
*/
public class AdminPForge implements IAdminCommandHandler
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
index 9dd195001c..b5e732f3f7 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
@@ -30,14 +30,14 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * Pledge Manipulation:
- *
With target in a character without clan:
+ * Pledge Manipulation:
+ *
With target in a character without clan:
* //pledge create clanname
- *
With target in a clan leader:
- * //pledge info
- * //pledge dismiss
- * //pledge setlevel level
- * //pledge rep reputation_points
+ *
With target in a clan leader:
+ * //pledge info
+ * //pledge dismiss
+ * //pledge setlevel level
+ * //pledge rep reputation_points
*/
public class AdminPledge implements IAdminCommandHandler
{
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
index fb1eed2f9f..9be9eb040d 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
@@ -78,8 +78,9 @@ public class QuestLink implements IBypassHandler
/**
* Open a choose quest window on client with all quests available of the NpcInstance.
+ *
* Actions:
- *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
+ *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
* @param player The PlayerInstance that talk with the NpcInstance
* @param npc The table containing quests of the NpcInstance
* @param quests
@@ -231,6 +232,7 @@ public class QuestLink implements IBypassHandler
/**
* Open a quest window on client with the text of the NpcInstance.
+ *
* Actions:
*
*
Get the text of the quest state in the folder data/scripts/quests/questId/stateId.htm
Fly Radius means the distance between starting point and final point, it must be an integer.
*
Fly Course means the movement direction: imagine a compass above player's head, making north player's heading. So if fly course is 180, player will go backwards (good for blink, e.g.).
*
- * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
+ * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
* If target is effector, put in XML self="1", this will make _actor = getEffector(). This, combined with target type, allows more complex actions like flying target's backwards or player's backwards.
* @author DrHouse
*/
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
index ca935396a6..e4e937ef41 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.network.serverpackets.ValidateLocation;
/**
* This Blink effect switches the location of the caster and the target.
- * This effect is totally done based on client description.
+ * This effect is totally done based on client description.
* Assume that geodata checks are done on the skill cast and not needed to repeat here.
* @author Nik
*/
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
index 0f1802d986..00474ef88a 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.effects.EffectFlag;
import org.l2jmobius.gameserver.model.effects.EffectType;
/**
- * An effect that blocks the player (NPC?) control.
+ * An effect that blocks the player (NPC?) control.
* It prevents moving, casting, social actions, etc.
* @author Nik
*/
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
index 6b463fd9d2..f94ecb0b46 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
@@ -21,7 +21,7 @@ import org.l2jmobius.gameserver.model.effects.AbstractEffect;
import org.l2jmobius.gameserver.model.effects.EffectFlag;
/**
- * Effect that blocks damage and heals to HP/MP.
+ * Effect that blocks damage and heals to HP/MP.
* Regeneration or DOT shouldn't be blocked, Vampiric Rage and Balance Life as well.
* @author Nik
*/
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
index 9eb0b4e233..8c7fddca06 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
/**
* An effect that changes damage taken from an attack.
- * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
+ * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
* Exceptions for this effect appears to be DOT effects and terrain damage, they are unaffected by this stat.
* As for example in retail this effect does reduce reflected damage taken (because it is received damage), as well as it does not decrease reflected damage done,
* because reflected damage is being calculated with the original attack damage and not this altered one.
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
index a4808a3312..5624fe4e60 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
@@ -34,10 +34,10 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
- * Current formulas were tested to be the best matching retail, damage appears to be identical:
- * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
- * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
+ * Physical Attack effect implementation.
+ * Current formulas were tested to be the best matching retail, damage appears to be identical:
+ * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
+ * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
* @author Nik
*/
public class PhysicalAttack extends AbstractEffect
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
index 332fa3fa4f..17f093e386 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
index 34e643a5b1..4f29f685f7 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
index d70a5a1f64..75bfb2f7db 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.zone.ZoneId;
/**
* Not Friend affect object implementation. Based on Gracia Final retail tests.
* Such are considered flagged/karma players (except party/clan/ally). Doesn't matter if in command channel.
- * In arena such are considered clan/ally/command channel (except party).
+ * In arena such are considered clan/ally/command channel (except party).
* In peace zone such are considered monsters.
* Monsters consider such all players, npcs (Citizens, Guild Masters, Merchants, Guards, etc. except monsters). Doesn't matter if in peace zone or arena.
* @author Nik
diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/instances/AbstractInstance.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/instances/AbstractInstance.java
index 17d748fad2..354b0d5137 100644
--- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/instances/AbstractInstance.java
+++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/instances/AbstractInstance.java
@@ -62,7 +62,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Get instance world associated with {@code player}.
+ * Get instance world associated with {@code player}.
* @param player player who wants get instance world
* @return instance world if found, otherwise null
*/
@@ -229,8 +229,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Sets instance to finish state.
- * See {@link Instance#finishInstance()} for more details.
+ * Sets instance to finish state.
* @param player player used for determine current instance world
*/
protected void finishInstance(PlayerInstance player)
@@ -244,7 +243,6 @@ public abstract class AbstractInstance extends AbstractNpcAI
/**
* Sets instance to finish state.
- * See {@link Instance#finishInstance(int)} for more details.
* @param player player used for determine current instance world
* @param delay finish delay in minutes
*/
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
index 93028744ee..aa8ac8f064 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
@@ -1232,8 +1232,7 @@ public class BlowfishEngine
/**
* Method to encrypt the block at the given index.
- * The encrypted block goes to the destination array at the given index.
- *
+ * The encrypted block goes to the destination array at the given index.
* @param src source array with the plain data
* @param srcIndex index where the block to encrypt is located
* @param dst destination array the encryption will go to
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/GameTimeController.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/GameTimeController.java
index 131fb28d3d..aa4d359090 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/GameTimeController.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/GameTimeController.java
@@ -118,10 +118,13 @@ public class GameTimeController extends Thread
}
/**
- * Move all Creatures contained in movingObjects of GameTimeController.
- * Concept :
- * All Creature in movement are identified in movingObjects of GameTimeController.
- * Actions :
+ * Move all Creatures contained in movingObjects of GameTimeController.
+ *
+ * Concept:
+ *
+ * All Creature in movement are identified in movingObjects of GameTimeController.
+ *
+ * Actions:
*
*
Update the position of each Creature
*
If movement is finished, the Creature is removed from movingObjects
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/LoginServerThread.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/LoginServerThread.java
index bafacc7045..39bf2b4f51 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/LoginServerThread.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/LoginServerThread.java
@@ -95,7 +95,6 @@ public class LoginServerThread extends Thread
* The BlowFish engine used to encrypt packets
* It is first initialized with a unified key:
* "_;v.]05-31!|+-%xT!^[$\00"
- *
* and then after handshake, with a new key sent by
* login server during the handshake. This new key is stored
* in blowfishKey
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/Shutdown.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/Shutdown.java
index 7ced9a191b..e81e4222dc 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/Shutdown.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/Shutdown.java
@@ -232,7 +232,7 @@ public class Shutdown extends Thread
}
else
{
- // gm shutdown: send warnings and then call exit to start shutdown sequence
+ // GM shutdown: send warnings and then call exit to start shutdown sequence
countdown();
// last point where logging is operational :(
LOGGER.warning("GM shutdown countdown is over. " + MODE_TEXT[_shutdownMode] + " NOW!");
@@ -538,7 +538,7 @@ public class Shutdown extends Thread
}
/**
- * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
+ * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
* @return instance of Shutdown, to be used as shutdown hook
*/
public static Shutdown getInstance()
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/ai/AbstractAI.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/ai/AbstractAI.java
index 95f441a5d6..c544548976 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/ai/AbstractAI.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/ai/AbstractAI.java
@@ -45,7 +45,7 @@ import org.l2jmobius.gameserver.taskmanager.AttackStanceTaskManager;
/**
* Mother class of all objects AI in the world.
- * AbastractAI :
+ * AbastractAI:
*
CreatureAI
*/
public abstract class AbstractAI implements Ctrl
@@ -126,10 +126,10 @@ public abstract class AbstractAI implements Ctrl
/**
* Set the Intention of this AbstractAI.
- * Caution : This method is USED by AI classes
- * Overridden in :
- * AttackableAI : Create an AI Task executed every 1s (if necessary)
- * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
+ * Caution: This method is USED by AI classes
+ * Overridden in:
+ * AttackableAI : Create an AI Task executed every 1s (if necessary)
+ * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -141,7 +141,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
*/
@Override
@@ -152,7 +152,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
* @param args The first parameters of the Intention (optional target)
*/
@@ -225,7 +225,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onEvt method corresponding to the Event.
- * Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
*/
@Override
@@ -235,7 +235,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
*/
@@ -246,7 +246,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
* @param arg1 The second parameter of the Event (optional target)
@@ -419,7 +419,7 @@ public abstract class AbstractAI implements Ctrl
protected abstract void onEvtFinishCasting();
/**
- * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution : Low level function, used by AI subclasses
+ * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution: Low level function, used by AI subclasses
*/
protected void clientActionFailed()
{
@@ -430,8 +430,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param pawn
* @param offset
*/
@@ -514,8 +514,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param x
* @param y
* @param z
@@ -542,8 +542,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param loc
*/
public void clientStopMoving(Location loc)
@@ -591,8 +591,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
public void clientStartAutoAttack()
{
@@ -632,8 +632,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
void clientStopAutoAttack()
{
@@ -661,8 +661,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
protected void clientNotifyDead()
{
@@ -679,7 +679,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Update the state of this actor client side by sending Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance player.
- * Caution : Low level function, used by AI subclasses
+ * Caution: Low level function, used by AI subclasses
* @param player The PlayerIstance to notify with state of this Creature
*/
public void describeStateToPlayer(PlayerInstance player)
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/ai/AttackableAI.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/ai/AttackableAI.java
index 28bb61cbff..6075092cb6 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/ai/AttackableAI.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/ai/AttackableAI.java
@@ -212,7 +212,7 @@ public class AttackableAI extends CreatureAI
/**
* Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
- * Caution : If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
+ * Caution: If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -317,7 +317,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update every 1s the _globalAggro counter to come close to 0
*
If the actor is Aggressive and can attack, add all autoAttackable Creature in its Aggro Range to its _aggroList, chose a target and order to attack it
@@ -612,7 +612,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update the attack timeout if actor is running
*
If target is dead or timeout is expired, stop this attack and set the Intention to AI_INTENTION_ACTIVE
@@ -1237,7 +1237,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Attacked.
- * Actions :
+ *
+ * Actions:
*
*
Init the attack : Calculate the attack timeout, Set the _globalAggro to 0, Add the attacker to the actor _aggroList
*
Set the Creature movement type to run and send Server->Client packet ChangeMoveType to all others PlayerInstance
@@ -1301,7 +1302,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Aggression.
- * Actions :
+ *
+ * Actions:
*
*
Add the target to the actor _aggroList or update hate if already present
*
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/ai/CreatureAI.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/ai/CreatureAI.java
index aeb15558db..a5b0347ce9 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/ai/CreatureAI.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/ai/CreatureAI.java
@@ -139,7 +139,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Idle Intention : Stop Attack, Movement and Stand Up the actor.
- * Actions :
+ *
+ * Actions:
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
Init cast and attack target
@@ -164,7 +165,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Active Intention : Stop Attack, Movement and Launch Think Event.
- * Actions : if the Intention is not already Active
+ *
+ * Actions : if the Intention is not already Active
*
*
Set the AI Intention to AI_INTENTION_ACTIVE
*
Init cast and attack target
@@ -195,7 +197,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Rest Intention.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
@@ -209,7 +212,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Attack Intention : Stop current Attack (if necessary), Start a new Attack and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_ATTACK
@@ -217,7 +221,8 @@ public class CreatureAI extends AbstractAI
*
Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast)
*
Launch the Think Event
*
- * Overridden in :
+ *
+ * Overridden in:
*
*
AttackableAI : Calculate attack timeout
*
@@ -281,7 +286,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Cast Intention : Stop current Attack, Init the AI in order to cast and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI cast target
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
@@ -331,7 +337,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
@@ -370,7 +377,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Follow Intention : Stop current Attack and Launch a Follow Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_FOLLOW
@@ -427,7 +435,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the PickUp Intention : Set the pick up target and Launch a Move To Pawn Task (offset=20).
- * Actions :
+ *
+ * Actions :
*
*
Set the AI pick up target
*
Set the Intention of this AI to AI_INTENTION_PICK_UP
@@ -476,7 +485,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Interact Intention : Set the interact target and Launch a Move To Pawn Task (offset=60).
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the AI interact target
@@ -537,7 +547,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Stunned then onAttacked Event.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
@@ -565,7 +576,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Rooted.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -588,7 +600,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Confused.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -606,7 +619,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Muted.
- * Actions :
+ *
+ * Actions:
*
*
Break a cast and send Server->Client ActionFailed packet and a System Message to the Creature
*
@@ -629,7 +643,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -643,7 +658,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Arrived.
- * Actions :
+ *
+ * Actions:
*
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
*
Launch actions corresponding to the Event Think
@@ -686,7 +702,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedRevalidate.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -700,7 +717,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedBlocked.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
@@ -725,7 +743,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ForgetObject.
- * Actions :
+ *
+ * Actions:
*
*
If the object was targeted and the Intention was AI_INTENTION_INTERACT or AI_INTENTION_PICK_UP, set the Intention to AI_INTENTION_ACTIVE
*
If the object was targeted to attack, stop the auto-attack, cancel target and set the Intention to AI_INTENTION_ACTIVE
@@ -781,7 +800,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -806,7 +826,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Dead.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast)
@@ -829,7 +850,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Fake Death.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
@@ -910,13 +932,15 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move to Pawn action in function of the distance and of the Interact area.
- * Actions :
+ *
+ * Actions:
*
*
Get the distance between the current position of the Creature and the target (x,y)
*
If the distance > offset+20, move the actor (by running) to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast)
*
If the distance <= offset+20, Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1017,13 +1041,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost or dead.
- * Actions : If the target is lost or dead
+ *
+ * Actions : If the target is lost or dead
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1050,13 +1076,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost.
- * Actions : If the target is lost
+ *
+ * Actions : If the target is lost
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/ai/PlayerAI.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/ai/PlayerAI.java
index 1af86289ec..72cd985005 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/ai/PlayerAI.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/ai/PlayerAI.java
@@ -90,7 +90,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -109,7 +110,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -124,7 +126,7 @@ public class PlayerAI extends PlayableAI
/**
* Finalize the casting of a skill. This method overrides CreatureAI method.
- * What it does:
+ * What it does:
* Check if actual intention is set to CAST and, if so, retrieves latest intention before the actual CAST and set it as the current intention for the player.
*/
@Override
@@ -197,7 +199,8 @@ public class PlayerAI extends PlayableAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
index a6c22e57af..dcfcbb433f 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
@@ -158,7 +158,7 @@ public class AdminData implements IXmlReader
AdminCommandAccessRight acar = _adminCommandAccessRights.get(adminCommand);
if (acar == null)
{
- // Trying to avoid the spam for next time when the gm would try to use the same command
+ // Trying to avoid the spam for next time when the GM would try to use the same command
if ((accessLevel.getLevel() > 0) && (accessLevel.getLevel() == _highestLevel))
{
acar = new AdminCommandAccessRight(adminCommand, true, accessLevel.getLevel());
@@ -341,7 +341,7 @@ public class AdminData implements IXmlReader
/**
* Gets the single instance of AdminTable.
- * @return AccessLevels: the one and only instance of this class
+ * @return AccessLevels: the one and only instance of this class
*/
public static AdminData getInstance()
{
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
index ab688fb612..a4de5a1083 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
@@ -63,7 +63,7 @@ import org.l2jmobius.gameserver.model.skills.Skill;
* Here can be found the following skill trees:
*
*
Class skill trees: player skill trees for each class.
- *
Transfer skill trees: player skill trees for each healer class.
+ *
Transfer skill trees: player skill trees for each healer class.
*
Collect skill tree: player skill tree for Gracia related skills.
*
Fishing skill tree: player skill tree for fishing related skills.
*
Transform skill tree: player skill tree for transformation related skills.
@@ -464,7 +464,7 @@ public class SkillTreeData implements IXmlReader
}
/**
- * Gets the race skill tree.
+ * Gets the race skill tree.
* @param race the race skill tree Id
* @return the complete race Skill Tree for a given {@code Race}
*/
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/datatables/BotReportTable.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
index 72de11fa1c..d8d3932288 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
@@ -206,7 +206,7 @@ public class BotReportTable
}
/**
- * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
+ * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
* @param reporter (PlayerInstance who issued the report)
* @return True, if the report was registered, False otherwise
*/
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/datatables/ItemTable.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/datatables/ItemTable.java
index d63129deff..bfae3f7a36 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/datatables/ItemTable.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/datatables/ItemTable.java
@@ -195,10 +195,10 @@ public class ItemTable
}
/**
- * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions :
+ * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions:
*
Create and Init the ItemInstance corresponding to the Item Identifier and quantity
*
Add the ItemInstance object to _allObjects of L2world
- *
Logs Item creation according to log settings
+ *
Logs Item creation according to log settings
* @param process : String Identifier of process triggering this action
* @param itemId : int Item Identifier of the item to be created
* @param count : int Quantity of items to be created for stackable items
@@ -304,7 +304,8 @@ public class ItemTable
/**
* Destroys the ItemInstance.
- * Actions :
+ *
+ * Actions:
*
*
Sets ItemInstance parameters to be unusable
*
Removes the ItemInstance object to _allObjects of L2world
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/enums/BasicProperty.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/enums/BasicProperty.java
index 77a2a7a477..1e5cac18dd 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/enums/BasicProperty.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/enums/BasicProperty.java
@@ -17,17 +17,17 @@
package org.l2jmobius.gameserver.enums;
/**
- * Basic property type of skills.
- * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
- * After, only 3 types are used: physical, magic and none.
- *
- * Quote from Juji:
- * ----------------------------------------------------------------------
- * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
- * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
- * ----------------------------------------------------------------------
- * All other are considered with no basic property aka NONE.
- *
+ * Basic property type of skills.
+ * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
+ * After, only 3 types are used: physical, magic and none.
+ *
+ * Quote from Juji:
+ * ----------------------------------------------------------------------
+ * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
+ * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
+ * ----------------------------------------------------------------------
+ * All other are considered with no basic property aka NONE.
+ *
* @author Nik
*/
public enum BasicProperty
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/handler/ItemHandler.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/handler/ItemHandler.java
index 939d8263da..a815f2646e 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/handler/ItemHandler.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/handler/ItemHandler.java
@@ -38,10 +38,9 @@ public class ItemHandler implements IHandler
}
/**
- * Adds handler of item type in datatable.
- *
- * Concept :
- * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
+ * Adds handler of item type in datatable.
+ * Concept :
+ * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
* @param handler (IItemHandler)
*/
@Override
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
index 7d6c13d3b9..b510fdc4ee 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
@@ -456,7 +456,7 @@ public class InstanceManager implements IXmlReader
}
/**
- * Register instance world.
+ * Register instance world.
* @param instance instance which should be registered
*/
public void register(Instance instance)
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/AccessLevel.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/AccessLevel.java
index ced434ddda..2dac00e406 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/AccessLevel.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/AccessLevel.java
@@ -87,9 +87,8 @@ public class AccessLevel
}
/**
- * Returns the access level
- *
- * @return int: access level
+ * Returns the access level
+ * @return int: access level
*/
public int getLevel()
{
@@ -97,9 +96,8 @@ public class AccessLevel
}
/**
- * Returns the access level name
- *
- * @return String: access level name
+ * Returns the access level name
+ * @return String: access level name
*/
public String getName()
{
@@ -107,9 +105,8 @@ public class AccessLevel
}
/**
- * Returns the name color of the access level
- *
- * @return int: the name color for the access level
+ * Returns the name color of the access level
+ * @return int: the name color for the access level
*/
public int getNameColor()
{
@@ -117,9 +114,8 @@ public class AccessLevel
}
/**
- * Returns the title color color of the access level
- *
- * @return int: the title color for the access level
+ * Returns the title color color of the access level
+ * @return int: the title color for the access level
*/
public int getTitleColor()
{
@@ -127,9 +123,8 @@ public class AccessLevel
}
/**
- * Retuns if the access level has gm access or not
- *
- * @return boolean: true if access level have gm access, otherwise false
+ * Retuns if the access level has GM access or not
+ * @return boolean: true if access level have GM access, otherwise false
*/
public boolean isGm()
{
@@ -137,9 +132,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to attack in peace zone or not
- *
- * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
+ * Returns if the access level is allowed to attack in peace zone or not
+ * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
*/
public boolean allowPeaceAttack()
{
@@ -147,9 +141,8 @@ public class AccessLevel
}
/**
- * Retruns if the access level is allowed to use fixed res or not
- *
- * @return true if the access level is allowed to use fixed res, otherwise false
+ * Retruns if the access level is allowed to use fixed res or not
+ * @return true if the access level is allowed to use fixed res, otherwise false
*/
public boolean allowFixedRes()
{
@@ -157,9 +150,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to perform transactions or not
- *
- * @return boolean: true if access level is allowed to perform transactions, otherwise false
+ * Returns if the access level is allowed to perform transactions or not
+ * @return boolean: true if access level is allowed to perform transactions, otherwise false
*/
public boolean allowTransaction()
{
@@ -167,9 +159,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to use AltG commands or not
- *
- * @return boolean: true if access level is allowed to use AltG commands, otherwise false
+ * Returns if the access level is allowed to use AltG commands or not
+ * @return boolean: true if access level is allowed to use AltG commands, otherwise false
*/
public boolean allowAltG()
{
@@ -177,9 +168,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can give damage or not
- *
- * @return boolean: true if the access level can give damage, otherwise false
+ * Returns if the access level can give damage or not
+ * @return boolean: true if the access level can give damage, otherwise false
*/
public boolean canGiveDamage()
{
@@ -187,9 +177,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can take aggro or not
- *
- * @return boolean: true if the access level can take aggro, otherwise false
+ * Returns if the access level can take aggro or not
+ * @return boolean: true if the access level can take aggro, otherwise false
*/
public boolean canTakeAggro()
{
@@ -197,9 +186,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can gain exp or not
- *
- * @return boolean: true if the access level can gain exp, otherwise false
+ * Returns if the access level can gain exp or not
+ * @return boolean: true if the access level can gain exp, otherwise false
*/
public boolean canGainExp()
{
@@ -207,9 +195,9 @@ public class AccessLevel
}
/**
- * Returns if the access level contains allowedAccess as child
- * @param accessLevel as AccessLevel
- * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
+ * Returns if the access level contains allowedAccess as child
+ * @param accessLevel as AccessLevel
+ * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
*/
public boolean hasChildAccess(AccessLevel accessLevel)
{
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/EffectList.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/EffectList.java
index 72d713b173..78596bd21e 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/EffectList.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/EffectList.java
@@ -159,7 +159,7 @@ public class EffectList
}
/**
- * Verifies if this effect list contains the given skill ID.
+ * Verifies if this effect list contains the given skill ID.
* @param skillId the skill ID to verify
* @return {@code true} if the skill ID is present in the effect list (includes active and passive effects), {@code false} otherwise
*/
@@ -179,7 +179,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param type the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching the specified {@code AbnormalType}, {@code false} otherwise
*/
@@ -189,7 +189,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param types the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching one of the specified {@code AbnormalType}s, {@code false} otherwise
*/
@@ -421,7 +421,7 @@ public class EffectList
}
/**
- * Exit all effects having a specified flag.
+ * Exit all effects having a specified flag.
* @param effectFlag the flag of the effect to stop
*/
public void stopEffects(EffectFlag effectFlag)
@@ -438,7 +438,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, Skill)}
+ * {@link #stopSkillEffects(boolean, Skill)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skillId the skill ID
*/
@@ -457,7 +457,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, int)}
+ * {@link #stopSkillEffects(boolean, int)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skill the skill
*/
@@ -483,7 +483,7 @@ public class EffectList
}
/**
- * Exits all effects created by a specific skill {@code AbnormalType}s.
+ * Exits all effects created by a specific skill {@code AbnormalType}s.
* @param types the skill {@code AbnormalType}s to be checked and removed.
* @return {@code true} if there was any {@code BuffInfo} with one of the given {@code AbnormalType}s, {@code false} otherwise
*/
@@ -498,7 +498,7 @@ public class EffectList
}
/**
- * Exits all effects matched by a specific filter.
+ * Exits all effects matched by a specific filter.
* @param filter any filter to apply when selecting which {@code BuffInfo}s to be removed.
* @param update update effect flags and icons after the operation finishes.
* @param broadcast {@code true} to broadcast update packets if updating, {@code false} otherwise.
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/Party.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/Party.java
index bfa180535b..e5518154d9 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/Party.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/Party.java
@@ -142,7 +142,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Set invitation process flag and store time for expiration.
+ * Set invitation process flag and store time for expiration.
* Happens when a player joins party or declines to join.
* @param value the pending invitation state to set
*/
@@ -273,8 +273,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Send a Server->Client packet to all other PlayerInstance of the Party.
- *
+ * Send a Server->Client packet to all other PlayerInstance of the Party.
* @param player
* @param msg
*/
@@ -821,12 +820,12 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
- *
- * Actions :
+ * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
+ *
+ * Actions:
*
Get the PlayerInstance owner of the ServitorInstance (if necessary)
*
Calculate the Experience and SP reward distribution rate
- *
Add Experience and SP to the PlayerInstance
+ *
Add Experience and SP to the PlayerInstance
* @param xpReward The Experience reward to distribute
* @param spReward The SP reward to distribute
* @param rewardedMembers The list of PlayerInstance to reward
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/Spawn.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/Spawn.java
index e9068a0b5f..9f8d6a075f 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/Spawn.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/Spawn.java
@@ -41,7 +41,7 @@ import org.l2jmobius.gameserver.util.Util;
/**
* This class manages the spawn and respawn of a group of NpcInstance that are in the same are and have the same type.
- * Concept:
+ * Concept:
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
* @author Nightmare
@@ -78,13 +78,16 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Constructor of Spawn.
- * Concept:
+ *
+ * Concept:
+ *
* Each Spawn owns generic and static properties (ex : RewardExp, RewardSP, AggroRange...).
* All of those properties are stored in a different NpcTemplate for each type of Spawn. Each template is loaded once in the server cache memory (reduce memory use).
* When a new instance of Spawn is created, server just create a link between the instance and the template.
- * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
- * This link is stored in _spawn of the NpcInstance.
- * Actions:
+ * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
+ * This link is stored in _spawn of the NpcInstance.
+ *
+ * Actions:
*
*
Set the _template of the Spawn
*
Calculate the implementationName used to generate the generic constructor of NpcInstance managed by this Spawn
@@ -227,11 +230,11 @@ public class Spawn extends Location implements IIdentifiable, INamable
}
/**
- * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions :
+ * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions:
*
Decrease the current number of NpcInstance of this Spawn
*
Check if respawn is possible to prevent multiple respawning caused by lag
*
Update the current number of SpawnTask in progress or stand by of this Spawn
- *
Create a new SpawnTask to launch after the respawn Delay
Caution : A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
+ *
Create a new SpawnTask to launch after the respawn Delay
Caution: A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
* @param oldNpc
*/
public void decreaseCount(Npc oldNpc)
@@ -305,10 +308,13 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Create the NpcInstance, add it to the world and lauch its OnSpawn action.
- * Concept:
+ *
+ * Concept:
+ *
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
- * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
+ *
+ * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
*
*
Get NpcInstance Init parameters and its generate an Identifier
*
Call the constructor of the NpcInstance
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/World.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/World.java
index 0b8cd8b4f1..09579e901c 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/World.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/World.java
@@ -132,7 +132,8 @@ public class World
/**
* Adds an object to the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Withdraw an item from the warehouse, create an item
*
Spawn a Creature (PC, NPC, Pet)
@@ -172,7 +173,8 @@ public class World
/**
* Removes an object from the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Delete item from inventory, transfer Item from inventory to warehouse
*
Crystallize item
@@ -209,7 +211,7 @@ public class World
}
/**
- * Example of use:
+ * Example of use:
*
@@ -251,7 +253,7 @@ public class World
}
/**
- * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
+ * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
* @param name Name of the player to get Instance
* @return the player instance corresponding to the given name.
*/
@@ -299,18 +301,18 @@ public class World
}
/**
- * Add a WorldObject in the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Add a WorldObject in the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Add the WorldObject object in _allPlayers* of World
*
Add the WorldObject object in _gmList** of GmListTable
- *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
- * * only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstanceCaution : This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
- * Caution : This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use :
+ *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
+ * * only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstanceCaution: This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
+ * Caution: This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use:
*
Drop an Item
*
Spawn a Creature
- *
Apply Death Penalty of a PlayerInstance
+ *
Apply Death Penalty of a PlayerInstance
* @param object L2object to add in the world
* @param newRegion WorldRegion in wich the object will be add (not used)
*/
@@ -382,16 +384,16 @@ public class World
}
/**
- * Remove a WorldObject from the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Remove a WorldObject from the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Remove the WorldObject object from _allPlayers* of World
*
Remove the WorldObject object from _visibleObjects and _allPlayers* of WorldRegion
*
Remove the WorldObject object from _gmList** of GmListTable
- *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution : This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstance Example of use :
+ *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution: This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstance Example of use:
*
Pickup an Item
- *
Decay a Creature
+ *
Decay a Creature
* @param object L2object to remove from the world
* @param oldRegion WorldRegion in which the object was before removing
*/
@@ -690,9 +692,9 @@ public class World
}
/**
- * Calculate the current WorldRegions of the object according to its position (x,y). Example of use :
+ * Calculate the current WorldRegions of the object according to its position (x,y). Example of use:
*
Set position of a new WorldObject (drop, spawn...)
- *
Update position of a WorldObject after a movement
+ *
Update position of a WorldObject after a movement
* @param object the object
* @return
*/
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/WorldObject.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/WorldObject.java
index 63e719d10f..adc7402c47 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/WorldObject.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/WorldObject.java
@@ -670,7 +670,7 @@ public abstract class WorldObject extends ListenersContainer implements IIdentif
}
/**
- * Sets instance for current object by instance ID.
+ * Sets instance for current object by instance ID.
* @param id ID of instance world which should be set (0 means normal world)
*/
public void setInstanceById(int id)
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/WorldRegion.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/WorldRegion.java
index 4a166d2b8a..25ada44e59 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/WorldRegion.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/WorldRegion.java
@@ -195,8 +195,8 @@ public class WorldRegion
}
/**
- * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
- * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
+ * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
+ * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
* @param object
*/
public void addVisibleObject(WorldObject object)
@@ -216,7 +216,7 @@ public class WorldRegion
}
/**
- * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
+ * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
* @param object
*/
public void removeVisibleObject(WorldObject object)
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 f3b8dcf934..27e7e104f7 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
@@ -1050,7 +1050,7 @@ public class Attackable extends Npc
* During a Special Event all Attackable can drop extra Items.
* Those extra Items are defined in the table allNpcDateDrops of the EventDroplist.
* Each Special Event has a start and end date to stop to drop extra Items automatically.
- * Actions: If an extra drop must be generated
+ * Actions: If an extra drop must be generated
* Get an Item Identifier (random) from the DateDrop Item table of this Event.
* Get the Item quantity dropped (random).
* Create this or these ItemInstance corresponding to this Item Identifier.
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Creature.java
index f244f517ee..f653f1f583 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Creature.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Creature.java
@@ -167,7 +167,6 @@ import org.l2jmobius.gameserver.util.Util;
*
Trap
*
Vehicle
*
- *
* Concept of CreatureTemplate:
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
@@ -295,11 +294,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Constructor of Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature. Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
- * Actions:
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
+ *
+ * Actions:
*
*
Set the _template of the Creature
*
Set _overloaded to false (the character can take more items)
@@ -542,8 +544,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Remove the Creature from the world when the decay task is launched.
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
public void onDecay()
{
@@ -603,8 +605,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
*/
@@ -621,8 +625,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the radius (max knownlist radius) from the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
* @param radiusInKnownlist
@@ -678,12 +684,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send the Server->Client packet StatusUpdate with current HP and MP to all other PlayerInstance to inform.
- * Actions:
+ *
+ * Actions:
*
*
Create the Server->Client packet StatusUpdate with current HP and MP
*
Send the Server->Client packet StatusUpdate with current HP and MP to all Creature called _statusListener that must be informed of HP/MP updates of this Creature
*
- * Caution: This method DOESN'T SEND CP information
+ * Caution: This method DOESN'T SEND CP information
* @param caster
*/
public void broadcastStatusUpdate(Creature caster)
@@ -714,7 +721,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Teleport a Creature and its pet if necessary.
- * Actions:
+ *
+ * Actions:
*
*
Stop the movement of the Creature
*
Set the x,y,z position of the WorldObject and if necessary modify its _worldRegion
@@ -883,7 +891,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a physical attack against a target (Simple, Bow, Pole or Dual).
- * Actions:
+ *
+ * Actions:
*
*
Get the active weapon (always equipped in the right hand)
*
If weapon is a bow, check for arrows, MP and bow re-use delay (if necessary, equip the PlayerInstance with arrows in left hand)
@@ -1274,7 +1283,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Manage the casting task (casting and interrupt time, re-use delay...) and display the casting bar and animation on client.
- * Actions:
+ *
+ * Actions:
*
*
Verify the possibility of the the cast : skill is a spell, caster isn't muted...
*
Get the list of all targets (ex : area effects) and define the Creature targeted (its stats will be used in calculation)
@@ -1564,7 +1574,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Kill the Creature.
- * Actions:
+ *
+ * Actions:
*
*
Set target to null and cancel Attack or Cast
*
Stop movement
@@ -2191,11 +2202,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Set the template of the Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
* Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
* @param template
*/
protected final void setTemplate(CreatureTemplate template)
@@ -2372,7 +2385,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop a specified/all Fake Death abnormal Effect.
- * Actions:
+ *
+ * Actions:
*
*
Delete a specified/all (if effect=null) Fake Death abnormal Effect from Creature and update client magic icon
*
Set the abnormal effect flag _fake_death to False
@@ -2400,7 +2414,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Stop all block actions (stun) effects.
+ * Stop all block actions (stun) effects.
* @param removeEffects {@code true} removes all block actions effects, {@code false} only notifies AI to think.
*/
public void stopStunning(boolean removeEffects)
@@ -2418,7 +2432,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop Effect: Transformation.
- * Actions:
+ *
+ * Actions:
*
*
Remove Transformation Effect
*
Notify the Creature AI
@@ -2447,7 +2462,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Updates the visual abnormal state of this character.
+ * Updates the visual abnormal state of this character.
*/
public void updateAbnormalVisualEffects()
{
@@ -2456,9 +2471,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update active skills in progress (In Use and Not In Use because stacked) icons on client.
- * Concept:
+ *
+ * Concept:
+ *
* All active skills effects in progress (In Use and Not In Use because stacked) are represented by an icon on the client.
- * Caution : This method ONLY UPDATE the client of the player and not clients of all players in the party.
+ * Caution: This method ONLY UPDATE the client of the player and not clients of all players in the party.
*/
public void updateEffectIcons()
{
@@ -2492,7 +2509,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* This class group all movement data.
- * Data :
+ *
+ * Data:
*
*
_moveTimestamp : Last time position update
*
_xDestination, _yDestination, _zDestination : Position of the destination
@@ -2786,7 +2804,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * @return True if the Creature is travelling a calculated path.
+ * @return True if the Creature is traveling a calculated path.
*/
public boolean isOnGeodataPath()
{
@@ -2896,16 +2914,18 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update the position of the Creature during a movement and return True if the movement is finished.
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
* When the movement is started (ex : by MovetoLocation), this method will be called each 0.1 sec to estimate and update the Creature position on the server.
* Note, that the current server position can differe from the current client position even if each movement is straight foward.
* That's why, client send regularly a Client->Server ValidatePosition packet to eventually correct the gap on the server.
* But, it's always the server position that is used in range calculation. At the end of the estimated movement time,
* the Creature position is automatically set to the destination position even if the movement is not finished.
- * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
- * But x and y positions must be calculated to avoid that players try to modify their movement speed.
+ * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
+ * But x and y positions must be calculated to avoid that players try to modify their movement speed.
* @return True if the movement is finished
*/
public boolean updatePosition()
@@ -3073,14 +3093,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop movement of the Creature (Called by AI Accessor only).
- * Actions:
+ *
+ * Actions:
*
*
Delete movement data of the Creature
*
Set the current position (x,y,z), its current WorldRegion if necessary and its heading
*
Remove the WorldObject object from _gmList of GmListTable
*
Remove object from _knownObjects and _knownPlayer of all surrounding WorldRegion Creatures
*
- * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
+ * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
* @param loc
*/
public void stopMove(Location loc)
@@ -3117,9 +3138,12 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Target a WorldObject (add the target to the Creature _target, _knownObject and Creature to _KnownObject of the WorldObject).
- * Concept:
- * The WorldObject (including Creature) targeted is identified in _target of the Creature.
- * Actions:
+ *
+ * Concept:
+ *
+ * The WorldObject (including Creature) targeted is identified in _target of the Creature.
+ *
+ * Actions:
*
*
Set the _target of Creature to WorldObject
*
If necessary, add WorldObject to _knownObject of the Creature
@@ -3162,11 +3186,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Calculate movement data for a move to location action and add the Creature to movingObjects of GameTimeController (only called by AI Accessor).
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
- * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
- * Actions:
+ * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
+ *
+ * Actions:
*
*
Get current position of the Creature
*
Calculate distance (dx,dy) between current position and destination including offset
@@ -3175,8 +3202,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
*
Add the Creature to movingObjects of the GameTimeController
*
Create a task to notify the AI that Creature arrives at a check point of the movement
*
- * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
- * Example of use:
+ * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
+ *
+ * Example of use:
*
*
AI : onIntentionMoveTo(Location), onIntentionPickUp(WorldObject), onIntentionInteract(WorldObject)
*
FollowTask
@@ -3580,7 +3608,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
* @return True if arrows are available.
* @param type
@@ -3592,9 +3620,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add Exp and Sp to the Creature.
- * Overridden in :
+ *
+ * Overridden in:
*
PlayerInstance
- *
PetInstance
+ *
PetInstance
* @param addToExp
* @param addToSp
*/
@@ -3604,36 +3633,37 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon instance (always equiped in the right hand).
+ * @return the active weapon instance (always equipped in the right hand).
*/
public abstract ItemInstance getActiveWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon item (always equiped in the right hand).
+ * @return the active weapon item (always equipped in the right hand).
*/
public abstract Weapon getActiveWeaponItem();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary weapon instance (always equiped in the left hand).
+ * @return the secondary weapon instance (always equipped in the left hand).
*/
public abstract ItemInstance getSecondaryWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary {@link Item} item (always equiped in the left hand).
+ * @return the secondary {@link Item} item (always equipped in the left hand).
*/
public abstract Item getSecondaryWeaponItem();
/**
* Manage hit process (called by Hit Task).
- * Actions:
+ *
+ * Actions:
*
*
If the attacker/target is dead or use fake death, notify the AI with EVT_CANCEL and send a Server->Client packet ActionFailed (if attacker is a PlayerInstance)
*
If attack isn't aborted, send a message system (critical hit, missed...) to attacker/target if they are PlayerInstance
If Creature or target is in a town area, send a system message TARGET_IN_PEACEZONE a Server->Client packet ActionFailed
*
If target is confused, send a Server->Client packet ActionFailed
@@ -3953,15 +3984,19 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add a skill to the Creature _skills and its Func objects to the calculator set of the Creature.
- * Concept:
- * All skills own by a Creature are identified in _skills
- * Actions:
+ *
+ * Concept:
+ *
+ * All skills own by a Creature are identified in _skills
+ *
+ * Actions:
*
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
*
Add Func objects of newSkill to the calculator set of the Creature
*
- * Overridden in:
+ *
+ * Overridden in:
*
*
PlayerInstance : Save update in the character_skills table of the database
*
@@ -5243,7 +5278,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
+ * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
* @param range
*/
public void initSeenCreatures(int range)
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Npc.java
index 9f444d25d3..935b46f424 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Npc.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Npc.java
@@ -158,7 +158,8 @@ public class Npc extends Creature
/**
* Constructor of NpcInstance (use Creature constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the Creature (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the Creature
@@ -578,7 +579,8 @@ public class Npc extends Creature
/**
* Open a quest or chat window on client with the text of the NpcInstance in function of the command.
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : RequestBypassToServer
*
@@ -638,11 +640,11 @@ public class Npc extends Creature
}
/**
- * :
+ * :
*
- *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
- *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
- *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
+ *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
+ *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
+ *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -705,7 +707,8 @@ public class Npc extends Creature
/**
* Open a chat window on client with the text of the NpcInstance.
- * Actions:
+ *
+ * Actions:
*
*
Get the text of the selected HTML file in function of the npcId and of the page number
*
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
@@ -865,7 +868,8 @@ public class Npc extends Creature
/**
* Kill the NpcInstance (the corpse disappeared after 7 seconds).
- * Actions:
+ *
+ * Actions:
*
*
Create a DecayTask to remove the corpse of the NpcInstance after 7 seconds
*
Set target to null and cancel Attack or Cast
@@ -1091,14 +1095,15 @@ public class Npc extends Creature
/**
* Remove the NpcInstance from the world and update its spawn object (for a complete removal use the deleteMe method).
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world when the decay task is launched
*
Decrease its spawn counter
*
Manage Siege task (killFlag, killCT)
*
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
@Override
public void onDecay()
@@ -1137,13 +1142,14 @@ public class Npc extends Creature
/**
* Remove PROPERLY the NpcInstance from the world.
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world and update its spawn object
*
Remove all WorldObject from _knownObjects and _knownPlayer of the NpcInstance then cancel Attack or Cast and notify AI
*
Remove WorldObject object from _allObjects of World
*
- * Caution: This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T SEND Server->Client packets to players
* UnAfraid: TODO: Add Listener here
*/
@Override
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Playable.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Playable.java
index 622442ab2e..750bdba19c 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Playable.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Playable.java
@@ -52,7 +52,8 @@ public abstract class Playable extends Creature
/**
* Constructor of Playable.
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and link copy basic Calculator set to this Playable
*
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Summon.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Summon.java
index c2bca015fb..34eb558e47 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Summon.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Summon.java
@@ -588,7 +588,8 @@ public abstract class Summon extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the target is correct
*
Check if the target is in the skill cast range
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
index 5af1884bac..ba0920369e 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
@@ -24,21 +24,19 @@ import org.l2jmobius.gameserver.model.skills.Skill;
import org.l2jmobius.gameserver.network.serverpackets.ActionFailed;
/**
- * This class manages all Castle Siege Artefacts.
- *
+ * This class manages all Castle Siege Artefacts.
+ *
* @version $Revision: 1.11.2.1.2.7 $ $Date: 2005/04/06 16:13:40 $
*/
public class ArtefactInstance extends Npc
{
/**
- * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
- *
- * Actions :
- *
+ * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
+ *
+ * Actions:
*
Call the Creature constructor to set the _template of the ArtefactInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the ArtefactInstance
- *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
- *
+ *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
* @param template to apply to the NPC
*/
public ArtefactInstance(NpcTemplate template)
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 5f34d57abe..d359c8335b 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
@@ -36,7 +36,8 @@ public class GuardInstance extends Attackable
{
/**
* Constructor of GuardInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the GuardInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the GuardInstance
@@ -100,10 +101,11 @@ public class GuardInstance extends Attackable
/**
* Return the pathfile of the selected HTML file in function of the GuardInstance Identifier and of the page number.
- * Format of the pathfile :
+ *
+ * Format of the pathfile:
*
- *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
- *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
+ *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
+ *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -125,19 +127,22 @@ public class GuardInstance extends Attackable
/**
* Manage actions when a player click on the GuardInstance.
- * Actions on first click on the GuardInstance (Select it) :
+ *
+ * Actions on first click on the GuardInstance (Select it):
*
*
Set the GuardInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
Set the PlayerInstance Intention to AI_INTENTION_IDLE
*
Send a Server->Client packet ValidateLocation to correct the GuardInstance position and heading on the client
*
- * Actions on second click on the GuardInstance (Attack it/Interact with it) :
+ *
+ * Actions on second click on the GuardInstance (Attack it/Interact with it):
*
*
If PlayerInstance is in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_ATTACK
*
If PlayerInstance is NOT in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_INTERACT (after a distance verification) and show message
*
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : Action, AttackRequest
*
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
index 2b71cdcfe3..bee6060aec 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
@@ -43,7 +43,8 @@ public class MonsterInstance extends Attackable
/**
* Constructor of MonsterInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the MonsterInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the MonsterInstance
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
index ba902887c1..e4a3b06ba0 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
@@ -121,7 +121,7 @@ public class PetInstance extends Summon
}
/**
- * Manage Feeding Task.
+ * Manage Feeding Task.
* Feed or kill the pet depending on hunger level.
* If pet has food in inventory and feed level drops below 55% then consume food from inventory.
* Send a broadcastStatusUpdate packet for this PetInstance
@@ -417,7 +417,7 @@ public class PetInstance extends Summon
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -1133,8 +1133,7 @@ public class PetInstance extends Summon
}
/**
- * Restore the specified % of experience this PetInstance has lost.
- *
+ * Restore the specified % of experience this PetInstance has lost.
* @param restorePercent
*/
public void restoreExp(double restorePercent)
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
index 4878657fdc..e420a65f6a 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
@@ -881,7 +881,8 @@ public class PlayerInstance extends Playable
/**
* Create a new PlayerInstance and add it in the characters table of the database.
- * Actions :
+ *
+ * Actions:
*
*
Create a new PlayerInstance with an account name
*
Set the name, the Hair Style, the Hair Color and the Face type of the PlayerInstance
@@ -1072,7 +1073,8 @@ public class PlayerInstance extends Playable
/**
* Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world (call restore method).
- * Actions :
+ *
+ * Actions:
*
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
@@ -1099,12 +1101,13 @@ public class PlayerInstance extends Playable
/**
* Constructor of PlayerInstance (use Creature constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and copy basic Calculator set to this PlayerInstance
*
Set the name of the PlayerInstance
*
- * Caution : This method SET the level of the PlayerInstance to 1
+ * Caution: This method SET the level of the PlayerInstance to 1
* @param objectId Identifier of the object to initialized
* @param template The PlayerTemplate to apply to the PlayerInstance
* @param accountName The name of the account including this PlayerInstance
@@ -2558,7 +2561,7 @@ public class PlayerInstance extends Playable
}
/**
- * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
+ * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
*/
public void regiveTemporarySkills()
{
@@ -3507,7 +3510,7 @@ public class PlayerInstance extends Playable
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -3762,7 +3765,7 @@ public class PlayerInstance extends Playable
}
/**
- * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : long Quantity of items to be dropped
@@ -4029,9 +4032,9 @@ public class PlayerInstance extends Playable
}
/**
- * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions :
- *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
- *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution : This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
+ * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions:
+ *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
+ *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution: This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
*/
@Override
public void broadcastStatusUpdate(Creature caster)
@@ -4098,11 +4101,11 @@ public class PlayerInstance extends Playable
}
/**
- * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept : Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
- * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions :
+ * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept: Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
+ * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions:
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
- *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as
- * MaxHP, STR, DEX...
+ *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP,
+ * STR, DEX...
*/
public void broadcastUserInfo()
{
@@ -4256,10 +4259,10 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Interact Task with another PlayerInstance. Actions :
+ * Manage Interact Task with another PlayerInstance. Actions:
*
If the private store is a STORE_PRIVATE_SELL, send a Server->Client PrivateBuyListSell packet to the PlayerInstance
*
If the private store is a STORE_PRIVATE_BUY, send a Server->Client PrivateBuyListBuy packet to the PlayerInstance
- *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
+ *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
* @param target The Creature targeted
*/
public void doInteract(Creature target)
@@ -4308,7 +4311,7 @@ public class PlayerInstance extends Playable
*
Send a Server->Client packet InventoryUpdate to this player with NewItem (use a new slot) or ModifiedItem (increase amount).
*
Send a Server->Client packet StatusUpdate to this player with current weight.
*
- * Caution: If a party is in progress, distribute the items between the party members!
+ * Caution: If a party is in progress, distribute the items between the party members!
* @param target the NPC dropping the item
* @param itemId the item ID
* @param itemCount the item count
@@ -4340,13 +4343,13 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Pickup Task. Actions :
+ * Manage Pickup Task. Actions:
*
Send a Server->Client packet StopMove to this PlayerInstance
*
Remove the ItemInstance from the world and send server->client GetItem packets
*
Send a System Message to the PlayerInstance : YOU_PICKED_UP_S1_ADENA or YOU_PICKED_UP_S1_S2
*
Add the Item to the PlayerInstance inventory
*
Send a Server->Client packet InventoryUpdate to this PlayerInstance with NewItem (use a new slot) or ModifiedItem (increase amount)
- *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution : If a Party is in progress, distribute Items between party members
+ *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution: If a Party is in progress, distribute Items between party members
* @param object The ItemInstance to pick up
*/
@Override
@@ -4609,7 +4612,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set a target. Actions :
+ * Set a target. Actions:
*
*
Remove the PlayerInstance from the _statusListener of the old target if it was a Creature
*
Add the PlayerInstance to the _statusListener of the new target if it's a Creature
@@ -4701,7 +4704,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon instance (always equiped in the right hand).
+ * Return the active weapon instance (always equipped in the right hand).
*/
@Override
public ItemInstance getActiveWeaponInstance()
@@ -4710,7 +4713,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon item (always equiped in the right hand).
+ * Return the active weapon item (always equipped in the right hand).
*/
@Override
public Weapon getActiveWeaponItem()
@@ -4799,7 +4802,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary weapon instance (always equiped in the left hand).
+ * Return the secondary weapon instance (always equipped in the left hand).
*/
@Override
public ItemInstance getSecondaryWeaponInstance()
@@ -4808,8 +4811,8 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary Item item (always equiped in the left hand).
- * Arrows, Shield..
+ * Return the secondary Item item (always equipped in the left hand).
+ * Arrows, Shield..
*/
@Override
public Item getSecondaryWeaponItem()
@@ -4823,12 +4826,12 @@ public class PlayerInstance extends Playable
}
/**
- * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions :
+ * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions:
*
Reduce the Experience of the PlayerInstance in function of the calculated Death Penalty
*
If necessary, unsummon the Pet of the killed PlayerInstance
*
Manage Karma gain for attacker and Karam loss for the killed PlayerInstance
*
If the killed PlayerInstance has Karma, manage Drop Item
- *
Kill the PlayerInstance
+ *
Kill the PlayerInstance
* @param killer
*/
@Override
@@ -5300,12 +5303,13 @@ public class PlayerInstance extends Playable
}
/**
- * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
- * Actions :
+ * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
+ *
+ * Actions:
*
Calculate the Experience loss
*
Set the value of _expBeforeDeath
*
Set the new Experience value of the PlayerInstance and Decrease its level if necessary
- *
Send a Server->Client StatusUpdate packet with its new Experience
+ *
Send a Server->Client StatusUpdate packet with its new Experience
* @param killer
*/
public void calculateDeathExpPenalty(Creature killer)
@@ -5357,7 +5361,7 @@ public class PlayerInstance extends Playable
}
/**
- * Stop the HP/MP/CP Regeneration task. Actions :
+ * Stop the HP/MP/CP Regeneration task. Actions:
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
*/
@@ -5704,13 +5708,13 @@ public class PlayerInstance extends Playable
}
/**
- * Set the Private Store type of the PlayerInstance. Values :
+ * Set the Private Store type of the PlayerInstance. Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @param privateStoreType
*/
public void setPrivateStoreType(PrivateStoreType privateStoreType)
@@ -5723,13 +5727,13 @@ public class PlayerInstance extends Playable
}
/**
- * Values :
+ * Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @return the Private Store type of the PlayerInstance.
*/
public PrivateStoreType getPrivateStoreType()
@@ -6447,11 +6451,11 @@ public class PlayerInstance extends Playable
}
/**
- * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions :
+ * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions:
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
*
Set the x,y,z position of the PlayerInstance and make it invisible
- *
Update the overloaded status of the PlayerInstance
+ *
Update the overloaded status of the PlayerInstance
* @param objectId Identifier of the object to initialized
* @return The PlayerInstance loaded from the database
*/
@@ -7349,10 +7353,10 @@ public class PlayerInstance extends Playable
}
/**
- * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept : All skills own by a PlayerInstance are identified in _skills Actions :
+ * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept: All skills own by a PlayerInstance are identified in _skills Actions:
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
- *
Add Func objects of newSkill to the calculator set of the Creature
+ *
Add Func objects of newSkill to the calculator set of the Creature
* @param newSkill The Skill to add to the Creature
* @param store
* @return The Skill replaced or null if just added a new Skill
@@ -7383,10 +7387,10 @@ public class PlayerInstance extends Playable
}
/**
- * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept : All skills own by a Creature are identified in _skills Actions :
+ * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept: All skills own by a Creature are identified in _skills Actions:
*
Remove the skill from the Creature _skills
- *
Remove all its Func objects from the Creature calculator set
Overridden in :
- *
PlayerInstance : Save update in the character_skills table of the database
+ *
Remove all its Func objects from the Creature calculator set
Overridden in:
+ *
PlayerInstance : Save update in the character_skills table of the database
* @param skill The Skill to remove from the Creature
* @return The Skill removed
*/
@@ -8088,7 +8092,8 @@ public class PlayerInstance extends Playable
/**
* Return True if the PlayerInstance is autoAttackable.
- * Actions:
+ *
+ * Actions:
*
*
Check if the attacker isn't the PlayerInstance Pet
*
Check if the attacker is MonsterInstance
@@ -8250,7 +8255,8 @@ public class PlayerInstance extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the skill isn't toggle and is offensive
*
Check if the target is in the skill cast range
@@ -8608,15 +8614,18 @@ public class PlayerInstance extends Playable
/**
* Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers.
- * Concept:
- * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
* In order to inform other players of this PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet
- * Actions:
+ *
+ * Actions:
*
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
*
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
*
- * Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
+ * Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
*/
@Override
public void updateAbnormalVisualEffects()
@@ -9443,7 +9452,7 @@ public class PlayerInstance extends Playable
}
/**
- * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
+ * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
* 2. This method no longer changes the active _classIndex of the player. This is only done by the calling of setActiveClass() method as that should be the only way to do so.
* @param classId
* @param classIndex
@@ -10614,7 +10623,8 @@ public class PlayerInstance extends Playable
/**
* Manage the delete task of a PlayerInstance (Leave Party, Unsummon pet, Save its inventory in the database, Remove it from the world...).
- * Actions:
+ *
+ * Actions:
*
*
If the PlayerInstance is in observer mode, set its position to its position before entering in observer mode
*
Set the online Flag to True or False and update the characters table of the database with online status and lastAccess
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
index d58c4a2344..1538e27eb0 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
@@ -31,7 +31,8 @@ public class RaidBossInstance extends MonsterInstance
/**
* Constructor of RaidBossInstance (use Creature and NpcInstance constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the RaidBossInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the RaidBossInstance
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
index 0746dde009..e66a7d8d7f 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
@@ -152,7 +152,8 @@ public class StaticObjectInstance extends Creature
/**
* Set the meshIndex of the object.
- * Values :
+ *
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
@@ -166,7 +167,7 @@ public class StaticObjectInstance extends Creature
}
/**
- * Values :
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
index 0a935e82db..f6b1fdd6c1 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
@@ -265,7 +265,8 @@ public class CreatureStat
/**
* Return the MAtk (base+modifier) of the Creature.
- * Example of use: Calculate Magic damage
+ *
+ * Example of use: Calculate Magic damage
* @return
*/
public int getMAtk()
@@ -290,7 +291,7 @@ public class CreatureStat
}
/**
- * Example of use : Calculate Magic damage.
+ * Example of use : Calculate Magic damage.
* @return the MDef (base+modifier) of the Creature against a skill in function of abnormal effects in progress.
*/
public int getMDef()
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
index a34f446f36..ecb6ca7cf2 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
@@ -57,11 +57,14 @@ public class CreatureStatus
/**
* Add the object to the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use:
+ *
+ * Example of use:
*
*
Target a PC or NPC
*
@@ -79,11 +82,14 @@ public class CreatureStatus
/**
* Remove the object from the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use :
+ *
+ * Example of use :
*
*
Untarget a PC or NPC
*
@@ -96,8 +102,10 @@ public class CreatureStatus
/**
* Return the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
* @return The list of Creature to inform or null if empty
@@ -188,7 +196,8 @@ public class CreatureStatus
/**
* Start the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Calculate the regen task period
*
Launch the HP/MP/CP Regeneration task with Medium priority
@@ -208,7 +217,8 @@ public class CreatureStatus
/**
* Stop the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/base/SubClass.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/base/SubClass.java
index 6e1b4abe48..8e382665f8 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/base/SubClass.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/base/SubClass.java
@@ -20,7 +20,7 @@ import org.l2jmobius.Config;
import org.l2jmobius.gameserver.data.xml.impl.ExperienceData;
/**
- * Character Sub-Class Definition
+ * Character Sub-Class Definition
* Used to store key information about a character's sub-class.
* @author Tempy
*/
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
index ee74925752..a54baee819 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
@@ -62,7 +62,7 @@ public abstract class AbstractEffect
/**
* Calculates whether this effects land or not.
* If it lands will be scheduled and added to the character effect list.
- * Override in effect implementation to change behavior.
+ * Override in effect implementation to change behavior.
* Warning: Must be used only for instant effects continuous effects will not call this they have their success handled by activate_rate.
* @param effector
* @param effected
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/entity/Castle.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/entity/Castle.java
index c0ec518a28..ce46b99bf1 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/entity/Castle.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/entity/Castle.java
@@ -615,8 +615,7 @@ public class Castle extends AbstractResidence
}
/**
- * Respawn all doors on castle grounds
- *
+ * Respawn all doors on castle grounds
* @param isDoorWeak
*/
public void spawnDoor(boolean isDoorWeak)
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/entity/Fort.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/entity/Fort.java
index 755bee3310..667c694f50 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/entity/Fort.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/entity/Fort.java
@@ -273,8 +273,7 @@ public class Fort extends AbstractResidence
}
/**
- * Move non clan members off fort area and to nearest town.
- *
+ * Move non clan members off fort area and to nearest town.
*/
public void banishForeigners()
{
@@ -516,8 +515,7 @@ public class Fort extends AbstractResidence
}
/**
- * Respawn all doors on fort grounds
- *
+ * Respawn all doors on fort grounds.
*/
public void resetDoors()
{
@@ -976,11 +974,10 @@ public class Fort extends AbstractResidence
}
/**
- * @return Returns state of fortress.
- *
- * 0 - not decided yet
- * 1 - independent
- * 2 - contracted with castle
+ * @return Returns state of fortress.
+ * 0 - not decided yet
+ * 1 - independent
+ * 2 - contracted with castle
*/
public int getFortState()
{
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/entity/FortSiege.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
index fe98f73d82..d4e5ae83b5 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
@@ -703,14 +703,14 @@ public class FortSiege implements Siegable
}
/**
- * Register clan as attacker.
+ * Register clan as attacker.
* @param player The PlayerInstance of the player trying to register.
* @param checkConditions True if should be checked conditions, false otherwise
- * @return Number that defines what happened.
- * 0 - Player don't have clan.
- * 1 - Player don't have enough adena to register.
- * 2 - Is not right time to register Fortress now.
- * 3 - Players clan is already registered to siege.
+ * @return Number that defines what happened.
+ * 0 - Player don't have clan.
+ * 1 - Player don't have enough adena to register.
+ * 2 - Is not right time to register Fortress now.
+ * 3 - Players clan is already registered to siege.
* 4 - Players clan is successfully registered to siege.
*/
public int addAttacker(PlayerInstance player, boolean checkConditions)
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/entity/Hero.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/entity/Hero.java
index 49b405d179..8c9bbb0bc0 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/entity/Hero.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/entity/Hero.java
@@ -866,7 +866,7 @@ public class Hero
}
/**
- * Saving task for {@link Hero}
+ * Saving task for {@link Hero}
* Save all hero messages to DB.
*/
public void shutdown()
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/entity/Siege.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/entity/Siege.java
index c864909114..5b84c4a276 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/entity/Siege.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/entity/Siege.java
@@ -383,8 +383,7 @@ public class Siege implements Siegable
}
/**
- * When control of castle changed during siege
- *
+ * When control of castle changed during siege.
*/
public void midVictory()
{
@@ -470,8 +469,7 @@ public class Siege implements Siegable
}
/**
- * When siege starts
- *
+ * When siege starts.
*/
@Override
public void startSiege()
@@ -529,8 +527,7 @@ public class Siege implements Siegable
}
/**
- * Announce to player.
- *
+ * Announce to player.
* @param message The SystemMessage to send to player
* @param bothSides True - broadcast to both attackers and defenders. False - only to defenders.
*/
@@ -682,8 +679,7 @@ public class Siege implements Siegable
}
/**
- * Approve clan as defender for siege
- *
+ * Approve clan as defender for siege
* @param clanId The int of player's clan id
*/
public void approveSiegeDefenderClan(int clanId)
@@ -717,8 +713,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is attacker
- *
+ * Return true if clan is attacker
* @param clan The Clan of the player
*/
@Override
@@ -728,8 +723,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is defender
- *
+ * Return true if clan is defender
* @param clan The Clan of the player
*/
@Override
@@ -866,8 +860,7 @@ public class Siege implements Siegable
}
/**
- * Register clan as attacker
- *
+ * Register clan as attacker
* @param player The PlayerInstance of the player trying to register
*/
public void registerAttacker(PlayerInstance player)
@@ -948,8 +941,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clanId The int of player's clan id
*/
public void removeSiegeClan(int clanId)
@@ -975,8 +967,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clan clan being removed
*/
public void removeSiegeClan(Clan clan)
@@ -989,8 +980,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param player The PlayerInstance of player/clan being removed
*/
public void removeSiegeClan(PlayerInstance player)
@@ -999,8 +989,7 @@ public class Siege implements Siegable
}
/**
- * Start the auto tasks
- *
+ * Start the auto tasks.
*/
public void startAutoTask()
{
@@ -1073,8 +1062,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as attacker
- *
+ * Add clan as attacker
* @param clanId The int of clan's id
*/
private void addAttacker(int clanId)
@@ -1083,8 +1071,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender
- *
+ * Add clan as defender
* @param clanId The int of clan's id
*/
private void addDefender(int clanId)
@@ -1105,8 +1092,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender waiting approval
- *
+ * Add clan as defender waiting approval
* @param clanId The int of clan's id
*/
private void addDefenderWaiting(int clanId)
@@ -1198,8 +1184,7 @@ public class Siege implements Siegable
}
/**
- * Return the correct siege date as Calendar.
- *
+ * Return the correct siege date as Calendar.
*/
public void correctSiegeDateTime()
{
@@ -1348,8 +1333,7 @@ public class Siege implements Siegable
}
/**
- * Save registration to database.
- *
+ * Save registration to database.
* @param clan The Clan of player
* @param typeId -1 = owner 0 = defender, 1 = attacker, 2 = defender waiting
* @param isUpdateRegistration
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/events/AbstractScript.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
index 38414caafa..9319658828 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
@@ -3030,7 +3030,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param array of values.
* @return one value from array.
@@ -3046,7 +3046,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param list of values.
* @return one value from list.
@@ -3061,7 +3061,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param array of Integers.
* @return one Integer from array.
*/
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
index 0da0f1ff20..a4335762c0 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
@@ -53,7 +53,7 @@ public class PlayerSkillHolder implements ISkillsHolder
}
/**
- * Add a skill to the skills map.
+ * Add a skill to the skills map.
* @param skill
*/
@Override
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/instancezone/Instance.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
index 6603cc529b..6fdb98f39a 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
@@ -329,7 +329,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Get player by ID from instance.
+ * Get player by ID from instance.
* @param id objectId of player
* @return first player by ID, otherwise {@code null}
*/
@@ -803,7 +803,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Set reenter penalty for players associated with current instance.
+ * Set reenter penalty for players associated with current instance.
* @param time penalty time in milliseconds since January 1, 1970
*/
public void setReenterTime(long time)
@@ -860,8 +860,7 @@ public class Instance implements IIdentifiable, INamable
/**
* Set instance world to finish state.
- * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
- * See {@link Instance#finishInstance(int)} for more details.
+ * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
*/
public void finishInstance()
{
@@ -1016,7 +1015,7 @@ public class Instance implements IIdentifiable, INamable
// Template methods
// ----------------------------------------------
/**
- * Get parameters from instance template.
+ * Get parameters from instance template.
* @return template parameters
*/
public StatSet getTemplateParameters()
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
index 80a8eef201..7c892faae4 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
@@ -897,7 +897,7 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Drop item from inventory by using its objectID and updates database
+ * Drop item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
@@ -1198,7 +1198,7 @@ public abstract class Inventory extends ItemContainer
/**
* Equips an item in the given slot of the paperdoll.
- * Remark : The item must be in the inventory already.
+ * Remark : The item must be in the inventory already.
* @param slot : int pointing out the slot of the paperdoll
* @param item : ItemInstance pointing out the item to add in slot
* @return ItemInstance designating the item placed in the slot before
@@ -1403,8 +1403,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in body slot and returns alterations.
- * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(int)} instead
+ * Unequips item in body slot and returns alterations.
+ * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(int)} instead
* @param slot : int designating the slot of the paperdoll
* @return ItemInstance[] : list of changes
*/
@@ -1434,8 +1434,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in slot and returns alterations
- * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
+ * Unequips item in slot and returns alterations
+ * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
* @param slot : int designating the slot
* @return ItemInstance[] : list of items altered
*/
@@ -1607,8 +1607,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Equips item and returns list of alterations
- * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
+ * Equips item and returns list of alterations
+ * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
* @param item : ItemInstance corresponding to the item
* @return ItemInstance[] : list of alterations
*/
@@ -2184,8 +2184,9 @@ public abstract class Inventory extends ItemContainer
/**
* Reduce the arrow number of the Creature.
- * Overridden in :
- *
PlayerInstance
+ *
+ * Overridden in:
+ *
PlayerInstance
* @param type
*/
public void reduceArrowCount(EtcItemType type)
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
index 2847ecdcd5..2e5f90dcee 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
@@ -530,7 +530,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its objectID and updates database
+ * Destroy item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -545,7 +545,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its itemId and updates database
+ * Destroy item from inventory by using its itemId and updates database
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
index 0a9e6cc66d..5d3bed530d 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
@@ -113,7 +113,7 @@ public class PetInventory extends Inventory
public void restore()
{
super.restore();
- // check for equiped items from other pets
+ // check for equipped items from other pets
for (ItemInstance item : _items.values())
{
if (item.isEquipped() && !item.getItem().checkCondition(_owner, _owner, false))
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
index c4e4fe8fd1..71f513dc71 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
@@ -586,7 +586,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
+ * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -632,7 +632,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
+ * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/items/Item.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/items/Item.java
index 1bcfe92dd5..6a6a0a407f 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/items/Item.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/items/Item.java
@@ -58,7 +58,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
/**
- * This class contains all informations concerning the item (weapon, armor, etc).
+ * This class contains all informations concerning the item (weapon, armor, etc).
* Mother class of :
*
*
Armor
@@ -173,8 +173,7 @@ public abstract class Item extends ListenersContainer implements IIdentifiable
private boolean _isBlessed;
/**
- * Constructor of the Item that fill class variables.
- *
+ * Constructor of the Item that fill class variables.
* @param set : StatSet corresponding to a set of couples (key,value) for description of the item
*/
protected Item(StatSet set)
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
index 771a5dda71..33205bd282 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.items.type.CrystalType;
import org.l2jmobius.gameserver.model.items.type.ItemType;
/**
- * This class contains ItemInstance
+ * This class contains ItemInstance
* Use to sort ItemInstance of :
*
*
Armor
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
index be8bea3274..3385332647 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
@@ -263,19 +263,15 @@ public class ItemInstance extends WorldObject
}
/**
- * Remove a ItemInstance from the world and send server->client GetItem packets.
- *
- * Actions :
- *
+ * Remove a ItemInstance from the world and send server->client GetItem packets.
+ *
+ * Actions:
*
Send a Server->Client Packet GetItem to player that pick up and its _knowPlayers member
- *
Remove the WorldObject from the world
- *
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- *
- * Example of use :
- *
- *
Do Pickup Item : PCInstance and Pet
- *
+ *
Remove the WorldObject from the world
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ *
+ * Example of use:
+ *
Do Pickup Item : PCInstance and Pet
* @param creature Character that pick up the item
*/
public void pickupMe(Creature creature)
@@ -406,9 +402,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the location of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the location of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param loc : ItemLocation (enumeration)
* @param locData : int designating the slot where the item is stored or the village for freights
*/
@@ -437,8 +432,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
+ * Sets the quantity of the item.
* @param count the new count to set
*/
public void setCount(long count)
@@ -461,9 +455,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the quantity of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param process : String Identifier of process triggering this action
* @param count : int
* @param creator : PlayerInstance Player requesting the item creation
@@ -1469,7 +1462,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
*/
public void updateDatabase()
{
@@ -1477,7 +1470,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
* @param force if the update should necessarilly be done.
*/
public void updateDatabase(boolean force)
@@ -1513,20 +1506,17 @@ public class ItemInstance extends WorldObject
}
/**
- * Init a dropped ItemInstance and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a dropped ItemInstance and add it in the world as a visible object.
+ *
+ * Actions:
*
Set the x,y,z position of the ItemInstance dropped and update its _worldregion
*
Add the ItemInstance dropped to _visibleObjects of its WorldRegion
- *
Add the ItemInstance dropped in the world as a visible object
- *
- * Caution : This method DOESN'T ADD the object to _allObjects of World
- *
- * Example of use :
- *
+ *
Add the ItemInstance dropped in the world as a visible object
+ * Caution: This method DOESN'T ADD the object to _allObjects of World
+ *
+ * Example of use:
*
Drop item
- *
Call Pet
+ *
Call Pet
*/
public class ItemDropTask implements Runnable
{
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/quest/Quest.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/quest/Quest.java
index ecdfa39889..72be7beb68 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/quest/Quest.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/quest/Quest.java
@@ -1000,7 +1000,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever a player attacks an NPC that is registered for the quest.
- * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
+ * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
* @param npc this parameter contains a reference to the exact instance of the NPC that got attacked.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked the NPC.
* @param damage this parameter represents the total damage that this attack has inflicted to the NPC.
@@ -1137,7 +1137,7 @@ public class Quest extends AbstractScript implements IIdentifiable
* The coder of the script may need to create a new quest state (if necessary).
* Note 3:
* The returned value of onFirstTalk replaces the default HTML that would have otherwise been loaded from a sub-folder of DatapackRoot/game/data/html/.
- * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
+ * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
* @param npc this parameter contains a reference to the exact instance of the NPC that the player is talking with.
* @param player this parameter contains a reference to the exact instance of the player who is talking to the NPC.
* @return the text returned by the event (may be {@code null}, a filename or just text)
@@ -1264,7 +1264,7 @@ public class Quest extends AbstractScript implements IIdentifiable
}
/**
- * This function is called whenever an NPC is teleport.
+ * This function is called whenever an NPC is teleport.
* @param npc this parameter contains a reference to the exact instance of the NPC who just teleport.
*/
protected void onTeleport(Npc npc)
@@ -1274,7 +1274,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever an NPC is called by another NPC in the same faction.
* @param npc this parameter contains a reference to the exact instance of the NPC who is being asked for help.
- * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
+ * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked.
* @param isSummon this parameter if it's {@code false} it denotes that the attacker was indeed the player, else it specifies that the attacker was the player's summon.
* @return
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
index e5aae3552e..6d6cd04ce0 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
@@ -695,7 +695,7 @@ public class SkillCaster implements Runnable
}
/**
- * Stops this casting and cleans all cast parameters.
+ * Stops this casting and cleans all cast parameters.
* @param aborted if {@code true}, server will send packets to the player, notifying him that the skill has been aborted.
*/
public void stopCasting(boolean aborted)
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/stats/Formulas.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/stats/Formulas.java
index 57bb765173..2b3c7f4b23 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/stats/Formulas.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/stats/Formulas.java
@@ -550,7 +550,7 @@ public class Formulas
* Returns:
* 0 = shield defense doesn't succeed
* 1 = shield defense succeed
- * 2 = perfect block
+ * 2 = perfect block
* @param attacker
* @param target
* @param sendSysMsg
@@ -655,7 +655,7 @@ public class Formulas
}
/**
- * Calculates the effect landing success.
+ * Calculates the effect landing success.
* @param attacker the attacker
* @param target the target
* @param skill the skill
@@ -963,9 +963,9 @@ public class Formulas
}
/**
- * Calculates the attribute bonus with the following formula:
- * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
- * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
+ * Calculates the attribute bonus with the following formula:
+ * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
+ * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
* diff == 0, so AttBonus = 1
* It has been tested that physical skills do get affected by attack attribute even
* if they don't have any attribute. In that case only the biggest attack attribute is taken.
@@ -1207,7 +1207,7 @@ public class Formulas
* Confuse
* Compelling,
* Knockback
- * Pull
+ * Pull
* @param baseChance chance from effect parameter
* @param attacker
* @param target
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
index 2988807295..c621fab8f6 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
* A Function object is a component of a Calculator created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...).
* In fact, each calculator is a table of functions object in which each function represents a mathematics function:
* FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
+ * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
* Indeed, functions with lowest priority order is executed first and functions with the same order are executed in unspecified order.
* @author Zoey76
*/
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
index 1cb8bc9d02..d898d2c397 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
@@ -71,7 +71,7 @@ public class TaxZone extends ZoneType
}
/**
- * Gets castle associated with tax zone.
+ * Gets castle associated with tax zone.
* @return instance of {@link Castle} if found otherwise {@code null}
*/
public Castle getCastle()
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
index ca7f8d6d99..dee0ea769d 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
@@ -55,8 +55,8 @@ public class BlowFishKeygen
}
/**
- * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
- * Thus when getting a key with interests other then read-only a copy must be performed.
+ * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
+ * Thus when getting a key with interests other then read-only a copy must be performed.
* @return A key from this keygen pool.
*/
public static byte[] getRandomKey()
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
index a9bafd3a65..fe9e0e70d3 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
@@ -546,7 +546,7 @@ public class RequestAcquireSkill implements IClientIncomingPacket
/**
* Perform a simple check for current player and skill.
* Takes the needed SP if the skill require it and all requirements are meet.
- * Consume required items if the skill require it and all requirements are meet.
+ * Consume required items if the skill require it and all requirements are meet.
* @param player the skill learning player.
* @param trainer the skills teaching Npc.
* @param skillLearn the skill to be learn.
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
index 99188ca980..a4accd8a47 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
@@ -96,7 +96,7 @@ public class RequestDestroyItem implements IClientIncomingPacket
// if we can't find the requested item, its actually a cheat
if (itemToRemove == null)
{
- // gm can destroy other player items
+ // GM can destroy other player items
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
index 206640aad7..eb85f84823 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
@@ -50,7 +50,7 @@ public class RequestGMCommand implements IClientIncomingPacket
@Override
public void run(GameClient client)
{
- // prevent non gm or low level GMs from vieweing player stuff
+ // prevent non GM or low level GMs from vieweing player stuff
if (!client.getPlayer().isGM() || !client.getPlayer().getAccessLevel().allowAltG())
{
return;
@@ -99,7 +99,7 @@ public class RequestGMCommand implements IClientIncomingPacket
}
case 6: // player warehouse
{
- // gm warehouse view to be implemented
+ // GM warehouse view to be implemented
if (player != null)
{
client.sendPacket(new GMViewWarehouseWithdrawList(player));
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
index 442b4ad701..c2650bf6a0 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
@@ -90,7 +90,7 @@ public class UseItem implements IClientIncomingPacket
final ItemInstance item = player.getInventory().getItemByObjectId(_objectId);
if (item == null)
{
- // gm can use other player item
+ // GM can use other player item
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
index d19f06f141..f4f0c5ca81 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.network.OutgoingPackets;
import org.l2jmobius.gameserver.network.clientpackets.RequestAllyInfo;
/**
- * Sent in response to {@link RequestAllyInfo}, if applicable.
+ * Sent in response to {@link RequestAllyInfo}, if applicable.
* @author afk5min
*/
public class AllianceInfo implements IClientOutgoingPacket
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
index 80a7042463..1fd7ec663a 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
@@ -20,9 +20,9 @@ import org.l2jmobius.commons.network.PacketWriter;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Eva's Inferno event packet. info params:
- * type (1 - %, 2 - npcId),
- * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
+ * Eva's Inferno event packet. info params:
+ * type (1 - %, 2 - npcId),
+ * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
* state (0-1), endtime (only when type 2)
*/
public class ExBrBuffEventState implements IClientOutgoingPacket
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
index 52cadba571..35fcc3b4a8 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
@@ -114,7 +114,7 @@ public interface IClientOutgoingPacket extends IOutgoingPacket
}
/**
- * Sends this packet to the target player, useful for lambda operations like
+ * Sends this packet to the target player, useful for lambda operations like
* {@code World.getInstance().getPlayers().forEach(packet::sendTo)}
* @param player
*/
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
index 1a0c26e078..7fd8a52be7 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
@@ -24,25 +24,25 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Attacker List in the SiegeInfo Window
- *
- * c = ca
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Attackers Clans?
- * d = Number of Attackers Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Attacker List in the SiegeInfo Window
+ *
+ * c = ca
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Attackers Clans?
+ * d = Number of Attackers Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeAttackerList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
index 7066b92fa1..52e10be7c6 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
@@ -25,26 +25,26 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Defender List in the SiegeInfo Window
- *
- * c = 0xcb
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Defending Clans?
- * d = Number of Defending Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Defender List in the SiegeInfo Window
+ *
+ * c = 0xcb
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Defending Clans?
+ * d = Number of Defending Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeDefenderList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
index 355cea9565..6c647eec90 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
@@ -27,18 +27,18 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Shows the Siege Info
- *
- * c = c9
- * d = CastleID
- * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
- * d = Owner ClanID
- * S = Owner ClanName
- * S = Owner Clan LeaderName
- * d = Owner AllyID
- * S = Owner AllyName
- * d = current time (seconds)
- * d = Siege time (seconds) (0 for selectable)
+ * Shows the Siege Info
+ *
+ * c = c9
+ * d = CastleID
+ * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
+ * d = Owner ClanID
+ * S = Owner ClanName
+ * S = Owner Clan LeaderName
+ * d = Owner AllyID
+ * S = Owner AllyName
+ * d = current time (seconds)
+ * d = Siege time (seconds) (0 for selectable)
* d = (UNKNOW) Siege Time Select Related?
* @author KenM
*/
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/scripting/ManagedScript.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
index f2b91791ab..00235baa25 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
@@ -21,7 +21,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
/**
- * Abstract class for classes that are meant to be implemented by scripts.
+ * Abstract class for classes that are meant to be implemented by scripts.
* @author KenM
*/
public abstract class ManagedScript
@@ -41,7 +41,7 @@ public abstract class ManagedScript
public abstract Path getScriptPath();
/**
- * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
+ * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
* Subclasses of this class should override this method to properly refresh their bindings when necessary.
* @return true if and only if the script was reloaded, false otherwise.
*/
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
index 34ba313686..620f020f4e 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
@@ -77,7 +77,7 @@ public class AttackStanceTaskManager
}
/**
- * Checks for attack stance task.
+ * Checks for attack stance task.
* @param actor the actor
* @return {@code true} if the character has an attack stance task, {@code false} otherwise
*/
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/ui/frmAbout.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/ui/frmAbout.java
index a3e5c2cc67..4d161afb73 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/ui/frmAbout.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/ui/frmAbout.java
@@ -83,7 +83,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblProtocols);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 128, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/util/Broadcast.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/util/Broadcast.java
index e0d798deff..5a7eb1a4df 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/util/Broadcast.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/util/Broadcast.java
@@ -40,11 +40,13 @@ public class Broadcast
private static final Logger LOGGER = Logger.getLogger(Broadcast.class.getName());
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -60,11 +62,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -108,11 +112,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
* @param radius
@@ -128,10 +134,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param creature
* @param mov
*/
@@ -162,10 +170,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance present in the world.
- * Concept :
- * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance present in the world.
+ *
+ * Concept:
+ *
+ * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param packet
*/
public static void toAllOnlinePlayers(IClientOutgoingPacket packet)
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/util/MinionList.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/util/MinionList.java
index 29a8c04c1e..9a6f694eaa 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/util/MinionList.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/util/MinionList.java
@@ -58,13 +58,11 @@ public class MinionList
}
/**
- * Manage the spawn of Minions.
- *
- * Actions :
- *
+ * Manage the spawn of Minions.
+ *
+ * Actions:
*
Get the Minion data of all Minions that must be spawn
- *
For each Minion type, spawn the amount of Minion needed
- *
+ *
For each Minion type, spawn the amount of Minion needed
* @param minions
*/
public void spawnMinions(List minions)
@@ -260,16 +258,14 @@ public class MinionList
}
/**
- * Init a Minion and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a Minion and add it in the world as a visible object.
+ *
+ * Actions:
*
Get the template of the Minion to spawn
*
Create and Init the Minion and generate its Identifier
*
Set the Minion HP, MP and Heading
*
Set the Minion leader to this RaidBoss
- *
Init the position of the Minion and add it in the world as a visible object
- *
+ *
Init the position of the Minion and add it in the world as a visible object
* @param master MonsterInstance used as master for this minion
* @param minionId The NpcTemplate Identifier of the Minion to spawn
* @return
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/util/PrimeFinder.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/util/PrimeFinder.java
index c9532000c8..20016811a1 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/util/PrimeFinder.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/util/PrimeFinder.java
@@ -33,7 +33,7 @@ import java.util.Arrays;
public class PrimeFinder
{
/**
- * The largest prime this class can generate; currently equal to Integer.MAX_VALUE.
+ * The largest prime this class can generate; currently equal to Integer.MAX_VALUE
*/
public static final int LARGEST_PRIME = Integer.MAX_VALUE; // yes, it is prime.
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
index 2e46e0a048..0a81e323a3 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
@@ -67,8 +67,7 @@ public class TimeAmountInterpreter
}
/**
- * Appends an user-friendly description of the given amount of time to the specified text builder.
- *
+ * Appends an user-friendly description of the given amount of time to the specified text builder.
* Please keep in mind, that this method is primarily designed to be used with heap text builders. Therefore, if the given text builder throws an {@link IOException}, this exception will be wrapped in a {@link RuntimeException} and returned to the caller as an unchecked exception.
* @param
* @param textBuilder a character sequence builder
diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/loginserver/ui/frmAbout.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/loginserver/ui/frmAbout.java
index 8488868090..06a5d95539 100644
--- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/loginserver/ui/frmAbout.java
+++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/loginserver/ui/frmAbout.java
@@ -75,7 +75,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblLoginServer);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 148, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/custom/listeners/ListenerTest.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/custom/listeners/ListenerTest.java
index 0f855db33f..ed9d1c76f4 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/custom/listeners/ListenerTest.java
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/custom/listeners/ListenerTest.java
@@ -114,7 +114,7 @@ public class ListenerTest extends AbstractNpcAI
}
/**
- * Prioritized event notification
+ * Prioritized event notification
* This method will be invoked as soon as creature from level range between 1 and 10 dies.
* This listener is registered into individual npcs container.
* @param event
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
index 4185463b7a..a20f09c9cd 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
@@ -26,18 +26,15 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
public class ArtefactInstanceAction implements IActionHandler
{
/**
- * Manage actions when a player click on the ArtefactInstance.
- *
- * Actions :
- *
+ * Manage actions when a player click on the ArtefactInstance.
+ *
+ * Actions:
*
Set the NpcInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
- *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
*/
@Override
public boolean action(PlayerInstance player, WorldObject target, boolean interact)
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
index bb73cd0bae..1f204280f0 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
@@ -36,27 +36,22 @@ import org.l2jmobius.gameserver.network.serverpackets.MoveToPawn;
public class NpcAction implements IActionHandler
{
/**
- * Manage actions when a player click on the Npc.
- *
- * Actions on first click on the Npc (Select it) :
- *
+ * Manage actions when a player click on the Npc.
+ *
+ * Actions on first click on the Npc (Select it):
*
Set the Npc as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, send a Server->Client packet StatusUpdate to the PlayerInstance in order to update Npc HP bar
- *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
- *
- * Actions on second click on the Npc (Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
+ *
+ * Actions on second click on the Npc (Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, notify the PlayerInstance AI with AI_INTENTION_ATTACK (after a height verification)
- *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
- *
- * Caution : Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
+ * Caution: Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The PlayerInstance that start an action on the Npc
*/
@Override
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
index 28aa39ab39..d52da54398 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
@@ -31,25 +31,20 @@ public class PlayerInstanceAction implements IActionHandler
private static final int CURSED_WEAPON_VICTIM_MIN_LEVEL = 21;
/**
- * Manage actions when a player click on this PlayerInstance.
- *
- * Actions on first click on the PlayerInstance (Select it) :
- *
+ * Manage actions when a player click on this PlayerInstance.
+ *
+ * Actions on first click on the PlayerInstance (Select it):
*
Set the target of the player
- *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
- *
- * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
+ *
+ * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the player (display the select window)
*
If target PlayerInstance has a Private Store, notify the player AI with AI_INTENTION_INTERACT
- *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
- *
- *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
+ *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The player that start an action on target PlayerInstance
*/
@Override
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
index 20a4e8f57c..6da5c01385 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
@@ -29,7 +29,7 @@ public class PlayerInstanceActionShift implements IActionShiftHandler
{
if (player.isGM())
{
- // Check if the gm already target this l2pcinstance
+ // Check if the GM already target this l2pcinstance
if (player.getTarget() != target)
{
// Set the target of the PlayerInstance player
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
index ea73fa17a1..1aa5e5074a 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
@@ -86,13 +86,13 @@ public class AdminAdmin implements IAdminCommandHandler
else if (command.startsWith("admin_gmliston"))
{
AdminData.getInstance().showGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Registered into gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Registered into GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_gmlistoff"))
{
AdminData.getInstance().hideGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Removed from gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Removed from GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_silence"))
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
index 2efc2df69a..3fed3db486 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
@@ -486,7 +486,7 @@ public class AdminEventEngine implements IAdminCommandHandler
sb.append("
");
sb.append("
");
sb.append("
");
- sb.append("
");
+ sb.append("
");
sb.append("Teams' names:
");
for (int i = 1; (i - 1) < teamnumbers; i++) // Team names params
{
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
index 5e3fc05aa9..91259505bf 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
@@ -31,7 +31,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
/**
- * This class handles following admin commands: - gm = turns gm mode on/off
+ * This class handles following admin commands: - GM = turns GM mode on/off
* @version $Revision: 1.1.2.1 $ $Date: 2005/03/15 21:32:48 $
*/
public class AdminFightCalculator implements IAdminCommandHandler
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
index a32a84dd35..e9acb6a1f6 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles following admin commands: - gm = turns gm mode off
+ * This class handles following admin commands: - GM = turns GM mode off
* @version $Revision: 1.2.4.4 $ $Date: 2005/04/11 10:06:06 $
*/
public class AdminGm implements IAdminCommandHandler
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
index 364bba90a9..f0b2f857a4 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles commands for gm to forge packets
+ * This class handles commands for GM to forge packets
* @author Maktakien, HorridoJoho
*/
public class AdminPForge implements IAdminCommandHandler
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
index 9dd195001c..b5e732f3f7 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
@@ -30,14 +30,14 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * Pledge Manipulation:
- *
With target in a character without clan:
+ * Pledge Manipulation:
+ *
With target in a character without clan:
* //pledge create clanname
- *
With target in a clan leader:
- * //pledge info
- * //pledge dismiss
- * //pledge setlevel level
- * //pledge rep reputation_points
+ *
With target in a clan leader:
+ * //pledge info
+ * //pledge dismiss
+ * //pledge setlevel level
+ * //pledge rep reputation_points
*/
public class AdminPledge implements IAdminCommandHandler
{
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
index fb1eed2f9f..9be9eb040d 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
@@ -78,8 +78,9 @@ public class QuestLink implements IBypassHandler
/**
* Open a choose quest window on client with all quests available of the NpcInstance.
+ *
* Actions:
- *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
+ *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
* @param player The PlayerInstance that talk with the NpcInstance
* @param npc The table containing quests of the NpcInstance
* @param quests
@@ -231,6 +232,7 @@ public class QuestLink implements IBypassHandler
/**
* Open a quest window on client with the text of the NpcInstance.
+ *
* Actions:
*
*
Get the text of the quest state in the folder data/scripts/quests/questId/stateId.htm
Fly Radius means the distance between starting point and final point, it must be an integer.
*
Fly Course means the movement direction: imagine a compass above player's head, making north player's heading. So if fly course is 180, player will go backwards (good for blink, e.g.).
*
- * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
+ * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
* If target is effector, put in XML self="1", this will make _actor = getEffector(). This, combined with target type, allows more complex actions like flying target's backwards or player's backwards.
* @author DrHouse
*/
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
index ca935396a6..e4e937ef41 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.network.serverpackets.ValidateLocation;
/**
* This Blink effect switches the location of the caster and the target.
- * This effect is totally done based on client description.
+ * This effect is totally done based on client description.
* Assume that geodata checks are done on the skill cast and not needed to repeat here.
* @author Nik
*/
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
index 0f1802d986..00474ef88a 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.effects.EffectFlag;
import org.l2jmobius.gameserver.model.effects.EffectType;
/**
- * An effect that blocks the player (NPC?) control.
+ * An effect that blocks the player (NPC?) control.
* It prevents moving, casting, social actions, etc.
* @author Nik
*/
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
index 6b463fd9d2..f94ecb0b46 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
@@ -21,7 +21,7 @@ import org.l2jmobius.gameserver.model.effects.AbstractEffect;
import org.l2jmobius.gameserver.model.effects.EffectFlag;
/**
- * Effect that blocks damage and heals to HP/MP.
+ * Effect that blocks damage and heals to HP/MP.
* Regeneration or DOT shouldn't be blocked, Vampiric Rage and Balance Life as well.
* @author Nik
*/
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
index 9eb0b4e233..8c7fddca06 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
/**
* An effect that changes damage taken from an attack.
- * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
+ * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
* Exceptions for this effect appears to be DOT effects and terrain damage, they are unaffected by this stat.
* As for example in retail this effect does reduce reflected damage taken (because it is received damage), as well as it does not decrease reflected damage done,
* because reflected damage is being calculated with the original attack damage and not this altered one.
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
index a4808a3312..5624fe4e60 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
@@ -34,10 +34,10 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
- * Current formulas were tested to be the best matching retail, damage appears to be identical:
- * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
- * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
+ * Physical Attack effect implementation.
+ * Current formulas were tested to be the best matching retail, damage appears to be identical:
+ * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
+ * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
* @author Nik
*/
public class PhysicalAttack extends AbstractEffect
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
index 332fa3fa4f..17f093e386 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
index 34e643a5b1..4f29f685f7 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
index e1c554d674..92d5fb7d96 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.zone.ZoneId;
/**
* Not Friend affect object implementation. Based on Gracia Final retail tests.
* Such are considered flagged/karma players (except party/clan/ally). Doesn't matter if in command channel.
- * In arena such are considered clan/ally/command channel (except party).
+ * In arena such are considered clan/ally/command channel (except party).
* In peace zone such are considered monsters.
* Monsters consider such all players, npcs (Citizens, Guild Masters, Merchants, Guards, etc. except monsters). Doesn't matter if in peace zone or arena.
* @author Nik
diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/instances/AbstractInstance.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/instances/AbstractInstance.java
index 17d748fad2..354b0d5137 100644
--- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/instances/AbstractInstance.java
+++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/instances/AbstractInstance.java
@@ -62,7 +62,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Get instance world associated with {@code player}.
+ * Get instance world associated with {@code player}.
* @param player player who wants get instance world
* @return instance world if found, otherwise null
*/
@@ -229,8 +229,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Sets instance to finish state.
- * See {@link Instance#finishInstance()} for more details.
+ * Sets instance to finish state.
* @param player player used for determine current instance world
*/
protected void finishInstance(PlayerInstance player)
@@ -244,7 +243,6 @@ public abstract class AbstractInstance extends AbstractNpcAI
/**
* Sets instance to finish state.
- * See {@link Instance#finishInstance(int)} for more details.
* @param player player used for determine current instance world
* @param delay finish delay in minutes
*/
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
index 93028744ee..aa8ac8f064 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
@@ -1232,8 +1232,7 @@ public class BlowfishEngine
/**
* Method to encrypt the block at the given index.
- * The encrypted block goes to the destination array at the given index.
- *
+ * The encrypted block goes to the destination array at the given index.
* @param src source array with the plain data
* @param srcIndex index where the block to encrypt is located
* @param dst destination array the encryption will go to
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/GameTimeController.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/GameTimeController.java
index 131fb28d3d..aa4d359090 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/GameTimeController.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/GameTimeController.java
@@ -118,10 +118,13 @@ public class GameTimeController extends Thread
}
/**
- * Move all Creatures contained in movingObjects of GameTimeController.
- * Concept :
- * All Creature in movement are identified in movingObjects of GameTimeController.
- * Actions :
+ * Move all Creatures contained in movingObjects of GameTimeController.
+ *
+ * Concept:
+ *
+ * All Creature in movement are identified in movingObjects of GameTimeController.
+ *
+ * Actions:
*
*
Update the position of each Creature
*
If movement is finished, the Creature is removed from movingObjects
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/LoginServerThread.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/LoginServerThread.java
index bafacc7045..39bf2b4f51 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/LoginServerThread.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/LoginServerThread.java
@@ -95,7 +95,6 @@ public class LoginServerThread extends Thread
* The BlowFish engine used to encrypt packets
* It is first initialized with a unified key:
* "_;v.]05-31!|+-%xT!^[$\00"
- *
* and then after handshake, with a new key sent by
* login server during the handshake. This new key is stored
* in blowfishKey
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/Shutdown.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/Shutdown.java
index 7ced9a191b..e81e4222dc 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/Shutdown.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/Shutdown.java
@@ -232,7 +232,7 @@ public class Shutdown extends Thread
}
else
{
- // gm shutdown: send warnings and then call exit to start shutdown sequence
+ // GM shutdown: send warnings and then call exit to start shutdown sequence
countdown();
// last point where logging is operational :(
LOGGER.warning("GM shutdown countdown is over. " + MODE_TEXT[_shutdownMode] + " NOW!");
@@ -538,7 +538,7 @@ public class Shutdown extends Thread
}
/**
- * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
+ * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
* @return instance of Shutdown, to be used as shutdown hook
*/
public static Shutdown getInstance()
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/ai/AbstractAI.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/ai/AbstractAI.java
index 95f441a5d6..c544548976 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/ai/AbstractAI.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/ai/AbstractAI.java
@@ -45,7 +45,7 @@ import org.l2jmobius.gameserver.taskmanager.AttackStanceTaskManager;
/**
* Mother class of all objects AI in the world.
- * AbastractAI :
+ * AbastractAI:
*
CreatureAI
*/
public abstract class AbstractAI implements Ctrl
@@ -126,10 +126,10 @@ public abstract class AbstractAI implements Ctrl
/**
* Set the Intention of this AbstractAI.
- * Caution : This method is USED by AI classes
- * Overridden in :
- * AttackableAI : Create an AI Task executed every 1s (if necessary)
- * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
+ * Caution: This method is USED by AI classes
+ * Overridden in:
+ * AttackableAI : Create an AI Task executed every 1s (if necessary)
+ * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -141,7 +141,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
*/
@Override
@@ -152,7 +152,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
* @param args The first parameters of the Intention (optional target)
*/
@@ -225,7 +225,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onEvt method corresponding to the Event.
- * Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
*/
@Override
@@ -235,7 +235,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
*/
@@ -246,7 +246,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
* @param arg1 The second parameter of the Event (optional target)
@@ -419,7 +419,7 @@ public abstract class AbstractAI implements Ctrl
protected abstract void onEvtFinishCasting();
/**
- * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution : Low level function, used by AI subclasses
+ * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution: Low level function, used by AI subclasses
*/
protected void clientActionFailed()
{
@@ -430,8 +430,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param pawn
* @param offset
*/
@@ -514,8 +514,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param x
* @param y
* @param z
@@ -542,8 +542,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param loc
*/
public void clientStopMoving(Location loc)
@@ -591,8 +591,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
public void clientStartAutoAttack()
{
@@ -632,8 +632,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
void clientStopAutoAttack()
{
@@ -661,8 +661,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
protected void clientNotifyDead()
{
@@ -679,7 +679,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Update the state of this actor client side by sending Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance player.
- * Caution : Low level function, used by AI subclasses
+ * Caution: Low level function, used by AI subclasses
* @param player The PlayerIstance to notify with state of this Creature
*/
public void describeStateToPlayer(PlayerInstance player)
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/ai/AttackableAI.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/ai/AttackableAI.java
index 28bb61cbff..6075092cb6 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/ai/AttackableAI.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/ai/AttackableAI.java
@@ -212,7 +212,7 @@ public class AttackableAI extends CreatureAI
/**
* Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
- * Caution : If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
+ * Caution: If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -317,7 +317,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update every 1s the _globalAggro counter to come close to 0
*
If the actor is Aggressive and can attack, add all autoAttackable Creature in its Aggro Range to its _aggroList, chose a target and order to attack it
@@ -612,7 +612,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update the attack timeout if actor is running
*
If target is dead or timeout is expired, stop this attack and set the Intention to AI_INTENTION_ACTIVE
@@ -1237,7 +1237,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Attacked.
- * Actions :
+ *
+ * Actions:
*
*
Init the attack : Calculate the attack timeout, Set the _globalAggro to 0, Add the attacker to the actor _aggroList
*
Set the Creature movement type to run and send Server->Client packet ChangeMoveType to all others PlayerInstance
@@ -1301,7 +1302,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Aggression.
- * Actions :
+ *
+ * Actions:
*
*
Add the target to the actor _aggroList or update hate if already present
*
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/ai/CreatureAI.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/ai/CreatureAI.java
index aeb15558db..a5b0347ce9 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/ai/CreatureAI.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/ai/CreatureAI.java
@@ -139,7 +139,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Idle Intention : Stop Attack, Movement and Stand Up the actor.
- * Actions :
+ *
+ * Actions:
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
Init cast and attack target
@@ -164,7 +165,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Active Intention : Stop Attack, Movement and Launch Think Event.
- * Actions : if the Intention is not already Active
+ *
+ * Actions : if the Intention is not already Active
*
*
Set the AI Intention to AI_INTENTION_ACTIVE
*
Init cast and attack target
@@ -195,7 +197,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Rest Intention.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
@@ -209,7 +212,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Attack Intention : Stop current Attack (if necessary), Start a new Attack and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_ATTACK
@@ -217,7 +221,8 @@ public class CreatureAI extends AbstractAI
*
Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast)
*
Launch the Think Event
*
- * Overridden in :
+ *
+ * Overridden in:
*
*
AttackableAI : Calculate attack timeout
*
@@ -281,7 +286,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Cast Intention : Stop current Attack, Init the AI in order to cast and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI cast target
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
@@ -331,7 +337,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
@@ -370,7 +377,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Follow Intention : Stop current Attack and Launch a Follow Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_FOLLOW
@@ -427,7 +435,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the PickUp Intention : Set the pick up target and Launch a Move To Pawn Task (offset=20).
- * Actions :
+ *
+ * Actions :
*
*
Set the AI pick up target
*
Set the Intention of this AI to AI_INTENTION_PICK_UP
@@ -476,7 +485,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Interact Intention : Set the interact target and Launch a Move To Pawn Task (offset=60).
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the AI interact target
@@ -537,7 +547,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Stunned then onAttacked Event.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
@@ -565,7 +576,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Rooted.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -588,7 +600,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Confused.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -606,7 +619,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Muted.
- * Actions :
+ *
+ * Actions:
*
*
Break a cast and send Server->Client ActionFailed packet and a System Message to the Creature
*
@@ -629,7 +643,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -643,7 +658,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Arrived.
- * Actions :
+ *
+ * Actions:
*
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
*
Launch actions corresponding to the Event Think
@@ -686,7 +702,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedRevalidate.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -700,7 +717,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedBlocked.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
@@ -725,7 +743,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ForgetObject.
- * Actions :
+ *
+ * Actions:
*
*
If the object was targeted and the Intention was AI_INTENTION_INTERACT or AI_INTENTION_PICK_UP, set the Intention to AI_INTENTION_ACTIVE
*
If the object was targeted to attack, stop the auto-attack, cancel target and set the Intention to AI_INTENTION_ACTIVE
@@ -781,7 +800,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -806,7 +826,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Dead.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast)
@@ -829,7 +850,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Fake Death.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
@@ -910,13 +932,15 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move to Pawn action in function of the distance and of the Interact area.
- * Actions :
+ *
+ * Actions:
*
*
Get the distance between the current position of the Creature and the target (x,y)
*
If the distance > offset+20, move the actor (by running) to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast)
*
If the distance <= offset+20, Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1017,13 +1041,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost or dead.
- * Actions : If the target is lost or dead
+ *
+ * Actions : If the target is lost or dead
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1050,13 +1076,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost.
- * Actions : If the target is lost
+ *
+ * Actions : If the target is lost
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/ai/PlayerAI.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/ai/PlayerAI.java
index 1af86289ec..72cd985005 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/ai/PlayerAI.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/ai/PlayerAI.java
@@ -90,7 +90,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -109,7 +110,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -124,7 +126,7 @@ public class PlayerAI extends PlayableAI
/**
* Finalize the casting of a skill. This method overrides CreatureAI method.
- * What it does:
+ * What it does:
* Check if actual intention is set to CAST and, if so, retrieves latest intention before the actual CAST and set it as the current intention for the player.
*/
@Override
@@ -197,7 +199,8 @@ public class PlayerAI extends PlayableAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
index a6c22e57af..dcfcbb433f 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
@@ -158,7 +158,7 @@ public class AdminData implements IXmlReader
AdminCommandAccessRight acar = _adminCommandAccessRights.get(adminCommand);
if (acar == null)
{
- // Trying to avoid the spam for next time when the gm would try to use the same command
+ // Trying to avoid the spam for next time when the GM would try to use the same command
if ((accessLevel.getLevel() > 0) && (accessLevel.getLevel() == _highestLevel))
{
acar = new AdminCommandAccessRight(adminCommand, true, accessLevel.getLevel());
@@ -341,7 +341,7 @@ public class AdminData implements IXmlReader
/**
* Gets the single instance of AdminTable.
- * @return AccessLevels: the one and only instance of this class
+ * @return AccessLevels: the one and only instance of this class
*/
public static AdminData getInstance()
{
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
index ab688fb612..a4de5a1083 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
@@ -63,7 +63,7 @@ import org.l2jmobius.gameserver.model.skills.Skill;
* Here can be found the following skill trees:
*
*
Class skill trees: player skill trees for each class.
- *
Transfer skill trees: player skill trees for each healer class.
+ *
Transfer skill trees: player skill trees for each healer class.
*
Collect skill tree: player skill tree for Gracia related skills.
*
Fishing skill tree: player skill tree for fishing related skills.
*
Transform skill tree: player skill tree for transformation related skills.
@@ -464,7 +464,7 @@ public class SkillTreeData implements IXmlReader
}
/**
- * Gets the race skill tree.
+ * Gets the race skill tree.
* @param race the race skill tree Id
* @return the complete race Skill Tree for a given {@code Race}
*/
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/datatables/BotReportTable.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
index 470dfb2f55..51ea973332 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
@@ -206,7 +206,7 @@ public class BotReportTable
}
/**
- * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
+ * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
* @param reporter (PlayerInstance who issued the report)
* @return True, if the report was registered, False otherwise
*/
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/datatables/ItemTable.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/datatables/ItemTable.java
index d63129deff..bfae3f7a36 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/datatables/ItemTable.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/datatables/ItemTable.java
@@ -195,10 +195,10 @@ public class ItemTable
}
/**
- * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions :
+ * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions:
*
Create and Init the ItemInstance corresponding to the Item Identifier and quantity
*
Add the ItemInstance object to _allObjects of L2world
- *
Logs Item creation according to log settings
+ *
Logs Item creation according to log settings
* @param process : String Identifier of process triggering this action
* @param itemId : int Item Identifier of the item to be created
* @param count : int Quantity of items to be created for stackable items
@@ -304,7 +304,8 @@ public class ItemTable
/**
* Destroys the ItemInstance.
- * Actions :
+ *
+ * Actions:
*
*
Sets ItemInstance parameters to be unusable
*
Removes the ItemInstance object to _allObjects of L2world
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/enums/BasicProperty.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/enums/BasicProperty.java
index 77a2a7a477..1e5cac18dd 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/enums/BasicProperty.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/enums/BasicProperty.java
@@ -17,17 +17,17 @@
package org.l2jmobius.gameserver.enums;
/**
- * Basic property type of skills.
- * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
- * After, only 3 types are used: physical, magic and none.
- *
- * Quote from Juji:
- * ----------------------------------------------------------------------
- * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
- * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
- * ----------------------------------------------------------------------
- * All other are considered with no basic property aka NONE.
- *
+ * Basic property type of skills.
+ * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
+ * After, only 3 types are used: physical, magic and none.
+ *
+ * Quote from Juji:
+ * ----------------------------------------------------------------------
+ * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
+ * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
+ * ----------------------------------------------------------------------
+ * All other are considered with no basic property aka NONE.
+ *
* @author Nik
*/
public enum BasicProperty
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/handler/ItemHandler.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/handler/ItemHandler.java
index 939d8263da..a815f2646e 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/handler/ItemHandler.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/handler/ItemHandler.java
@@ -38,10 +38,9 @@ public class ItemHandler implements IHandler
}
/**
- * Adds handler of item type in datatable.
- *
- * Concept :
- * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
+ * Adds handler of item type in datatable.
+ * Concept :
+ * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
* @param handler (IItemHandler)
*/
@Override
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
index 7d6c13d3b9..b510fdc4ee 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
@@ -456,7 +456,7 @@ public class InstanceManager implements IXmlReader
}
/**
- * Register instance world.
+ * Register instance world.
* @param instance instance which should be registered
*/
public void register(Instance instance)
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/AccessLevel.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/AccessLevel.java
index ced434ddda..2dac00e406 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/AccessLevel.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/AccessLevel.java
@@ -87,9 +87,8 @@ public class AccessLevel
}
/**
- * Returns the access level
- *
- * @return int: access level
+ * Returns the access level
+ * @return int: access level
*/
public int getLevel()
{
@@ -97,9 +96,8 @@ public class AccessLevel
}
/**
- * Returns the access level name
- *
- * @return String: access level name
+ * Returns the access level name
+ * @return String: access level name
*/
public String getName()
{
@@ -107,9 +105,8 @@ public class AccessLevel
}
/**
- * Returns the name color of the access level
- *
- * @return int: the name color for the access level
+ * Returns the name color of the access level
+ * @return int: the name color for the access level
*/
public int getNameColor()
{
@@ -117,9 +114,8 @@ public class AccessLevel
}
/**
- * Returns the title color color of the access level
- *
- * @return int: the title color for the access level
+ * Returns the title color color of the access level
+ * @return int: the title color for the access level
*/
public int getTitleColor()
{
@@ -127,9 +123,8 @@ public class AccessLevel
}
/**
- * Retuns if the access level has gm access or not
- *
- * @return boolean: true if access level have gm access, otherwise false
+ * Retuns if the access level has GM access or not
+ * @return boolean: true if access level have GM access, otherwise false
*/
public boolean isGm()
{
@@ -137,9 +132,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to attack in peace zone or not
- *
- * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
+ * Returns if the access level is allowed to attack in peace zone or not
+ * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
*/
public boolean allowPeaceAttack()
{
@@ -147,9 +141,8 @@ public class AccessLevel
}
/**
- * Retruns if the access level is allowed to use fixed res or not
- *
- * @return true if the access level is allowed to use fixed res, otherwise false
+ * Retruns if the access level is allowed to use fixed res or not
+ * @return true if the access level is allowed to use fixed res, otherwise false
*/
public boolean allowFixedRes()
{
@@ -157,9 +150,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to perform transactions or not
- *
- * @return boolean: true if access level is allowed to perform transactions, otherwise false
+ * Returns if the access level is allowed to perform transactions or not
+ * @return boolean: true if access level is allowed to perform transactions, otherwise false
*/
public boolean allowTransaction()
{
@@ -167,9 +159,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to use AltG commands or not
- *
- * @return boolean: true if access level is allowed to use AltG commands, otherwise false
+ * Returns if the access level is allowed to use AltG commands or not
+ * @return boolean: true if access level is allowed to use AltG commands, otherwise false
*/
public boolean allowAltG()
{
@@ -177,9 +168,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can give damage or not
- *
- * @return boolean: true if the access level can give damage, otherwise false
+ * Returns if the access level can give damage or not
+ * @return boolean: true if the access level can give damage, otherwise false
*/
public boolean canGiveDamage()
{
@@ -187,9 +177,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can take aggro or not
- *
- * @return boolean: true if the access level can take aggro, otherwise false
+ * Returns if the access level can take aggro or not
+ * @return boolean: true if the access level can take aggro, otherwise false
*/
public boolean canTakeAggro()
{
@@ -197,9 +186,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can gain exp or not
- *
- * @return boolean: true if the access level can gain exp, otherwise false
+ * Returns if the access level can gain exp or not
+ * @return boolean: true if the access level can gain exp, otherwise false
*/
public boolean canGainExp()
{
@@ -207,9 +195,9 @@ public class AccessLevel
}
/**
- * Returns if the access level contains allowedAccess as child
- * @param accessLevel as AccessLevel
- * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
+ * Returns if the access level contains allowedAccess as child
+ * @param accessLevel as AccessLevel
+ * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
*/
public boolean hasChildAccess(AccessLevel accessLevel)
{
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/EffectList.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/EffectList.java
index cd68e58af9..46410ab520 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/EffectList.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/EffectList.java
@@ -159,7 +159,7 @@ public class EffectList
}
/**
- * Verifies if this effect list contains the given skill ID.
+ * Verifies if this effect list contains the given skill ID.
* @param skillId the skill ID to verify
* @return {@code true} if the skill ID is present in the effect list (includes active and passive effects), {@code false} otherwise
*/
@@ -179,7 +179,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param type the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching the specified {@code AbnormalType}, {@code false} otherwise
*/
@@ -189,7 +189,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param types the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching one of the specified {@code AbnormalType}s, {@code false} otherwise
*/
@@ -421,7 +421,7 @@ public class EffectList
}
/**
- * Exit all effects having a specified flag.
+ * Exit all effects having a specified flag.
* @param effectFlag the flag of the effect to stop
*/
public void stopEffects(EffectFlag effectFlag)
@@ -438,7 +438,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, Skill)}
+ * {@link #stopSkillEffects(boolean, Skill)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skillId the skill ID
*/
@@ -457,7 +457,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, int)}
+ * {@link #stopSkillEffects(boolean, int)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skill the skill
*/
@@ -484,7 +484,7 @@ public class EffectList
}
/**
- * Exits all effects created by a specific skill {@code AbnormalType}s.
+ * Exits all effects created by a specific skill {@code AbnormalType}s.
* @param types the skill {@code AbnormalType}s to be checked and removed.
* @return {@code true} if there was any {@code BuffInfo} with one of the given {@code AbnormalType}s, {@code false} otherwise
*/
@@ -500,7 +500,7 @@ public class EffectList
}
/**
- * Exits all effects matched by a specific filter.
+ * Exits all effects matched by a specific filter.
* @param filter any filter to apply when selecting which {@code BuffInfo}s to be removed.
* @param update update effect flags and icons after the operation finishes.
* @param broadcast {@code true} to broadcast update packets if updating, {@code false} otherwise.
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/Party.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/Party.java
index bfa180535b..e5518154d9 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/Party.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/Party.java
@@ -142,7 +142,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Set invitation process flag and store time for expiration.
+ * Set invitation process flag and store time for expiration.
* Happens when a player joins party or declines to join.
* @param value the pending invitation state to set
*/
@@ -273,8 +273,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Send a Server->Client packet to all other PlayerInstance of the Party.
- *
+ * Send a Server->Client packet to all other PlayerInstance of the Party.
* @param player
* @param msg
*/
@@ -821,12 +820,12 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
- *
- * Actions :
+ * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
+ *
+ * Actions:
*
Get the PlayerInstance owner of the ServitorInstance (if necessary)
*
Calculate the Experience and SP reward distribution rate
- *
Add Experience and SP to the PlayerInstance
+ *
Add Experience and SP to the PlayerInstance
* @param xpReward The Experience reward to distribute
* @param spReward The SP reward to distribute
* @param rewardedMembers The list of PlayerInstance to reward
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/Spawn.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/Spawn.java
index e9068a0b5f..9f8d6a075f 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/Spawn.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/Spawn.java
@@ -41,7 +41,7 @@ import org.l2jmobius.gameserver.util.Util;
/**
* This class manages the spawn and respawn of a group of NpcInstance that are in the same are and have the same type.
- * Concept:
+ * Concept:
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
* @author Nightmare
@@ -78,13 +78,16 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Constructor of Spawn.
- * Concept:
+ *
+ * Concept:
+ *
* Each Spawn owns generic and static properties (ex : RewardExp, RewardSP, AggroRange...).
* All of those properties are stored in a different NpcTemplate for each type of Spawn. Each template is loaded once in the server cache memory (reduce memory use).
* When a new instance of Spawn is created, server just create a link between the instance and the template.
- * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
- * This link is stored in _spawn of the NpcInstance.
- * Actions:
+ * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
+ * This link is stored in _spawn of the NpcInstance.
+ *
+ * Actions:
*
*
Set the _template of the Spawn
*
Calculate the implementationName used to generate the generic constructor of NpcInstance managed by this Spawn
@@ -227,11 +230,11 @@ public class Spawn extends Location implements IIdentifiable, INamable
}
/**
- * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions :
+ * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions:
*
Decrease the current number of NpcInstance of this Spawn
*
Check if respawn is possible to prevent multiple respawning caused by lag
*
Update the current number of SpawnTask in progress or stand by of this Spawn
- *
Create a new SpawnTask to launch after the respawn Delay
Caution : A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
+ *
Create a new SpawnTask to launch after the respawn Delay
Caution: A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
* @param oldNpc
*/
public void decreaseCount(Npc oldNpc)
@@ -305,10 +308,13 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Create the NpcInstance, add it to the world and lauch its OnSpawn action.
- * Concept:
+ *
+ * Concept:
+ *
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
- * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
+ *
+ * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
*
*
Get NpcInstance Init parameters and its generate an Identifier
*
Call the constructor of the NpcInstance
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/World.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/World.java
index 0b8cd8b4f1..09579e901c 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/World.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/World.java
@@ -132,7 +132,8 @@ public class World
/**
* Adds an object to the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Withdraw an item from the warehouse, create an item
*
Spawn a Creature (PC, NPC, Pet)
@@ -172,7 +173,8 @@ public class World
/**
* Removes an object from the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Delete item from inventory, transfer Item from inventory to warehouse
*
Crystallize item
@@ -209,7 +211,7 @@ public class World
}
/**
- * Example of use:
+ * Example of use:
*
@@ -251,7 +253,7 @@ public class World
}
/**
- * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
+ * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
* @param name Name of the player to get Instance
* @return the player instance corresponding to the given name.
*/
@@ -299,18 +301,18 @@ public class World
}
/**
- * Add a WorldObject in the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Add a WorldObject in the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Add the WorldObject object in _allPlayers* of World
*
Add the WorldObject object in _gmList** of GmListTable
- *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
- * * only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstanceCaution : This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
- * Caution : This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use :
+ *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
+ * * only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstanceCaution: This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
+ * Caution: This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use:
*
Drop an Item
*
Spawn a Creature
- *
Apply Death Penalty of a PlayerInstance
+ *
Apply Death Penalty of a PlayerInstance
* @param object L2object to add in the world
* @param newRegion WorldRegion in wich the object will be add (not used)
*/
@@ -382,16 +384,16 @@ public class World
}
/**
- * Remove a WorldObject from the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Remove a WorldObject from the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Remove the WorldObject object from _allPlayers* of World
*
Remove the WorldObject object from _visibleObjects and _allPlayers* of WorldRegion
*
Remove the WorldObject object from _gmList** of GmListTable
- *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution : This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstance Example of use :
+ *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution: This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstance Example of use:
*
Pickup an Item
- *
Decay a Creature
+ *
Decay a Creature
* @param object L2object to remove from the world
* @param oldRegion WorldRegion in which the object was before removing
*/
@@ -690,9 +692,9 @@ public class World
}
/**
- * Calculate the current WorldRegions of the object according to its position (x,y). Example of use :
+ * Calculate the current WorldRegions of the object according to its position (x,y). Example of use:
*
Set position of a new WorldObject (drop, spawn...)
- *
Update position of a WorldObject after a movement
+ *
Update position of a WorldObject after a movement
* @param object the object
* @return
*/
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/WorldObject.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/WorldObject.java
index 63e719d10f..adc7402c47 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/WorldObject.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/WorldObject.java
@@ -670,7 +670,7 @@ public abstract class WorldObject extends ListenersContainer implements IIdentif
}
/**
- * Sets instance for current object by instance ID.
+ * Sets instance for current object by instance ID.
* @param id ID of instance world which should be set (0 means normal world)
*/
public void setInstanceById(int id)
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/WorldRegion.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/WorldRegion.java
index 4a166d2b8a..25ada44e59 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/WorldRegion.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/WorldRegion.java
@@ -195,8 +195,8 @@ public class WorldRegion
}
/**
- * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
- * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
+ * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
+ * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
* @param object
*/
public void addVisibleObject(WorldObject object)
@@ -216,7 +216,7 @@ public class WorldRegion
}
/**
- * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
+ * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
* @param object
*/
public void removeVisibleObject(WorldObject object)
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 f3b8dcf934..27e7e104f7 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
@@ -1050,7 +1050,7 @@ public class Attackable extends Npc
* During a Special Event all Attackable can drop extra Items.
* Those extra Items are defined in the table allNpcDateDrops of the EventDroplist.
* Each Special Event has a start and end date to stop to drop extra Items automatically.
- * Actions: If an extra drop must be generated
+ * Actions: If an extra drop must be generated
* Get an Item Identifier (random) from the DateDrop Item table of this Event.
* Get the Item quantity dropped (random).
* Create this or these ItemInstance corresponding to this Item Identifier.
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Creature.java
index f244f517ee..f653f1f583 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Creature.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Creature.java
@@ -167,7 +167,6 @@ import org.l2jmobius.gameserver.util.Util;
*
Trap
*
Vehicle
*
- *
* Concept of CreatureTemplate:
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
@@ -295,11 +294,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Constructor of Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature. Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
- * Actions:
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
+ *
+ * Actions:
*
*
Set the _template of the Creature
*
Set _overloaded to false (the character can take more items)
@@ -542,8 +544,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Remove the Creature from the world when the decay task is launched.
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
public void onDecay()
{
@@ -603,8 +605,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
*/
@@ -621,8 +625,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the radius (max knownlist radius) from the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
* @param radiusInKnownlist
@@ -678,12 +684,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send the Server->Client packet StatusUpdate with current HP and MP to all other PlayerInstance to inform.
- * Actions:
+ *
+ * Actions:
*
*
Create the Server->Client packet StatusUpdate with current HP and MP
*
Send the Server->Client packet StatusUpdate with current HP and MP to all Creature called _statusListener that must be informed of HP/MP updates of this Creature
*
- * Caution: This method DOESN'T SEND CP information
+ * Caution: This method DOESN'T SEND CP information
* @param caster
*/
public void broadcastStatusUpdate(Creature caster)
@@ -714,7 +721,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Teleport a Creature and its pet if necessary.
- * Actions:
+ *
+ * Actions:
*
*
Stop the movement of the Creature
*
Set the x,y,z position of the WorldObject and if necessary modify its _worldRegion
@@ -883,7 +891,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a physical attack against a target (Simple, Bow, Pole or Dual).
- * Actions:
+ *
+ * Actions:
*
*
Get the active weapon (always equipped in the right hand)
*
If weapon is a bow, check for arrows, MP and bow re-use delay (if necessary, equip the PlayerInstance with arrows in left hand)
@@ -1274,7 +1283,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Manage the casting task (casting and interrupt time, re-use delay...) and display the casting bar and animation on client.
- * Actions:
+ *
+ * Actions:
*
*
Verify the possibility of the the cast : skill is a spell, caster isn't muted...
*
Get the list of all targets (ex : area effects) and define the Creature targeted (its stats will be used in calculation)
@@ -1564,7 +1574,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Kill the Creature.
- * Actions:
+ *
+ * Actions:
*
*
Set target to null and cancel Attack or Cast
*
Stop movement
@@ -2191,11 +2202,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Set the template of the Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
* Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
* @param template
*/
protected final void setTemplate(CreatureTemplate template)
@@ -2372,7 +2385,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop a specified/all Fake Death abnormal Effect.
- * Actions:
+ *
+ * Actions:
*
*
Delete a specified/all (if effect=null) Fake Death abnormal Effect from Creature and update client magic icon
*
Set the abnormal effect flag _fake_death to False
@@ -2400,7 +2414,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Stop all block actions (stun) effects.
+ * Stop all block actions (stun) effects.
* @param removeEffects {@code true} removes all block actions effects, {@code false} only notifies AI to think.
*/
public void stopStunning(boolean removeEffects)
@@ -2418,7 +2432,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop Effect: Transformation.
- * Actions:
+ *
+ * Actions:
*
*
Remove Transformation Effect
*
Notify the Creature AI
@@ -2447,7 +2462,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Updates the visual abnormal state of this character.
+ * Updates the visual abnormal state of this character.
*/
public void updateAbnormalVisualEffects()
{
@@ -2456,9 +2471,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update active skills in progress (In Use and Not In Use because stacked) icons on client.
- * Concept:
+ *
+ * Concept:
+ *
* All active skills effects in progress (In Use and Not In Use because stacked) are represented by an icon on the client.
- * Caution : This method ONLY UPDATE the client of the player and not clients of all players in the party.
+ * Caution: This method ONLY UPDATE the client of the player and not clients of all players in the party.
*/
public void updateEffectIcons()
{
@@ -2492,7 +2509,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* This class group all movement data.
- * Data :
+ *
+ * Data:
*
*
_moveTimestamp : Last time position update
*
_xDestination, _yDestination, _zDestination : Position of the destination
@@ -2786,7 +2804,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * @return True if the Creature is travelling a calculated path.
+ * @return True if the Creature is traveling a calculated path.
*/
public boolean isOnGeodataPath()
{
@@ -2896,16 +2914,18 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update the position of the Creature during a movement and return True if the movement is finished.
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
* When the movement is started (ex : by MovetoLocation), this method will be called each 0.1 sec to estimate and update the Creature position on the server.
* Note, that the current server position can differe from the current client position even if each movement is straight foward.
* That's why, client send regularly a Client->Server ValidatePosition packet to eventually correct the gap on the server.
* But, it's always the server position that is used in range calculation. At the end of the estimated movement time,
* the Creature position is automatically set to the destination position even if the movement is not finished.
- * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
- * But x and y positions must be calculated to avoid that players try to modify their movement speed.
+ * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
+ * But x and y positions must be calculated to avoid that players try to modify their movement speed.
* @return True if the movement is finished
*/
public boolean updatePosition()
@@ -3073,14 +3093,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop movement of the Creature (Called by AI Accessor only).
- * Actions:
+ *
+ * Actions:
*
*
Delete movement data of the Creature
*
Set the current position (x,y,z), its current WorldRegion if necessary and its heading
*
Remove the WorldObject object from _gmList of GmListTable
*
Remove object from _knownObjects and _knownPlayer of all surrounding WorldRegion Creatures
*
- * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
+ * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
* @param loc
*/
public void stopMove(Location loc)
@@ -3117,9 +3138,12 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Target a WorldObject (add the target to the Creature _target, _knownObject and Creature to _KnownObject of the WorldObject).
- * Concept:
- * The WorldObject (including Creature) targeted is identified in _target of the Creature.
- * Actions:
+ *
+ * Concept:
+ *
+ * The WorldObject (including Creature) targeted is identified in _target of the Creature.
+ *
+ * Actions:
*
*
Set the _target of Creature to WorldObject
*
If necessary, add WorldObject to _knownObject of the Creature
@@ -3162,11 +3186,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Calculate movement data for a move to location action and add the Creature to movingObjects of GameTimeController (only called by AI Accessor).
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
- * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
- * Actions:
+ * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
+ *
+ * Actions:
*
*
Get current position of the Creature
*
Calculate distance (dx,dy) between current position and destination including offset
@@ -3175,8 +3202,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
*
Add the Creature to movingObjects of the GameTimeController
*
Create a task to notify the AI that Creature arrives at a check point of the movement
*
- * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
- * Example of use:
+ * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
+ *
+ * Example of use:
*
*
AI : onIntentionMoveTo(Location), onIntentionPickUp(WorldObject), onIntentionInteract(WorldObject)
*
FollowTask
@@ -3580,7 +3608,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
* @return True if arrows are available.
* @param type
@@ -3592,9 +3620,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add Exp and Sp to the Creature.
- * Overridden in :
+ *
+ * Overridden in:
*
PlayerInstance
- *
PetInstance
+ *
PetInstance
* @param addToExp
* @param addToSp
*/
@@ -3604,36 +3633,37 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon instance (always equiped in the right hand).
+ * @return the active weapon instance (always equipped in the right hand).
*/
public abstract ItemInstance getActiveWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon item (always equiped in the right hand).
+ * @return the active weapon item (always equipped in the right hand).
*/
public abstract Weapon getActiveWeaponItem();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary weapon instance (always equiped in the left hand).
+ * @return the secondary weapon instance (always equipped in the left hand).
*/
public abstract ItemInstance getSecondaryWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary {@link Item} item (always equiped in the left hand).
+ * @return the secondary {@link Item} item (always equipped in the left hand).
*/
public abstract Item getSecondaryWeaponItem();
/**
* Manage hit process (called by Hit Task).
- * Actions:
+ *
+ * Actions:
*
*
If the attacker/target is dead or use fake death, notify the AI with EVT_CANCEL and send a Server->Client packet ActionFailed (if attacker is a PlayerInstance)
*
If attack isn't aborted, send a message system (critical hit, missed...) to attacker/target if they are PlayerInstance
If Creature or target is in a town area, send a system message TARGET_IN_PEACEZONE a Server->Client packet ActionFailed
*
If target is confused, send a Server->Client packet ActionFailed
@@ -3953,15 +3984,19 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add a skill to the Creature _skills and its Func objects to the calculator set of the Creature.
- * Concept:
- * All skills own by a Creature are identified in _skills
- * Actions:
+ *
+ * Concept:
+ *
+ * All skills own by a Creature are identified in _skills
+ *
+ * Actions:
*
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
*
Add Func objects of newSkill to the calculator set of the Creature
*
- * Overridden in:
+ *
+ * Overridden in:
*
*
PlayerInstance : Save update in the character_skills table of the database
*
@@ -5243,7 +5278,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
+ * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
* @param range
*/
public void initSeenCreatures(int range)
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Npc.java
index 9f444d25d3..935b46f424 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Npc.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Npc.java
@@ -158,7 +158,8 @@ public class Npc extends Creature
/**
* Constructor of NpcInstance (use Creature constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the Creature (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the Creature
@@ -578,7 +579,8 @@ public class Npc extends Creature
/**
* Open a quest or chat window on client with the text of the NpcInstance in function of the command.
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : RequestBypassToServer
*
@@ -638,11 +640,11 @@ public class Npc extends Creature
}
/**
- * :
+ * :
*
- *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
- *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
- *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
+ *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
+ *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
+ *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -705,7 +707,8 @@ public class Npc extends Creature
/**
* Open a chat window on client with the text of the NpcInstance.
- * Actions:
+ *
+ * Actions:
*
*
Get the text of the selected HTML file in function of the npcId and of the page number
*
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
@@ -865,7 +868,8 @@ public class Npc extends Creature
/**
* Kill the NpcInstance (the corpse disappeared after 7 seconds).
- * Actions:
+ *
+ * Actions:
*
*
Create a DecayTask to remove the corpse of the NpcInstance after 7 seconds
*
Set target to null and cancel Attack or Cast
@@ -1091,14 +1095,15 @@ public class Npc extends Creature
/**
* Remove the NpcInstance from the world and update its spawn object (for a complete removal use the deleteMe method).
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world when the decay task is launched
*
Decrease its spawn counter
*
Manage Siege task (killFlag, killCT)
*
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
@Override
public void onDecay()
@@ -1137,13 +1142,14 @@ public class Npc extends Creature
/**
* Remove PROPERLY the NpcInstance from the world.
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world and update its spawn object
*
Remove all WorldObject from _knownObjects and _knownPlayer of the NpcInstance then cancel Attack or Cast and notify AI
*
Remove WorldObject object from _allObjects of World
*
- * Caution: This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T SEND Server->Client packets to players
* UnAfraid: TODO: Add Listener here
*/
@Override
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Playable.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Playable.java
index 622442ab2e..750bdba19c 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Playable.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Playable.java
@@ -52,7 +52,8 @@ public abstract class Playable extends Creature
/**
* Constructor of Playable.
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and link copy basic Calculator set to this Playable
*
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Summon.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Summon.java
index c2bca015fb..34eb558e47 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Summon.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Summon.java
@@ -588,7 +588,8 @@ public abstract class Summon extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the target is correct
*
Check if the target is in the skill cast range
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
index 5af1884bac..ba0920369e 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
@@ -24,21 +24,19 @@ import org.l2jmobius.gameserver.model.skills.Skill;
import org.l2jmobius.gameserver.network.serverpackets.ActionFailed;
/**
- * This class manages all Castle Siege Artefacts.
- *
+ * This class manages all Castle Siege Artefacts.
+ *
* @version $Revision: 1.11.2.1.2.7 $ $Date: 2005/04/06 16:13:40 $
*/
public class ArtefactInstance extends Npc
{
/**
- * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
- *
- * Actions :
- *
+ * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
+ *
+ * Actions:
*
Call the Creature constructor to set the _template of the ArtefactInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the ArtefactInstance
- *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
- *
+ *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
* @param template to apply to the NPC
*/
public ArtefactInstance(NpcTemplate template)
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 5f34d57abe..d359c8335b 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
@@ -36,7 +36,8 @@ public class GuardInstance extends Attackable
{
/**
* Constructor of GuardInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the GuardInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the GuardInstance
@@ -100,10 +101,11 @@ public class GuardInstance extends Attackable
/**
* Return the pathfile of the selected HTML file in function of the GuardInstance Identifier and of the page number.
- * Format of the pathfile :
+ *
+ * Format of the pathfile:
*
- *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
- *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
+ *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
+ *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -125,19 +127,22 @@ public class GuardInstance extends Attackable
/**
* Manage actions when a player click on the GuardInstance.
- * Actions on first click on the GuardInstance (Select it) :
+ *
+ * Actions on first click on the GuardInstance (Select it):
*
*
Set the GuardInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
Set the PlayerInstance Intention to AI_INTENTION_IDLE
*
Send a Server->Client packet ValidateLocation to correct the GuardInstance position and heading on the client
*
- * Actions on second click on the GuardInstance (Attack it/Interact with it) :
+ *
+ * Actions on second click on the GuardInstance (Attack it/Interact with it):
*
*
If PlayerInstance is in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_ATTACK
*
If PlayerInstance is NOT in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_INTERACT (after a distance verification) and show message
*
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : Action, AttackRequest
*
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
index 2b71cdcfe3..bee6060aec 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
@@ -43,7 +43,8 @@ public class MonsterInstance extends Attackable
/**
* Constructor of MonsterInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the MonsterInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the MonsterInstance
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
index ba902887c1..e4a3b06ba0 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
@@ -121,7 +121,7 @@ public class PetInstance extends Summon
}
/**
- * Manage Feeding Task.
+ * Manage Feeding Task.
* Feed or kill the pet depending on hunger level.
* If pet has food in inventory and feed level drops below 55% then consume food from inventory.
* Send a broadcastStatusUpdate packet for this PetInstance
@@ -417,7 +417,7 @@ public class PetInstance extends Summon
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -1133,8 +1133,7 @@ public class PetInstance extends Summon
}
/**
- * Restore the specified % of experience this PetInstance has lost.
- *
+ * Restore the specified % of experience this PetInstance has lost.
* @param restorePercent
*/
public void restoreExp(double restorePercent)
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
index 9b8ed166c1..78357d2eaa 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
@@ -891,7 +891,8 @@ public class PlayerInstance extends Playable
/**
* Create a new PlayerInstance and add it in the characters table of the database.
- * Actions :
+ *
+ * Actions:
*
*
Create a new PlayerInstance with an account name
*
Set the name, the Hair Style, the Hair Color and the Face type of the PlayerInstance
@@ -1085,7 +1086,8 @@ public class PlayerInstance extends Playable
/**
* Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world (call restore method).
- * Actions :
+ *
+ * Actions:
*
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
@@ -1112,12 +1114,13 @@ public class PlayerInstance extends Playable
/**
* Constructor of PlayerInstance (use Creature constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and copy basic Calculator set to this PlayerInstance
*
Set the name of the PlayerInstance
*
- * Caution : This method SET the level of the PlayerInstance to 1
+ * Caution: This method SET the level of the PlayerInstance to 1
* @param objectId Identifier of the object to initialized
* @param template The PlayerTemplate to apply to the PlayerInstance
* @param accountName The name of the account including this PlayerInstance
@@ -2564,7 +2567,7 @@ public class PlayerInstance extends Playable
}
/**
- * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
+ * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
*/
public void regiveTemporarySkills()
{
@@ -3497,7 +3500,7 @@ public class PlayerInstance extends Playable
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -3752,7 +3755,7 @@ public class PlayerInstance extends Playable
}
/**
- * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : long Quantity of items to be dropped
@@ -4019,9 +4022,9 @@ public class PlayerInstance extends Playable
}
/**
- * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions :
- *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
- *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution : This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
+ * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions:
+ *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
+ *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution: This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
*/
@Override
public void broadcastStatusUpdate(Creature caster)
@@ -4088,11 +4091,11 @@ public class PlayerInstance extends Playable
}
/**
- * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept : Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
- * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions :
+ * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept: Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
+ * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions:
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
- *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as
- * MaxHP, STR, DEX...
+ *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP,
+ * STR, DEX...
*/
public void broadcastUserInfo()
{
@@ -4246,10 +4249,10 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Interact Task with another PlayerInstance. Actions :
+ * Manage Interact Task with another PlayerInstance. Actions:
*
If the private store is a STORE_PRIVATE_SELL, send a Server->Client PrivateBuyListSell packet to the PlayerInstance
*
If the private store is a STORE_PRIVATE_BUY, send a Server->Client PrivateBuyListBuy packet to the PlayerInstance
- *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
+ *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
* @param target The Creature targeted
*/
public void doInteract(Creature target)
@@ -4298,7 +4301,7 @@ public class PlayerInstance extends Playable
*
Send a Server->Client packet InventoryUpdate to this player with NewItem (use a new slot) or ModifiedItem (increase amount).
*
Send a Server->Client packet StatusUpdate to this player with current weight.
*
- * Caution: If a party is in progress, distribute the items between the party members!
+ * Caution: If a party is in progress, distribute the items between the party members!
* @param target the NPC dropping the item
* @param itemId the item ID
* @param itemCount the item count
@@ -4330,13 +4333,13 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Pickup Task. Actions :
+ * Manage Pickup Task. Actions:
*
Send a Server->Client packet StopMove to this PlayerInstance
*
Remove the ItemInstance from the world and send server->client GetItem packets
*
Send a System Message to the PlayerInstance : YOU_PICKED_UP_S1_ADENA or YOU_PICKED_UP_S1_S2
*
Add the Item to the PlayerInstance inventory
*
Send a Server->Client packet InventoryUpdate to this PlayerInstance with NewItem (use a new slot) or ModifiedItem (increase amount)
- *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution : If a Party is in progress, distribute Items between party members
+ *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution: If a Party is in progress, distribute Items between party members
* @param object The ItemInstance to pick up
*/
@Override
@@ -4599,7 +4602,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set a target. Actions :
+ * Set a target. Actions:
*
*
Remove the PlayerInstance from the _statusListener of the old target if it was a Creature
*
Add the PlayerInstance to the _statusListener of the new target if it's a Creature
@@ -4691,7 +4694,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon instance (always equiped in the right hand).
+ * Return the active weapon instance (always equipped in the right hand).
*/
@Override
public ItemInstance getActiveWeaponInstance()
@@ -4700,7 +4703,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon item (always equiped in the right hand).
+ * Return the active weapon item (always equipped in the right hand).
*/
@Override
public Weapon getActiveWeaponItem()
@@ -4777,7 +4780,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary weapon instance (always equiped in the left hand).
+ * Return the secondary weapon instance (always equipped in the left hand).
*/
@Override
public ItemInstance getSecondaryWeaponInstance()
@@ -4786,8 +4789,8 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary Item item (always equiped in the left hand).
- * Arrows, Shield..
+ * Return the secondary Item item (always equipped in the left hand).
+ * Arrows, Shield..
*/
@Override
public Item getSecondaryWeaponItem()
@@ -4801,12 +4804,12 @@ public class PlayerInstance extends Playable
}
/**
- * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions :
+ * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions:
*
Reduce the Experience of the PlayerInstance in function of the calculated Death Penalty
*
If necessary, unsummon the Pet of the killed PlayerInstance
*
Manage Karma gain for attacker and Karam loss for the killed PlayerInstance
*
If the killed PlayerInstance has Karma, manage Drop Item
- *
Kill the PlayerInstance
+ *
Kill the PlayerInstance
* @param killer
*/
@Override
@@ -5278,12 +5281,13 @@ public class PlayerInstance extends Playable
}
/**
- * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
- * Actions :
+ * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
+ *
+ * Actions:
*
Calculate the Experience loss
*
Set the value of _expBeforeDeath
*
Set the new Experience value of the PlayerInstance and Decrease its level if necessary
- *
Send a Server->Client StatusUpdate packet with its new Experience
+ *
Send a Server->Client StatusUpdate packet with its new Experience
* @param killer
*/
public void calculateDeathExpPenalty(Creature killer)
@@ -5335,7 +5339,7 @@ public class PlayerInstance extends Playable
}
/**
- * Stop the HP/MP/CP Regeneration task. Actions :
+ * Stop the HP/MP/CP Regeneration task. Actions:
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
*/
@@ -5681,13 +5685,13 @@ public class PlayerInstance extends Playable
}
/**
- * Set the Private Store type of the PlayerInstance. Values :
+ * Set the Private Store type of the PlayerInstance. Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @param privateStoreType
*/
public void setPrivateStoreType(PrivateStoreType privateStoreType)
@@ -5700,13 +5704,13 @@ public class PlayerInstance extends Playable
}
/**
- * Values :
+ * Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @return the Private Store type of the PlayerInstance.
*/
public PrivateStoreType getPrivateStoreType()
@@ -6424,11 +6428,11 @@ public class PlayerInstance extends Playable
}
/**
- * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions :
+ * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions:
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
*
Set the x,y,z position of the PlayerInstance and make it invisible
- *
Update the overloaded status of the PlayerInstance
+ *
Update the overloaded status of the PlayerInstance
* @param objectId Identifier of the object to initialized
* @return The PlayerInstance loaded from the database
*/
@@ -7326,10 +7330,10 @@ public class PlayerInstance extends Playable
}
/**
- * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept : All skills own by a PlayerInstance are identified in _skills Actions :
+ * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept: All skills own by a PlayerInstance are identified in _skills Actions:
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
- *
Add Func objects of newSkill to the calculator set of the Creature
+ *
Add Func objects of newSkill to the calculator set of the Creature
* @param newSkill The Skill to add to the Creature
* @param store
* @return The Skill replaced or null if just added a new Skill
@@ -7360,10 +7364,10 @@ public class PlayerInstance extends Playable
}
/**
- * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept : All skills own by a Creature are identified in _skills Actions :
+ * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept: All skills own by a Creature are identified in _skills Actions:
*
Remove the skill from the Creature _skills
- *
Remove all its Func objects from the Creature calculator set
Overridden in :
- *
PlayerInstance : Save update in the character_skills table of the database
+ *
Remove all its Func objects from the Creature calculator set
Overridden in:
+ *
PlayerInstance : Save update in the character_skills table of the database
* @param skill The Skill to remove from the Creature
* @return The Skill removed
*/
@@ -8065,7 +8069,8 @@ public class PlayerInstance extends Playable
/**
* Return True if the PlayerInstance is autoAttackable.
- * Actions:
+ *
+ * Actions:
*
*
Check if the attacker isn't the PlayerInstance Pet
*
Check if the attacker is MonsterInstance
@@ -8234,7 +8239,8 @@ public class PlayerInstance extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the skill isn't toggle and is offensive
*
Check if the target is in the skill cast range
@@ -8592,15 +8598,18 @@ public class PlayerInstance extends Playable
/**
* Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers.
- * Concept:
- * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
* In order to inform other players of this PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet
- * Actions:
+ *
+ * Actions:
*
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
*
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
*
- * Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
+ * Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
*/
@Override
public void updateAbnormalVisualEffects()
@@ -9423,7 +9432,7 @@ public class PlayerInstance extends Playable
}
/**
- * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
+ * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
* 2. This method no longer changes the active _classIndex of the player. This is only done by the calling of setActiveClass() method as that should be the only way to do so.
* @param classId
* @param classIndex
@@ -10594,7 +10603,8 @@ public class PlayerInstance extends Playable
/**
* Manage the delete task of a PlayerInstance (Leave Party, Unsummon pet, Save its inventory in the database, Remove it from the world...).
- * Actions:
+ *
+ * Actions:
*
*
If the PlayerInstance is in observer mode, set its position to its position before entering in observer mode
*
Set the online Flag to True or False and update the characters table of the database with online status and lastAccess
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
index d58c4a2344..1538e27eb0 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
@@ -31,7 +31,8 @@ public class RaidBossInstance extends MonsterInstance
/**
* Constructor of RaidBossInstance (use Creature and NpcInstance constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the RaidBossInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the RaidBossInstance
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
index 0746dde009..e66a7d8d7f 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
@@ -152,7 +152,8 @@ public class StaticObjectInstance extends Creature
/**
* Set the meshIndex of the object.
- * Values :
+ *
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
@@ -166,7 +167,7 @@ public class StaticObjectInstance extends Creature
}
/**
- * Values :
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
index 0a935e82db..f6b1fdd6c1 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
@@ -265,7 +265,8 @@ public class CreatureStat
/**
* Return the MAtk (base+modifier) of the Creature.
- * Example of use: Calculate Magic damage
+ *
+ * Example of use: Calculate Magic damage
* @return
*/
public int getMAtk()
@@ -290,7 +291,7 @@ public class CreatureStat
}
/**
- * Example of use : Calculate Magic damage.
+ * Example of use : Calculate Magic damage.
* @return the MDef (base+modifier) of the Creature against a skill in function of abnormal effects in progress.
*/
public int getMDef()
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
index a34f446f36..ecb6ca7cf2 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
@@ -57,11 +57,14 @@ public class CreatureStatus
/**
* Add the object to the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use:
+ *
+ * Example of use:
*
*
Target a PC or NPC
*
@@ -79,11 +82,14 @@ public class CreatureStatus
/**
* Remove the object from the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use :
+ *
+ * Example of use :
*
*
Untarget a PC or NPC
*
@@ -96,8 +102,10 @@ public class CreatureStatus
/**
* Return the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
* @return The list of Creature to inform or null if empty
@@ -188,7 +196,8 @@ public class CreatureStatus
/**
* Start the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Calculate the regen task period
*
Launch the HP/MP/CP Regeneration task with Medium priority
@@ -208,7 +217,8 @@ public class CreatureStatus
/**
* Stop the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/base/SubClass.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/base/SubClass.java
index 6e1b4abe48..8e382665f8 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/base/SubClass.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/base/SubClass.java
@@ -20,7 +20,7 @@ import org.l2jmobius.Config;
import org.l2jmobius.gameserver.data.xml.impl.ExperienceData;
/**
- * Character Sub-Class Definition
+ * Character Sub-Class Definition
* Used to store key information about a character's sub-class.
* @author Tempy
*/
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
index ee74925752..a54baee819 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
@@ -62,7 +62,7 @@ public abstract class AbstractEffect
/**
* Calculates whether this effects land or not.
* If it lands will be scheduled and added to the character effect list.
- * Override in effect implementation to change behavior.
+ * Override in effect implementation to change behavior.
* Warning: Must be used only for instant effects continuous effects will not call this they have their success handled by activate_rate.
* @param effector
* @param effected
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/entity/Castle.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/entity/Castle.java
index c0ec518a28..ce46b99bf1 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/entity/Castle.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/entity/Castle.java
@@ -615,8 +615,7 @@ public class Castle extends AbstractResidence
}
/**
- * Respawn all doors on castle grounds
- *
+ * Respawn all doors on castle grounds
* @param isDoorWeak
*/
public void spawnDoor(boolean isDoorWeak)
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/entity/Fort.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/entity/Fort.java
index 755bee3310..667c694f50 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/entity/Fort.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/entity/Fort.java
@@ -273,8 +273,7 @@ public class Fort extends AbstractResidence
}
/**
- * Move non clan members off fort area and to nearest town.
- *
+ * Move non clan members off fort area and to nearest town.
*/
public void banishForeigners()
{
@@ -516,8 +515,7 @@ public class Fort extends AbstractResidence
}
/**
- * Respawn all doors on fort grounds
- *
+ * Respawn all doors on fort grounds.
*/
public void resetDoors()
{
@@ -976,11 +974,10 @@ public class Fort extends AbstractResidence
}
/**
- * @return Returns state of fortress.
- *
- * 0 - not decided yet
- * 1 - independent
- * 2 - contracted with castle
+ * @return Returns state of fortress.
+ * 0 - not decided yet
+ * 1 - independent
+ * 2 - contracted with castle
*/
public int getFortState()
{
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/entity/FortSiege.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
index fe98f73d82..d4e5ae83b5 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
@@ -703,14 +703,14 @@ public class FortSiege implements Siegable
}
/**
- * Register clan as attacker.
+ * Register clan as attacker.
* @param player The PlayerInstance of the player trying to register.
* @param checkConditions True if should be checked conditions, false otherwise
- * @return Number that defines what happened.
- * 0 - Player don't have clan.
- * 1 - Player don't have enough adena to register.
- * 2 - Is not right time to register Fortress now.
- * 3 - Players clan is already registered to siege.
+ * @return Number that defines what happened.
+ * 0 - Player don't have clan.
+ * 1 - Player don't have enough adena to register.
+ * 2 - Is not right time to register Fortress now.
+ * 3 - Players clan is already registered to siege.
* 4 - Players clan is successfully registered to siege.
*/
public int addAttacker(PlayerInstance player, boolean checkConditions)
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/entity/Hero.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/entity/Hero.java
index 49b405d179..8c9bbb0bc0 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/entity/Hero.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/entity/Hero.java
@@ -866,7 +866,7 @@ public class Hero
}
/**
- * Saving task for {@link Hero}
+ * Saving task for {@link Hero}
* Save all hero messages to DB.
*/
public void shutdown()
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/entity/Siege.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/entity/Siege.java
index c864909114..5b84c4a276 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/entity/Siege.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/entity/Siege.java
@@ -383,8 +383,7 @@ public class Siege implements Siegable
}
/**
- * When control of castle changed during siege
- *
+ * When control of castle changed during siege.
*/
public void midVictory()
{
@@ -470,8 +469,7 @@ public class Siege implements Siegable
}
/**
- * When siege starts
- *
+ * When siege starts.
*/
@Override
public void startSiege()
@@ -529,8 +527,7 @@ public class Siege implements Siegable
}
/**
- * Announce to player.
- *
+ * Announce to player.
* @param message The SystemMessage to send to player
* @param bothSides True - broadcast to both attackers and defenders. False - only to defenders.
*/
@@ -682,8 +679,7 @@ public class Siege implements Siegable
}
/**
- * Approve clan as defender for siege
- *
+ * Approve clan as defender for siege
* @param clanId The int of player's clan id
*/
public void approveSiegeDefenderClan(int clanId)
@@ -717,8 +713,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is attacker
- *
+ * Return true if clan is attacker
* @param clan The Clan of the player
*/
@Override
@@ -728,8 +723,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is defender
- *
+ * Return true if clan is defender
* @param clan The Clan of the player
*/
@Override
@@ -866,8 +860,7 @@ public class Siege implements Siegable
}
/**
- * Register clan as attacker
- *
+ * Register clan as attacker
* @param player The PlayerInstance of the player trying to register
*/
public void registerAttacker(PlayerInstance player)
@@ -948,8 +941,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clanId The int of player's clan id
*/
public void removeSiegeClan(int clanId)
@@ -975,8 +967,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clan clan being removed
*/
public void removeSiegeClan(Clan clan)
@@ -989,8 +980,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param player The PlayerInstance of player/clan being removed
*/
public void removeSiegeClan(PlayerInstance player)
@@ -999,8 +989,7 @@ public class Siege implements Siegable
}
/**
- * Start the auto tasks
- *
+ * Start the auto tasks.
*/
public void startAutoTask()
{
@@ -1073,8 +1062,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as attacker
- *
+ * Add clan as attacker
* @param clanId The int of clan's id
*/
private void addAttacker(int clanId)
@@ -1083,8 +1071,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender
- *
+ * Add clan as defender
* @param clanId The int of clan's id
*/
private void addDefender(int clanId)
@@ -1105,8 +1092,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender waiting approval
- *
+ * Add clan as defender waiting approval
* @param clanId The int of clan's id
*/
private void addDefenderWaiting(int clanId)
@@ -1198,8 +1184,7 @@ public class Siege implements Siegable
}
/**
- * Return the correct siege date as Calendar.
- *
+ * Return the correct siege date as Calendar.
*/
public void correctSiegeDateTime()
{
@@ -1348,8 +1333,7 @@ public class Siege implements Siegable
}
/**
- * Save registration to database.
- *
+ * Save registration to database.
* @param clan The Clan of player
* @param typeId -1 = owner 0 = defender, 1 = attacker, 2 = defender waiting
* @param isUpdateRegistration
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/events/AbstractScript.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
index 38414caafa..9319658828 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
@@ -3030,7 +3030,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param array of values.
* @return one value from array.
@@ -3046,7 +3046,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param list of values.
* @return one value from list.
@@ -3061,7 +3061,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param array of Integers.
* @return one Integer from array.
*/
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
index 0da0f1ff20..a4335762c0 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
@@ -53,7 +53,7 @@ public class PlayerSkillHolder implements ISkillsHolder
}
/**
- * Add a skill to the skills map.
+ * Add a skill to the skills map.
* @param skill
*/
@Override
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/instancezone/Instance.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
index 6603cc529b..6fdb98f39a 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
@@ -329,7 +329,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Get player by ID from instance.
+ * Get player by ID from instance.
* @param id objectId of player
* @return first player by ID, otherwise {@code null}
*/
@@ -803,7 +803,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Set reenter penalty for players associated with current instance.
+ * Set reenter penalty for players associated with current instance.
* @param time penalty time in milliseconds since January 1, 1970
*/
public void setReenterTime(long time)
@@ -860,8 +860,7 @@ public class Instance implements IIdentifiable, INamable
/**
* Set instance world to finish state.
- * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
- * See {@link Instance#finishInstance(int)} for more details.
+ * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
*/
public void finishInstance()
{
@@ -1016,7 +1015,7 @@ public class Instance implements IIdentifiable, INamable
// Template methods
// ----------------------------------------------
/**
- * Get parameters from instance template.
+ * Get parameters from instance template.
* @return template parameters
*/
public StatSet getTemplateParameters()
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
index 8f1936ee01..76636bbe78 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
@@ -897,7 +897,7 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Drop item from inventory by using its objectID and updates database
+ * Drop item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
@@ -1198,7 +1198,7 @@ public abstract class Inventory extends ItemContainer
/**
* Equips an item in the given slot of the paperdoll.
- * Remark : The item must be in the inventory already.
+ * Remark : The item must be in the inventory already.
* @param slot : int pointing out the slot of the paperdoll
* @param item : ItemInstance pointing out the item to add in slot
* @return ItemInstance designating the item placed in the slot before
@@ -1403,8 +1403,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in body slot and returns alterations.
- * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(int)} instead
+ * Unequips item in body slot and returns alterations.
+ * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(int)} instead
* @param slot : int designating the slot of the paperdoll
* @return ItemInstance[] : list of changes
*/
@@ -1434,8 +1434,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in slot and returns alterations
- * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
+ * Unequips item in slot and returns alterations
+ * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
* @param slot : int designating the slot
* @return ItemInstance[] : list of items altered
*/
@@ -1607,8 +1607,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Equips item and returns list of alterations
- * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
+ * Equips item and returns list of alterations
+ * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
* @param item : ItemInstance corresponding to the item
* @return ItemInstance[] : list of alterations
*/
@@ -2184,8 +2184,9 @@ public abstract class Inventory extends ItemContainer
/**
* Reduce the arrow number of the Creature.
- * Overridden in :
- *
PlayerInstance
+ *
+ * Overridden in:
+ *
PlayerInstance
* @param type
*/
public void reduceArrowCount(EtcItemType type)
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
index 2847ecdcd5..2e5f90dcee 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
@@ -530,7 +530,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its objectID and updates database
+ * Destroy item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -545,7 +545,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its itemId and updates database
+ * Destroy item from inventory by using its itemId and updates database
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
index 0a9e6cc66d..5d3bed530d 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
@@ -113,7 +113,7 @@ public class PetInventory extends Inventory
public void restore()
{
super.restore();
- // check for equiped items from other pets
+ // check for equipped items from other pets
for (ItemInstance item : _items.values())
{
if (item.isEquipped() && !item.getItem().checkCondition(_owner, _owner, false))
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
index c4e4fe8fd1..71f513dc71 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
@@ -586,7 +586,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
+ * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -632,7 +632,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
+ * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/items/Item.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/items/Item.java
index f590e464f1..2f237b3276 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/items/Item.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/items/Item.java
@@ -58,7 +58,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
/**
- * This class contains all informations concerning the item (weapon, armor, etc).
+ * This class contains all informations concerning the item (weapon, armor, etc).
* Mother class of :
*
*
Armor
@@ -173,8 +173,7 @@ public abstract class Item extends ListenersContainer implements IIdentifiable
private boolean _isBlessed;
/**
- * Constructor of the Item that fill class variables.
- *
+ * Constructor of the Item that fill class variables.
* @param set : StatSet corresponding to a set of couples (key,value) for description of the item
*/
protected Item(StatSet set)
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
index 771a5dda71..33205bd282 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.items.type.CrystalType;
import org.l2jmobius.gameserver.model.items.type.ItemType;
/**
- * This class contains ItemInstance
+ * This class contains ItemInstance
* Use to sort ItemInstance of :
*
*
Armor
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
index 922165334d..7253cac01a 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
@@ -263,19 +263,15 @@ public class ItemInstance extends WorldObject
}
/**
- * Remove a ItemInstance from the world and send server->client GetItem packets.
- *
- * Actions :
- *
+ * Remove a ItemInstance from the world and send server->client GetItem packets.
+ *
+ * Actions:
*
Send a Server->Client Packet GetItem to player that pick up and its _knowPlayers member
- *
Remove the WorldObject from the world
- *
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- *
- * Example of use :
- *
- *
Do Pickup Item : PCInstance and Pet
- *
+ *
Remove the WorldObject from the world
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ *
+ * Example of use:
+ *
Do Pickup Item : PCInstance and Pet
* @param creature Character that pick up the item
*/
public void pickupMe(Creature creature)
@@ -406,9 +402,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the location of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the location of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param loc : ItemLocation (enumeration)
* @param locData : int designating the slot where the item is stored or the village for freights
*/
@@ -437,8 +432,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
+ * Sets the quantity of the item.
* @param count the new count to set
*/
public void setCount(long count)
@@ -461,9 +455,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the quantity of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param process : String Identifier of process triggering this action
* @param count : int
* @param creator : PlayerInstance Player requesting the item creation
@@ -1469,7 +1462,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
*/
public void updateDatabase()
{
@@ -1477,7 +1470,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
* @param force if the update should necessarilly be done.
*/
public void updateDatabase(boolean force)
@@ -1513,20 +1506,17 @@ public class ItemInstance extends WorldObject
}
/**
- * Init a dropped ItemInstance and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a dropped ItemInstance and add it in the world as a visible object.
+ *
+ * Actions:
*
Set the x,y,z position of the ItemInstance dropped and update its _worldregion
*
Add the ItemInstance dropped to _visibleObjects of its WorldRegion
- *
Add the ItemInstance dropped in the world as a visible object
- *
- * Caution : This method DOESN'T ADD the object to _allObjects of World
- *
- * Example of use :
- *
+ *
Add the ItemInstance dropped in the world as a visible object
+ * Caution: This method DOESN'T ADD the object to _allObjects of World
+ *
+ * Example of use:
*
Drop item
- *
Call Pet
+ *
Call Pet
*/
public class ItemDropTask implements Runnable
{
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/quest/Quest.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/quest/Quest.java
index ca367f5957..086b0ad979 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/quest/Quest.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/quest/Quest.java
@@ -1000,7 +1000,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever a player attacks an NPC that is registered for the quest.
- * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
+ * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
* @param npc this parameter contains a reference to the exact instance of the NPC that got attacked.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked the NPC.
* @param damage this parameter represents the total damage that this attack has inflicted to the NPC.
@@ -1137,7 +1137,7 @@ public class Quest extends AbstractScript implements IIdentifiable
* The coder of the script may need to create a new quest state (if necessary).
* Note 3:
* The returned value of onFirstTalk replaces the default HTML that would have otherwise been loaded from a sub-folder of DatapackRoot/game/data/html/.
- * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
+ * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
* @param npc this parameter contains a reference to the exact instance of the NPC that the player is talking with.
* @param player this parameter contains a reference to the exact instance of the player who is talking to the NPC.
* @return the text returned by the event (may be {@code null}, a filename or just text)
@@ -1264,7 +1264,7 @@ public class Quest extends AbstractScript implements IIdentifiable
}
/**
- * This function is called whenever an NPC is teleport.
+ * This function is called whenever an NPC is teleport.
* @param npc this parameter contains a reference to the exact instance of the NPC who just teleport.
*/
protected void onTeleport(Npc npc)
@@ -1274,7 +1274,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever an NPC is called by another NPC in the same faction.
* @param npc this parameter contains a reference to the exact instance of the NPC who is being asked for help.
- * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
+ * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked.
* @param isSummon this parameter if it's {@code false} it denotes that the attacker was indeed the player, else it specifies that the attacker was the player's summon.
* @return
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
index e5aae3552e..6d6cd04ce0 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
@@ -695,7 +695,7 @@ public class SkillCaster implements Runnable
}
/**
- * Stops this casting and cleans all cast parameters.
+ * Stops this casting and cleans all cast parameters.
* @param aborted if {@code true}, server will send packets to the player, notifying him that the skill has been aborted.
*/
public void stopCasting(boolean aborted)
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/stats/Formulas.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/stats/Formulas.java
index 57bb765173..2b3c7f4b23 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/stats/Formulas.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/stats/Formulas.java
@@ -550,7 +550,7 @@ public class Formulas
* Returns:
* 0 = shield defense doesn't succeed
* 1 = shield defense succeed
- * 2 = perfect block
+ * 2 = perfect block
* @param attacker
* @param target
* @param sendSysMsg
@@ -655,7 +655,7 @@ public class Formulas
}
/**
- * Calculates the effect landing success.
+ * Calculates the effect landing success.
* @param attacker the attacker
* @param target the target
* @param skill the skill
@@ -963,9 +963,9 @@ public class Formulas
}
/**
- * Calculates the attribute bonus with the following formula:
- * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
- * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
+ * Calculates the attribute bonus with the following formula:
+ * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
+ * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
* diff == 0, so AttBonus = 1
* It has been tested that physical skills do get affected by attack attribute even
* if they don't have any attribute. In that case only the biggest attack attribute is taken.
@@ -1207,7 +1207,7 @@ public class Formulas
* Confuse
* Compelling,
* Knockback
- * Pull
+ * Pull
* @param baseChance chance from effect parameter
* @param attacker
* @param target
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
index 2988807295..c621fab8f6 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
* A Function object is a component of a Calculator created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...).
* In fact, each calculator is a table of functions object in which each function represents a mathematics function:
* FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
+ * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
* Indeed, functions with lowest priority order is executed first and functions with the same order are executed in unspecified order.
* @author Zoey76
*/
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
index 1cb8bc9d02..d898d2c397 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
@@ -71,7 +71,7 @@ public class TaxZone extends ZoneType
}
/**
- * Gets castle associated with tax zone.
+ * Gets castle associated with tax zone.
* @return instance of {@link Castle} if found otherwise {@code null}
*/
public Castle getCastle()
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
index ca7f8d6d99..dee0ea769d 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
@@ -55,8 +55,8 @@ public class BlowFishKeygen
}
/**
- * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
- * Thus when getting a key with interests other then read-only a copy must be performed.
+ * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
+ * Thus when getting a key with interests other then read-only a copy must be performed.
* @return A key from this keygen pool.
*/
public static byte[] getRandomKey()
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
index a9bafd3a65..fe9e0e70d3 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
@@ -546,7 +546,7 @@ public class RequestAcquireSkill implements IClientIncomingPacket
/**
* Perform a simple check for current player and skill.
* Takes the needed SP if the skill require it and all requirements are meet.
- * Consume required items if the skill require it and all requirements are meet.
+ * Consume required items if the skill require it and all requirements are meet.
* @param player the skill learning player.
* @param trainer the skills teaching Npc.
* @param skillLearn the skill to be learn.
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
index 99188ca980..a4accd8a47 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
@@ -96,7 +96,7 @@ public class RequestDestroyItem implements IClientIncomingPacket
// if we can't find the requested item, its actually a cheat
if (itemToRemove == null)
{
- // gm can destroy other player items
+ // GM can destroy other player items
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
index 206640aad7..eb85f84823 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
@@ -50,7 +50,7 @@ public class RequestGMCommand implements IClientIncomingPacket
@Override
public void run(GameClient client)
{
- // prevent non gm or low level GMs from vieweing player stuff
+ // prevent non GM or low level GMs from vieweing player stuff
if (!client.getPlayer().isGM() || !client.getPlayer().getAccessLevel().allowAltG())
{
return;
@@ -99,7 +99,7 @@ public class RequestGMCommand implements IClientIncomingPacket
}
case 6: // player warehouse
{
- // gm warehouse view to be implemented
+ // GM warehouse view to be implemented
if (player != null)
{
client.sendPacket(new GMViewWarehouseWithdrawList(player));
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/clientpackets/RequestRecipeShopMakeItem.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/clientpackets/RequestRecipeShopMakeItem.java
index 3733099b85..59b592c754 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/clientpackets/RequestRecipeShopMakeItem.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/clientpackets/RequestRecipeShopMakeItem.java
@@ -34,7 +34,7 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.Util;
/**
- * It appears you are able to successfully create from manufacture store while casting, while in manufacture store and within 250 range. So basic checks
+ * It appears you are able to successfully create from manufacture store while casting, while in manufacture store and within 250 range. So basic checks
* from your own recipe list crafting are skipped. With the exception of trading, if you request trade, it is cancelled, if you are already trading, you get message.
* @author Nik
*/
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
index 442b4ad701..c2650bf6a0 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
@@ -90,7 +90,7 @@ public class UseItem implements IClientIncomingPacket
final ItemInstance item = player.getInventory().getItemByObjectId(_objectId);
if (item == null)
{
- // gm can use other player item
+ // GM can use other player item
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
index d19f06f141..f4f0c5ca81 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.network.OutgoingPackets;
import org.l2jmobius.gameserver.network.clientpackets.RequestAllyInfo;
/**
- * Sent in response to {@link RequestAllyInfo}, if applicable.
+ * Sent in response to {@link RequestAllyInfo}, if applicable.
* @author afk5min
*/
public class AllianceInfo implements IClientOutgoingPacket
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
index 80a7042463..1fd7ec663a 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
@@ -20,9 +20,9 @@ import org.l2jmobius.commons.network.PacketWriter;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Eva's Inferno event packet. info params:
- * type (1 - %, 2 - npcId),
- * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
+ * Eva's Inferno event packet. info params:
+ * type (1 - %, 2 - npcId),
+ * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
* state (0-1), endtime (only when type 2)
*/
public class ExBrBuffEventState implements IClientOutgoingPacket
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
index 52cadba571..35fcc3b4a8 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
@@ -114,7 +114,7 @@ public interface IClientOutgoingPacket extends IOutgoingPacket
}
/**
- * Sends this packet to the target player, useful for lambda operations like
+ * Sends this packet to the target player, useful for lambda operations like
* {@code World.getInstance().getPlayers().forEach(packet::sendTo)}
* @param player
*/
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
index 1a0c26e078..7fd8a52be7 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
@@ -24,25 +24,25 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Attacker List in the SiegeInfo Window
- *
- * c = ca
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Attackers Clans?
- * d = Number of Attackers Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Attacker List in the SiegeInfo Window
+ *
+ * c = ca
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Attackers Clans?
+ * d = Number of Attackers Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeAttackerList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
index 7066b92fa1..52e10be7c6 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
@@ -25,26 +25,26 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Defender List in the SiegeInfo Window
- *
- * c = 0xcb
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Defending Clans?
- * d = Number of Defending Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Defender List in the SiegeInfo Window
+ *
+ * c = 0xcb
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Defending Clans?
+ * d = Number of Defending Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeDefenderList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
index 355cea9565..6c647eec90 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
@@ -27,18 +27,18 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Shows the Siege Info
- *
- * c = c9
- * d = CastleID
- * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
- * d = Owner ClanID
- * S = Owner ClanName
- * S = Owner Clan LeaderName
- * d = Owner AllyID
- * S = Owner AllyName
- * d = current time (seconds)
- * d = Siege time (seconds) (0 for selectable)
+ * Shows the Siege Info
+ *
+ * c = c9
+ * d = CastleID
+ * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
+ * d = Owner ClanID
+ * S = Owner ClanName
+ * S = Owner Clan LeaderName
+ * d = Owner AllyID
+ * S = Owner AllyName
+ * d = current time (seconds)
+ * d = Siege time (seconds) (0 for selectable)
* d = (UNKNOW) Siege Time Select Related?
* @author KenM
*/
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/scripting/ManagedScript.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
index f2b91791ab..00235baa25 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
@@ -21,7 +21,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
/**
- * Abstract class for classes that are meant to be implemented by scripts.
+ * Abstract class for classes that are meant to be implemented by scripts.
* @author KenM
*/
public abstract class ManagedScript
@@ -41,7 +41,7 @@ public abstract class ManagedScript
public abstract Path getScriptPath();
/**
- * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
+ * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
* Subclasses of this class should override this method to properly refresh their bindings when necessary.
* @return true if and only if the script was reloaded, false otherwise.
*/
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
index 34ba313686..620f020f4e 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
@@ -77,7 +77,7 @@ public class AttackStanceTaskManager
}
/**
- * Checks for attack stance task.
+ * Checks for attack stance task.
* @param actor the actor
* @return {@code true} if the character has an attack stance task, {@code false} otherwise
*/
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/ui/frmAbout.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/ui/frmAbout.java
index a3e5c2cc67..4d161afb73 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/ui/frmAbout.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/ui/frmAbout.java
@@ -83,7 +83,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblProtocols);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 128, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/util/Broadcast.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/util/Broadcast.java
index e0d798deff..5a7eb1a4df 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/util/Broadcast.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/util/Broadcast.java
@@ -40,11 +40,13 @@ public class Broadcast
private static final Logger LOGGER = Logger.getLogger(Broadcast.class.getName());
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -60,11 +62,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -108,11 +112,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
* @param radius
@@ -128,10 +134,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param creature
* @param mov
*/
@@ -162,10 +170,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance present in the world.
- * Concept :
- * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance present in the world.
+ *
+ * Concept:
+ *
+ * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param packet
*/
public static void toAllOnlinePlayers(IClientOutgoingPacket packet)
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/util/MinionList.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/util/MinionList.java
index 29a8c04c1e..9a6f694eaa 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/util/MinionList.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/util/MinionList.java
@@ -58,13 +58,11 @@ public class MinionList
}
/**
- * Manage the spawn of Minions.
- *
- * Actions :
- *
+ * Manage the spawn of Minions.
+ *
+ * Actions:
*
Get the Minion data of all Minions that must be spawn
- *
For each Minion type, spawn the amount of Minion needed
- *
+ *
For each Minion type, spawn the amount of Minion needed
* @param minions
*/
public void spawnMinions(List minions)
@@ -260,16 +258,14 @@ public class MinionList
}
/**
- * Init a Minion and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a Minion and add it in the world as a visible object.
+ *
+ * Actions:
*
Get the template of the Minion to spawn
*
Create and Init the Minion and generate its Identifier
*
Set the Minion HP, MP and Heading
*
Set the Minion leader to this RaidBoss
- *
Init the position of the Minion and add it in the world as a visible object
- *
+ *
Init the position of the Minion and add it in the world as a visible object
* @param master MonsterInstance used as master for this minion
* @param minionId The NpcTemplate Identifier of the Minion to spawn
* @return
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/util/PrimeFinder.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/util/PrimeFinder.java
index c9532000c8..20016811a1 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/util/PrimeFinder.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/util/PrimeFinder.java
@@ -33,7 +33,7 @@ import java.util.Arrays;
public class PrimeFinder
{
/**
- * The largest prime this class can generate; currently equal to Integer.MAX_VALUE.
+ * The largest prime this class can generate; currently equal to Integer.MAX_VALUE
*/
public static final int LARGEST_PRIME = Integer.MAX_VALUE; // yes, it is prime.
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
index 2e46e0a048..0a81e323a3 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
@@ -67,8 +67,7 @@ public class TimeAmountInterpreter
}
/**
- * Appends an user-friendly description of the given amount of time to the specified text builder.
- *
+ * Appends an user-friendly description of the given amount of time to the specified text builder.
* Please keep in mind, that this method is primarily designed to be used with heap text builders. Therefore, if the given text builder throws an {@link IOException}, this exception will be wrapped in a {@link RuntimeException} and returned to the caller as an unchecked exception.
* @param
* @param textBuilder a character sequence builder
diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/loginserver/ui/frmAbout.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/loginserver/ui/frmAbout.java
index 8488868090..06a5d95539 100644
--- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/loginserver/ui/frmAbout.java
+++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/loginserver/ui/frmAbout.java
@@ -75,7 +75,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblLoginServer);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 148, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/bosses/LimitBarrier.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/bosses/LimitBarrier.java
index e017e9d860..3942e83a13 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/bosses/LimitBarrier.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/ai/bosses/LimitBarrier.java
@@ -37,7 +37,7 @@ import ai.AbstractNpcAI;
* OK - Epic Bosses Orfen, Queen Ant and Core also use Limit Barrier.
* OK - Epic Bosses Antharas, Zaken and Baium and their analogues in instance zones do not use Limit Barrier.
* OK - Raid Bosses in instances do not use Limit Barrier.
- * OK - All Raid Bosses who use Limit Barrier are listed below:
+ * OK - All Raid Bosses who use Limit Barrier are listed below:
*/
public final class LimitBarrier extends AbstractNpcAI
{
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/custom/listeners/ListenerTest.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/custom/listeners/ListenerTest.java
index 0f855db33f..ed9d1c76f4 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/custom/listeners/ListenerTest.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/custom/listeners/ListenerTest.java
@@ -114,7 +114,7 @@ public class ListenerTest extends AbstractNpcAI
}
/**
- * Prioritized event notification
+ * Prioritized event notification
* This method will be invoked as soon as creature from level range between 1 and 10 dies.
* This listener is registered into individual npcs container.
* @param event
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
index 4185463b7a..a20f09c9cd 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
@@ -26,18 +26,15 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
public class ArtefactInstanceAction implements IActionHandler
{
/**
- * Manage actions when a player click on the ArtefactInstance.
- *
- * Actions :
- *
+ * Manage actions when a player click on the ArtefactInstance.
+ *
+ * Actions:
*
Set the NpcInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
- *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
*/
@Override
public boolean action(PlayerInstance player, WorldObject target, boolean interact)
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
index bb73cd0bae..1f204280f0 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
@@ -36,27 +36,22 @@ import org.l2jmobius.gameserver.network.serverpackets.MoveToPawn;
public class NpcAction implements IActionHandler
{
/**
- * Manage actions when a player click on the Npc.
- *
- * Actions on first click on the Npc (Select it) :
- *
+ * Manage actions when a player click on the Npc.
+ *
+ * Actions on first click on the Npc (Select it):
*
Set the Npc as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, send a Server->Client packet StatusUpdate to the PlayerInstance in order to update Npc HP bar
- *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
- *
- * Actions on second click on the Npc (Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
+ *
+ * Actions on second click on the Npc (Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, notify the PlayerInstance AI with AI_INTENTION_ATTACK (after a height verification)
- *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
- *
- * Caution : Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
+ * Caution: Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The PlayerInstance that start an action on the Npc
*/
@Override
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
index 28aa39ab39..d52da54398 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
@@ -31,25 +31,20 @@ public class PlayerInstanceAction implements IActionHandler
private static final int CURSED_WEAPON_VICTIM_MIN_LEVEL = 21;
/**
- * Manage actions when a player click on this PlayerInstance.
- *
- * Actions on first click on the PlayerInstance (Select it) :
- *
+ * Manage actions when a player click on this PlayerInstance.
+ *
+ * Actions on first click on the PlayerInstance (Select it):
*
Set the target of the player
- *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
- *
- * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
+ *
+ * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the player (display the select window)
*
If target PlayerInstance has a Private Store, notify the player AI with AI_INTENTION_INTERACT
- *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
- *
- *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
+ *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The player that start an action on target PlayerInstance
*/
@Override
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
index 20a4e8f57c..6da5c01385 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
@@ -29,7 +29,7 @@ public class PlayerInstanceActionShift implements IActionShiftHandler
{
if (player.isGM())
{
- // Check if the gm already target this l2pcinstance
+ // Check if the GM already target this l2pcinstance
if (player.getTarget() != target)
{
// Set the target of the PlayerInstance player
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
index ea73fa17a1..1aa5e5074a 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
@@ -86,13 +86,13 @@ public class AdminAdmin implements IAdminCommandHandler
else if (command.startsWith("admin_gmliston"))
{
AdminData.getInstance().showGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Registered into gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Registered into GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_gmlistoff"))
{
AdminData.getInstance().hideGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Removed from gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Removed from GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_silence"))
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
index 2efc2df69a..3fed3db486 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
@@ -486,7 +486,7 @@ public class AdminEventEngine implements IAdminCommandHandler
sb.append("
");
sb.append("
");
sb.append("
");
- sb.append("
");
+ sb.append("
");
sb.append("Teams' names:
");
for (int i = 1; (i - 1) < teamnumbers; i++) // Team names params
{
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
index 5e3fc05aa9..91259505bf 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
@@ -31,7 +31,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
/**
- * This class handles following admin commands: - gm = turns gm mode on/off
+ * This class handles following admin commands: - GM = turns GM mode on/off
* @version $Revision: 1.1.2.1 $ $Date: 2005/03/15 21:32:48 $
*/
public class AdminFightCalculator implements IAdminCommandHandler
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
index a32a84dd35..e9acb6a1f6 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles following admin commands: - gm = turns gm mode off
+ * This class handles following admin commands: - GM = turns GM mode off
* @version $Revision: 1.2.4.4 $ $Date: 2005/04/11 10:06:06 $
*/
public class AdminGm implements IAdminCommandHandler
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
index 364bba90a9..f0b2f857a4 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles commands for gm to forge packets
+ * This class handles commands for GM to forge packets
* @author Maktakien, HorridoJoho
*/
public class AdminPForge implements IAdminCommandHandler
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
index 28f00ac888..4df604f52e 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
@@ -30,14 +30,14 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * Pledge Manipulation:
- *
With target in a character without clan:
+ * Pledge Manipulation:
+ *
With target in a character without clan:
* //pledge create clanname
- *
With target in a clan leader:
- * //pledge info
- * //pledge dismiss
- * //pledge setlevel level
- * //pledge rep reputation_points
+ *
With target in a clan leader:
+ * //pledge info
+ * //pledge dismiss
+ * //pledge setlevel level
+ * //pledge rep reputation_points
*/
public class AdminPledge implements IAdminCommandHandler
{
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
index fb1eed2f9f..9be9eb040d 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
@@ -78,8 +78,9 @@ public class QuestLink implements IBypassHandler
/**
* Open a choose quest window on client with all quests available of the NpcInstance.
+ *
* Actions:
- *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
+ *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
* @param player The PlayerInstance that talk with the NpcInstance
* @param npc The table containing quests of the NpcInstance
* @param quests
@@ -231,6 +232,7 @@ public class QuestLink implements IBypassHandler
/**
* Open a quest window on client with the text of the NpcInstance.
+ *
* Actions:
*
*
Get the text of the quest state in the folder data/scripts/quests/questId/stateId.htm
Fly Radius means the distance between starting point and final point, it must be an integer.
*
Fly Course means the movement direction: imagine a compass above player's head, making north player's heading. So if fly course is 180, player will go backwards (good for blink, e.g.).
*
- * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
+ * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
* If target is effector, put in XML self="1", this will make _actor = getEffector(). This, combined with target type, allows more complex actions like flying target's backwards or player's backwards.
* @author DrHouse
*/
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
index ca935396a6..e4e937ef41 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.network.serverpackets.ValidateLocation;
/**
* This Blink effect switches the location of the caster and the target.
- * This effect is totally done based on client description.
+ * This effect is totally done based on client description.
* Assume that geodata checks are done on the skill cast and not needed to repeat here.
* @author Nik
*/
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
index 0f1802d986..00474ef88a 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.effects.EffectFlag;
import org.l2jmobius.gameserver.model.effects.EffectType;
/**
- * An effect that blocks the player (NPC?) control.
+ * An effect that blocks the player (NPC?) control.
* It prevents moving, casting, social actions, etc.
* @author Nik
*/
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
index 6b463fd9d2..f94ecb0b46 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
@@ -21,7 +21,7 @@ import org.l2jmobius.gameserver.model.effects.AbstractEffect;
import org.l2jmobius.gameserver.model.effects.EffectFlag;
/**
- * Effect that blocks damage and heals to HP/MP.
+ * Effect that blocks damage and heals to HP/MP.
* Regeneration or DOT shouldn't be blocked, Vampiric Rage and Balance Life as well.
* @author Nik
*/
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
index 3d8985d1d8..0cc43483f5 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
/**
* An effect that changes damage taken from an attack.
- * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
+ * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
* Exceptions for this effect appears to be DOT effects and terrain damage, they are unaffected by this stat.
* As for example in retail this effect does reduce reflected damage taken (because it is received damage), as well as it does not decrease reflected damage done,
* because reflected damage is being calculated with the original attack damage and not this altered one.
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
index a4808a3312..5624fe4e60 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
@@ -34,10 +34,10 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
- * Current formulas were tested to be the best matching retail, damage appears to be identical:
- * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
- * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
+ * Physical Attack effect implementation.
+ * Current formulas were tested to be the best matching retail, damage appears to be identical:
+ * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
+ * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
* @author Nik
*/
public class PhysicalAttack extends AbstractEffect
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
index 332fa3fa4f..17f093e386 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
index 34e643a5b1..4f29f685f7 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
index e1c554d674..92d5fb7d96 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.zone.ZoneId;
/**
* Not Friend affect object implementation. Based on Gracia Final retail tests.
* Such are considered flagged/karma players (except party/clan/ally). Doesn't matter if in command channel.
- * In arena such are considered clan/ally/command channel (except party).
+ * In arena such are considered clan/ally/command channel (except party).
* In peace zone such are considered monsters.
* Monsters consider such all players, npcs (Citizens, Guild Masters, Merchants, Guards, etc. except monsters). Doesn't matter if in peace zone or arena.
* @author Nik
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/instances/AbstractInstance.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/instances/AbstractInstance.java
index 17d748fad2..354b0d5137 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/instances/AbstractInstance.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/instances/AbstractInstance.java
@@ -62,7 +62,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Get instance world associated with {@code player}.
+ * Get instance world associated with {@code player}.
* @param player player who wants get instance world
* @return instance world if found, otherwise null
*/
@@ -229,8 +229,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Sets instance to finish state.
- * See {@link Instance#finishInstance()} for more details.
+ * Sets instance to finish state.
* @param player player used for determine current instance world
*/
protected void finishInstance(PlayerInstance player)
@@ -244,7 +243,6 @@ public abstract class AbstractInstance extends AbstractNpcAI
/**
* Sets instance to finish state.
- * See {@link Instance#finishInstance(int)} for more details.
* @param player player used for determine current instance world
* @param delay finish delay in minutes
*/
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
index 93028744ee..aa8ac8f064 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
@@ -1232,8 +1232,7 @@ public class BlowfishEngine
/**
* Method to encrypt the block at the given index.
- * The encrypted block goes to the destination array at the given index.
- *
+ * The encrypted block goes to the destination array at the given index.
* @param src source array with the plain data
* @param srcIndex index where the block to encrypt is located
* @param dst destination array the encryption will go to
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/GameTimeController.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/GameTimeController.java
index 131fb28d3d..aa4d359090 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/GameTimeController.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/GameTimeController.java
@@ -118,10 +118,13 @@ public class GameTimeController extends Thread
}
/**
- * Move all Creatures contained in movingObjects of GameTimeController.
- * Concept :
- * All Creature in movement are identified in movingObjects of GameTimeController.
- * Actions :
+ * Move all Creatures contained in movingObjects of GameTimeController.
+ *
+ * Concept:
+ *
+ * All Creature in movement are identified in movingObjects of GameTimeController.
+ *
+ * Actions:
*
*
Update the position of each Creature
*
If movement is finished, the Creature is removed from movingObjects
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/LoginServerThread.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/LoginServerThread.java
index bafacc7045..39bf2b4f51 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/LoginServerThread.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/LoginServerThread.java
@@ -95,7 +95,6 @@ public class LoginServerThread extends Thread
* The BlowFish engine used to encrypt packets
* It is first initialized with a unified key:
* "_;v.]05-31!|+-%xT!^[$\00"
- *
* and then after handshake, with a new key sent by
* login server during the handshake. This new key is stored
* in blowfishKey
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/Shutdown.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/Shutdown.java
index a4836e05e9..edb0de5214 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/Shutdown.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/Shutdown.java
@@ -232,7 +232,7 @@ public class Shutdown extends Thread
}
else
{
- // gm shutdown: send warnings and then call exit to start shutdown sequence
+ // GM shutdown: send warnings and then call exit to start shutdown sequence
countdown();
// last point where logging is operational :(
LOGGER.warning("GM shutdown countdown is over. " + MODE_TEXT[_shutdownMode] + " NOW!");
@@ -538,7 +538,7 @@ public class Shutdown extends Thread
}
/**
- * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
+ * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
* @return instance of Shutdown, to be used as shutdown hook
*/
public static Shutdown getInstance()
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/ai/AbstractAI.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/ai/AbstractAI.java
index 95f441a5d6..c544548976 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/ai/AbstractAI.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/ai/AbstractAI.java
@@ -45,7 +45,7 @@ import org.l2jmobius.gameserver.taskmanager.AttackStanceTaskManager;
/**
* Mother class of all objects AI in the world.
- * AbastractAI :
+ * AbastractAI:
*
CreatureAI
*/
public abstract class AbstractAI implements Ctrl
@@ -126,10 +126,10 @@ public abstract class AbstractAI implements Ctrl
/**
* Set the Intention of this AbstractAI.
- * Caution : This method is USED by AI classes
- * Overridden in :
- * AttackableAI : Create an AI Task executed every 1s (if necessary)
- * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
+ * Caution: This method is USED by AI classes
+ * Overridden in:
+ * AttackableAI : Create an AI Task executed every 1s (if necessary)
+ * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -141,7 +141,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
*/
@Override
@@ -152,7 +152,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
* @param args The first parameters of the Intention (optional target)
*/
@@ -225,7 +225,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onEvt method corresponding to the Event.
- * Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
*/
@Override
@@ -235,7 +235,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
*/
@@ -246,7 +246,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
* @param arg1 The second parameter of the Event (optional target)
@@ -419,7 +419,7 @@ public abstract class AbstractAI implements Ctrl
protected abstract void onEvtFinishCasting();
/**
- * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution : Low level function, used by AI subclasses
+ * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution: Low level function, used by AI subclasses
*/
protected void clientActionFailed()
{
@@ -430,8 +430,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param pawn
* @param offset
*/
@@ -514,8 +514,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param x
* @param y
* @param z
@@ -542,8 +542,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param loc
*/
public void clientStopMoving(Location loc)
@@ -591,8 +591,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
public void clientStartAutoAttack()
{
@@ -632,8 +632,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
void clientStopAutoAttack()
{
@@ -661,8 +661,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
protected void clientNotifyDead()
{
@@ -679,7 +679,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Update the state of this actor client side by sending Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance player.
- * Caution : Low level function, used by AI subclasses
+ * Caution: Low level function, used by AI subclasses
* @param player The PlayerIstance to notify with state of this Creature
*/
public void describeStateToPlayer(PlayerInstance player)
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/ai/AttackableAI.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/ai/AttackableAI.java
index 28bb61cbff..6075092cb6 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/ai/AttackableAI.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/ai/AttackableAI.java
@@ -212,7 +212,7 @@ public class AttackableAI extends CreatureAI
/**
* Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
- * Caution : If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
+ * Caution: If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -317,7 +317,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update every 1s the _globalAggro counter to come close to 0
*
If the actor is Aggressive and can attack, add all autoAttackable Creature in its Aggro Range to its _aggroList, chose a target and order to attack it
@@ -612,7 +612,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update the attack timeout if actor is running
*
If target is dead or timeout is expired, stop this attack and set the Intention to AI_INTENTION_ACTIVE
@@ -1237,7 +1237,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Attacked.
- * Actions :
+ *
+ * Actions:
*
*
Init the attack : Calculate the attack timeout, Set the _globalAggro to 0, Add the attacker to the actor _aggroList
*
Set the Creature movement type to run and send Server->Client packet ChangeMoveType to all others PlayerInstance
@@ -1301,7 +1302,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Aggression.
- * Actions :
+ *
+ * Actions:
*
*
Add the target to the actor _aggroList or update hate if already present
*
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/ai/CreatureAI.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/ai/CreatureAI.java
index aeb15558db..a5b0347ce9 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/ai/CreatureAI.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/ai/CreatureAI.java
@@ -139,7 +139,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Idle Intention : Stop Attack, Movement and Stand Up the actor.
- * Actions :
+ *
+ * Actions:
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
Init cast and attack target
@@ -164,7 +165,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Active Intention : Stop Attack, Movement and Launch Think Event.
- * Actions : if the Intention is not already Active
+ *
+ * Actions : if the Intention is not already Active
*
*
Set the AI Intention to AI_INTENTION_ACTIVE
*
Init cast and attack target
@@ -195,7 +197,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Rest Intention.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
@@ -209,7 +212,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Attack Intention : Stop current Attack (if necessary), Start a new Attack and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_ATTACK
@@ -217,7 +221,8 @@ public class CreatureAI extends AbstractAI
*
Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast)
*
Launch the Think Event
*
- * Overridden in :
+ *
+ * Overridden in:
*
*
AttackableAI : Calculate attack timeout
*
@@ -281,7 +286,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Cast Intention : Stop current Attack, Init the AI in order to cast and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI cast target
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
@@ -331,7 +337,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
@@ -370,7 +377,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Follow Intention : Stop current Attack and Launch a Follow Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_FOLLOW
@@ -427,7 +435,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the PickUp Intention : Set the pick up target and Launch a Move To Pawn Task (offset=20).
- * Actions :
+ *
+ * Actions :
*
*
Set the AI pick up target
*
Set the Intention of this AI to AI_INTENTION_PICK_UP
@@ -476,7 +485,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Interact Intention : Set the interact target and Launch a Move To Pawn Task (offset=60).
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the AI interact target
@@ -537,7 +547,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Stunned then onAttacked Event.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
@@ -565,7 +576,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Rooted.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -588,7 +600,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Confused.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -606,7 +619,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Muted.
- * Actions :
+ *
+ * Actions:
*
*
Break a cast and send Server->Client ActionFailed packet and a System Message to the Creature
*
@@ -629,7 +643,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -643,7 +658,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Arrived.
- * Actions :
+ *
+ * Actions:
*
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
*
Launch actions corresponding to the Event Think
@@ -686,7 +702,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedRevalidate.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -700,7 +717,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedBlocked.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
@@ -725,7 +743,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ForgetObject.
- * Actions :
+ *
+ * Actions:
*
*
If the object was targeted and the Intention was AI_INTENTION_INTERACT or AI_INTENTION_PICK_UP, set the Intention to AI_INTENTION_ACTIVE
*
If the object was targeted to attack, stop the auto-attack, cancel target and set the Intention to AI_INTENTION_ACTIVE
@@ -781,7 +800,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -806,7 +826,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Dead.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast)
@@ -829,7 +850,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Fake Death.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
@@ -910,13 +932,15 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move to Pawn action in function of the distance and of the Interact area.
- * Actions :
+ *
+ * Actions:
*
*
Get the distance between the current position of the Creature and the target (x,y)
*
If the distance > offset+20, move the actor (by running) to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast)
*
If the distance <= offset+20, Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1017,13 +1041,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost or dead.
- * Actions : If the target is lost or dead
+ *
+ * Actions : If the target is lost or dead
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1050,13 +1076,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost.
- * Actions : If the target is lost
+ *
+ * Actions : If the target is lost
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/ai/PlayerAI.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/ai/PlayerAI.java
index 1af86289ec..72cd985005 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/ai/PlayerAI.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/ai/PlayerAI.java
@@ -90,7 +90,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -109,7 +110,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -124,7 +126,7 @@ public class PlayerAI extends PlayableAI
/**
* Finalize the casting of a skill. This method overrides CreatureAI method.
- * What it does:
+ * What it does:
* Check if actual intention is set to CAST and, if so, retrieves latest intention before the actual CAST and set it as the current intention for the player.
*/
@Override
@@ -197,7 +199,8 @@ public class PlayerAI extends PlayableAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
index a6c22e57af..dcfcbb433f 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
@@ -158,7 +158,7 @@ public class AdminData implements IXmlReader
AdminCommandAccessRight acar = _adminCommandAccessRights.get(adminCommand);
if (acar == null)
{
- // Trying to avoid the spam for next time when the gm would try to use the same command
+ // Trying to avoid the spam for next time when the GM would try to use the same command
if ((accessLevel.getLevel() > 0) && (accessLevel.getLevel() == _highestLevel))
{
acar = new AdminCommandAccessRight(adminCommand, true, accessLevel.getLevel());
@@ -341,7 +341,7 @@ public class AdminData implements IXmlReader
/**
* Gets the single instance of AdminTable.
- * @return AccessLevels: the one and only instance of this class
+ * @return AccessLevels: the one and only instance of this class
*/
public static AdminData getInstance()
{
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
index ab688fb612..a4de5a1083 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
@@ -63,7 +63,7 @@ import org.l2jmobius.gameserver.model.skills.Skill;
* Here can be found the following skill trees:
*
*
Class skill trees: player skill trees for each class.
- *
Transfer skill trees: player skill trees for each healer class.
+ *
Transfer skill trees: player skill trees for each healer class.
*
Collect skill tree: player skill tree for Gracia related skills.
*
Fishing skill tree: player skill tree for fishing related skills.
*
Transform skill tree: player skill tree for transformation related skills.
@@ -464,7 +464,7 @@ public class SkillTreeData implements IXmlReader
}
/**
- * Gets the race skill tree.
+ * Gets the race skill tree.
* @param race the race skill tree Id
* @return the complete race Skill Tree for a given {@code Race}
*/
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/datatables/BotReportTable.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
index 988870c326..1118ded390 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
@@ -206,7 +206,7 @@ public class BotReportTable
}
/**
- * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
+ * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
* @param reporter (PlayerInstance who issued the report)
* @return True, if the report was registered, False otherwise
*/
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/datatables/ItemTable.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/datatables/ItemTable.java
index 700b106bad..319c8546fd 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/datatables/ItemTable.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/datatables/ItemTable.java
@@ -196,10 +196,10 @@ public class ItemTable
}
/**
- * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions :
+ * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions:
*
Create and Init the ItemInstance corresponding to the Item Identifier and quantity
*
Add the ItemInstance object to _allObjects of L2world
- *
Logs Item creation according to log settings
+ *
Logs Item creation according to log settings
* @param process : String Identifier of process triggering this action
* @param itemId : int Item Identifier of the item to be created
* @param count : int Quantity of items to be created for stackable items
@@ -305,7 +305,8 @@ public class ItemTable
/**
* Destroys the ItemInstance.
- * Actions :
+ *
+ * Actions:
*
*
Sets ItemInstance parameters to be unusable
*
Removes the ItemInstance object to _allObjects of L2world
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/enums/BasicProperty.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/enums/BasicProperty.java
index 77a2a7a477..1e5cac18dd 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/enums/BasicProperty.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/enums/BasicProperty.java
@@ -17,17 +17,17 @@
package org.l2jmobius.gameserver.enums;
/**
- * Basic property type of skills.
- * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
- * After, only 3 types are used: physical, magic and none.
- *
- * Quote from Juji:
- * ----------------------------------------------------------------------
- * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
- * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
- * ----------------------------------------------------------------------
- * All other are considered with no basic property aka NONE.
- *
+ * Basic property type of skills.
+ * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
+ * After, only 3 types are used: physical, magic and none.
+ *
+ * Quote from Juji:
+ * ----------------------------------------------------------------------
+ * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
+ * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
+ * ----------------------------------------------------------------------
+ * All other are considered with no basic property aka NONE.
+ *
* @author Nik
*/
public enum BasicProperty
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/handler/ItemHandler.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/handler/ItemHandler.java
index 939d8263da..a815f2646e 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/handler/ItemHandler.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/handler/ItemHandler.java
@@ -38,10 +38,9 @@ public class ItemHandler implements IHandler
}
/**
- * Adds handler of item type in datatable.
- *
- * Concept :
- * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
+ * Adds handler of item type in datatable.
+ * Concept :
+ * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
* @param handler (IItemHandler)
*/
@Override
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
index 7d6c13d3b9..b510fdc4ee 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
@@ -456,7 +456,7 @@ public class InstanceManager implements IXmlReader
}
/**
- * Register instance world.
+ * Register instance world.
* @param instance instance which should be registered
*/
public void register(Instance instance)
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/AccessLevel.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/AccessLevel.java
index ced434ddda..2dac00e406 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/AccessLevel.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/AccessLevel.java
@@ -87,9 +87,8 @@ public class AccessLevel
}
/**
- * Returns the access level
- *
- * @return int: access level
+ * Returns the access level
+ * @return int: access level
*/
public int getLevel()
{
@@ -97,9 +96,8 @@ public class AccessLevel
}
/**
- * Returns the access level name
- *
- * @return String: access level name
+ * Returns the access level name
+ * @return String: access level name
*/
public String getName()
{
@@ -107,9 +105,8 @@ public class AccessLevel
}
/**
- * Returns the name color of the access level
- *
- * @return int: the name color for the access level
+ * Returns the name color of the access level
+ * @return int: the name color for the access level
*/
public int getNameColor()
{
@@ -117,9 +114,8 @@ public class AccessLevel
}
/**
- * Returns the title color color of the access level
- *
- * @return int: the title color for the access level
+ * Returns the title color color of the access level
+ * @return int: the title color for the access level
*/
public int getTitleColor()
{
@@ -127,9 +123,8 @@ public class AccessLevel
}
/**
- * Retuns if the access level has gm access or not
- *
- * @return boolean: true if access level have gm access, otherwise false
+ * Retuns if the access level has GM access or not
+ * @return boolean: true if access level have GM access, otherwise false
*/
public boolean isGm()
{
@@ -137,9 +132,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to attack in peace zone or not
- *
- * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
+ * Returns if the access level is allowed to attack in peace zone or not
+ * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
*/
public boolean allowPeaceAttack()
{
@@ -147,9 +141,8 @@ public class AccessLevel
}
/**
- * Retruns if the access level is allowed to use fixed res or not
- *
- * @return true if the access level is allowed to use fixed res, otherwise false
+ * Retruns if the access level is allowed to use fixed res or not
+ * @return true if the access level is allowed to use fixed res, otherwise false
*/
public boolean allowFixedRes()
{
@@ -157,9 +150,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to perform transactions or not
- *
- * @return boolean: true if access level is allowed to perform transactions, otherwise false
+ * Returns if the access level is allowed to perform transactions or not
+ * @return boolean: true if access level is allowed to perform transactions, otherwise false
*/
public boolean allowTransaction()
{
@@ -167,9 +159,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to use AltG commands or not
- *
- * @return boolean: true if access level is allowed to use AltG commands, otherwise false
+ * Returns if the access level is allowed to use AltG commands or not
+ * @return boolean: true if access level is allowed to use AltG commands, otherwise false
*/
public boolean allowAltG()
{
@@ -177,9 +168,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can give damage or not
- *
- * @return boolean: true if the access level can give damage, otherwise false
+ * Returns if the access level can give damage or not
+ * @return boolean: true if the access level can give damage, otherwise false
*/
public boolean canGiveDamage()
{
@@ -187,9 +177,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can take aggro or not
- *
- * @return boolean: true if the access level can take aggro, otherwise false
+ * Returns if the access level can take aggro or not
+ * @return boolean: true if the access level can take aggro, otherwise false
*/
public boolean canTakeAggro()
{
@@ -197,9 +186,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can gain exp or not
- *
- * @return boolean: true if the access level can gain exp, otherwise false
+ * Returns if the access level can gain exp or not
+ * @return boolean: true if the access level can gain exp, otherwise false
*/
public boolean canGainExp()
{
@@ -207,9 +195,9 @@ public class AccessLevel
}
/**
- * Returns if the access level contains allowedAccess as child
- * @param accessLevel as AccessLevel
- * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
+ * Returns if the access level contains allowedAccess as child
+ * @param accessLevel as AccessLevel
+ * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
*/
public boolean hasChildAccess(AccessLevel accessLevel)
{
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/EffectList.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/EffectList.java
index 72d713b173..78596bd21e 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/EffectList.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/EffectList.java
@@ -159,7 +159,7 @@ public class EffectList
}
/**
- * Verifies if this effect list contains the given skill ID.
+ * Verifies if this effect list contains the given skill ID.
* @param skillId the skill ID to verify
* @return {@code true} if the skill ID is present in the effect list (includes active and passive effects), {@code false} otherwise
*/
@@ -179,7 +179,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param type the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching the specified {@code AbnormalType}, {@code false} otherwise
*/
@@ -189,7 +189,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param types the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching one of the specified {@code AbnormalType}s, {@code false} otherwise
*/
@@ -421,7 +421,7 @@ public class EffectList
}
/**
- * Exit all effects having a specified flag.
+ * Exit all effects having a specified flag.
* @param effectFlag the flag of the effect to stop
*/
public void stopEffects(EffectFlag effectFlag)
@@ -438,7 +438,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, Skill)}
+ * {@link #stopSkillEffects(boolean, Skill)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skillId the skill ID
*/
@@ -457,7 +457,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, int)}
+ * {@link #stopSkillEffects(boolean, int)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skill the skill
*/
@@ -483,7 +483,7 @@ public class EffectList
}
/**
- * Exits all effects created by a specific skill {@code AbnormalType}s.
+ * Exits all effects created by a specific skill {@code AbnormalType}s.
* @param types the skill {@code AbnormalType}s to be checked and removed.
* @return {@code true} if there was any {@code BuffInfo} with one of the given {@code AbnormalType}s, {@code false} otherwise
*/
@@ -498,7 +498,7 @@ public class EffectList
}
/**
- * Exits all effects matched by a specific filter.
+ * Exits all effects matched by a specific filter.
* @param filter any filter to apply when selecting which {@code BuffInfo}s to be removed.
* @param update update effect flags and icons after the operation finishes.
* @param broadcast {@code true} to broadcast update packets if updating, {@code false} otherwise.
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/Party.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/Party.java
index fa7c56908b..90f1476f7d 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/Party.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/Party.java
@@ -141,7 +141,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Set invitation process flag and store time for expiration.
+ * Set invitation process flag and store time for expiration.
* Happens when a player joins party or declines to join.
* @param value the pending invitation state to set
*/
@@ -272,8 +272,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Send a Server->Client packet to all other PlayerInstance of the Party.
- *
+ * Send a Server->Client packet to all other PlayerInstance of the Party.
* @param player
* @param msg
*/
@@ -820,12 +819,12 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
- *
- * Actions :
+ * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
+ *
+ * Actions:
*
Get the PlayerInstance owner of the ServitorInstance (if necessary)
*
Calculate the Experience and SP reward distribution rate
- *
Add Experience and SP to the PlayerInstance
+ *
Add Experience and SP to the PlayerInstance
* @param xpReward The Experience reward to distribute
* @param spReward The SP reward to distribute
* @param rewardedMembers The list of PlayerInstance to reward
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/Spawn.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/Spawn.java
index e9068a0b5f..9f8d6a075f 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/Spawn.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/Spawn.java
@@ -41,7 +41,7 @@ import org.l2jmobius.gameserver.util.Util;
/**
* This class manages the spawn and respawn of a group of NpcInstance that are in the same are and have the same type.
- * Concept:
+ * Concept:
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
* @author Nightmare
@@ -78,13 +78,16 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Constructor of Spawn.
- * Concept:
+ *
+ * Concept:
+ *
* Each Spawn owns generic and static properties (ex : RewardExp, RewardSP, AggroRange...).
* All of those properties are stored in a different NpcTemplate for each type of Spawn. Each template is loaded once in the server cache memory (reduce memory use).
* When a new instance of Spawn is created, server just create a link between the instance and the template.
- * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
- * This link is stored in _spawn of the NpcInstance.
- * Actions:
+ * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
+ * This link is stored in _spawn of the NpcInstance.
+ *
+ * Actions:
*
*
Set the _template of the Spawn
*
Calculate the implementationName used to generate the generic constructor of NpcInstance managed by this Spawn
@@ -227,11 +230,11 @@ public class Spawn extends Location implements IIdentifiable, INamable
}
/**
- * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions :
+ * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions:
*
Decrease the current number of NpcInstance of this Spawn
*
Check if respawn is possible to prevent multiple respawning caused by lag
*
Update the current number of SpawnTask in progress or stand by of this Spawn
- *
Create a new SpawnTask to launch after the respawn Delay
Caution : A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
+ *
Create a new SpawnTask to launch after the respawn Delay
Caution: A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
* @param oldNpc
*/
public void decreaseCount(Npc oldNpc)
@@ -305,10 +308,13 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Create the NpcInstance, add it to the world and lauch its OnSpawn action.
- * Concept:
+ *
+ * Concept:
+ *
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
- * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
+ *
+ * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
*
*
Get NpcInstance Init parameters and its generate an Identifier
*
Call the constructor of the NpcInstance
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/World.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/World.java
index 0b8cd8b4f1..09579e901c 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/World.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/World.java
@@ -132,7 +132,8 @@ public class World
/**
* Adds an object to the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Withdraw an item from the warehouse, create an item
*
Spawn a Creature (PC, NPC, Pet)
@@ -172,7 +173,8 @@ public class World
/**
* Removes an object from the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Delete item from inventory, transfer Item from inventory to warehouse
*
Crystallize item
@@ -209,7 +211,7 @@ public class World
}
/**
- * Example of use:
+ * Example of use:
*
@@ -251,7 +253,7 @@ public class World
}
/**
- * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
+ * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
* @param name Name of the player to get Instance
* @return the player instance corresponding to the given name.
*/
@@ -299,18 +301,18 @@ public class World
}
/**
- * Add a WorldObject in the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Add a WorldObject in the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Add the WorldObject object in _allPlayers* of World
*
Add the WorldObject object in _gmList** of GmListTable
- *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
- * * only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstanceCaution : This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
- * Caution : This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use :
+ *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
+ * * only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstanceCaution: This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
+ * Caution: This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use:
*
Drop an Item
*
Spawn a Creature
- *
Apply Death Penalty of a PlayerInstance
+ *
Apply Death Penalty of a PlayerInstance
* @param object L2object to add in the world
* @param newRegion WorldRegion in wich the object will be add (not used)
*/
@@ -382,16 +384,16 @@ public class World
}
/**
- * Remove a WorldObject from the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Remove a WorldObject from the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Remove the WorldObject object from _allPlayers* of World
*
Remove the WorldObject object from _visibleObjects and _allPlayers* of WorldRegion
*
Remove the WorldObject object from _gmList** of GmListTable
- *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution : This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstance Example of use :
+ *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution: This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstance Example of use:
*
Pickup an Item
- *
Decay a Creature
+ *
Decay a Creature
* @param object L2object to remove from the world
* @param oldRegion WorldRegion in which the object was before removing
*/
@@ -690,9 +692,9 @@ public class World
}
/**
- * Calculate the current WorldRegions of the object according to its position (x,y). Example of use :
+ * Calculate the current WorldRegions of the object according to its position (x,y). Example of use:
*
Set position of a new WorldObject (drop, spawn...)
- *
Update position of a WorldObject after a movement
+ *
Update position of a WorldObject after a movement
* @param object the object
* @return
*/
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/WorldObject.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/WorldObject.java
index 63e719d10f..adc7402c47 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/WorldObject.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/WorldObject.java
@@ -670,7 +670,7 @@ public abstract class WorldObject extends ListenersContainer implements IIdentif
}
/**
- * Sets instance for current object by instance ID.
+ * Sets instance for current object by instance ID.
* @param id ID of instance world which should be set (0 means normal world)
*/
public void setInstanceById(int id)
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/WorldRegion.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/WorldRegion.java
index 4a166d2b8a..25ada44e59 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/WorldRegion.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/WorldRegion.java
@@ -195,8 +195,8 @@ public class WorldRegion
}
/**
- * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
- * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
+ * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
+ * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
* @param object
*/
public void addVisibleObject(WorldObject object)
@@ -216,7 +216,7 @@ public class WorldRegion
}
/**
- * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
+ * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
* @param object
*/
public void removeVisibleObject(WorldObject object)
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 46c5c0e9f1..480145c52f 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
@@ -1039,7 +1039,7 @@ public class Attackable extends Npc
* During a Special Event all Attackable can drop extra Items.
* Those extra Items are defined in the table allNpcDateDrops of the EventDroplist.
* Each Special Event has a start and end date to stop to drop extra Items automatically.
- * Actions: If an extra drop must be generated
+ * Actions: If an extra drop must be generated
* Get an Item Identifier (random) from the DateDrop Item table of this Event.
* Get the Item quantity dropped (random).
* Create this or these ItemInstance corresponding to this Item Identifier.
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Creature.java
index 1e4ce2ec8c..ca28666cfb 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Creature.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Creature.java
@@ -167,7 +167,6 @@ import org.l2jmobius.gameserver.util.Util;
*
Trap
*
Vehicle
*
- *
* Concept of CreatureTemplate:
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
@@ -295,11 +294,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Constructor of Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature. Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
- * Actions:
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
+ *
+ * Actions:
*
*
Set the _template of the Creature
*
Set _overloaded to false (the character can take more items)
@@ -542,8 +544,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Remove the Creature from the world when the decay task is launched.
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
public void onDecay()
{
@@ -603,8 +605,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
*/
@@ -621,8 +625,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the radius (max knownlist radius) from the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
* @param radiusInKnownlist
@@ -678,12 +684,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send the Server->Client packet StatusUpdate with current HP and MP to all other PlayerInstance to inform.
- * Actions:
+ *
+ * Actions:
*
*
Create the Server->Client packet StatusUpdate with current HP and MP
*
Send the Server->Client packet StatusUpdate with current HP and MP to all Creature called _statusListener that must be informed of HP/MP updates of this Creature
*
- * Caution: This method DOESN'T SEND CP information
+ * Caution: This method DOESN'T SEND CP information
* @param caster
*/
public void broadcastStatusUpdate(Creature caster)
@@ -714,7 +721,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Teleport a Creature and its pet if necessary.
- * Actions:
+ *
+ * Actions:
*
*
Stop the movement of the Creature
*
Set the x,y,z position of the WorldObject and if necessary modify its _worldRegion
@@ -883,7 +891,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a physical attack against a target (Simple, Bow, Pole or Dual).
- * Actions:
+ *
+ * Actions:
*
*
Get the active weapon (always equipped in the right hand)
*
If weapon is a bow, check for arrows, MP and bow re-use delay (if necessary, equip the PlayerInstance with arrows in left hand)
@@ -1274,7 +1283,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Manage the casting task (casting and interrupt time, re-use delay...) and display the casting bar and animation on client.
- * Actions:
+ *
+ * Actions:
*
*
Verify the possibility of the the cast : skill is a spell, caster isn't muted...
*
Get the list of all targets (ex : area effects) and define the Creature targeted (its stats will be used in calculation)
@@ -1564,7 +1574,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Kill the Creature.
- * Actions:
+ *
+ * Actions:
*
*
Set target to null and cancel Attack or Cast
*
Stop movement
@@ -2191,11 +2202,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Set the template of the Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
* Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
* @param template
*/
protected final void setTemplate(CreatureTemplate template)
@@ -2372,7 +2385,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop a specified/all Fake Death abnormal Effect.
- * Actions:
+ *
+ * Actions:
*
*
Delete a specified/all (if effect=null) Fake Death abnormal Effect from Creature and update client magic icon
*
Set the abnormal effect flag _fake_death to False
@@ -2400,7 +2414,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Stop all block actions (stun) effects.
+ * Stop all block actions (stun) effects.
* @param removeEffects {@code true} removes all block actions effects, {@code false} only notifies AI to think.
*/
public void stopStunning(boolean removeEffects)
@@ -2418,7 +2432,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop Effect: Transformation.
- * Actions:
+ *
+ * Actions:
*
*
Remove Transformation Effect
*
Notify the Creature AI
@@ -2447,7 +2462,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Updates the visual abnormal state of this character.
+ * Updates the visual abnormal state of this character.
*/
public void updateAbnormalVisualEffects()
{
@@ -2456,9 +2471,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update active skills in progress (In Use and Not In Use because stacked) icons on client.
- * Concept:
+ *
+ * Concept:
+ *
* All active skills effects in progress (In Use and Not In Use because stacked) are represented by an icon on the client.
- * Caution : This method ONLY UPDATE the client of the player and not clients of all players in the party.
+ * Caution: This method ONLY UPDATE the client of the player and not clients of all players in the party.
*/
public void updateEffectIcons()
{
@@ -2492,7 +2509,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* This class group all movement data.
- * Data :
+ *
+ * Data:
*
*
_moveTimestamp : Last time position update
*
_xDestination, _yDestination, _zDestination : Position of the destination
@@ -2786,7 +2804,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * @return True if the Creature is travelling a calculated path.
+ * @return True if the Creature is traveling a calculated path.
*/
public boolean isOnGeodataPath()
{
@@ -2896,16 +2914,18 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update the position of the Creature during a movement and return True if the movement is finished.
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
* When the movement is started (ex : by MovetoLocation), this method will be called each 0.1 sec to estimate and update the Creature position on the server.
* Note, that the current server position can differe from the current client position even if each movement is straight foward.
* That's why, client send regularly a Client->Server ValidatePosition packet to eventually correct the gap on the server.
* But, it's always the server position that is used in range calculation. At the end of the estimated movement time,
* the Creature position is automatically set to the destination position even if the movement is not finished.
- * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
- * But x and y positions must be calculated to avoid that players try to modify their movement speed.
+ * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
+ * But x and y positions must be calculated to avoid that players try to modify their movement speed.
* @return True if the movement is finished
*/
public boolean updatePosition()
@@ -3073,14 +3093,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop movement of the Creature (Called by AI Accessor only).
- * Actions:
+ *
+ * Actions:
*
*
Delete movement data of the Creature
*
Set the current position (x,y,z), its current WorldRegion if necessary and its heading
*
Remove the WorldObject object from _gmList of GmListTable
*
Remove object from _knownObjects and _knownPlayer of all surrounding WorldRegion Creatures
*
- * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
+ * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
* @param loc
*/
public void stopMove(Location loc)
@@ -3117,9 +3138,12 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Target a WorldObject (add the target to the Creature _target, _knownObject and Creature to _KnownObject of the WorldObject).
- * Concept:
- * The WorldObject (including Creature) targeted is identified in _target of the Creature.
- * Actions:
+ *
+ * Concept:
+ *
+ * The WorldObject (including Creature) targeted is identified in _target of the Creature.
+ *
+ * Actions:
*
*
Set the _target of Creature to WorldObject
*
If necessary, add WorldObject to _knownObject of the Creature
@@ -3162,11 +3186,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Calculate movement data for a move to location action and add the Creature to movingObjects of GameTimeController (only called by AI Accessor).
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
- * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
- * Actions:
+ * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
+ *
+ * Actions:
*
*
Get current position of the Creature
*
Calculate distance (dx,dy) between current position and destination including offset
@@ -3175,8 +3202,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
*
Add the Creature to movingObjects of the GameTimeController
*
Create a task to notify the AI that Creature arrives at a check point of the movement
*
- * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
- * Example of use:
+ * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
+ *
+ * Example of use:
*
*
AI : onIntentionMoveTo(Location), onIntentionPickUp(WorldObject), onIntentionInteract(WorldObject)
*
FollowTask
@@ -3580,7 +3608,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
* @return True if arrows are available.
* @param type
@@ -3592,9 +3620,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add Exp and Sp to the Creature.
- * Overridden in :
+ *
+ * Overridden in:
*
PlayerInstance
- *
PetInstance
+ *
PetInstance
* @param addToExp
* @param addToSp
*/
@@ -3604,36 +3633,37 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon instance (always equiped in the right hand).
+ * @return the active weapon instance (always equipped in the right hand).
*/
public abstract ItemInstance getActiveWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon item (always equiped in the right hand).
+ * @return the active weapon item (always equipped in the right hand).
*/
public abstract Weapon getActiveWeaponItem();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary weapon instance (always equiped in the left hand).
+ * @return the secondary weapon instance (always equipped in the left hand).
*/
public abstract ItemInstance getSecondaryWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary {@link Item} item (always equiped in the left hand).
+ * @return the secondary {@link Item} item (always equipped in the left hand).
*/
public abstract Item getSecondaryWeaponItem();
/**
* Manage hit process (called by Hit Task).
- * Actions:
+ *
+ * Actions:
*
*
If the attacker/target is dead or use fake death, notify the AI with EVT_CANCEL and send a Server->Client packet ActionFailed (if attacker is a PlayerInstance)
*
If attack isn't aborted, send a message system (critical hit, missed...) to attacker/target if they are PlayerInstance
If Creature or target is in a town area, send a system message TARGET_IN_PEACEZONE a Server->Client packet ActionFailed
*
If target is confused, send a Server->Client packet ActionFailed
@@ -3953,15 +3984,19 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add a skill to the Creature _skills and its Func objects to the calculator set of the Creature.
- * Concept:
- * All skills own by a Creature are identified in _skills
- * Actions:
+ *
+ * Concept:
+ *
+ * All skills own by a Creature are identified in _skills
+ *
+ * Actions:
*
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
*
Add Func objects of newSkill to the calculator set of the Creature
*
- * Overridden in:
+ *
+ * Overridden in:
*
*
PlayerInstance : Save update in the character_skills table of the database
*
@@ -5252,7 +5287,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
+ * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
* @param range
*/
public void initSeenCreatures(int range)
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Npc.java
index 9f444d25d3..935b46f424 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Npc.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Npc.java
@@ -158,7 +158,8 @@ public class Npc extends Creature
/**
* Constructor of NpcInstance (use Creature constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the Creature (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the Creature
@@ -578,7 +579,8 @@ public class Npc extends Creature
/**
* Open a quest or chat window on client with the text of the NpcInstance in function of the command.
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : RequestBypassToServer
*
@@ -638,11 +640,11 @@ public class Npc extends Creature
}
/**
- * :
+ * :
*
- *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
- *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
- *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
+ *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
+ *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
+ *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -705,7 +707,8 @@ public class Npc extends Creature
/**
* Open a chat window on client with the text of the NpcInstance.
- * Actions:
+ *
+ * Actions:
*
*
Get the text of the selected HTML file in function of the npcId and of the page number
*
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
@@ -865,7 +868,8 @@ public class Npc extends Creature
/**
* Kill the NpcInstance (the corpse disappeared after 7 seconds).
- * Actions:
+ *
+ * Actions:
*
*
Create a DecayTask to remove the corpse of the NpcInstance after 7 seconds
*
Set target to null and cancel Attack or Cast
@@ -1091,14 +1095,15 @@ public class Npc extends Creature
/**
* Remove the NpcInstance from the world and update its spawn object (for a complete removal use the deleteMe method).
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world when the decay task is launched
*
Decrease its spawn counter
*
Manage Siege task (killFlag, killCT)
*
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
@Override
public void onDecay()
@@ -1137,13 +1142,14 @@ public class Npc extends Creature
/**
* Remove PROPERLY the NpcInstance from the world.
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world and update its spawn object
*
Remove all WorldObject from _knownObjects and _knownPlayer of the NpcInstance then cancel Attack or Cast and notify AI
*
Remove WorldObject object from _allObjects of World
*
- * Caution: This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T SEND Server->Client packets to players
* UnAfraid: TODO: Add Listener here
*/
@Override
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Playable.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Playable.java
index 622442ab2e..750bdba19c 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Playable.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Playable.java
@@ -52,7 +52,8 @@ public abstract class Playable extends Creature
/**
* Constructor of Playable.
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and link copy basic Calculator set to this Playable
*
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Summon.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Summon.java
index c2bca015fb..34eb558e47 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Summon.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Summon.java
@@ -588,7 +588,8 @@ public abstract class Summon extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the target is correct
*
Check if the target is in the skill cast range
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
index 5af1884bac..ba0920369e 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
@@ -24,21 +24,19 @@ import org.l2jmobius.gameserver.model.skills.Skill;
import org.l2jmobius.gameserver.network.serverpackets.ActionFailed;
/**
- * This class manages all Castle Siege Artefacts.
- *
+ * This class manages all Castle Siege Artefacts.
+ *
* @version $Revision: 1.11.2.1.2.7 $ $Date: 2005/04/06 16:13:40 $
*/
public class ArtefactInstance extends Npc
{
/**
- * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
- *
- * Actions :
- *
+ * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
+ *
+ * Actions:
*
Call the Creature constructor to set the _template of the ArtefactInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the ArtefactInstance
- *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
- *
+ *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
* @param template to apply to the NPC
*/
public ArtefactInstance(NpcTemplate template)
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 5f34d57abe..d359c8335b 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
@@ -36,7 +36,8 @@ public class GuardInstance extends Attackable
{
/**
* Constructor of GuardInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the GuardInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the GuardInstance
@@ -100,10 +101,11 @@ public class GuardInstance extends Attackable
/**
* Return the pathfile of the selected HTML file in function of the GuardInstance Identifier and of the page number.
- * Format of the pathfile :
+ *
+ * Format of the pathfile:
*
- *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
- *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
+ *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
+ *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -125,19 +127,22 @@ public class GuardInstance extends Attackable
/**
* Manage actions when a player click on the GuardInstance.
- * Actions on first click on the GuardInstance (Select it) :
+ *
+ * Actions on first click on the GuardInstance (Select it):
*
*
Set the GuardInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
Set the PlayerInstance Intention to AI_INTENTION_IDLE
*
Send a Server->Client packet ValidateLocation to correct the GuardInstance position and heading on the client
*
- * Actions on second click on the GuardInstance (Attack it/Interact with it) :
+ *
+ * Actions on second click on the GuardInstance (Attack it/Interact with it):
*
*
If PlayerInstance is in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_ATTACK
*
If PlayerInstance is NOT in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_INTERACT (after a distance verification) and show message
*
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : Action, AttackRequest
*
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
index 2b71cdcfe3..bee6060aec 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
@@ -43,7 +43,8 @@ public class MonsterInstance extends Attackable
/**
* Constructor of MonsterInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the MonsterInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the MonsterInstance
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
index a14840af7f..21f0680cda 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
@@ -122,7 +122,7 @@ public class PetInstance extends Summon
}
/**
- * Manage Feeding Task.
+ * Manage Feeding Task.
* Feed or kill the pet depending on hunger level.
* If pet has food in inventory and feed level drops below 55% then consume food from inventory.
* Send a broadcastStatusUpdate packet for this PetInstance
@@ -418,7 +418,7 @@ public class PetInstance extends Summon
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -1136,8 +1136,7 @@ public class PetInstance extends Summon
}
/**
- * Restore the specified % of experience this PetInstance has lost.
- *
+ * Restore the specified % of experience this PetInstance has lost.
* @param restorePercent
*/
public void restoreExp(double restorePercent)
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
index 1b40c7bdbe..e2ffb50133 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
@@ -887,7 +887,8 @@ public class PlayerInstance extends Playable
/**
* Create a new PlayerInstance and add it in the characters table of the database.
- * Actions :
+ *
+ * Actions:
*
*
Create a new PlayerInstance with an account name
*
Set the name, the Hair Style, the Hair Color and the Face type of the PlayerInstance
@@ -1078,7 +1079,8 @@ public class PlayerInstance extends Playable
/**
* Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world (call restore method).
- * Actions :
+ *
+ * Actions:
*
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
@@ -1105,12 +1107,13 @@ public class PlayerInstance extends Playable
/**
* Constructor of PlayerInstance (use Creature constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and copy basic Calculator set to this PlayerInstance
*
Set the name of the PlayerInstance
*
- * Caution : This method SET the level of the PlayerInstance to 1
+ * Caution: This method SET the level of the PlayerInstance to 1
* @param objectId Identifier of the object to initialized
* @param template The PlayerTemplate to apply to the PlayerInstance
* @param accountName The name of the account including this PlayerInstance
@@ -2557,7 +2560,7 @@ public class PlayerInstance extends Playable
}
/**
- * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
+ * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
*/
public void regiveTemporarySkills()
{
@@ -3490,7 +3493,7 @@ public class PlayerInstance extends Playable
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -3731,7 +3734,7 @@ public class PlayerInstance extends Playable
}
/**
- * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : long Quantity of items to be dropped
@@ -3998,9 +4001,9 @@ public class PlayerInstance extends Playable
}
/**
- * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions :
- *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
- *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution : This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
+ * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions:
+ *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
+ *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution: This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
*/
@Override
public void broadcastStatusUpdate(Creature caster)
@@ -4067,11 +4070,11 @@ public class PlayerInstance extends Playable
}
/**
- * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept : Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
- * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions :
+ * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept: Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
+ * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions:
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
- *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as
- * MaxHP, STR, DEX...
+ *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP,
+ * STR, DEX...
*/
public void broadcastUserInfo()
{
@@ -4225,10 +4228,10 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Interact Task with another PlayerInstance. Actions :
+ * Manage Interact Task with another PlayerInstance. Actions:
*
If the private store is a STORE_PRIVATE_SELL, send a Server->Client PrivateBuyListSell packet to the PlayerInstance
*
If the private store is a STORE_PRIVATE_BUY, send a Server->Client PrivateBuyListBuy packet to the PlayerInstance
- *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
+ *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
* @param target The Creature targeted
*/
public void doInteract(Creature target)
@@ -4277,7 +4280,7 @@ public class PlayerInstance extends Playable
*
Send a Server->Client packet InventoryUpdate to this player with NewItem (use a new slot) or ModifiedItem (increase amount).
*
Send a Server->Client packet StatusUpdate to this player with current weight.
*
- * Caution: If a party is in progress, distribute the items between the party members!
+ * Caution: If a party is in progress, distribute the items between the party members!
* @param target the NPC dropping the item
* @param itemId the item ID
* @param itemCount the item count
@@ -4309,13 +4312,13 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Pickup Task. Actions :
+ * Manage Pickup Task. Actions:
*
Send a Server->Client packet StopMove to this PlayerInstance
*
Remove the ItemInstance from the world and send server->client GetItem packets
*
Send a System Message to the PlayerInstance : YOU_PICKED_UP_S1_ADENA or YOU_PICKED_UP_S1_S2
*
Add the Item to the PlayerInstance inventory
*
Send a Server->Client packet InventoryUpdate to this PlayerInstance with NewItem (use a new slot) or ModifiedItem (increase amount)
- *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution : If a Party is in progress, distribute Items between party members
+ *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution: If a Party is in progress, distribute Items between party members
* @param object The ItemInstance to pick up
*/
@Override
@@ -4579,7 +4582,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set a target. Actions :
+ * Set a target. Actions:
*
*
Remove the PlayerInstance from the _statusListener of the old target if it was a Creature
*
Add the PlayerInstance to the _statusListener of the new target if it's a Creature
@@ -4671,7 +4674,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon instance (always equiped in the right hand).
+ * Return the active weapon instance (always equipped in the right hand).
*/
@Override
public ItemInstance getActiveWeaponInstance()
@@ -4680,7 +4683,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon item (always equiped in the right hand).
+ * Return the active weapon item (always equipped in the right hand).
*/
@Override
public Weapon getActiveWeaponItem()
@@ -4757,7 +4760,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary weapon instance (always equiped in the left hand).
+ * Return the secondary weapon instance (always equipped in the left hand).
*/
@Override
public ItemInstance getSecondaryWeaponInstance()
@@ -4766,8 +4769,8 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary Item item (always equiped in the left hand).
- * Arrows, Shield..
+ * Return the secondary Item item (always equipped in the left hand).
+ * Arrows, Shield..
*/
@Override
public Item getSecondaryWeaponItem()
@@ -4781,12 +4784,12 @@ public class PlayerInstance extends Playable
}
/**
- * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions :
+ * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions:
*
Reduce the Experience of the PlayerInstance in function of the calculated Death Penalty
*
If necessary, unsummon the Pet of the killed PlayerInstance
*
Manage Karma gain for attacker and Karam loss for the killed PlayerInstance
*
If the killed PlayerInstance has Karma, manage Drop Item
- *
Kill the PlayerInstance
+ *
Kill the PlayerInstance
* @param killer
*/
@Override
@@ -5258,12 +5261,13 @@ public class PlayerInstance extends Playable
}
/**
- * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
- * Actions :
+ * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
+ *
+ * Actions:
*
Calculate the Experience loss
*
Set the value of _expBeforeDeath
*
Set the new Experience value of the PlayerInstance and Decrease its level if necessary
- *
Send a Server->Client StatusUpdate packet with its new Experience
+ *
Send a Server->Client StatusUpdate packet with its new Experience
* @param killer
*/
public void calculateDeathExpPenalty(Creature killer)
@@ -5315,7 +5319,7 @@ public class PlayerInstance extends Playable
}
/**
- * Stop the HP/MP/CP Regeneration task. Actions :
+ * Stop the HP/MP/CP Regeneration task. Actions:
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
*/
@@ -5661,13 +5665,13 @@ public class PlayerInstance extends Playable
}
/**
- * Set the Private Store type of the PlayerInstance. Values :
+ * Set the Private Store type of the PlayerInstance. Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @param privateStoreType
*/
public void setPrivateStoreType(PrivateStoreType privateStoreType)
@@ -5680,13 +5684,13 @@ public class PlayerInstance extends Playable
}
/**
- * Values :
+ * Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @return the Private Store type of the PlayerInstance.
*/
public PrivateStoreType getPrivateStoreType()
@@ -6404,11 +6408,11 @@ public class PlayerInstance extends Playable
}
/**
- * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions :
+ * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions:
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
*
Set the x,y,z position of the PlayerInstance and make it invisible
- *
Update the overloaded status of the PlayerInstance
+ *
Update the overloaded status of the PlayerInstance
* @param objectId Identifier of the object to initialized
* @return The PlayerInstance loaded from the database
*/
@@ -7305,10 +7309,10 @@ public class PlayerInstance extends Playable
}
/**
- * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept : All skills own by a PlayerInstance are identified in _skills Actions :
+ * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept: All skills own by a PlayerInstance are identified in _skills Actions:
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
- *
Add Func objects of newSkill to the calculator set of the Creature
+ *
Add Func objects of newSkill to the calculator set of the Creature
* @param newSkill The Skill to add to the Creature
* @param store
* @return The Skill replaced or null if just added a new Skill
@@ -7339,10 +7343,10 @@ public class PlayerInstance extends Playable
}
/**
- * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept : All skills own by a Creature are identified in _skills Actions :
+ * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept: All skills own by a Creature are identified in _skills Actions:
*
Remove the skill from the Creature _skills
- *
Remove all its Func objects from the Creature calculator set
Overridden in :
- *
PlayerInstance : Save update in the character_skills table of the database
+ *
Remove all its Func objects from the Creature calculator set
Overridden in:
+ *
PlayerInstance : Save update in the character_skills table of the database
* @param skill The Skill to remove from the Creature
* @return The Skill removed
*/
@@ -8044,7 +8048,8 @@ public class PlayerInstance extends Playable
/**
* Return True if the PlayerInstance is autoAttackable.
- * Actions:
+ *
+ * Actions:
*
*
Check if the attacker isn't the PlayerInstance Pet
*
Check if the attacker is MonsterInstance
@@ -8213,7 +8218,8 @@ public class PlayerInstance extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the skill isn't toggle and is offensive
*
Check if the target is in the skill cast range
@@ -8575,15 +8581,18 @@ public class PlayerInstance extends Playable
/**
* Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers.
- * Concept:
- * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
* In order to inform other players of this PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet
- * Actions:
+ *
+ * Actions:
*
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
*
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
*
- * Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
+ * Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
*/
@Override
public void updateAbnormalVisualEffects()
@@ -9410,7 +9419,7 @@ public class PlayerInstance extends Playable
}
/**
- * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
+ * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
* 2. This method no longer changes the active _classIndex of the player. This is only done by the calling of setActiveClass() method as that should be the only way to do so.
* @param classId
* @param classIndex
@@ -10581,7 +10590,8 @@ public class PlayerInstance extends Playable
/**
* Manage the delete task of a PlayerInstance (Leave Party, Unsummon pet, Save its inventory in the database, Remove it from the world...).
- * Actions:
+ *
+ * Actions:
*
*
If the PlayerInstance is in observer mode, set its position to its position before entering in observer mode
*
Set the online Flag to True or False and update the characters table of the database with online status and lastAccess
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
index d58c4a2344..1538e27eb0 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
@@ -31,7 +31,8 @@ public class RaidBossInstance extends MonsterInstance
/**
* Constructor of RaidBossInstance (use Creature and NpcInstance constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the RaidBossInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the RaidBossInstance
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
index 0746dde009..e66a7d8d7f 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
@@ -152,7 +152,8 @@ public class StaticObjectInstance extends Creature
/**
* Set the meshIndex of the object.
- * Values :
+ *
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
@@ -166,7 +167,7 @@ public class StaticObjectInstance extends Creature
}
/**
- * Values :
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
index 0a935e82db..f6b1fdd6c1 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
@@ -265,7 +265,8 @@ public class CreatureStat
/**
* Return the MAtk (base+modifier) of the Creature.
- * Example of use: Calculate Magic damage
+ *
+ * Example of use: Calculate Magic damage
* @return
*/
public int getMAtk()
@@ -290,7 +291,7 @@ public class CreatureStat
}
/**
- * Example of use : Calculate Magic damage.
+ * Example of use : Calculate Magic damage.
* @return the MDef (base+modifier) of the Creature against a skill in function of abnormal effects in progress.
*/
public int getMDef()
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
index a34f446f36..ecb6ca7cf2 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
@@ -57,11 +57,14 @@ public class CreatureStatus
/**
* Add the object to the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use:
+ *
+ * Example of use:
*
*
Target a PC or NPC
*
@@ -79,11 +82,14 @@ public class CreatureStatus
/**
* Remove the object from the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use :
+ *
+ * Example of use :
*
*
Untarget a PC or NPC
*
@@ -96,8 +102,10 @@ public class CreatureStatus
/**
* Return the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
* @return The list of Creature to inform or null if empty
@@ -188,7 +196,8 @@ public class CreatureStatus
/**
* Start the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Calculate the regen task period
*
Launch the HP/MP/CP Regeneration task with Medium priority
@@ -208,7 +217,8 @@ public class CreatureStatus
/**
* Stop the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/base/SubClass.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/base/SubClass.java
index 6e1b4abe48..8e382665f8 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/base/SubClass.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/base/SubClass.java
@@ -20,7 +20,7 @@ import org.l2jmobius.Config;
import org.l2jmobius.gameserver.data.xml.impl.ExperienceData;
/**
- * Character Sub-Class Definition
+ * Character Sub-Class Definition
* Used to store key information about a character's sub-class.
* @author Tempy
*/
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
index ee74925752..a54baee819 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
@@ -62,7 +62,7 @@ public abstract class AbstractEffect
/**
* Calculates whether this effects land or not.
* If it lands will be scheduled and added to the character effect list.
- * Override in effect implementation to change behavior.
+ * Override in effect implementation to change behavior.
* Warning: Must be used only for instant effects continuous effects will not call this they have their success handled by activate_rate.
* @param effector
* @param effected
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/entity/Castle.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/entity/Castle.java
index c0ec518a28..ce46b99bf1 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/entity/Castle.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/entity/Castle.java
@@ -615,8 +615,7 @@ public class Castle extends AbstractResidence
}
/**
- * Respawn all doors on castle grounds
- *
+ * Respawn all doors on castle grounds
* @param isDoorWeak
*/
public void spawnDoor(boolean isDoorWeak)
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/entity/Fort.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/entity/Fort.java
index 755bee3310..667c694f50 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/entity/Fort.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/entity/Fort.java
@@ -273,8 +273,7 @@ public class Fort extends AbstractResidence
}
/**
- * Move non clan members off fort area and to nearest town.
- *
+ * Move non clan members off fort area and to nearest town.
*/
public void banishForeigners()
{
@@ -516,8 +515,7 @@ public class Fort extends AbstractResidence
}
/**
- * Respawn all doors on fort grounds
- *
+ * Respawn all doors on fort grounds.
*/
public void resetDoors()
{
@@ -976,11 +974,10 @@ public class Fort extends AbstractResidence
}
/**
- * @return Returns state of fortress.
- *
- * 0 - not decided yet
- * 1 - independent
- * 2 - contracted with castle
+ * @return Returns state of fortress.
+ * 0 - not decided yet
+ * 1 - independent
+ * 2 - contracted with castle
*/
public int getFortState()
{
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/entity/FortSiege.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
index 9f603a5bee..d2b3388457 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
@@ -703,14 +703,14 @@ public class FortSiege implements Siegable
}
/**
- * Register clan as attacker.
+ * Register clan as attacker.
* @param player The PlayerInstance of the player trying to register.
* @param checkConditions True if should be checked conditions, false otherwise
- * @return Number that defines what happened.
- * 0 - Player don't have clan.
- * 1 - Player don't have enough adena to register.
- * 2 - Is not right time to register Fortress now.
- * 3 - Players clan is already registered to siege.
+ * @return Number that defines what happened.
+ * 0 - Player don't have clan.
+ * 1 - Player don't have enough adena to register.
+ * 2 - Is not right time to register Fortress now.
+ * 3 - Players clan is already registered to siege.
* 4 - Players clan is successfully registered to siege.
*/
public int addAttacker(PlayerInstance player, boolean checkConditions)
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/entity/Hero.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/entity/Hero.java
index 49b405d179..8c9bbb0bc0 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/entity/Hero.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/entity/Hero.java
@@ -866,7 +866,7 @@ public class Hero
}
/**
- * Saving task for {@link Hero}
+ * Saving task for {@link Hero}
* Save all hero messages to DB.
*/
public void shutdown()
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/entity/Siege.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/entity/Siege.java
index 9aad80d945..5785a31228 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/entity/Siege.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/entity/Siege.java
@@ -383,8 +383,7 @@ public class Siege implements Siegable
}
/**
- * When control of castle changed during siege
- *
+ * When control of castle changed during siege.
*/
public void midVictory()
{
@@ -470,8 +469,7 @@ public class Siege implements Siegable
}
/**
- * When siege starts
- *
+ * When siege starts.
*/
@Override
public void startSiege()
@@ -529,8 +527,7 @@ public class Siege implements Siegable
}
/**
- * Announce to player.
- *
+ * Announce to player.
* @param message The SystemMessage to send to player
* @param bothSides True - broadcast to both attackers and defenders. False - only to defenders.
*/
@@ -682,8 +679,7 @@ public class Siege implements Siegable
}
/**
- * Approve clan as defender for siege
- *
+ * Approve clan as defender for siege
* @param clanId The int of player's clan id
*/
public void approveSiegeDefenderClan(int clanId)
@@ -717,8 +713,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is attacker
- *
+ * Return true if clan is attacker
* @param clan The Clan of the player
*/
@Override
@@ -728,8 +723,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is defender
- *
+ * Return true if clan is defender
* @param clan The Clan of the player
*/
@Override
@@ -866,8 +860,7 @@ public class Siege implements Siegable
}
/**
- * Register clan as attacker
- *
+ * Register clan as attacker
* @param player The PlayerInstance of the player trying to register
*/
public void registerAttacker(PlayerInstance player)
@@ -948,8 +941,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clanId The int of player's clan id
*/
public void removeSiegeClan(int clanId)
@@ -975,8 +967,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clan clan being removed
*/
public void removeSiegeClan(Clan clan)
@@ -989,8 +980,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param player The PlayerInstance of player/clan being removed
*/
public void removeSiegeClan(PlayerInstance player)
@@ -999,8 +989,7 @@ public class Siege implements Siegable
}
/**
- * Start the auto tasks
- *
+ * Start the auto tasks.
*/
public void startAutoTask()
{
@@ -1073,8 +1062,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as attacker
- *
+ * Add clan as attacker
* @param clanId The int of clan's id
*/
private void addAttacker(int clanId)
@@ -1083,8 +1071,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender
- *
+ * Add clan as defender
* @param clanId The int of clan's id
*/
private void addDefender(int clanId)
@@ -1105,8 +1092,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender waiting approval
- *
+ * Add clan as defender waiting approval
* @param clanId The int of clan's id
*/
private void addDefenderWaiting(int clanId)
@@ -1198,8 +1184,7 @@ public class Siege implements Siegable
}
/**
- * Return the correct siege date as Calendar.
- *
+ * Return the correct siege date as Calendar.
*/
public void correctSiegeDateTime()
{
@@ -1348,8 +1333,7 @@ public class Siege implements Siegable
}
/**
- * Save registration to database.
- *
+ * Save registration to database.
* @param clan The Clan of player
* @param typeId -1 = owner 0 = defender, 1 = attacker, 2 = defender waiting
* @param isUpdateRegistration
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/events/AbstractScript.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
index 38414caafa..9319658828 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
@@ -3030,7 +3030,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param array of values.
* @return one value from array.
@@ -3046,7 +3046,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param list of values.
* @return one value from list.
@@ -3061,7 +3061,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param array of Integers.
* @return one Integer from array.
*/
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
index 0da0f1ff20..a4335762c0 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
@@ -53,7 +53,7 @@ public class PlayerSkillHolder implements ISkillsHolder
}
/**
- * Add a skill to the skills map.
+ * Add a skill to the skills map.
* @param skill
*/
@Override
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/instancezone/Instance.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
index 5d0670aa04..bb8039c66f 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
@@ -329,7 +329,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Get player by ID from instance.
+ * Get player by ID from instance.
* @param id objectId of player
* @return first player by ID, otherwise {@code null}
*/
@@ -803,7 +803,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Set reenter penalty for players associated with current instance.
+ * Set reenter penalty for players associated with current instance.
* @param time penalty time in milliseconds since January 1, 1970
*/
public void setReenterTime(long time)
@@ -860,8 +860,7 @@ public class Instance implements IIdentifiable, INamable
/**
* Set instance world to finish state.
- * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
- * See {@link Instance#finishInstance(int)} for more details.
+ * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
*/
public void finishInstance()
{
@@ -1016,7 +1015,7 @@ public class Instance implements IIdentifiable, INamable
// Template methods
// ----------------------------------------------
/**
- * Get parameters from instance template.
+ * Get parameters from instance template.
* @return template parameters
*/
public StatSet getTemplateParameters()
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
index b43aef9242..344186f5c0 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
@@ -931,7 +931,7 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Drop item from inventory by using its objectID and updates database
+ * Drop item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
@@ -1227,7 +1227,7 @@ public abstract class Inventory extends ItemContainer
/**
* Equips an item in the given slot of the paperdoll.
- * Remark : The item must be in the inventory already.
+ * Remark : The item must be in the inventory already.
* @param slot : int pointing out the slot of the paperdoll
* @param item : ItemInstance pointing out the item to add in slot
* @return ItemInstance designating the item placed in the slot before
@@ -1441,8 +1441,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in body slot and returns alterations.
- * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(long)} instead
+ * Unequips item in body slot and returns alterations.
+ * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(long)} instead
* @param slot : int designating the slot of the paperdoll
* @return ItemInstance[] : list of changes
*/
@@ -1472,8 +1472,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in slot and returns alterations
- * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
+ * Unequips item in slot and returns alterations
+ * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
* @param slot : int designating the slot
* @return ItemInstance[] : list of items altered
*/
@@ -1619,8 +1619,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Equips item and returns list of alterations
- * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
+ * Equips item and returns list of alterations
+ * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
* @param item : ItemInstance corresponding to the item
* @return ItemInstance[] : list of alterations
*/
@@ -2197,8 +2197,9 @@ public abstract class Inventory extends ItemContainer
/**
* Reduce the arrow number of the Creature.
- * Overridden in :
- *
PlayerInstance
+ *
+ * Overridden in:
+ *
PlayerInstance
* @param type
*/
public void reduceArrowCount(EtcItemType type)
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
index 2847ecdcd5..2e5f90dcee 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
@@ -530,7 +530,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its objectID and updates database
+ * Destroy item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -545,7 +545,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its itemId and updates database
+ * Destroy item from inventory by using its itemId and updates database
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
index 0a9e6cc66d..5d3bed530d 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
@@ -113,7 +113,7 @@ public class PetInventory extends Inventory
public void restore()
{
super.restore();
- // check for equiped items from other pets
+ // check for equipped items from other pets
for (ItemInstance item : _items.values())
{
if (item.isEquipped() && !item.getItem().checkCondition(_owner, _owner, false))
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
index ccf7bbc0d6..dd03785a1a 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
@@ -586,7 +586,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
+ * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -632,7 +632,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
+ * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/items/Item.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/items/Item.java
index 2d01210a61..4bd3aab41b 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/items/Item.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/items/Item.java
@@ -58,7 +58,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
/**
- * This class contains all informations concerning the item (weapon, armor, etc).
+ * This class contains all informations concerning the item (weapon, armor, etc).
* Mother class of :
*
*
Armor
@@ -174,8 +174,7 @@ public abstract class Item extends ListenersContainer implements IIdentifiable
private boolean _isBlessed;
/**
- * Constructor of the Item that fill class variables.
- *
+ * Constructor of the Item that fill class variables.
* @param set : StatSet corresponding to a set of couples (key,value) for description of the item
*/
protected Item(StatSet set)
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
index ffea6dc3ea..bf2b368ddb 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.items.type.CrystalType;
import org.l2jmobius.gameserver.model.items.type.ItemType;
/**
- * This class contains ItemInstance
+ * This class contains ItemInstance
* Use to sort ItemInstance of :
*
*
Armor
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
index e737011a13..b8adfdbe4e 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
@@ -266,19 +266,15 @@ public class ItemInstance extends WorldObject
}
/**
- * Remove a ItemInstance from the world and send server->client GetItem packets.
- *
- * Actions :
- *
+ * Remove a ItemInstance from the world and send server->client GetItem packets.
+ *
+ * Actions:
*
Send a Server->Client Packet GetItem to player that pick up and its _knowPlayers member
- *
Remove the WorldObject from the world
- *
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- *
- * Example of use :
- *
- *
Do Pickup Item : PCInstance and Pet
- *
+ *
Remove the WorldObject from the world
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ *
+ * Example of use:
+ *
Do Pickup Item : PCInstance and Pet
* @param creature Character that pick up the item
*/
public void pickupMe(Creature creature)
@@ -409,9 +405,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the location of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the location of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param loc : ItemLocation (enumeration)
* @param locData : int designating the slot where the item is stored or the village for freights
*/
@@ -440,8 +435,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
+ * Sets the quantity of the item.
* @param count the new count to set
*/
public void setCount(long count)
@@ -464,9 +458,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the quantity of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param process : String Identifier of process triggering this action
* @param count : int
* @param creator : PlayerInstance Player requesting the item creation
@@ -1478,7 +1471,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
*/
public void updateDatabase()
{
@@ -1486,7 +1479,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
* @param force if the update should necessarilly be done.
*/
public void updateDatabase(boolean force)
@@ -1522,20 +1515,17 @@ public class ItemInstance extends WorldObject
}
/**
- * Init a dropped ItemInstance and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a dropped ItemInstance and add it in the world as a visible object.
+ *
+ * Actions:
*
Set the x,y,z position of the ItemInstance dropped and update its _worldregion
*
Add the ItemInstance dropped to _visibleObjects of its WorldRegion
- *
Add the ItemInstance dropped in the world as a visible object
- *
- * Caution : This method DOESN'T ADD the object to _allObjects of World
- *
- * Example of use :
- *
+ *
Add the ItemInstance dropped in the world as a visible object
+ * Caution: This method DOESN'T ADD the object to _allObjects of World
+ *
+ * Example of use:
*
Drop item
- *
Call Pet
+ *
Call Pet
*/
public class ItemDropTask implements Runnable
{
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/quest/Quest.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/quest/Quest.java
index 3bbb7ac9b5..9a55ec4256 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/quest/Quest.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/quest/Quest.java
@@ -1000,7 +1000,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever a player attacks an NPC that is registered for the quest.
- * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
+ * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
* @param npc this parameter contains a reference to the exact instance of the NPC that got attacked.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked the NPC.
* @param damage this parameter represents the total damage that this attack has inflicted to the NPC.
@@ -1137,7 +1137,7 @@ public class Quest extends AbstractScript implements IIdentifiable
* The coder of the script may need to create a new quest state (if necessary).
* Note 3:
* The returned value of onFirstTalk replaces the default HTML that would have otherwise been loaded from a sub-folder of DatapackRoot/game/data/html/.
- * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
+ * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
* @param npc this parameter contains a reference to the exact instance of the NPC that the player is talking with.
* @param player this parameter contains a reference to the exact instance of the player who is talking to the NPC.
* @return the text returned by the event (may be {@code null}, a filename or just text)
@@ -1264,7 +1264,7 @@ public class Quest extends AbstractScript implements IIdentifiable
}
/**
- * This function is called whenever an NPC is teleport.
+ * This function is called whenever an NPC is teleport.
* @param npc this parameter contains a reference to the exact instance of the NPC who just teleport.
*/
protected void onTeleport(Npc npc)
@@ -1274,7 +1274,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever an NPC is called by another NPC in the same faction.
* @param npc this parameter contains a reference to the exact instance of the NPC who is being asked for help.
- * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
+ * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked.
* @param isSummon this parameter if it's {@code false} it denotes that the attacker was indeed the player, else it specifies that the attacker was the player's summon.
* @return
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
index 4522c70776..f4eb3a055f 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
@@ -695,7 +695,7 @@ public class SkillCaster implements Runnable
}
/**
- * Stops this casting and cleans all cast parameters.
+ * Stops this casting and cleans all cast parameters.
* @param aborted if {@code true}, server will send packets to the player, notifying him that the skill has been aborted.
*/
public void stopCasting(boolean aborted)
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/stats/Formulas.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/stats/Formulas.java
index 57bb765173..2b3c7f4b23 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/stats/Formulas.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/stats/Formulas.java
@@ -550,7 +550,7 @@ public class Formulas
* Returns:
* 0 = shield defense doesn't succeed
* 1 = shield defense succeed
- * 2 = perfect block
+ * 2 = perfect block
* @param attacker
* @param target
* @param sendSysMsg
@@ -655,7 +655,7 @@ public class Formulas
}
/**
- * Calculates the effect landing success.
+ * Calculates the effect landing success.
* @param attacker the attacker
* @param target the target
* @param skill the skill
@@ -963,9 +963,9 @@ public class Formulas
}
/**
- * Calculates the attribute bonus with the following formula:
- * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
- * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
+ * Calculates the attribute bonus with the following formula:
+ * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
+ * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
* diff == 0, so AttBonus = 1
* It has been tested that physical skills do get affected by attack attribute even
* if they don't have any attribute. In that case only the biggest attack attribute is taken.
@@ -1207,7 +1207,7 @@ public class Formulas
* Confuse
* Compelling,
* Knockback
- * Pull
+ * Pull
* @param baseChance chance from effect parameter
* @param attacker
* @param target
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
index 2988807295..c621fab8f6 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
* A Function object is a component of a Calculator created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...).
* In fact, each calculator is a table of functions object in which each function represents a mathematics function:
* FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
+ * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
* Indeed, functions with lowest priority order is executed first and functions with the same order are executed in unspecified order.
* @author Zoey76
*/
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
index 1cb8bc9d02..d898d2c397 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
@@ -71,7 +71,7 @@ public class TaxZone extends ZoneType
}
/**
- * Gets castle associated with tax zone.
+ * Gets castle associated with tax zone.
* @return instance of {@link Castle} if found otherwise {@code null}
*/
public Castle getCastle()
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
index ca7f8d6d99..dee0ea769d 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
@@ -55,8 +55,8 @@ public class BlowFishKeygen
}
/**
- * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
- * Thus when getting a key with interests other then read-only a copy must be performed.
+ * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
+ * Thus when getting a key with interests other then read-only a copy must be performed.
* @return A key from this keygen pool.
*/
public static byte[] getRandomKey()
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
index eeac9dd619..aab07628cf 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
@@ -496,7 +496,7 @@ public class RequestAcquireSkill implements IClientIncomingPacket
/**
* Perform a simple check for current player and skill.
* Takes the needed SP if the skill require it and all requirements are meet.
- * Consume required items if the skill require it and all requirements are meet.
+ * Consume required items if the skill require it and all requirements are meet.
* @param player the skill learning player.
* @param trainer the skills teaching Npc.
* @param skillLearn the skill to be learn.
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
index 16624b7447..0f8f2ab22f 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
@@ -96,7 +96,7 @@ public class RequestDestroyItem implements IClientIncomingPacket
// if we can't find the requested item, its actually a cheat
if (itemToRemove == null)
{
- // gm can destroy other player items
+ // GM can destroy other player items
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
index 183ca83e49..1df78a5548 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
@@ -49,7 +49,7 @@ public class RequestGMCommand implements IClientIncomingPacket
@Override
public void run(GameClient client)
{
- // prevent non gm or low level GMs from vieweing player stuff
+ // prevent non GM or low level GMs from vieweing player stuff
if (!client.getPlayer().isGM() || !client.getPlayer().getAccessLevel().allowAltG())
{
return;
@@ -99,7 +99,7 @@ public class RequestGMCommand implements IClientIncomingPacket
}
case 6: // player warehouse
{
- // gm warehouse view to be implemented
+ // GM warehouse view to be implemented
if (player != null)
{
client.sendPacket(new GMViewWarehouseWithdrawList(1, player));
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/clientpackets/RequestRecipeShopMakeItem.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/clientpackets/RequestRecipeShopMakeItem.java
index 3733099b85..59b592c754 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/clientpackets/RequestRecipeShopMakeItem.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/clientpackets/RequestRecipeShopMakeItem.java
@@ -34,7 +34,7 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.Util;
/**
- * It appears you are able to successfully create from manufacture store while casting, while in manufacture store and within 250 range. So basic checks
+ * It appears you are able to successfully create from manufacture store while casting, while in manufacture store and within 250 range. So basic checks
* from your own recipe list crafting are skipped. With the exception of trading, if you request trade, it is cancelled, if you are already trading, you get message.
* @author Nik
*/
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
index ae2ecc0a9b..8219ca006d 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
@@ -90,7 +90,7 @@ public class UseItem implements IClientIncomingPacket
final ItemInstance item = player.getInventory().getItemByObjectId(_objectId);
if (item == null)
{
- // gm can use other player item
+ // GM can use other player item
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
index d19f06f141..f4f0c5ca81 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.network.OutgoingPackets;
import org.l2jmobius.gameserver.network.clientpackets.RequestAllyInfo;
/**
- * Sent in response to {@link RequestAllyInfo}, if applicable.
+ * Sent in response to {@link RequestAllyInfo}, if applicable.
* @author afk5min
*/
public class AllianceInfo implements IClientOutgoingPacket
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
index 80a7042463..1fd7ec663a 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
@@ -20,9 +20,9 @@ import org.l2jmobius.commons.network.PacketWriter;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Eva's Inferno event packet. info params:
- * type (1 - %, 2 - npcId),
- * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
+ * Eva's Inferno event packet. info params:
+ * type (1 - %, 2 - npcId),
+ * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
* state (0-1), endtime (only when type 2)
*/
public class ExBrBuffEventState implements IClientOutgoingPacket
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
index 6584f4c34f..d2c94dbddc 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
@@ -119,7 +119,7 @@ public interface IClientOutgoingPacket extends IOutgoingPacket
}
/**
- * Sends this packet to the target player, useful for lambda operations like
+ * Sends this packet to the target player, useful for lambda operations like
* {@code World.getInstance().getPlayers().forEach(packet::sendTo)}
* @param player
*/
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
index 1a0c26e078..7fd8a52be7 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
@@ -24,25 +24,25 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Attacker List in the SiegeInfo Window
- *
- * c = ca
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Attackers Clans?
- * d = Number of Attackers Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Attacker List in the SiegeInfo Window
+ *
+ * c = ca
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Attackers Clans?
+ * d = Number of Attackers Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeAttackerList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
index 7066b92fa1..52e10be7c6 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
@@ -25,26 +25,26 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Defender List in the SiegeInfo Window
- *
- * c = 0xcb
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Defending Clans?
- * d = Number of Defending Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Defender List in the SiegeInfo Window
+ *
+ * c = 0xcb
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Defending Clans?
+ * d = Number of Defending Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeDefenderList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
index 355cea9565..6c647eec90 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
@@ -27,18 +27,18 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Shows the Siege Info
- *
- * c = c9
- * d = CastleID
- * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
- * d = Owner ClanID
- * S = Owner ClanName
- * S = Owner Clan LeaderName
- * d = Owner AllyID
- * S = Owner AllyName
- * d = current time (seconds)
- * d = Siege time (seconds) (0 for selectable)
+ * Shows the Siege Info
+ *
+ * c = c9
+ * d = CastleID
+ * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
+ * d = Owner ClanID
+ * S = Owner ClanName
+ * S = Owner Clan LeaderName
+ * d = Owner AllyID
+ * S = Owner AllyName
+ * d = current time (seconds)
+ * d = Siege time (seconds) (0 for selectable)
* d = (UNKNOW) Siege Time Select Related?
* @author KenM
*/
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/scripting/ManagedScript.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
index f2b91791ab..00235baa25 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
@@ -21,7 +21,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
/**
- * Abstract class for classes that are meant to be implemented by scripts.
+ * Abstract class for classes that are meant to be implemented by scripts.
* @author KenM
*/
public abstract class ManagedScript
@@ -41,7 +41,7 @@ public abstract class ManagedScript
public abstract Path getScriptPath();
/**
- * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
+ * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
* Subclasses of this class should override this method to properly refresh their bindings when necessary.
* @return true if and only if the script was reloaded, false otherwise.
*/
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
index 34ba313686..620f020f4e 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
@@ -77,7 +77,7 @@ public class AttackStanceTaskManager
}
/**
- * Checks for attack stance task.
+ * Checks for attack stance task.
* @param actor the actor
* @return {@code true} if the character has an attack stance task, {@code false} otherwise
*/
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/ui/frmAbout.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/ui/frmAbout.java
index a3e5c2cc67..4d161afb73 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/ui/frmAbout.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/ui/frmAbout.java
@@ -83,7 +83,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblProtocols);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 128, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/util/Broadcast.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/util/Broadcast.java
index e0d798deff..5a7eb1a4df 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/util/Broadcast.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/util/Broadcast.java
@@ -40,11 +40,13 @@ public class Broadcast
private static final Logger LOGGER = Logger.getLogger(Broadcast.class.getName());
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -60,11 +62,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -108,11 +112,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
* @param radius
@@ -128,10 +134,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param creature
* @param mov
*/
@@ -162,10 +170,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance present in the world.
- * Concept :
- * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance present in the world.
+ *
+ * Concept:
+ *
+ * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param packet
*/
public static void toAllOnlinePlayers(IClientOutgoingPacket packet)
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/util/MinionList.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/util/MinionList.java
index 29a8c04c1e..9a6f694eaa 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/util/MinionList.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/util/MinionList.java
@@ -58,13 +58,11 @@ public class MinionList
}
/**
- * Manage the spawn of Minions.
- *
- * Actions :
- *
+ * Manage the spawn of Minions.
+ *
+ * Actions:
*
Get the Minion data of all Minions that must be spawn
- *
For each Minion type, spawn the amount of Minion needed
- *
+ *
For each Minion type, spawn the amount of Minion needed
* @param minions
*/
public void spawnMinions(List minions)
@@ -260,16 +258,14 @@ public class MinionList
}
/**
- * Init a Minion and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a Minion and add it in the world as a visible object.
+ *
+ * Actions:
*
Get the template of the Minion to spawn
*
Create and Init the Minion and generate its Identifier
*
Set the Minion HP, MP and Heading
*
Set the Minion leader to this RaidBoss
- *
Init the position of the Minion and add it in the world as a visible object
- *
+ *
Init the position of the Minion and add it in the world as a visible object
* @param master MonsterInstance used as master for this minion
* @param minionId The NpcTemplate Identifier of the Minion to spawn
* @return
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/util/PrimeFinder.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/util/PrimeFinder.java
index c9532000c8..20016811a1 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/util/PrimeFinder.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/util/PrimeFinder.java
@@ -33,7 +33,7 @@ import java.util.Arrays;
public class PrimeFinder
{
/**
- * The largest prime this class can generate; currently equal to Integer.MAX_VALUE.
+ * The largest prime this class can generate; currently equal to Integer.MAX_VALUE
*/
public static final int LARGEST_PRIME = Integer.MAX_VALUE; // yes, it is prime.
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
index 2e46e0a048..0a81e323a3 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
@@ -67,8 +67,7 @@ public class TimeAmountInterpreter
}
/**
- * Appends an user-friendly description of the given amount of time to the specified text builder.
- *
+ * Appends an user-friendly description of the given amount of time to the specified text builder.
* Please keep in mind, that this method is primarily designed to be used with heap text builders. Therefore, if the given text builder throws an {@link IOException}, this exception will be wrapped in a {@link RuntimeException} and returned to the caller as an unchecked exception.
* @param
* @param textBuilder a character sequence builder
diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/loginserver/ui/frmAbout.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/loginserver/ui/frmAbout.java
index 8488868090..06a5d95539 100644
--- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/loginserver/ui/frmAbout.java
+++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/loginserver/ui/frmAbout.java
@@ -75,7 +75,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblLoginServer);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 148, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/bosses/LimitBarrier.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/bosses/LimitBarrier.java
index 621fc3458b..f701a49695 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/bosses/LimitBarrier.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/ai/bosses/LimitBarrier.java
@@ -38,7 +38,7 @@ import ai.AbstractNpcAI;
* OK - Epic Bosses Orfen, Queen Ant and Core also use Limit Barrier.
* OK - Epic Bosses Antharas, Zaken and Baium and their analogues in instance zones do not use Limit Barrier.
* OK - Raid Bosses in instances do not use Limit Barrier.
- * OK - All Raid Bosses who use Limit Barrier are listed below:
+ * OK - All Raid Bosses who use Limit Barrier are listed below:
*/
public final class LimitBarrier extends AbstractNpcAI
{
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/custom/listeners/ListenerTest.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/custom/listeners/ListenerTest.java
index 0f855db33f..ed9d1c76f4 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/custom/listeners/ListenerTest.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/custom/listeners/ListenerTest.java
@@ -114,7 +114,7 @@ public class ListenerTest extends AbstractNpcAI
}
/**
- * Prioritized event notification
+ * Prioritized event notification
* This method will be invoked as soon as creature from level range between 1 and 10 dies.
* This listener is registered into individual npcs container.
* @param event
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
index 4185463b7a..a20f09c9cd 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
@@ -26,18 +26,15 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
public class ArtefactInstanceAction implements IActionHandler
{
/**
- * Manage actions when a player click on the ArtefactInstance.
- *
- * Actions :
- *
+ * Manage actions when a player click on the ArtefactInstance.
+ *
+ * Actions:
*
Set the NpcInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
- *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
*/
@Override
public boolean action(PlayerInstance player, WorldObject target, boolean interact)
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
index bb73cd0bae..1f204280f0 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
@@ -36,27 +36,22 @@ import org.l2jmobius.gameserver.network.serverpackets.MoveToPawn;
public class NpcAction implements IActionHandler
{
/**
- * Manage actions when a player click on the Npc.
- *
- * Actions on first click on the Npc (Select it) :
- *
+ * Manage actions when a player click on the Npc.
+ *
+ * Actions on first click on the Npc (Select it):
*
Set the Npc as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, send a Server->Client packet StatusUpdate to the PlayerInstance in order to update Npc HP bar
- *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
- *
- * Actions on second click on the Npc (Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
+ *
+ * Actions on second click on the Npc (Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, notify the PlayerInstance AI with AI_INTENTION_ATTACK (after a height verification)
- *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
- *
- * Caution : Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
+ * Caution: Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The PlayerInstance that start an action on the Npc
*/
@Override
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
index 28aa39ab39..d52da54398 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
@@ -31,25 +31,20 @@ public class PlayerInstanceAction implements IActionHandler
private static final int CURSED_WEAPON_VICTIM_MIN_LEVEL = 21;
/**
- * Manage actions when a player click on this PlayerInstance.
- *
- * Actions on first click on the PlayerInstance (Select it) :
- *
+ * Manage actions when a player click on this PlayerInstance.
+ *
+ * Actions on first click on the PlayerInstance (Select it):
*
Set the target of the player
- *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
- *
- * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
+ *
+ * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the player (display the select window)
*
If target PlayerInstance has a Private Store, notify the player AI with AI_INTENTION_INTERACT
- *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
- *
- *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
+ *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The player that start an action on target PlayerInstance
*/
@Override
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
index 20a4e8f57c..6da5c01385 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
@@ -29,7 +29,7 @@ public class PlayerInstanceActionShift implements IActionShiftHandler
{
if (player.isGM())
{
- // Check if the gm already target this l2pcinstance
+ // Check if the GM already target this l2pcinstance
if (player.getTarget() != target)
{
// Set the target of the PlayerInstance player
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
index ea73fa17a1..1aa5e5074a 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
@@ -86,13 +86,13 @@ public class AdminAdmin implements IAdminCommandHandler
else if (command.startsWith("admin_gmliston"))
{
AdminData.getInstance().showGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Registered into gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Registered into GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_gmlistoff"))
{
AdminData.getInstance().hideGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Removed from gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Removed from GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_silence"))
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
index 2efc2df69a..3fed3db486 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
@@ -486,7 +486,7 @@ public class AdminEventEngine implements IAdminCommandHandler
sb.append("
");
sb.append("
");
sb.append("
");
- sb.append("
");
+ sb.append("
");
sb.append("Teams' names:
");
for (int i = 1; (i - 1) < teamnumbers; i++) // Team names params
{
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
index 5e3fc05aa9..91259505bf 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
@@ -31,7 +31,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
/**
- * This class handles following admin commands: - gm = turns gm mode on/off
+ * This class handles following admin commands: - GM = turns GM mode on/off
* @version $Revision: 1.1.2.1 $ $Date: 2005/03/15 21:32:48 $
*/
public class AdminFightCalculator implements IAdminCommandHandler
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
index a32a84dd35..e9acb6a1f6 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles following admin commands: - gm = turns gm mode off
+ * This class handles following admin commands: - GM = turns GM mode off
* @version $Revision: 1.2.4.4 $ $Date: 2005/04/11 10:06:06 $
*/
public class AdminGm implements IAdminCommandHandler
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
index 364bba90a9..f0b2f857a4 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles commands for gm to forge packets
+ * This class handles commands for GM to forge packets
* @author Maktakien, HorridoJoho
*/
public class AdminPForge implements IAdminCommandHandler
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
index 28f00ac888..4df604f52e 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
@@ -30,14 +30,14 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * Pledge Manipulation:
- *
With target in a character without clan:
+ * Pledge Manipulation:
+ *
With target in a character without clan:
* //pledge create clanname
- *
With target in a clan leader:
- * //pledge info
- * //pledge dismiss
- * //pledge setlevel level
- * //pledge rep reputation_points
+ *
With target in a clan leader:
+ * //pledge info
+ * //pledge dismiss
+ * //pledge setlevel level
+ * //pledge rep reputation_points
*/
public class AdminPledge implements IAdminCommandHandler
{
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
index 7ce1bd303d..b872456e17 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
@@ -78,8 +78,9 @@ public class QuestLink implements IBypassHandler
/**
* Open a choose quest window on client with all quests available of the NpcInstance.
+ *
* Actions:
- *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
+ *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
* @param player The PlayerInstance that talk with the NpcInstance
* @param npc The table containing quests of the NpcInstance
* @param quests
@@ -231,6 +232,7 @@ public class QuestLink implements IBypassHandler
/**
* Open a quest window on client with the text of the NpcInstance.
+ *
* Actions:
*
*
Get the text of the quest state in the folder data/scripts/quests/questId/stateId.htm
Fly Radius means the distance between starting point and final point, it must be an integer.
*
Fly Course means the movement direction: imagine a compass above player's head, making north player's heading. So if fly course is 180, player will go backwards (good for blink, e.g.).
*
- * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
+ * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
* If target is effector, put in XML self="1", this will make _actor = getEffector(). This, combined with target type, allows more complex actions like flying target's backwards or player's backwards.
* @author DrHouse
*/
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
index ca935396a6..e4e937ef41 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.network.serverpackets.ValidateLocation;
/**
* This Blink effect switches the location of the caster and the target.
- * This effect is totally done based on client description.
+ * This effect is totally done based on client description.
* Assume that geodata checks are done on the skill cast and not needed to repeat here.
* @author Nik
*/
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
index 0f1802d986..00474ef88a 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.effects.EffectFlag;
import org.l2jmobius.gameserver.model.effects.EffectType;
/**
- * An effect that blocks the player (NPC?) control.
+ * An effect that blocks the player (NPC?) control.
* It prevents moving, casting, social actions, etc.
* @author Nik
*/
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
index 6b463fd9d2..f94ecb0b46 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
@@ -21,7 +21,7 @@ import org.l2jmobius.gameserver.model.effects.AbstractEffect;
import org.l2jmobius.gameserver.model.effects.EffectFlag;
/**
- * Effect that blocks damage and heals to HP/MP.
+ * Effect that blocks damage and heals to HP/MP.
* Regeneration or DOT shouldn't be blocked, Vampiric Rage and Balance Life as well.
* @author Nik
*/
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
index 3d8985d1d8..0cc43483f5 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
/**
* An effect that changes damage taken from an attack.
- * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
+ * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
* Exceptions for this effect appears to be DOT effects and terrain damage, they are unaffected by this stat.
* As for example in retail this effect does reduce reflected damage taken (because it is received damage), as well as it does not decrease reflected damage done,
* because reflected damage is being calculated with the original attack damage and not this altered one.
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
index a4808a3312..5624fe4e60 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
@@ -34,10 +34,10 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
- * Current formulas were tested to be the best matching retail, damage appears to be identical:
- * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
- * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
+ * Physical Attack effect implementation.
+ * Current formulas were tested to be the best matching retail, damage appears to be identical:
+ * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
+ * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
* @author Nik
*/
public class PhysicalAttack extends AbstractEffect
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
index 332fa3fa4f..17f093e386 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
index 34e643a5b1..4f29f685f7 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
index e1c554d674..92d5fb7d96 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.zone.ZoneId;
/**
* Not Friend affect object implementation. Based on Gracia Final retail tests.
* Such are considered flagged/karma players (except party/clan/ally). Doesn't matter if in command channel.
- * In arena such are considered clan/ally/command channel (except party).
+ * In arena such are considered clan/ally/command channel (except party).
* In peace zone such are considered monsters.
* Monsters consider such all players, npcs (Citizens, Guild Masters, Merchants, Guards, etc. except monsters). Doesn't matter if in peace zone or arena.
* @author Nik
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/instances/AbstractInstance.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/instances/AbstractInstance.java
index 17d748fad2..354b0d5137 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/instances/AbstractInstance.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/instances/AbstractInstance.java
@@ -62,7 +62,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Get instance world associated with {@code player}.
+ * Get instance world associated with {@code player}.
* @param player player who wants get instance world
* @return instance world if found, otherwise null
*/
@@ -229,8 +229,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Sets instance to finish state.
- * See {@link Instance#finishInstance()} for more details.
+ * Sets instance to finish state.
* @param player player used for determine current instance world
*/
protected void finishInstance(PlayerInstance player)
@@ -244,7 +243,6 @@ public abstract class AbstractInstance extends AbstractNpcAI
/**
* Sets instance to finish state.
- * See {@link Instance#finishInstance(int)} for more details.
* @param player player used for determine current instance world
* @param delay finish delay in minutes
*/
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
index 93028744ee..aa8ac8f064 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
@@ -1232,8 +1232,7 @@ public class BlowfishEngine
/**
* Method to encrypt the block at the given index.
- * The encrypted block goes to the destination array at the given index.
- *
+ * The encrypted block goes to the destination array at the given index.
* @param src source array with the plain data
* @param srcIndex index where the block to encrypt is located
* @param dst destination array the encryption will go to
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/GameTimeController.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/GameTimeController.java
index 131fb28d3d..aa4d359090 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/GameTimeController.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/GameTimeController.java
@@ -118,10 +118,13 @@ public class GameTimeController extends Thread
}
/**
- * Move all Creatures contained in movingObjects of GameTimeController.
- * Concept :
- * All Creature in movement are identified in movingObjects of GameTimeController.
- * Actions :
+ * Move all Creatures contained in movingObjects of GameTimeController.
+ *
+ * Concept:
+ *
+ * All Creature in movement are identified in movingObjects of GameTimeController.
+ *
+ * Actions:
*
*
Update the position of each Creature
*
If movement is finished, the Creature is removed from movingObjects
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/LoginServerThread.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/LoginServerThread.java
index bafacc7045..39bf2b4f51 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/LoginServerThread.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/LoginServerThread.java
@@ -95,7 +95,6 @@ public class LoginServerThread extends Thread
* The BlowFish engine used to encrypt packets
* It is first initialized with a unified key:
* "_;v.]05-31!|+-%xT!^[$\00"
- *
* and then after handshake, with a new key sent by
* login server during the handshake. This new key is stored
* in blowfishKey
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/Shutdown.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/Shutdown.java
index 7ced9a191b..e81e4222dc 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/Shutdown.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/Shutdown.java
@@ -232,7 +232,7 @@ public class Shutdown extends Thread
}
else
{
- // gm shutdown: send warnings and then call exit to start shutdown sequence
+ // GM shutdown: send warnings and then call exit to start shutdown sequence
countdown();
// last point where logging is operational :(
LOGGER.warning("GM shutdown countdown is over. " + MODE_TEXT[_shutdownMode] + " NOW!");
@@ -538,7 +538,7 @@ public class Shutdown extends Thread
}
/**
- * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
+ * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
* @return instance of Shutdown, to be used as shutdown hook
*/
public static Shutdown getInstance()
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/ai/AbstractAI.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/ai/AbstractAI.java
index 95f441a5d6..c544548976 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/ai/AbstractAI.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/ai/AbstractAI.java
@@ -45,7 +45,7 @@ import org.l2jmobius.gameserver.taskmanager.AttackStanceTaskManager;
/**
* Mother class of all objects AI in the world.
- * AbastractAI :
+ * AbastractAI:
*
CreatureAI
*/
public abstract class AbstractAI implements Ctrl
@@ -126,10 +126,10 @@ public abstract class AbstractAI implements Ctrl
/**
* Set the Intention of this AbstractAI.
- * Caution : This method is USED by AI classes
- * Overridden in :
- * AttackableAI : Create an AI Task executed every 1s (if necessary)
- * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
+ * Caution: This method is USED by AI classes
+ * Overridden in:
+ * AttackableAI : Create an AI Task executed every 1s (if necessary)
+ * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -141,7 +141,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
*/
@Override
@@ -152,7 +152,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
* @param args The first parameters of the Intention (optional target)
*/
@@ -225,7 +225,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onEvt method corresponding to the Event.
- * Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
*/
@Override
@@ -235,7 +235,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
*/
@@ -246,7 +246,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
* @param arg1 The second parameter of the Event (optional target)
@@ -419,7 +419,7 @@ public abstract class AbstractAI implements Ctrl
protected abstract void onEvtFinishCasting();
/**
- * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution : Low level function, used by AI subclasses
+ * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution: Low level function, used by AI subclasses
*/
protected void clientActionFailed()
{
@@ -430,8 +430,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param pawn
* @param offset
*/
@@ -514,8 +514,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param x
* @param y
* @param z
@@ -542,8 +542,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param loc
*/
public void clientStopMoving(Location loc)
@@ -591,8 +591,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
public void clientStartAutoAttack()
{
@@ -632,8 +632,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
void clientStopAutoAttack()
{
@@ -661,8 +661,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
protected void clientNotifyDead()
{
@@ -679,7 +679,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Update the state of this actor client side by sending Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance player.
- * Caution : Low level function, used by AI subclasses
+ * Caution: Low level function, used by AI subclasses
* @param player The PlayerIstance to notify with state of this Creature
*/
public void describeStateToPlayer(PlayerInstance player)
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/ai/AttackableAI.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/ai/AttackableAI.java
index 28bb61cbff..6075092cb6 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/ai/AttackableAI.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/ai/AttackableAI.java
@@ -212,7 +212,7 @@ public class AttackableAI extends CreatureAI
/**
* Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
- * Caution : If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
+ * Caution: If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -317,7 +317,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update every 1s the _globalAggro counter to come close to 0
*
If the actor is Aggressive and can attack, add all autoAttackable Creature in its Aggro Range to its _aggroList, chose a target and order to attack it
@@ -612,7 +612,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update the attack timeout if actor is running
*
If target is dead or timeout is expired, stop this attack and set the Intention to AI_INTENTION_ACTIVE
@@ -1237,7 +1237,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Attacked.
- * Actions :
+ *
+ * Actions:
*
*
Init the attack : Calculate the attack timeout, Set the _globalAggro to 0, Add the attacker to the actor _aggroList
*
Set the Creature movement type to run and send Server->Client packet ChangeMoveType to all others PlayerInstance
@@ -1301,7 +1302,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Aggression.
- * Actions :
+ *
+ * Actions:
*
*
Add the target to the actor _aggroList or update hate if already present
*
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/ai/CreatureAI.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/ai/CreatureAI.java
index aeb15558db..a5b0347ce9 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/ai/CreatureAI.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/ai/CreatureAI.java
@@ -139,7 +139,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Idle Intention : Stop Attack, Movement and Stand Up the actor.
- * Actions :
+ *
+ * Actions:
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
Init cast and attack target
@@ -164,7 +165,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Active Intention : Stop Attack, Movement and Launch Think Event.
- * Actions : if the Intention is not already Active
+ *
+ * Actions : if the Intention is not already Active
*
*
Set the AI Intention to AI_INTENTION_ACTIVE
*
Init cast and attack target
@@ -195,7 +197,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Rest Intention.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
@@ -209,7 +212,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Attack Intention : Stop current Attack (if necessary), Start a new Attack and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_ATTACK
@@ -217,7 +221,8 @@ public class CreatureAI extends AbstractAI
*
Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast)
*
Launch the Think Event
*
- * Overridden in :
+ *
+ * Overridden in:
*
*
AttackableAI : Calculate attack timeout
*
@@ -281,7 +286,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Cast Intention : Stop current Attack, Init the AI in order to cast and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI cast target
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
@@ -331,7 +337,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
@@ -370,7 +377,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Follow Intention : Stop current Attack and Launch a Follow Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_FOLLOW
@@ -427,7 +435,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the PickUp Intention : Set the pick up target and Launch a Move To Pawn Task (offset=20).
- * Actions :
+ *
+ * Actions :
*
*
Set the AI pick up target
*
Set the Intention of this AI to AI_INTENTION_PICK_UP
@@ -476,7 +485,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Interact Intention : Set the interact target and Launch a Move To Pawn Task (offset=60).
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the AI interact target
@@ -537,7 +547,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Stunned then onAttacked Event.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
@@ -565,7 +576,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Rooted.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -588,7 +600,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Confused.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -606,7 +619,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Muted.
- * Actions :
+ *
+ * Actions:
*
*
Break a cast and send Server->Client ActionFailed packet and a System Message to the Creature
*
@@ -629,7 +643,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -643,7 +658,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Arrived.
- * Actions :
+ *
+ * Actions:
*
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
*
Launch actions corresponding to the Event Think
@@ -686,7 +702,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedRevalidate.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -700,7 +717,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedBlocked.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
@@ -725,7 +743,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ForgetObject.
- * Actions :
+ *
+ * Actions:
*
*
If the object was targeted and the Intention was AI_INTENTION_INTERACT or AI_INTENTION_PICK_UP, set the Intention to AI_INTENTION_ACTIVE
*
If the object was targeted to attack, stop the auto-attack, cancel target and set the Intention to AI_INTENTION_ACTIVE
@@ -781,7 +800,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -806,7 +826,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Dead.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast)
@@ -829,7 +850,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Fake Death.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
@@ -910,13 +932,15 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move to Pawn action in function of the distance and of the Interact area.
- * Actions :
+ *
+ * Actions:
*
*
Get the distance between the current position of the Creature and the target (x,y)
*
If the distance > offset+20, move the actor (by running) to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast)
*
If the distance <= offset+20, Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1017,13 +1041,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost or dead.
- * Actions : If the target is lost or dead
+ *
+ * Actions : If the target is lost or dead
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1050,13 +1076,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost.
- * Actions : If the target is lost
+ *
+ * Actions : If the target is lost
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/ai/PlayerAI.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/ai/PlayerAI.java
index 1af86289ec..72cd985005 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/ai/PlayerAI.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/ai/PlayerAI.java
@@ -90,7 +90,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -109,7 +110,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -124,7 +126,7 @@ public class PlayerAI extends PlayableAI
/**
* Finalize the casting of a skill. This method overrides CreatureAI method.
- * What it does:
+ * What it does:
* Check if actual intention is set to CAST and, if so, retrieves latest intention before the actual CAST and set it as the current intention for the player.
*/
@Override
@@ -197,7 +199,8 @@ public class PlayerAI extends PlayableAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
index a6c22e57af..dcfcbb433f 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
@@ -158,7 +158,7 @@ public class AdminData implements IXmlReader
AdminCommandAccessRight acar = _adminCommandAccessRights.get(adminCommand);
if (acar == null)
{
- // Trying to avoid the spam for next time when the gm would try to use the same command
+ // Trying to avoid the spam for next time when the GM would try to use the same command
if ((accessLevel.getLevel() > 0) && (accessLevel.getLevel() == _highestLevel))
{
acar = new AdminCommandAccessRight(adminCommand, true, accessLevel.getLevel());
@@ -341,7 +341,7 @@ public class AdminData implements IXmlReader
/**
* Gets the single instance of AdminTable.
- * @return AccessLevels: the one and only instance of this class
+ * @return AccessLevels: the one and only instance of this class
*/
public static AdminData getInstance()
{
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
index ab688fb612..a4de5a1083 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
@@ -63,7 +63,7 @@ import org.l2jmobius.gameserver.model.skills.Skill;
* Here can be found the following skill trees:
*
*
Class skill trees: player skill trees for each class.
- *
Transfer skill trees: player skill trees for each healer class.
+ *
Transfer skill trees: player skill trees for each healer class.
*
Collect skill tree: player skill tree for Gracia related skills.
*
Fishing skill tree: player skill tree for fishing related skills.
*
Transform skill tree: player skill tree for transformation related skills.
@@ -464,7 +464,7 @@ public class SkillTreeData implements IXmlReader
}
/**
- * Gets the race skill tree.
+ * Gets the race skill tree.
* @param race the race skill tree Id
* @return the complete race Skill Tree for a given {@code Race}
*/
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/datatables/BotReportTable.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
index 470dfb2f55..51ea973332 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
@@ -206,7 +206,7 @@ public class BotReportTable
}
/**
- * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
+ * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
* @param reporter (PlayerInstance who issued the report)
* @return True, if the report was registered, False otherwise
*/
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/datatables/ItemTable.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/datatables/ItemTable.java
index 569bf7eea4..ffbc08a6d9 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/datatables/ItemTable.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/datatables/ItemTable.java
@@ -198,10 +198,10 @@ public class ItemTable
}
/**
- * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions :
+ * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions:
*
Create and Init the ItemInstance corresponding to the Item Identifier and quantity
*
Add the ItemInstance object to _allObjects of L2world
- *
Logs Item creation according to log settings
+ *
Logs Item creation according to log settings
* @param process : String Identifier of process triggering this action
* @param itemId : int Item Identifier of the item to be created
* @param count : int Quantity of items to be created for stackable items
@@ -307,7 +307,8 @@ public class ItemTable
/**
* Destroys the ItemInstance.
- * Actions :
+ *
+ * Actions:
*
*
Sets ItemInstance parameters to be unusable
*
Removes the ItemInstance object to _allObjects of L2world
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/enums/BasicProperty.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/enums/BasicProperty.java
index 77a2a7a477..1e5cac18dd 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/enums/BasicProperty.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/enums/BasicProperty.java
@@ -17,17 +17,17 @@
package org.l2jmobius.gameserver.enums;
/**
- * Basic property type of skills.
- * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
- * After, only 3 types are used: physical, magic and none.
- *
- * Quote from Juji:
- * ----------------------------------------------------------------------
- * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
- * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
- * ----------------------------------------------------------------------
- * All other are considered with no basic property aka NONE.
- *
+ * Basic property type of skills.
+ * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
+ * After, only 3 types are used: physical, magic and none.
+ *
+ * Quote from Juji:
+ * ----------------------------------------------------------------------
+ * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
+ * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
+ * ----------------------------------------------------------------------
+ * All other are considered with no basic property aka NONE.
+ *
* @author Nik
*/
public enum BasicProperty
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/handler/ItemHandler.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/handler/ItemHandler.java
index 939d8263da..a815f2646e 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/handler/ItemHandler.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/handler/ItemHandler.java
@@ -38,10 +38,9 @@ public class ItemHandler implements IHandler
}
/**
- * Adds handler of item type in datatable.
- *
- * Concept :
- * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
+ * Adds handler of item type in datatable.
+ * Concept :
+ * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
* @param handler (IItemHandler)
*/
@Override
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
index 7d6c13d3b9..b510fdc4ee 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
@@ -456,7 +456,7 @@ public class InstanceManager implements IXmlReader
}
/**
- * Register instance world.
+ * Register instance world.
* @param instance instance which should be registered
*/
public void register(Instance instance)
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/AccessLevel.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/AccessLevel.java
index ced434ddda..2dac00e406 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/AccessLevel.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/AccessLevel.java
@@ -87,9 +87,8 @@ public class AccessLevel
}
/**
- * Returns the access level
- *
- * @return int: access level
+ * Returns the access level
+ * @return int: access level
*/
public int getLevel()
{
@@ -97,9 +96,8 @@ public class AccessLevel
}
/**
- * Returns the access level name
- *
- * @return String: access level name
+ * Returns the access level name
+ * @return String: access level name
*/
public String getName()
{
@@ -107,9 +105,8 @@ public class AccessLevel
}
/**
- * Returns the name color of the access level
- *
- * @return int: the name color for the access level
+ * Returns the name color of the access level
+ * @return int: the name color for the access level
*/
public int getNameColor()
{
@@ -117,9 +114,8 @@ public class AccessLevel
}
/**
- * Returns the title color color of the access level
- *
- * @return int: the title color for the access level
+ * Returns the title color color of the access level
+ * @return int: the title color for the access level
*/
public int getTitleColor()
{
@@ -127,9 +123,8 @@ public class AccessLevel
}
/**
- * Retuns if the access level has gm access or not
- *
- * @return boolean: true if access level have gm access, otherwise false
+ * Retuns if the access level has GM access or not
+ * @return boolean: true if access level have GM access, otherwise false
*/
public boolean isGm()
{
@@ -137,9 +132,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to attack in peace zone or not
- *
- * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
+ * Returns if the access level is allowed to attack in peace zone or not
+ * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
*/
public boolean allowPeaceAttack()
{
@@ -147,9 +141,8 @@ public class AccessLevel
}
/**
- * Retruns if the access level is allowed to use fixed res or not
- *
- * @return true if the access level is allowed to use fixed res, otherwise false
+ * Retruns if the access level is allowed to use fixed res or not
+ * @return true if the access level is allowed to use fixed res, otherwise false
*/
public boolean allowFixedRes()
{
@@ -157,9 +150,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to perform transactions or not
- *
- * @return boolean: true if access level is allowed to perform transactions, otherwise false
+ * Returns if the access level is allowed to perform transactions or not
+ * @return boolean: true if access level is allowed to perform transactions, otherwise false
*/
public boolean allowTransaction()
{
@@ -167,9 +159,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to use AltG commands or not
- *
- * @return boolean: true if access level is allowed to use AltG commands, otherwise false
+ * Returns if the access level is allowed to use AltG commands or not
+ * @return boolean: true if access level is allowed to use AltG commands, otherwise false
*/
public boolean allowAltG()
{
@@ -177,9 +168,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can give damage or not
- *
- * @return boolean: true if the access level can give damage, otherwise false
+ * Returns if the access level can give damage or not
+ * @return boolean: true if the access level can give damage, otherwise false
*/
public boolean canGiveDamage()
{
@@ -187,9 +177,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can take aggro or not
- *
- * @return boolean: true if the access level can take aggro, otherwise false
+ * Returns if the access level can take aggro or not
+ * @return boolean: true if the access level can take aggro, otherwise false
*/
public boolean canTakeAggro()
{
@@ -197,9 +186,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can gain exp or not
- *
- * @return boolean: true if the access level can gain exp, otherwise false
+ * Returns if the access level can gain exp or not
+ * @return boolean: true if the access level can gain exp, otherwise false
*/
public boolean canGainExp()
{
@@ -207,9 +195,9 @@ public class AccessLevel
}
/**
- * Returns if the access level contains allowedAccess as child
- * @param accessLevel as AccessLevel
- * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
+ * Returns if the access level contains allowedAccess as child
+ * @param accessLevel as AccessLevel
+ * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
*/
public boolean hasChildAccess(AccessLevel accessLevel)
{
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/EffectList.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/EffectList.java
index 72d713b173..78596bd21e 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/EffectList.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/EffectList.java
@@ -159,7 +159,7 @@ public class EffectList
}
/**
- * Verifies if this effect list contains the given skill ID.
+ * Verifies if this effect list contains the given skill ID.
* @param skillId the skill ID to verify
* @return {@code true} if the skill ID is present in the effect list (includes active and passive effects), {@code false} otherwise
*/
@@ -179,7 +179,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param type the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching the specified {@code AbnormalType}, {@code false} otherwise
*/
@@ -189,7 +189,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param types the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching one of the specified {@code AbnormalType}s, {@code false} otherwise
*/
@@ -421,7 +421,7 @@ public class EffectList
}
/**
- * Exit all effects having a specified flag.
+ * Exit all effects having a specified flag.
* @param effectFlag the flag of the effect to stop
*/
public void stopEffects(EffectFlag effectFlag)
@@ -438,7 +438,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, Skill)}
+ * {@link #stopSkillEffects(boolean, Skill)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skillId the skill ID
*/
@@ -457,7 +457,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, int)}
+ * {@link #stopSkillEffects(boolean, int)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skill the skill
*/
@@ -483,7 +483,7 @@ public class EffectList
}
/**
- * Exits all effects created by a specific skill {@code AbnormalType}s.
+ * Exits all effects created by a specific skill {@code AbnormalType}s.
* @param types the skill {@code AbnormalType}s to be checked and removed.
* @return {@code true} if there was any {@code BuffInfo} with one of the given {@code AbnormalType}s, {@code false} otherwise
*/
@@ -498,7 +498,7 @@ public class EffectList
}
/**
- * Exits all effects matched by a specific filter.
+ * Exits all effects matched by a specific filter.
* @param filter any filter to apply when selecting which {@code BuffInfo}s to be removed.
* @param update update effect flags and icons after the operation finishes.
* @param broadcast {@code true} to broadcast update packets if updating, {@code false} otherwise.
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/Party.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/Party.java
index fa7c56908b..90f1476f7d 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/Party.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/Party.java
@@ -141,7 +141,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Set invitation process flag and store time for expiration.
+ * Set invitation process flag and store time for expiration.
* Happens when a player joins party or declines to join.
* @param value the pending invitation state to set
*/
@@ -272,8 +272,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Send a Server->Client packet to all other PlayerInstance of the Party.
- *
+ * Send a Server->Client packet to all other PlayerInstance of the Party.
* @param player
* @param msg
*/
@@ -820,12 +819,12 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
- *
- * Actions :
+ * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
+ *
+ * Actions:
*
Get the PlayerInstance owner of the ServitorInstance (if necessary)
*
Calculate the Experience and SP reward distribution rate
- *
Add Experience and SP to the PlayerInstance
+ *
Add Experience and SP to the PlayerInstance
* @param xpReward The Experience reward to distribute
* @param spReward The SP reward to distribute
* @param rewardedMembers The list of PlayerInstance to reward
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/Spawn.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/Spawn.java
index e9068a0b5f..9f8d6a075f 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/Spawn.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/Spawn.java
@@ -41,7 +41,7 @@ import org.l2jmobius.gameserver.util.Util;
/**
* This class manages the spawn and respawn of a group of NpcInstance that are in the same are and have the same type.
- * Concept:
+ * Concept:
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
* @author Nightmare
@@ -78,13 +78,16 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Constructor of Spawn.
- * Concept:
+ *
+ * Concept:
+ *
* Each Spawn owns generic and static properties (ex : RewardExp, RewardSP, AggroRange...).
* All of those properties are stored in a different NpcTemplate for each type of Spawn. Each template is loaded once in the server cache memory (reduce memory use).
* When a new instance of Spawn is created, server just create a link between the instance and the template.
- * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
- * This link is stored in _spawn of the NpcInstance.
- * Actions:
+ * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
+ * This link is stored in _spawn of the NpcInstance.
+ *
+ * Actions:
*
*
Set the _template of the Spawn
*
Calculate the implementationName used to generate the generic constructor of NpcInstance managed by this Spawn
@@ -227,11 +230,11 @@ public class Spawn extends Location implements IIdentifiable, INamable
}
/**
- * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions :
+ * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions:
*
Decrease the current number of NpcInstance of this Spawn
*
Check if respawn is possible to prevent multiple respawning caused by lag
*
Update the current number of SpawnTask in progress or stand by of this Spawn
- *
Create a new SpawnTask to launch after the respawn Delay
Caution : A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
+ *
Create a new SpawnTask to launch after the respawn Delay
Caution: A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
* @param oldNpc
*/
public void decreaseCount(Npc oldNpc)
@@ -305,10 +308,13 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Create the NpcInstance, add it to the world and lauch its OnSpawn action.
- * Concept:
+ *
+ * Concept:
+ *
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
- * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
+ *
+ * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
*
*
Get NpcInstance Init parameters and its generate an Identifier
*
Call the constructor of the NpcInstance
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/World.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/World.java
index 0b8cd8b4f1..09579e901c 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/World.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/World.java
@@ -132,7 +132,8 @@ public class World
/**
* Adds an object to the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Withdraw an item from the warehouse, create an item
*
Spawn a Creature (PC, NPC, Pet)
@@ -172,7 +173,8 @@ public class World
/**
* Removes an object from the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Delete item from inventory, transfer Item from inventory to warehouse
*
Crystallize item
@@ -209,7 +211,7 @@ public class World
}
/**
- * Example of use:
+ * Example of use:
*
@@ -251,7 +253,7 @@ public class World
}
/**
- * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
+ * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
* @param name Name of the player to get Instance
* @return the player instance corresponding to the given name.
*/
@@ -299,18 +301,18 @@ public class World
}
/**
- * Add a WorldObject in the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Add a WorldObject in the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Add the WorldObject object in _allPlayers* of World
*
Add the WorldObject object in _gmList** of GmListTable
- *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
- * * only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstanceCaution : This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
- * Caution : This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use :
+ *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
+ * * only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstanceCaution: This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
+ * Caution: This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use:
*
Drop an Item
*
Spawn a Creature
- *
Apply Death Penalty of a PlayerInstance
+ *
Apply Death Penalty of a PlayerInstance
* @param object L2object to add in the world
* @param newRegion WorldRegion in wich the object will be add (not used)
*/
@@ -382,16 +384,16 @@ public class World
}
/**
- * Remove a WorldObject from the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Remove a WorldObject from the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Remove the WorldObject object from _allPlayers* of World
*
Remove the WorldObject object from _visibleObjects and _allPlayers* of WorldRegion
*
Remove the WorldObject object from _gmList** of GmListTable
- *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution : This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstance Example of use :
+ *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution: This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstance Example of use:
*
Pickup an Item
- *
Decay a Creature
+ *
Decay a Creature
* @param object L2object to remove from the world
* @param oldRegion WorldRegion in which the object was before removing
*/
@@ -690,9 +692,9 @@ public class World
}
/**
- * Calculate the current WorldRegions of the object according to its position (x,y). Example of use :
+ * Calculate the current WorldRegions of the object according to its position (x,y). Example of use:
*
Set position of a new WorldObject (drop, spawn...)
- *
Update position of a WorldObject after a movement
+ *
Update position of a WorldObject after a movement
* @param object the object
* @return
*/
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/WorldObject.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/WorldObject.java
index 63e719d10f..adc7402c47 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/WorldObject.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/WorldObject.java
@@ -670,7 +670,7 @@ public abstract class WorldObject extends ListenersContainer implements IIdentif
}
/**
- * Sets instance for current object by instance ID.
+ * Sets instance for current object by instance ID.
* @param id ID of instance world which should be set (0 means normal world)
*/
public void setInstanceById(int id)
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/WorldRegion.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/WorldRegion.java
index 4a166d2b8a..25ada44e59 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/WorldRegion.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/WorldRegion.java
@@ -195,8 +195,8 @@ public class WorldRegion
}
/**
- * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
- * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
+ * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
+ * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
* @param object
*/
public void addVisibleObject(WorldObject object)
@@ -216,7 +216,7 @@ public class WorldRegion
}
/**
- * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
+ * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
* @param object
*/
public void removeVisibleObject(WorldObject object)
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 46c5c0e9f1..480145c52f 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
@@ -1039,7 +1039,7 @@ public class Attackable extends Npc
* During a Special Event all Attackable can drop extra Items.
* Those extra Items are defined in the table allNpcDateDrops of the EventDroplist.
* Each Special Event has a start and end date to stop to drop extra Items automatically.
- * Actions: If an extra drop must be generated
+ * Actions: If an extra drop must be generated
* Get an Item Identifier (random) from the DateDrop Item table of this Event.
* Get the Item quantity dropped (random).
* Create this or these ItemInstance corresponding to this Item Identifier.
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Creature.java
index 1e4ce2ec8c..ca28666cfb 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Creature.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Creature.java
@@ -167,7 +167,6 @@ import org.l2jmobius.gameserver.util.Util;
*
Trap
*
Vehicle
*
- *
* Concept of CreatureTemplate:
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
@@ -295,11 +294,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Constructor of Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature. Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
- * Actions:
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
+ *
+ * Actions:
*
*
Set the _template of the Creature
*
Set _overloaded to false (the character can take more items)
@@ -542,8 +544,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Remove the Creature from the world when the decay task is launched.
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
public void onDecay()
{
@@ -603,8 +605,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
*/
@@ -621,8 +625,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the radius (max knownlist radius) from the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
* @param radiusInKnownlist
@@ -678,12 +684,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send the Server->Client packet StatusUpdate with current HP and MP to all other PlayerInstance to inform.
- * Actions:
+ *
+ * Actions:
*
*
Create the Server->Client packet StatusUpdate with current HP and MP
*
Send the Server->Client packet StatusUpdate with current HP and MP to all Creature called _statusListener that must be informed of HP/MP updates of this Creature
*
- * Caution: This method DOESN'T SEND CP information
+ * Caution: This method DOESN'T SEND CP information
* @param caster
*/
public void broadcastStatusUpdate(Creature caster)
@@ -714,7 +721,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Teleport a Creature and its pet if necessary.
- * Actions:
+ *
+ * Actions:
*
*
Stop the movement of the Creature
*
Set the x,y,z position of the WorldObject and if necessary modify its _worldRegion
@@ -883,7 +891,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a physical attack against a target (Simple, Bow, Pole or Dual).
- * Actions:
+ *
+ * Actions:
*
*
Get the active weapon (always equipped in the right hand)
*
If weapon is a bow, check for arrows, MP and bow re-use delay (if necessary, equip the PlayerInstance with arrows in left hand)
@@ -1274,7 +1283,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Manage the casting task (casting and interrupt time, re-use delay...) and display the casting bar and animation on client.
- * Actions:
+ *
+ * Actions:
*
*
Verify the possibility of the the cast : skill is a spell, caster isn't muted...
*
Get the list of all targets (ex : area effects) and define the Creature targeted (its stats will be used in calculation)
@@ -1564,7 +1574,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Kill the Creature.
- * Actions:
+ *
+ * Actions:
*
*
Set target to null and cancel Attack or Cast
*
Stop movement
@@ -2191,11 +2202,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Set the template of the Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
* Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
* @param template
*/
protected final void setTemplate(CreatureTemplate template)
@@ -2372,7 +2385,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop a specified/all Fake Death abnormal Effect.
- * Actions:
+ *
+ * Actions:
*
*
Delete a specified/all (if effect=null) Fake Death abnormal Effect from Creature and update client magic icon
*
Set the abnormal effect flag _fake_death to False
@@ -2400,7 +2414,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Stop all block actions (stun) effects.
+ * Stop all block actions (stun) effects.
* @param removeEffects {@code true} removes all block actions effects, {@code false} only notifies AI to think.
*/
public void stopStunning(boolean removeEffects)
@@ -2418,7 +2432,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop Effect: Transformation.
- * Actions:
+ *
+ * Actions:
*
*
Remove Transformation Effect
*
Notify the Creature AI
@@ -2447,7 +2462,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Updates the visual abnormal state of this character.
+ * Updates the visual abnormal state of this character.
*/
public void updateAbnormalVisualEffects()
{
@@ -2456,9 +2471,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update active skills in progress (In Use and Not In Use because stacked) icons on client.
- * Concept:
+ *
+ * Concept:
+ *
* All active skills effects in progress (In Use and Not In Use because stacked) are represented by an icon on the client.
- * Caution : This method ONLY UPDATE the client of the player and not clients of all players in the party.
+ * Caution: This method ONLY UPDATE the client of the player and not clients of all players in the party.
*/
public void updateEffectIcons()
{
@@ -2492,7 +2509,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* This class group all movement data.
- * Data :
+ *
+ * Data:
*
*
_moveTimestamp : Last time position update
*
_xDestination, _yDestination, _zDestination : Position of the destination
@@ -2786,7 +2804,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * @return True if the Creature is travelling a calculated path.
+ * @return True if the Creature is traveling a calculated path.
*/
public boolean isOnGeodataPath()
{
@@ -2896,16 +2914,18 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update the position of the Creature during a movement and return True if the movement is finished.
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
* When the movement is started (ex : by MovetoLocation), this method will be called each 0.1 sec to estimate and update the Creature position on the server.
* Note, that the current server position can differe from the current client position even if each movement is straight foward.
* That's why, client send regularly a Client->Server ValidatePosition packet to eventually correct the gap on the server.
* But, it's always the server position that is used in range calculation. At the end of the estimated movement time,
* the Creature position is automatically set to the destination position even if the movement is not finished.
- * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
- * But x and y positions must be calculated to avoid that players try to modify their movement speed.
+ * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
+ * But x and y positions must be calculated to avoid that players try to modify their movement speed.
* @return True if the movement is finished
*/
public boolean updatePosition()
@@ -3073,14 +3093,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop movement of the Creature (Called by AI Accessor only).
- * Actions:
+ *
+ * Actions:
*
*
Delete movement data of the Creature
*
Set the current position (x,y,z), its current WorldRegion if necessary and its heading
*
Remove the WorldObject object from _gmList of GmListTable
*
Remove object from _knownObjects and _knownPlayer of all surrounding WorldRegion Creatures
*
- * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
+ * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
* @param loc
*/
public void stopMove(Location loc)
@@ -3117,9 +3138,12 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Target a WorldObject (add the target to the Creature _target, _knownObject and Creature to _KnownObject of the WorldObject).
- * Concept:
- * The WorldObject (including Creature) targeted is identified in _target of the Creature.
- * Actions:
+ *
+ * Concept:
+ *
+ * The WorldObject (including Creature) targeted is identified in _target of the Creature.
+ *
+ * Actions:
*
*
Set the _target of Creature to WorldObject
*
If necessary, add WorldObject to _knownObject of the Creature
@@ -3162,11 +3186,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Calculate movement data for a move to location action and add the Creature to movingObjects of GameTimeController (only called by AI Accessor).
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
- * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
- * Actions:
+ * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
+ *
+ * Actions:
*
*
Get current position of the Creature
*
Calculate distance (dx,dy) between current position and destination including offset
@@ -3175,8 +3202,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
*
Add the Creature to movingObjects of the GameTimeController
*
Create a task to notify the AI that Creature arrives at a check point of the movement
*
- * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
- * Example of use:
+ * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
+ *
+ * Example of use:
*
*
AI : onIntentionMoveTo(Location), onIntentionPickUp(WorldObject), onIntentionInteract(WorldObject)
*
FollowTask
@@ -3580,7 +3608,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
* @return True if arrows are available.
* @param type
@@ -3592,9 +3620,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add Exp and Sp to the Creature.
- * Overridden in :
+ *
+ * Overridden in:
*
PlayerInstance
- *
PetInstance
+ *
PetInstance
* @param addToExp
* @param addToSp
*/
@@ -3604,36 +3633,37 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon instance (always equiped in the right hand).
+ * @return the active weapon instance (always equipped in the right hand).
*/
public abstract ItemInstance getActiveWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon item (always equiped in the right hand).
+ * @return the active weapon item (always equipped in the right hand).
*/
public abstract Weapon getActiveWeaponItem();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary weapon instance (always equiped in the left hand).
+ * @return the secondary weapon instance (always equipped in the left hand).
*/
public abstract ItemInstance getSecondaryWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary {@link Item} item (always equiped in the left hand).
+ * @return the secondary {@link Item} item (always equipped in the left hand).
*/
public abstract Item getSecondaryWeaponItem();
/**
* Manage hit process (called by Hit Task).
- * Actions:
+ *
+ * Actions:
*
*
If the attacker/target is dead or use fake death, notify the AI with EVT_CANCEL and send a Server->Client packet ActionFailed (if attacker is a PlayerInstance)
*
If attack isn't aborted, send a message system (critical hit, missed...) to attacker/target if they are PlayerInstance
If Creature or target is in a town area, send a system message TARGET_IN_PEACEZONE a Server->Client packet ActionFailed
*
If target is confused, send a Server->Client packet ActionFailed
@@ -3953,15 +3984,19 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add a skill to the Creature _skills and its Func objects to the calculator set of the Creature.
- * Concept:
- * All skills own by a Creature are identified in _skills
- * Actions:
+ *
+ * Concept:
+ *
+ * All skills own by a Creature are identified in _skills
+ *
+ * Actions:
*
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
*
Add Func objects of newSkill to the calculator set of the Creature
*
- * Overridden in:
+ *
+ * Overridden in:
*
*
PlayerInstance : Save update in the character_skills table of the database
*
@@ -5252,7 +5287,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
+ * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
* @param range
*/
public void initSeenCreatures(int range)
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Npc.java
index 9f444d25d3..935b46f424 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Npc.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Npc.java
@@ -158,7 +158,8 @@ public class Npc extends Creature
/**
* Constructor of NpcInstance (use Creature constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the Creature (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the Creature
@@ -578,7 +579,8 @@ public class Npc extends Creature
/**
* Open a quest or chat window on client with the text of the NpcInstance in function of the command.
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : RequestBypassToServer
*
@@ -638,11 +640,11 @@ public class Npc extends Creature
}
/**
- * :
+ * :
*
- *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
- *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
- *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
+ *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
+ *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
+ *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -705,7 +707,8 @@ public class Npc extends Creature
/**
* Open a chat window on client with the text of the NpcInstance.
- * Actions:
+ *
+ * Actions:
*
*
Get the text of the selected HTML file in function of the npcId and of the page number
*
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
@@ -865,7 +868,8 @@ public class Npc extends Creature
/**
* Kill the NpcInstance (the corpse disappeared after 7 seconds).
- * Actions:
+ *
+ * Actions:
*
*
Create a DecayTask to remove the corpse of the NpcInstance after 7 seconds
*
Set target to null and cancel Attack or Cast
@@ -1091,14 +1095,15 @@ public class Npc extends Creature
/**
* Remove the NpcInstance from the world and update its spawn object (for a complete removal use the deleteMe method).
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world when the decay task is launched
*
Decrease its spawn counter
*
Manage Siege task (killFlag, killCT)
*
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
@Override
public void onDecay()
@@ -1137,13 +1142,14 @@ public class Npc extends Creature
/**
* Remove PROPERLY the NpcInstance from the world.
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world and update its spawn object
*
Remove all WorldObject from _knownObjects and _knownPlayer of the NpcInstance then cancel Attack or Cast and notify AI
*
Remove WorldObject object from _allObjects of World
*
- * Caution: This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T SEND Server->Client packets to players
* UnAfraid: TODO: Add Listener here
*/
@Override
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Playable.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Playable.java
index 622442ab2e..750bdba19c 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Playable.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Playable.java
@@ -52,7 +52,8 @@ public abstract class Playable extends Creature
/**
* Constructor of Playable.
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and link copy basic Calculator set to this Playable
*
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Summon.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Summon.java
index c2bca015fb..34eb558e47 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Summon.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Summon.java
@@ -588,7 +588,8 @@ public abstract class Summon extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the target is correct
*
Check if the target is in the skill cast range
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
index 5af1884bac..ba0920369e 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
@@ -24,21 +24,19 @@ import org.l2jmobius.gameserver.model.skills.Skill;
import org.l2jmobius.gameserver.network.serverpackets.ActionFailed;
/**
- * This class manages all Castle Siege Artefacts.
- *
+ * This class manages all Castle Siege Artefacts.
+ *
* @version $Revision: 1.11.2.1.2.7 $ $Date: 2005/04/06 16:13:40 $
*/
public class ArtefactInstance extends Npc
{
/**
- * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
- *
- * Actions :
- *
+ * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
+ *
+ * Actions:
*
Call the Creature constructor to set the _template of the ArtefactInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the ArtefactInstance
- *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
- *
+ *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
* @param template to apply to the NPC
*/
public ArtefactInstance(NpcTemplate template)
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 5f34d57abe..d359c8335b 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
@@ -36,7 +36,8 @@ public class GuardInstance extends Attackable
{
/**
* Constructor of GuardInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the GuardInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the GuardInstance
@@ -100,10 +101,11 @@ public class GuardInstance extends Attackable
/**
* Return the pathfile of the selected HTML file in function of the GuardInstance Identifier and of the page number.
- * Format of the pathfile :
+ *
+ * Format of the pathfile:
*
- *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
- *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
+ *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
+ *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -125,19 +127,22 @@ public class GuardInstance extends Attackable
/**
* Manage actions when a player click on the GuardInstance.
- * Actions on first click on the GuardInstance (Select it) :
+ *
+ * Actions on first click on the GuardInstance (Select it):
*
*
Set the GuardInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
Set the PlayerInstance Intention to AI_INTENTION_IDLE
*
Send a Server->Client packet ValidateLocation to correct the GuardInstance position and heading on the client
*
- * Actions on second click on the GuardInstance (Attack it/Interact with it) :
+ *
+ * Actions on second click on the GuardInstance (Attack it/Interact with it):
*
*
If PlayerInstance is in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_ATTACK
*
If PlayerInstance is NOT in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_INTERACT (after a distance verification) and show message
*
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : Action, AttackRequest
*
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
index 2b71cdcfe3..bee6060aec 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
@@ -43,7 +43,8 @@ public class MonsterInstance extends Attackable
/**
* Constructor of MonsterInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the MonsterInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the MonsterInstance
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
index 96d217da08..e399a38dad 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
@@ -122,7 +122,7 @@ public class PetInstance extends Summon
}
/**
- * Manage Feeding Task.
+ * Manage Feeding Task.
* Feed or kill the pet depending on hunger level.
* If pet has food in inventory and feed level drops below 55% then consume food from inventory.
* Send a broadcastStatusUpdate packet for this PetInstance
@@ -418,7 +418,7 @@ public class PetInstance extends Summon
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -1136,8 +1136,7 @@ public class PetInstance extends Summon
}
/**
- * Restore the specified % of experience this PetInstance has lost.
- *
+ * Restore the specified % of experience this PetInstance has lost.
* @param restorePercent
*/
public void restoreExp(double restorePercent)
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
index 24645e835f..ec6b917488 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
@@ -887,7 +887,8 @@ public class PlayerInstance extends Playable
/**
* Create a new PlayerInstance and add it in the characters table of the database.
- * Actions :
+ *
+ * Actions:
*
*
Create a new PlayerInstance with an account name
*
Set the name, the Hair Style, the Hair Color and the Face type of the PlayerInstance
@@ -1078,7 +1079,8 @@ public class PlayerInstance extends Playable
/**
* Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world (call restore method).
- * Actions :
+ *
+ * Actions:
*
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
@@ -1105,12 +1107,13 @@ public class PlayerInstance extends Playable
/**
* Constructor of PlayerInstance (use Creature constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and copy basic Calculator set to this PlayerInstance
*
Set the name of the PlayerInstance
*
- * Caution : This method SET the level of the PlayerInstance to 1
+ * Caution: This method SET the level of the PlayerInstance to 1
* @param objectId Identifier of the object to initialized
* @param template The PlayerTemplate to apply to the PlayerInstance
* @param accountName The name of the account including this PlayerInstance
@@ -2557,7 +2560,7 @@ public class PlayerInstance extends Playable
}
/**
- * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
+ * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
*/
public void regiveTemporarySkills()
{
@@ -3490,7 +3493,7 @@ public class PlayerInstance extends Playable
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -3731,7 +3734,7 @@ public class PlayerInstance extends Playable
}
/**
- * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : long Quantity of items to be dropped
@@ -3998,9 +4001,9 @@ public class PlayerInstance extends Playable
}
/**
- * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions :
- *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
- *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution : This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
+ * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions:
+ *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
+ *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution: This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
*/
@Override
public void broadcastStatusUpdate(Creature caster)
@@ -4067,11 +4070,11 @@ public class PlayerInstance extends Playable
}
/**
- * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept : Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
- * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions :
+ * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept: Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
+ * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions:
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
- *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as
- * MaxHP, STR, DEX...
+ *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP,
+ * STR, DEX...
*/
public void broadcastUserInfo()
{
@@ -4225,10 +4228,10 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Interact Task with another PlayerInstance. Actions :
+ * Manage Interact Task with another PlayerInstance. Actions:
*
If the private store is a STORE_PRIVATE_SELL, send a Server->Client PrivateBuyListSell packet to the PlayerInstance
*
If the private store is a STORE_PRIVATE_BUY, send a Server->Client PrivateBuyListBuy packet to the PlayerInstance
- *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
+ *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
* @param target The Creature targeted
*/
public void doInteract(Creature target)
@@ -4277,7 +4280,7 @@ public class PlayerInstance extends Playable
*
Send a Server->Client packet InventoryUpdate to this player with NewItem (use a new slot) or ModifiedItem (increase amount).
*
Send a Server->Client packet StatusUpdate to this player with current weight.
*
- * Caution: If a party is in progress, distribute the items between the party members!
+ * Caution: If a party is in progress, distribute the items between the party members!
* @param target the NPC dropping the item
* @param itemId the item ID
* @param itemCount the item count
@@ -4309,13 +4312,13 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Pickup Task. Actions :
+ * Manage Pickup Task. Actions:
*
Send a Server->Client packet StopMove to this PlayerInstance
*
Remove the ItemInstance from the world and send server->client GetItem packets
*
Send a System Message to the PlayerInstance : YOU_PICKED_UP_S1_ADENA or YOU_PICKED_UP_S1_S2
*
Add the Item to the PlayerInstance inventory
*
Send a Server->Client packet InventoryUpdate to this PlayerInstance with NewItem (use a new slot) or ModifiedItem (increase amount)
- *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution : If a Party is in progress, distribute Items between party members
+ *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution: If a Party is in progress, distribute Items between party members
* @param object The ItemInstance to pick up
*/
@Override
@@ -4579,7 +4582,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set a target. Actions :
+ * Set a target. Actions:
*
*
Remove the PlayerInstance from the _statusListener of the old target if it was a Creature
*
Add the PlayerInstance to the _statusListener of the new target if it's a Creature
@@ -4671,7 +4674,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon instance (always equiped in the right hand).
+ * Return the active weapon instance (always equipped in the right hand).
*/
@Override
public ItemInstance getActiveWeaponInstance()
@@ -4680,7 +4683,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon item (always equiped in the right hand).
+ * Return the active weapon item (always equipped in the right hand).
*/
@Override
public Weapon getActiveWeaponItem()
@@ -4757,7 +4760,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary weapon instance (always equiped in the left hand).
+ * Return the secondary weapon instance (always equipped in the left hand).
*/
@Override
public ItemInstance getSecondaryWeaponInstance()
@@ -4766,8 +4769,8 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary Item item (always equiped in the left hand).
- * Arrows, Shield..
+ * Return the secondary Item item (always equipped in the left hand).
+ * Arrows, Shield..
*/
@Override
public Item getSecondaryWeaponItem()
@@ -4781,12 +4784,12 @@ public class PlayerInstance extends Playable
}
/**
- * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions :
+ * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions:
*
Reduce the Experience of the PlayerInstance in function of the calculated Death Penalty
*
If necessary, unsummon the Pet of the killed PlayerInstance
*
Manage Karma gain for attacker and Karam loss for the killed PlayerInstance
*
If the killed PlayerInstance has Karma, manage Drop Item
- *
Kill the PlayerInstance
+ *
Kill the PlayerInstance
* @param killer
*/
@Override
@@ -5258,12 +5261,13 @@ public class PlayerInstance extends Playable
}
/**
- * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
- * Actions :
+ * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
+ *
+ * Actions:
*
Calculate the Experience loss
*
Set the value of _expBeforeDeath
*
Set the new Experience value of the PlayerInstance and Decrease its level if necessary
- *
Send a Server->Client StatusUpdate packet with its new Experience
+ *
Send a Server->Client StatusUpdate packet with its new Experience
* @param killer
*/
public void calculateDeathExpPenalty(Creature killer)
@@ -5315,7 +5319,7 @@ public class PlayerInstance extends Playable
}
/**
- * Stop the HP/MP/CP Regeneration task. Actions :
+ * Stop the HP/MP/CP Regeneration task. Actions:
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
*/
@@ -5661,13 +5665,13 @@ public class PlayerInstance extends Playable
}
/**
- * Set the Private Store type of the PlayerInstance. Values :
+ * Set the Private Store type of the PlayerInstance. Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @param privateStoreType
*/
public void setPrivateStoreType(PrivateStoreType privateStoreType)
@@ -5680,13 +5684,13 @@ public class PlayerInstance extends Playable
}
/**
- * Values :
+ * Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @return the Private Store type of the PlayerInstance.
*/
public PrivateStoreType getPrivateStoreType()
@@ -6404,11 +6408,11 @@ public class PlayerInstance extends Playable
}
/**
- * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions :
+ * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions:
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
*
Set the x,y,z position of the PlayerInstance and make it invisible
- *
Update the overloaded status of the PlayerInstance
+ *
Update the overloaded status of the PlayerInstance
* @param objectId Identifier of the object to initialized
* @return The PlayerInstance loaded from the database
*/
@@ -7305,10 +7309,10 @@ public class PlayerInstance extends Playable
}
/**
- * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept : All skills own by a PlayerInstance are identified in _skills Actions :
+ * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept: All skills own by a PlayerInstance are identified in _skills Actions:
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
- *
Add Func objects of newSkill to the calculator set of the Creature
+ *
Add Func objects of newSkill to the calculator set of the Creature
* @param newSkill The Skill to add to the Creature
* @param store
* @return The Skill replaced or null if just added a new Skill
@@ -7339,10 +7343,10 @@ public class PlayerInstance extends Playable
}
/**
- * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept : All skills own by a Creature are identified in _skills Actions :
+ * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept: All skills own by a Creature are identified in _skills Actions:
*
Remove the skill from the Creature _skills
- *
Remove all its Func objects from the Creature calculator set
Overridden in :
- *
PlayerInstance : Save update in the character_skills table of the database
+ *
Remove all its Func objects from the Creature calculator set
Overridden in:
+ *
PlayerInstance : Save update in the character_skills table of the database
* @param skill The Skill to remove from the Creature
* @return The Skill removed
*/
@@ -8044,7 +8048,8 @@ public class PlayerInstance extends Playable
/**
* Return True if the PlayerInstance is autoAttackable.
- * Actions:
+ *
+ * Actions:
*
*
Check if the attacker isn't the PlayerInstance Pet
*
Check if the attacker is MonsterInstance
@@ -8213,7 +8218,8 @@ public class PlayerInstance extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the skill isn't toggle and is offensive
*
Check if the target is in the skill cast range
@@ -8575,15 +8581,18 @@ public class PlayerInstance extends Playable
/**
* Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers.
- * Concept:
- * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
* In order to inform other players of this PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet
- * Actions:
+ *
+ * Actions:
*
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
*
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
*
- * Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
+ * Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
*/
@Override
public void updateAbnormalVisualEffects()
@@ -9410,7 +9419,7 @@ public class PlayerInstance extends Playable
}
/**
- * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
+ * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
* 2. This method no longer changes the active _classIndex of the player. This is only done by the calling of setActiveClass() method as that should be the only way to do so.
* @param classId
* @param classIndex
@@ -10584,7 +10593,8 @@ public class PlayerInstance extends Playable
/**
* Manage the delete task of a PlayerInstance (Leave Party, Unsummon pet, Save its inventory in the database, Remove it from the world...).
- * Actions:
+ *
+ * Actions:
*
*
If the PlayerInstance is in observer mode, set its position to its position before entering in observer mode
*
Set the online Flag to True or False and update the characters table of the database with online status and lastAccess
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
index d58c4a2344..1538e27eb0 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
@@ -31,7 +31,8 @@ public class RaidBossInstance extends MonsterInstance
/**
* Constructor of RaidBossInstance (use Creature and NpcInstance constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the RaidBossInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the RaidBossInstance
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
index 0746dde009..e66a7d8d7f 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
@@ -152,7 +152,8 @@ public class StaticObjectInstance extends Creature
/**
* Set the meshIndex of the object.
- * Values :
+ *
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
@@ -166,7 +167,7 @@ public class StaticObjectInstance extends Creature
}
/**
- * Values :
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
index 0a935e82db..f6b1fdd6c1 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
@@ -265,7 +265,8 @@ public class CreatureStat
/**
* Return the MAtk (base+modifier) of the Creature.
- * Example of use: Calculate Magic damage
+ *
+ * Example of use: Calculate Magic damage
* @return
*/
public int getMAtk()
@@ -290,7 +291,7 @@ public class CreatureStat
}
/**
- * Example of use : Calculate Magic damage.
+ * Example of use : Calculate Magic damage.
* @return the MDef (base+modifier) of the Creature against a skill in function of abnormal effects in progress.
*/
public int getMDef()
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
index a34f446f36..ecb6ca7cf2 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
@@ -57,11 +57,14 @@ public class CreatureStatus
/**
* Add the object to the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use:
+ *
+ * Example of use:
*
*
Target a PC or NPC
*
@@ -79,11 +82,14 @@ public class CreatureStatus
/**
* Remove the object from the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use :
+ *
+ * Example of use :
*
*
Untarget a PC or NPC
*
@@ -96,8 +102,10 @@ public class CreatureStatus
/**
* Return the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
* @return The list of Creature to inform or null if empty
@@ -188,7 +196,8 @@ public class CreatureStatus
/**
* Start the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Calculate the regen task period
*
Launch the HP/MP/CP Regeneration task with Medium priority
@@ -208,7 +217,8 @@ public class CreatureStatus
/**
* Stop the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/base/SubClass.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/base/SubClass.java
index 6e1b4abe48..8e382665f8 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/base/SubClass.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/base/SubClass.java
@@ -20,7 +20,7 @@ import org.l2jmobius.Config;
import org.l2jmobius.gameserver.data.xml.impl.ExperienceData;
/**
- * Character Sub-Class Definition
+ * Character Sub-Class Definition
* Used to store key information about a character's sub-class.
* @author Tempy
*/
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
index ee74925752..a54baee819 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
@@ -62,7 +62,7 @@ public abstract class AbstractEffect
/**
* Calculates whether this effects land or not.
* If it lands will be scheduled and added to the character effect list.
- * Override in effect implementation to change behavior.
+ * Override in effect implementation to change behavior.
* Warning: Must be used only for instant effects continuous effects will not call this they have their success handled by activate_rate.
* @param effector
* @param effected
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/entity/Castle.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/entity/Castle.java
index c0ec518a28..ce46b99bf1 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/entity/Castle.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/entity/Castle.java
@@ -615,8 +615,7 @@ public class Castle extends AbstractResidence
}
/**
- * Respawn all doors on castle grounds
- *
+ * Respawn all doors on castle grounds
* @param isDoorWeak
*/
public void spawnDoor(boolean isDoorWeak)
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/entity/Fort.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/entity/Fort.java
index 755bee3310..667c694f50 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/entity/Fort.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/entity/Fort.java
@@ -273,8 +273,7 @@ public class Fort extends AbstractResidence
}
/**
- * Move non clan members off fort area and to nearest town.
- *
+ * Move non clan members off fort area and to nearest town.
*/
public void banishForeigners()
{
@@ -516,8 +515,7 @@ public class Fort extends AbstractResidence
}
/**
- * Respawn all doors on fort grounds
- *
+ * Respawn all doors on fort grounds.
*/
public void resetDoors()
{
@@ -976,11 +974,10 @@ public class Fort extends AbstractResidence
}
/**
- * @return Returns state of fortress.
- *
- * 0 - not decided yet
- * 1 - independent
- * 2 - contracted with castle
+ * @return Returns state of fortress.
+ * 0 - not decided yet
+ * 1 - independent
+ * 2 - contracted with castle
*/
public int getFortState()
{
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/entity/FortSiege.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
index fe98f73d82..d4e5ae83b5 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
@@ -703,14 +703,14 @@ public class FortSiege implements Siegable
}
/**
- * Register clan as attacker.
+ * Register clan as attacker.
* @param player The PlayerInstance of the player trying to register.
* @param checkConditions True if should be checked conditions, false otherwise
- * @return Number that defines what happened.
- * 0 - Player don't have clan.
- * 1 - Player don't have enough adena to register.
- * 2 - Is not right time to register Fortress now.
- * 3 - Players clan is already registered to siege.
+ * @return Number that defines what happened.
+ * 0 - Player don't have clan.
+ * 1 - Player don't have enough adena to register.
+ * 2 - Is not right time to register Fortress now.
+ * 3 - Players clan is already registered to siege.
* 4 - Players clan is successfully registered to siege.
*/
public int addAttacker(PlayerInstance player, boolean checkConditions)
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/entity/Hero.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/entity/Hero.java
index 49b405d179..8c9bbb0bc0 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/entity/Hero.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/entity/Hero.java
@@ -866,7 +866,7 @@ public class Hero
}
/**
- * Saving task for {@link Hero}
+ * Saving task for {@link Hero}
* Save all hero messages to DB.
*/
public void shutdown()
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/entity/Siege.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/entity/Siege.java
index b1d13d42bd..e6c0812a5f 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/entity/Siege.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/entity/Siege.java
@@ -383,8 +383,7 @@ public class Siege implements Siegable
}
/**
- * When control of castle changed during siege
- *
+ * When control of castle changed during siege.
*/
public void midVictory()
{
@@ -470,8 +469,7 @@ public class Siege implements Siegable
}
/**
- * When siege starts
- *
+ * When siege starts.
*/
@Override
public void startSiege()
@@ -529,8 +527,7 @@ public class Siege implements Siegable
}
/**
- * Announce to player.
- *
+ * Announce to player.
* @param message The SystemMessage to send to player
* @param bothSides True - broadcast to both attackers and defenders. False - only to defenders.
*/
@@ -682,8 +679,7 @@ public class Siege implements Siegable
}
/**
- * Approve clan as defender for siege
- *
+ * Approve clan as defender for siege
* @param clanId The int of player's clan id
*/
public void approveSiegeDefenderClan(int clanId)
@@ -717,8 +713,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is attacker
- *
+ * Return true if clan is attacker
* @param clan The Clan of the player
*/
@Override
@@ -728,8 +723,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is defender
- *
+ * Return true if clan is defender
* @param clan The Clan of the player
*/
@Override
@@ -866,8 +860,7 @@ public class Siege implements Siegable
}
/**
- * Register clan as attacker
- *
+ * Register clan as attacker
* @param player The PlayerInstance of the player trying to register
*/
public void registerAttacker(PlayerInstance player)
@@ -948,8 +941,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clanId The int of player's clan id
*/
public void removeSiegeClan(int clanId)
@@ -975,8 +967,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clan clan being removed
*/
public void removeSiegeClan(Clan clan)
@@ -989,8 +980,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param player The PlayerInstance of player/clan being removed
*/
public void removeSiegeClan(PlayerInstance player)
@@ -999,8 +989,7 @@ public class Siege implements Siegable
}
/**
- * Start the auto tasks
- *
+ * Start the auto tasks.
*/
public void startAutoTask()
{
@@ -1073,8 +1062,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as attacker
- *
+ * Add clan as attacker
* @param clanId The int of clan's id
*/
private void addAttacker(int clanId)
@@ -1083,8 +1071,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender
- *
+ * Add clan as defender
* @param clanId The int of clan's id
*/
private void addDefender(int clanId)
@@ -1105,8 +1092,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender waiting approval
- *
+ * Add clan as defender waiting approval
* @param clanId The int of clan's id
*/
private void addDefenderWaiting(int clanId)
@@ -1198,8 +1184,7 @@ public class Siege implements Siegable
}
/**
- * Return the correct siege date as Calendar.
- *
+ * Return the correct siege date as Calendar.
*/
public void correctSiegeDateTime()
{
@@ -1348,8 +1333,7 @@ public class Siege implements Siegable
}
/**
- * Save registration to database.
- *
+ * Save registration to database.
* @param clan The Clan of player
* @param typeId -1 = owner 0 = defender, 1 = attacker, 2 = defender waiting
* @param isUpdateRegistration
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/events/AbstractScript.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
index 38414caafa..9319658828 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
@@ -3030,7 +3030,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param array of values.
* @return one value from array.
@@ -3046,7 +3046,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param list of values.
* @return one value from list.
@@ -3061,7 +3061,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param array of Integers.
* @return one Integer from array.
*/
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
index 0da0f1ff20..a4335762c0 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
@@ -53,7 +53,7 @@ public class PlayerSkillHolder implements ISkillsHolder
}
/**
- * Add a skill to the skills map.
+ * Add a skill to the skills map.
* @param skill
*/
@Override
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/instancezone/Instance.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
index 6603cc529b..6fdb98f39a 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
@@ -329,7 +329,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Get player by ID from instance.
+ * Get player by ID from instance.
* @param id objectId of player
* @return first player by ID, otherwise {@code null}
*/
@@ -803,7 +803,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Set reenter penalty for players associated with current instance.
+ * Set reenter penalty for players associated with current instance.
* @param time penalty time in milliseconds since January 1, 1970
*/
public void setReenterTime(long time)
@@ -860,8 +860,7 @@ public class Instance implements IIdentifiable, INamable
/**
* Set instance world to finish state.
- * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
- * See {@link Instance#finishInstance(int)} for more details.
+ * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
*/
public void finishInstance()
{
@@ -1016,7 +1015,7 @@ public class Instance implements IIdentifiable, INamable
// Template methods
// ----------------------------------------------
/**
- * Get parameters from instance template.
+ * Get parameters from instance template.
* @return template parameters
*/
public StatSet getTemplateParameters()
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
index 6ade0b3a7f..512d8243d5 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
@@ -999,7 +999,7 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Drop item from inventory by using its objectID and updates database
+ * Drop item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
@@ -1303,7 +1303,7 @@ public abstract class Inventory extends ItemContainer
/**
* Equips an item in the given slot of the paperdoll.
- * Remark : The item must be in the inventory already.
+ * Remark : The item must be in the inventory already.
* @param slot : int pointing out the slot of the paperdoll
* @param item : ItemInstance pointing out the item to add in slot
* @return ItemInstance designating the item placed in the slot before
@@ -1546,8 +1546,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in body slot and returns alterations.
- * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(long)} instead
+ * Unequips item in body slot and returns alterations.
+ * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(long)} instead
* @param slot : int designating the slot of the paperdoll
* @return ItemInstance[] : list of changes
*/
@@ -1577,8 +1577,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in slot and returns alterations
- * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
+ * Unequips item in slot and returns alterations
+ * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
* @param slot : int designating the slot
* @return ItemInstance[] : list of items altered
*/
@@ -1732,8 +1732,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Equips item and returns list of alterations
- * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
+ * Equips item and returns list of alterations
+ * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
* @param item : ItemInstance corresponding to the item
* @return ItemInstance[] : list of alterations
*/
@@ -2494,8 +2494,9 @@ public abstract class Inventory extends ItemContainer
/**
* Reduce the arrow number of the Creature.
- * Overridden in :
- *
PlayerInstance
+ *
+ * Overridden in:
+ *
PlayerInstance
* @param type
*/
public void reduceArrowCount(EtcItemType type)
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
index 2847ecdcd5..2e5f90dcee 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
@@ -530,7 +530,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its objectID and updates database
+ * Destroy item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -545,7 +545,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its itemId and updates database
+ * Destroy item from inventory by using its itemId and updates database
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
index 0a9e6cc66d..5d3bed530d 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
@@ -113,7 +113,7 @@ public class PetInventory extends Inventory
public void restore()
{
super.restore();
- // check for equiped items from other pets
+ // check for equipped items from other pets
for (ItemInstance item : _items.values())
{
if (item.isEquipped() && !item.getItem().checkCondition(_owner, _owner, false))
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
index ccf7bbc0d6..dd03785a1a 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
@@ -586,7 +586,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
+ * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -632,7 +632,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
+ * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/items/Item.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/items/Item.java
index 7f193fd64e..feddbe9f58 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/items/Item.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/items/Item.java
@@ -58,7 +58,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
/**
- * This class contains all informations concerning the item (weapon, armor, etc).
+ * This class contains all informations concerning the item (weapon, armor, etc).
* Mother class of :
*
*
Armor
@@ -178,8 +178,7 @@ public abstract class Item extends ListenersContainer implements IIdentifiable
private int _artifactSlot;
/**
- * Constructor of the Item that fill class variables.
- *
+ * Constructor of the Item that fill class variables.
* @param set : StatSet corresponding to a set of couples (key,value) for description of the item
*/
protected Item(StatSet set)
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
index ffea6dc3ea..bf2b368ddb 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.items.type.CrystalType;
import org.l2jmobius.gameserver.model.items.type.ItemType;
/**
- * This class contains ItemInstance
+ * This class contains ItemInstance
* Use to sort ItemInstance of :
*
*
Armor
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
index e737011a13..b8adfdbe4e 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
@@ -266,19 +266,15 @@ public class ItemInstance extends WorldObject
}
/**
- * Remove a ItemInstance from the world and send server->client GetItem packets.
- *
- * Actions :
- *
+ * Remove a ItemInstance from the world and send server->client GetItem packets.
+ *
+ * Actions:
*
Send a Server->Client Packet GetItem to player that pick up and its _knowPlayers member
- *
Remove the WorldObject from the world
- *
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- *
- * Example of use :
- *
- *
Do Pickup Item : PCInstance and Pet
- *
+ *
Remove the WorldObject from the world
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ *
+ * Example of use:
+ *
Do Pickup Item : PCInstance and Pet
* @param creature Character that pick up the item
*/
public void pickupMe(Creature creature)
@@ -409,9 +405,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the location of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the location of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param loc : ItemLocation (enumeration)
* @param locData : int designating the slot where the item is stored or the village for freights
*/
@@ -440,8 +435,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
+ * Sets the quantity of the item.
* @param count the new count to set
*/
public void setCount(long count)
@@ -464,9 +458,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the quantity of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param process : String Identifier of process triggering this action
* @param count : int
* @param creator : PlayerInstance Player requesting the item creation
@@ -1478,7 +1471,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
*/
public void updateDatabase()
{
@@ -1486,7 +1479,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
* @param force if the update should necessarilly be done.
*/
public void updateDatabase(boolean force)
@@ -1522,20 +1515,17 @@ public class ItemInstance extends WorldObject
}
/**
- * Init a dropped ItemInstance and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a dropped ItemInstance and add it in the world as a visible object.
+ *
+ * Actions:
*
Set the x,y,z position of the ItemInstance dropped and update its _worldregion
*
Add the ItemInstance dropped to _visibleObjects of its WorldRegion
- *
Add the ItemInstance dropped in the world as a visible object
- *
- * Caution : This method DOESN'T ADD the object to _allObjects of World
- *
- * Example of use :
- *
+ *
Add the ItemInstance dropped in the world as a visible object
+ * Caution: This method DOESN'T ADD the object to _allObjects of World
+ *
+ * Example of use:
*
Drop item
- *
Call Pet
+ *
Call Pet
*/
public class ItemDropTask implements Runnable
{
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/quest/Quest.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/quest/Quest.java
index ca367f5957..086b0ad979 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/quest/Quest.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/quest/Quest.java
@@ -1000,7 +1000,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever a player attacks an NPC that is registered for the quest.
- * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
+ * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
* @param npc this parameter contains a reference to the exact instance of the NPC that got attacked.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked the NPC.
* @param damage this parameter represents the total damage that this attack has inflicted to the NPC.
@@ -1137,7 +1137,7 @@ public class Quest extends AbstractScript implements IIdentifiable
* The coder of the script may need to create a new quest state (if necessary).
* Note 3:
* The returned value of onFirstTalk replaces the default HTML that would have otherwise been loaded from a sub-folder of DatapackRoot/game/data/html/.
- * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
+ * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
* @param npc this parameter contains a reference to the exact instance of the NPC that the player is talking with.
* @param player this parameter contains a reference to the exact instance of the player who is talking to the NPC.
* @return the text returned by the event (may be {@code null}, a filename or just text)
@@ -1264,7 +1264,7 @@ public class Quest extends AbstractScript implements IIdentifiable
}
/**
- * This function is called whenever an NPC is teleport.
+ * This function is called whenever an NPC is teleport.
* @param npc this parameter contains a reference to the exact instance of the NPC who just teleport.
*/
protected void onTeleport(Npc npc)
@@ -1274,7 +1274,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever an NPC is called by another NPC in the same faction.
* @param npc this parameter contains a reference to the exact instance of the NPC who is being asked for help.
- * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
+ * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked.
* @param isSummon this parameter if it's {@code false} it denotes that the attacker was indeed the player, else it specifies that the attacker was the player's summon.
* @return
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
index 4522c70776..f4eb3a055f 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
@@ -695,7 +695,7 @@ public class SkillCaster implements Runnable
}
/**
- * Stops this casting and cleans all cast parameters.
+ * Stops this casting and cleans all cast parameters.
* @param aborted if {@code true}, server will send packets to the player, notifying him that the skill has been aborted.
*/
public void stopCasting(boolean aborted)
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/stats/Formulas.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/stats/Formulas.java
index 57bb765173..2b3c7f4b23 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/stats/Formulas.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/stats/Formulas.java
@@ -550,7 +550,7 @@ public class Formulas
* Returns:
* 0 = shield defense doesn't succeed
* 1 = shield defense succeed
- * 2 = perfect block
+ * 2 = perfect block
* @param attacker
* @param target
* @param sendSysMsg
@@ -655,7 +655,7 @@ public class Formulas
}
/**
- * Calculates the effect landing success.
+ * Calculates the effect landing success.
* @param attacker the attacker
* @param target the target
* @param skill the skill
@@ -963,9 +963,9 @@ public class Formulas
}
/**
- * Calculates the attribute bonus with the following formula:
- * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
- * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
+ * Calculates the attribute bonus with the following formula:
+ * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
+ * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
* diff == 0, so AttBonus = 1
* It has been tested that physical skills do get affected by attack attribute even
* if they don't have any attribute. In that case only the biggest attack attribute is taken.
@@ -1207,7 +1207,7 @@ public class Formulas
* Confuse
* Compelling,
* Knockback
- * Pull
+ * Pull
* @param baseChance chance from effect parameter
* @param attacker
* @param target
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
index 2988807295..c621fab8f6 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
* A Function object is a component of a Calculator created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...).
* In fact, each calculator is a table of functions object in which each function represents a mathematics function:
* FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
+ * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
* Indeed, functions with lowest priority order is executed first and functions with the same order are executed in unspecified order.
* @author Zoey76
*/
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
index 1cb8bc9d02..d898d2c397 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
@@ -71,7 +71,7 @@ public class TaxZone extends ZoneType
}
/**
- * Gets castle associated with tax zone.
+ * Gets castle associated with tax zone.
* @return instance of {@link Castle} if found otherwise {@code null}
*/
public Castle getCastle()
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
index ca7f8d6d99..dee0ea769d 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
@@ -55,8 +55,8 @@ public class BlowFishKeygen
}
/**
- * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
- * Thus when getting a key with interests other then read-only a copy must be performed.
+ * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
+ * Thus when getting a key with interests other then read-only a copy must be performed.
* @return A key from this keygen pool.
*/
public static byte[] getRandomKey()
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
index 76cbc0bd16..07a9c4190d 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
@@ -496,7 +496,7 @@ public class RequestAcquireSkill implements IClientIncomingPacket
/**
* Perform a simple check for current player and skill.
* Takes the needed SP if the skill require it and all requirements are meet.
- * Consume required items if the skill require it and all requirements are meet.
+ * Consume required items if the skill require it and all requirements are meet.
* @param player the skill learning player.
* @param trainer the skills teaching Npc.
* @param skillLearn the skill to be learn.
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
index 16624b7447..0f8f2ab22f 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
@@ -96,7 +96,7 @@ public class RequestDestroyItem implements IClientIncomingPacket
// if we can't find the requested item, its actually a cheat
if (itemToRemove == null)
{
- // gm can destroy other player items
+ // GM can destroy other player items
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
index 183ca83e49..1df78a5548 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
@@ -49,7 +49,7 @@ public class RequestGMCommand implements IClientIncomingPacket
@Override
public void run(GameClient client)
{
- // prevent non gm or low level GMs from vieweing player stuff
+ // prevent non GM or low level GMs from vieweing player stuff
if (!client.getPlayer().isGM() || !client.getPlayer().getAccessLevel().allowAltG())
{
return;
@@ -99,7 +99,7 @@ public class RequestGMCommand implements IClientIncomingPacket
}
case 6: // player warehouse
{
- // gm warehouse view to be implemented
+ // GM warehouse view to be implemented
if (player != null)
{
client.sendPacket(new GMViewWarehouseWithdrawList(1, player));
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/clientpackets/RequestRecipeShopMakeItem.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/clientpackets/RequestRecipeShopMakeItem.java
index 3733099b85..59b592c754 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/clientpackets/RequestRecipeShopMakeItem.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/clientpackets/RequestRecipeShopMakeItem.java
@@ -34,7 +34,7 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.Util;
/**
- * It appears you are able to successfully create from manufacture store while casting, while in manufacture store and within 250 range. So basic checks
+ * It appears you are able to successfully create from manufacture store while casting, while in manufacture store and within 250 range. So basic checks
* from your own recipe list crafting are skipped. With the exception of trading, if you request trade, it is cancelled, if you are already trading, you get message.
* @author Nik
*/
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
index eca0524711..0cde588f5a 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
@@ -90,7 +90,7 @@ public class UseItem implements IClientIncomingPacket
final ItemInstance item = player.getInventory().getItemByObjectId(_objectId);
if (item == null)
{
- // gm can use other player item
+ // GM can use other player item
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
index d19f06f141..f4f0c5ca81 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.network.OutgoingPackets;
import org.l2jmobius.gameserver.network.clientpackets.RequestAllyInfo;
/**
- * Sent in response to {@link RequestAllyInfo}, if applicable.
+ * Sent in response to {@link RequestAllyInfo}, if applicable.
* @author afk5min
*/
public class AllianceInfo implements IClientOutgoingPacket
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
index 80a7042463..1fd7ec663a 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
@@ -20,9 +20,9 @@ import org.l2jmobius.commons.network.PacketWriter;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Eva's Inferno event packet. info params:
- * type (1 - %, 2 - npcId),
- * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
+ * Eva's Inferno event packet. info params:
+ * type (1 - %, 2 - npcId),
+ * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
* state (0-1), endtime (only when type 2)
*/
public class ExBrBuffEventState implements IClientOutgoingPacket
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
index 00cc64147b..ba6bb59e06 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
@@ -141,7 +141,7 @@ public interface IClientOutgoingPacket extends IOutgoingPacket
}
/**
- * Sends this packet to the target player, useful for lambda operations like
+ * Sends this packet to the target player, useful for lambda operations like
* {@code World.getInstance().getPlayers().forEach(packet::sendTo)}
* @param player
*/
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
index 1a0c26e078..7fd8a52be7 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
@@ -24,25 +24,25 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Attacker List in the SiegeInfo Window
- *
- * c = ca
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Attackers Clans?
- * d = Number of Attackers Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Attacker List in the SiegeInfo Window
+ *
+ * c = ca
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Attackers Clans?
+ * d = Number of Attackers Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeAttackerList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
index 7066b92fa1..52e10be7c6 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
@@ -25,26 +25,26 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Defender List in the SiegeInfo Window
- *
- * c = 0xcb
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Defending Clans?
- * d = Number of Defending Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Defender List in the SiegeInfo Window
+ *
+ * c = 0xcb
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Defending Clans?
+ * d = Number of Defending Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeDefenderList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
index 355cea9565..6c647eec90 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
@@ -27,18 +27,18 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Shows the Siege Info
- *
- * c = c9
- * d = CastleID
- * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
- * d = Owner ClanID
- * S = Owner ClanName
- * S = Owner Clan LeaderName
- * d = Owner AllyID
- * S = Owner AllyName
- * d = current time (seconds)
- * d = Siege time (seconds) (0 for selectable)
+ * Shows the Siege Info
+ *
+ * c = c9
+ * d = CastleID
+ * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
+ * d = Owner ClanID
+ * S = Owner ClanName
+ * S = Owner Clan LeaderName
+ * d = Owner AllyID
+ * S = Owner AllyName
+ * d = current time (seconds)
+ * d = Siege time (seconds) (0 for selectable)
* d = (UNKNOW) Siege Time Select Related?
* @author KenM
*/
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/scripting/ManagedScript.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
index f2b91791ab..00235baa25 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
@@ -21,7 +21,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
/**
- * Abstract class for classes that are meant to be implemented by scripts.
+ * Abstract class for classes that are meant to be implemented by scripts.
* @author KenM
*/
public abstract class ManagedScript
@@ -41,7 +41,7 @@ public abstract class ManagedScript
public abstract Path getScriptPath();
/**
- * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
+ * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
* Subclasses of this class should override this method to properly refresh their bindings when necessary.
* @return true if and only if the script was reloaded, false otherwise.
*/
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
index 34ba313686..620f020f4e 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
@@ -77,7 +77,7 @@ public class AttackStanceTaskManager
}
/**
- * Checks for attack stance task.
+ * Checks for attack stance task.
* @param actor the actor
* @return {@code true} if the character has an attack stance task, {@code false} otherwise
*/
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/ui/frmAbout.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/ui/frmAbout.java
index a3e5c2cc67..4d161afb73 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/ui/frmAbout.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/ui/frmAbout.java
@@ -83,7 +83,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblProtocols);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 128, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/util/Broadcast.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/util/Broadcast.java
index e0d798deff..5a7eb1a4df 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/util/Broadcast.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/util/Broadcast.java
@@ -40,11 +40,13 @@ public class Broadcast
private static final Logger LOGGER = Logger.getLogger(Broadcast.class.getName());
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -60,11 +62,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -108,11 +112,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
* @param radius
@@ -128,10 +134,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param creature
* @param mov
*/
@@ -162,10 +170,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance present in the world.
- * Concept :
- * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance present in the world.
+ *
+ * Concept:
+ *
+ * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param packet
*/
public static void toAllOnlinePlayers(IClientOutgoingPacket packet)
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/util/MinionList.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/util/MinionList.java
index 29a8c04c1e..9a6f694eaa 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/util/MinionList.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/util/MinionList.java
@@ -58,13 +58,11 @@ public class MinionList
}
/**
- * Manage the spawn of Minions.
- *
- * Actions :
- *
+ * Manage the spawn of Minions.
+ *
+ * Actions:
*
Get the Minion data of all Minions that must be spawn
- *
For each Minion type, spawn the amount of Minion needed
- *
+ *
For each Minion type, spawn the amount of Minion needed
* @param minions
*/
public void spawnMinions(List minions)
@@ -260,16 +258,14 @@ public class MinionList
}
/**
- * Init a Minion and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a Minion and add it in the world as a visible object.
+ *
+ * Actions:
*
Get the template of the Minion to spawn
*
Create and Init the Minion and generate its Identifier
*
Set the Minion HP, MP and Heading
*
Set the Minion leader to this RaidBoss
- *
Init the position of the Minion and add it in the world as a visible object
- *
+ *
Init the position of the Minion and add it in the world as a visible object
* @param master MonsterInstance used as master for this minion
* @param minionId The NpcTemplate Identifier of the Minion to spawn
* @return
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/util/PrimeFinder.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/util/PrimeFinder.java
index c9532000c8..20016811a1 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/util/PrimeFinder.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/util/PrimeFinder.java
@@ -33,7 +33,7 @@ import java.util.Arrays;
public class PrimeFinder
{
/**
- * The largest prime this class can generate; currently equal to Integer.MAX_VALUE.
+ * The largest prime this class can generate; currently equal to Integer.MAX_VALUE
*/
public static final int LARGEST_PRIME = Integer.MAX_VALUE; // yes, it is prime.
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
index 2e46e0a048..0a81e323a3 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
@@ -67,8 +67,7 @@ public class TimeAmountInterpreter
}
/**
- * Appends an user-friendly description of the given amount of time to the specified text builder.
- *
+ * Appends an user-friendly description of the given amount of time to the specified text builder.
* Please keep in mind, that this method is primarily designed to be used with heap text builders. Therefore, if the given text builder throws an {@link IOException}, this exception will be wrapped in a {@link RuntimeException} and returned to the caller as an unchecked exception.
* @param
* @param textBuilder a character sequence builder
diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/loginserver/ui/frmAbout.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/loginserver/ui/frmAbout.java
index 8488868090..06a5d95539 100644
--- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/loginserver/ui/frmAbout.java
+++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/loginserver/ui/frmAbout.java
@@ -75,7 +75,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblLoginServer);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 148, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/bosses/LimitBarrier.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/bosses/LimitBarrier.java
index 4f44d0c206..2096150b9d 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/bosses/LimitBarrier.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/ai/bosses/LimitBarrier.java
@@ -37,7 +37,7 @@ import ai.AbstractNpcAI;
* OK - Epic Bosses Orfen, Queen Ant and Core also use Limit Barrier.
* OK - Epic Bosses Antharas, Zaken and Baium and their analogues in instance zones do not use Limit Barrier.
* OK - Raid Bosses in instances do not use Limit Barrier.
- * OK - All Raid Bosses who use Limit Barrier are listed below:
+ * OK - All Raid Bosses who use Limit Barrier are listed below:
*/
public final class LimitBarrier extends AbstractNpcAI
{
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/custom/listeners/ListenerTest.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/custom/listeners/ListenerTest.java
index 0f855db33f..ed9d1c76f4 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/custom/listeners/ListenerTest.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/custom/listeners/ListenerTest.java
@@ -114,7 +114,7 @@ public class ListenerTest extends AbstractNpcAI
}
/**
- * Prioritized event notification
+ * Prioritized event notification
* This method will be invoked as soon as creature from level range between 1 and 10 dies.
* This listener is registered into individual npcs container.
* @param event
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
index 4185463b7a..a20f09c9cd 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
@@ -26,18 +26,15 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
public class ArtefactInstanceAction implements IActionHandler
{
/**
- * Manage actions when a player click on the ArtefactInstance.
- *
- * Actions :
- *
+ * Manage actions when a player click on the ArtefactInstance.
+ *
+ * Actions:
*
Set the NpcInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
- *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
*/
@Override
public boolean action(PlayerInstance player, WorldObject target, boolean interact)
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
index bb73cd0bae..1f204280f0 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
@@ -36,27 +36,22 @@ import org.l2jmobius.gameserver.network.serverpackets.MoveToPawn;
public class NpcAction implements IActionHandler
{
/**
- * Manage actions when a player click on the Npc.
- *
- * Actions on first click on the Npc (Select it) :
- *
+ * Manage actions when a player click on the Npc.
+ *
+ * Actions on first click on the Npc (Select it):
*
Set the Npc as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, send a Server->Client packet StatusUpdate to the PlayerInstance in order to update Npc HP bar
- *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
- *
- * Actions on second click on the Npc (Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
+ *
+ * Actions on second click on the Npc (Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, notify the PlayerInstance AI with AI_INTENTION_ATTACK (after a height verification)
- *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
- *
- * Caution : Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
+ * Caution: Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The PlayerInstance that start an action on the Npc
*/
@Override
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
index 28aa39ab39..d52da54398 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
@@ -31,25 +31,20 @@ public class PlayerInstanceAction implements IActionHandler
private static final int CURSED_WEAPON_VICTIM_MIN_LEVEL = 21;
/**
- * Manage actions when a player click on this PlayerInstance.
- *
- * Actions on first click on the PlayerInstance (Select it) :
- *
+ * Manage actions when a player click on this PlayerInstance.
+ *
+ * Actions on first click on the PlayerInstance (Select it):
*
Set the target of the player
- *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
- *
- * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
+ *
+ * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the player (display the select window)
*
If target PlayerInstance has a Private Store, notify the player AI with AI_INTENTION_INTERACT
- *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
- *
- *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
+ *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The player that start an action on target PlayerInstance
*/
@Override
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
index 20a4e8f57c..6da5c01385 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
@@ -29,7 +29,7 @@ public class PlayerInstanceActionShift implements IActionShiftHandler
{
if (player.isGM())
{
- // Check if the gm already target this l2pcinstance
+ // Check if the GM already target this l2pcinstance
if (player.getTarget() != target)
{
// Set the target of the PlayerInstance player
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
index ea73fa17a1..1aa5e5074a 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
@@ -86,13 +86,13 @@ public class AdminAdmin implements IAdminCommandHandler
else if (command.startsWith("admin_gmliston"))
{
AdminData.getInstance().showGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Registered into gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Registered into GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_gmlistoff"))
{
AdminData.getInstance().hideGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Removed from gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Removed from GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_silence"))
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
index 2efc2df69a..3fed3db486 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
@@ -486,7 +486,7 @@ public class AdminEventEngine implements IAdminCommandHandler
sb.append("
");
sb.append("
");
sb.append("
");
- sb.append("
");
+ sb.append("
");
sb.append("Teams' names:
");
for (int i = 1; (i - 1) < teamnumbers; i++) // Team names params
{
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
index 5e3fc05aa9..91259505bf 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
@@ -31,7 +31,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
/**
- * This class handles following admin commands: - gm = turns gm mode on/off
+ * This class handles following admin commands: - GM = turns GM mode on/off
* @version $Revision: 1.1.2.1 $ $Date: 2005/03/15 21:32:48 $
*/
public class AdminFightCalculator implements IAdminCommandHandler
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
index a32a84dd35..e9acb6a1f6 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles following admin commands: - gm = turns gm mode off
+ * This class handles following admin commands: - GM = turns GM mode off
* @version $Revision: 1.2.4.4 $ $Date: 2005/04/11 10:06:06 $
*/
public class AdminGm implements IAdminCommandHandler
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
index 364bba90a9..f0b2f857a4 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles commands for gm to forge packets
+ * This class handles commands for GM to forge packets
* @author Maktakien, HorridoJoho
*/
public class AdminPForge implements IAdminCommandHandler
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
index 28f00ac888..4df604f52e 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
@@ -30,14 +30,14 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * Pledge Manipulation:
- *
With target in a character without clan:
+ * Pledge Manipulation:
+ *
With target in a character without clan:
* //pledge create clanname
- *
With target in a clan leader:
- * //pledge info
- * //pledge dismiss
- * //pledge setlevel level
- * //pledge rep reputation_points
+ *
With target in a clan leader:
+ * //pledge info
+ * //pledge dismiss
+ * //pledge setlevel level
+ * //pledge rep reputation_points
*/
public class AdminPledge implements IAdminCommandHandler
{
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
index 7ce1bd303d..b872456e17 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
@@ -78,8 +78,9 @@ public class QuestLink implements IBypassHandler
/**
* Open a choose quest window on client with all quests available of the NpcInstance.
+ *
* Actions:
- *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
+ *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
* @param player The PlayerInstance that talk with the NpcInstance
* @param npc The table containing quests of the NpcInstance
* @param quests
@@ -231,6 +232,7 @@ public class QuestLink implements IBypassHandler
/**
* Open a quest window on client with the text of the NpcInstance.
+ *
* Actions:
*
*
Get the text of the quest state in the folder data/scripts/quests/questId/stateId.htm
Fly Radius means the distance between starting point and final point, it must be an integer.
*
Fly Course means the movement direction: imagine a compass above player's head, making north player's heading. So if fly course is 180, player will go backwards (good for blink, e.g.).
*
- * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
+ * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
* If target is effector, put in XML self="1", this will make _actor = getEffector(). This, combined with target type, allows more complex actions like flying target's backwards or player's backwards.
* @author DrHouse
*/
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
index ca935396a6..e4e937ef41 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.network.serverpackets.ValidateLocation;
/**
* This Blink effect switches the location of the caster and the target.
- * This effect is totally done based on client description.
+ * This effect is totally done based on client description.
* Assume that geodata checks are done on the skill cast and not needed to repeat here.
* @author Nik
*/
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
index 0f1802d986..00474ef88a 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.effects.EffectFlag;
import org.l2jmobius.gameserver.model.effects.EffectType;
/**
- * An effect that blocks the player (NPC?) control.
+ * An effect that blocks the player (NPC?) control.
* It prevents moving, casting, social actions, etc.
* @author Nik
*/
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
index 6b463fd9d2..f94ecb0b46 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
@@ -21,7 +21,7 @@ import org.l2jmobius.gameserver.model.effects.AbstractEffect;
import org.l2jmobius.gameserver.model.effects.EffectFlag;
/**
- * Effect that blocks damage and heals to HP/MP.
+ * Effect that blocks damage and heals to HP/MP.
* Regeneration or DOT shouldn't be blocked, Vampiric Rage and Balance Life as well.
* @author Nik
*/
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
index 3d8985d1d8..0cc43483f5 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
/**
* An effect that changes damage taken from an attack.
- * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
+ * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
* Exceptions for this effect appears to be DOT effects and terrain damage, they are unaffected by this stat.
* As for example in retail this effect does reduce reflected damage taken (because it is received damage), as well as it does not decrease reflected damage done,
* because reflected damage is being calculated with the original attack damage and not this altered one.
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
index a4808a3312..5624fe4e60 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
@@ -34,10 +34,10 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
- * Current formulas were tested to be the best matching retail, damage appears to be identical:
- * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
- * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
+ * Physical Attack effect implementation.
+ * Current formulas were tested to be the best matching retail, damage appears to be identical:
+ * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
+ * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
* @author Nik
*/
public class PhysicalAttack extends AbstractEffect
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
index 332fa3fa4f..17f093e386 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
index 34e643a5b1..4f29f685f7 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
index e1c554d674..92d5fb7d96 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.zone.ZoneId;
/**
* Not Friend affect object implementation. Based on Gracia Final retail tests.
* Such are considered flagged/karma players (except party/clan/ally). Doesn't matter if in command channel.
- * In arena such are considered clan/ally/command channel (except party).
+ * In arena such are considered clan/ally/command channel (except party).
* In peace zone such are considered monsters.
* Monsters consider such all players, npcs (Citizens, Guild Masters, Merchants, Guards, etc. except monsters). Doesn't matter if in peace zone or arena.
* @author Nik
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/instances/AbstractInstance.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/instances/AbstractInstance.java
index 3f84baf7b3..3b6e90169a 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/instances/AbstractInstance.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/instances/AbstractInstance.java
@@ -62,7 +62,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Get instance world associated with {@code player}.
+ * Get instance world associated with {@code player}.
* @param player player who wants get instance world
* @return instance world if found, otherwise null
*/
@@ -229,8 +229,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Sets instance to finish state.
- * See {@link Instance#finishInstance()} for more details.
+ * Sets instance to finish state.
* @param player player used for determine current instance world
*/
protected void finishInstance(PlayerInstance player)
@@ -244,7 +243,6 @@ public abstract class AbstractInstance extends AbstractNpcAI
/**
* Sets instance to finish state.
- * See {@link Instance#finishInstance(int)} for more details.
* @param player player used for determine current instance world
* @param delay finish delay in minutes
*/
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
index 93028744ee..aa8ac8f064 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
@@ -1232,8 +1232,7 @@ public class BlowfishEngine
/**
* Method to encrypt the block at the given index.
- * The encrypted block goes to the destination array at the given index.
- *
+ * The encrypted block goes to the destination array at the given index.
* @param src source array with the plain data
* @param srcIndex index where the block to encrypt is located
* @param dst destination array the encryption will go to
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/GameTimeController.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/GameTimeController.java
index 131fb28d3d..aa4d359090 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/GameTimeController.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/GameTimeController.java
@@ -118,10 +118,13 @@ public class GameTimeController extends Thread
}
/**
- * Move all Creatures contained in movingObjects of GameTimeController.
- * Concept :
- * All Creature in movement are identified in movingObjects of GameTimeController.
- * Actions :
+ * Move all Creatures contained in movingObjects of GameTimeController.
+ *
+ * Concept:
+ *
+ * All Creature in movement are identified in movingObjects of GameTimeController.
+ *
+ * Actions:
*
*
Update the position of each Creature
*
If movement is finished, the Creature is removed from movingObjects
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/LoginServerThread.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/LoginServerThread.java
index bafacc7045..39bf2b4f51 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/LoginServerThread.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/LoginServerThread.java
@@ -95,7 +95,6 @@ public class LoginServerThread extends Thread
* The BlowFish engine used to encrypt packets
* It is first initialized with a unified key:
* "_;v.]05-31!|+-%xT!^[$\00"
- *
* and then after handshake, with a new key sent by
* login server during the handshake. This new key is stored
* in blowfishKey
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/Shutdown.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/Shutdown.java
index 7ced9a191b..e81e4222dc 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/Shutdown.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/Shutdown.java
@@ -232,7 +232,7 @@ public class Shutdown extends Thread
}
else
{
- // gm shutdown: send warnings and then call exit to start shutdown sequence
+ // GM shutdown: send warnings and then call exit to start shutdown sequence
countdown();
// last point where logging is operational :(
LOGGER.warning("GM shutdown countdown is over. " + MODE_TEXT[_shutdownMode] + " NOW!");
@@ -538,7 +538,7 @@ public class Shutdown extends Thread
}
/**
- * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
+ * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
* @return instance of Shutdown, to be used as shutdown hook
*/
public static Shutdown getInstance()
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/ai/AbstractAI.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/ai/AbstractAI.java
index 95f441a5d6..c544548976 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/ai/AbstractAI.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/ai/AbstractAI.java
@@ -45,7 +45,7 @@ import org.l2jmobius.gameserver.taskmanager.AttackStanceTaskManager;
/**
* Mother class of all objects AI in the world.
- * AbastractAI :
+ * AbastractAI:
*
CreatureAI
*/
public abstract class AbstractAI implements Ctrl
@@ -126,10 +126,10 @@ public abstract class AbstractAI implements Ctrl
/**
* Set the Intention of this AbstractAI.
- * Caution : This method is USED by AI classes
- * Overridden in :
- * AttackableAI : Create an AI Task executed every 1s (if necessary)
- * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
+ * Caution: This method is USED by AI classes
+ * Overridden in:
+ * AttackableAI : Create an AI Task executed every 1s (if necessary)
+ * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -141,7 +141,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
*/
@Override
@@ -152,7 +152,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
* @param args The first parameters of the Intention (optional target)
*/
@@ -225,7 +225,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onEvt method corresponding to the Event.
- * Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
*/
@Override
@@ -235,7 +235,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
*/
@@ -246,7 +246,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
* @param arg1 The second parameter of the Event (optional target)
@@ -419,7 +419,7 @@ public abstract class AbstractAI implements Ctrl
protected abstract void onEvtFinishCasting();
/**
- * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution : Low level function, used by AI subclasses
+ * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution: Low level function, used by AI subclasses
*/
protected void clientActionFailed()
{
@@ -430,8 +430,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param pawn
* @param offset
*/
@@ -514,8 +514,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param x
* @param y
* @param z
@@ -542,8 +542,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param loc
*/
public void clientStopMoving(Location loc)
@@ -591,8 +591,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
public void clientStartAutoAttack()
{
@@ -632,8 +632,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
void clientStopAutoAttack()
{
@@ -661,8 +661,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
protected void clientNotifyDead()
{
@@ -679,7 +679,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Update the state of this actor client side by sending Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance player.
- * Caution : Low level function, used by AI subclasses
+ * Caution: Low level function, used by AI subclasses
* @param player The PlayerIstance to notify with state of this Creature
*/
public void describeStateToPlayer(PlayerInstance player)
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/ai/AttackableAI.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/ai/AttackableAI.java
index 28bb61cbff..6075092cb6 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/ai/AttackableAI.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/ai/AttackableAI.java
@@ -212,7 +212,7 @@ public class AttackableAI extends CreatureAI
/**
* Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
- * Caution : If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
+ * Caution: If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -317,7 +317,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update every 1s the _globalAggro counter to come close to 0
*
If the actor is Aggressive and can attack, add all autoAttackable Creature in its Aggro Range to its _aggroList, chose a target and order to attack it
@@ -612,7 +612,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update the attack timeout if actor is running
*
If target is dead or timeout is expired, stop this attack and set the Intention to AI_INTENTION_ACTIVE
@@ -1237,7 +1237,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Attacked.
- * Actions :
+ *
+ * Actions:
*
*
Init the attack : Calculate the attack timeout, Set the _globalAggro to 0, Add the attacker to the actor _aggroList
*
Set the Creature movement type to run and send Server->Client packet ChangeMoveType to all others PlayerInstance
@@ -1301,7 +1302,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Aggression.
- * Actions :
+ *
+ * Actions:
*
*
Add the target to the actor _aggroList or update hate if already present
*
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/ai/CreatureAI.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/ai/CreatureAI.java
index aeb15558db..a5b0347ce9 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/ai/CreatureAI.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/ai/CreatureAI.java
@@ -139,7 +139,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Idle Intention : Stop Attack, Movement and Stand Up the actor.
- * Actions :
+ *
+ * Actions:
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
Init cast and attack target
@@ -164,7 +165,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Active Intention : Stop Attack, Movement and Launch Think Event.
- * Actions : if the Intention is not already Active
+ *
+ * Actions : if the Intention is not already Active
*
*
Set the AI Intention to AI_INTENTION_ACTIVE
*
Init cast and attack target
@@ -195,7 +197,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Rest Intention.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
@@ -209,7 +212,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Attack Intention : Stop current Attack (if necessary), Start a new Attack and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_ATTACK
@@ -217,7 +221,8 @@ public class CreatureAI extends AbstractAI
*
Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast)
*
Launch the Think Event
*
- * Overridden in :
+ *
+ * Overridden in:
*
*
AttackableAI : Calculate attack timeout
*
@@ -281,7 +286,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Cast Intention : Stop current Attack, Init the AI in order to cast and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI cast target
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
@@ -331,7 +337,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
@@ -370,7 +377,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Follow Intention : Stop current Attack and Launch a Follow Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_FOLLOW
@@ -427,7 +435,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the PickUp Intention : Set the pick up target and Launch a Move To Pawn Task (offset=20).
- * Actions :
+ *
+ * Actions :
*
*
Set the AI pick up target
*
Set the Intention of this AI to AI_INTENTION_PICK_UP
@@ -476,7 +485,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Interact Intention : Set the interact target and Launch a Move To Pawn Task (offset=60).
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the AI interact target
@@ -537,7 +547,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Stunned then onAttacked Event.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
@@ -565,7 +576,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Rooted.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -588,7 +600,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Confused.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -606,7 +619,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Muted.
- * Actions :
+ *
+ * Actions:
*
*
Break a cast and send Server->Client ActionFailed packet and a System Message to the Creature
*
@@ -629,7 +643,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -643,7 +658,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Arrived.
- * Actions :
+ *
+ * Actions:
*
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
*
Launch actions corresponding to the Event Think
@@ -686,7 +702,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedRevalidate.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -700,7 +717,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedBlocked.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
@@ -725,7 +743,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ForgetObject.
- * Actions :
+ *
+ * Actions:
*
*
If the object was targeted and the Intention was AI_INTENTION_INTERACT or AI_INTENTION_PICK_UP, set the Intention to AI_INTENTION_ACTIVE
*
If the object was targeted to attack, stop the auto-attack, cancel target and set the Intention to AI_INTENTION_ACTIVE
@@ -781,7 +800,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -806,7 +826,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Dead.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast)
@@ -829,7 +850,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Fake Death.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
@@ -910,13 +932,15 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move to Pawn action in function of the distance and of the Interact area.
- * Actions :
+ *
+ * Actions:
*
*
Get the distance between the current position of the Creature and the target (x,y)
*
If the distance > offset+20, move the actor (by running) to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast)
*
If the distance <= offset+20, Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1017,13 +1041,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost or dead.
- * Actions : If the target is lost or dead
+ *
+ * Actions : If the target is lost or dead
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1050,13 +1076,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost.
- * Actions : If the target is lost
+ *
+ * Actions : If the target is lost
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/ai/PlayerAI.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/ai/PlayerAI.java
index 1af86289ec..72cd985005 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/ai/PlayerAI.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/ai/PlayerAI.java
@@ -90,7 +90,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -109,7 +110,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -124,7 +126,7 @@ public class PlayerAI extends PlayableAI
/**
* Finalize the casting of a skill. This method overrides CreatureAI method.
- * What it does:
+ * What it does:
* Check if actual intention is set to CAST and, if so, retrieves latest intention before the actual CAST and set it as the current intention for the player.
*/
@Override
@@ -197,7 +199,8 @@ public class PlayerAI extends PlayableAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
index a6c22e57af..dcfcbb433f 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
@@ -158,7 +158,7 @@ public class AdminData implements IXmlReader
AdminCommandAccessRight acar = _adminCommandAccessRights.get(adminCommand);
if (acar == null)
{
- // Trying to avoid the spam for next time when the gm would try to use the same command
+ // Trying to avoid the spam for next time when the GM would try to use the same command
if ((accessLevel.getLevel() > 0) && (accessLevel.getLevel() == _highestLevel))
{
acar = new AdminCommandAccessRight(adminCommand, true, accessLevel.getLevel());
@@ -341,7 +341,7 @@ public class AdminData implements IXmlReader
/**
* Gets the single instance of AdminTable.
- * @return AccessLevels: the one and only instance of this class
+ * @return AccessLevels: the one and only instance of this class
*/
public static AdminData getInstance()
{
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
index d07d21a44b..9295c011bf 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
@@ -63,7 +63,7 @@ import org.l2jmobius.gameserver.model.skills.Skill;
* Here can be found the following skill trees:
*
*
Class skill trees: player skill trees for each class.
- *
Transfer skill trees: player skill trees for each healer class.
+ *
Transfer skill trees: player skill trees for each healer class.
*
Collect skill tree: player skill tree for Gracia related skills.
*
Fishing skill tree: player skill tree for fishing related skills.
*
Transform skill tree: player skill tree for transformation related skills.
@@ -464,7 +464,7 @@ public class SkillTreeData implements IXmlReader
}
/**
- * Gets the race skill tree.
+ * Gets the race skill tree.
* @param race the race skill tree Id
* @return the complete race Skill Tree for a given {@code Race}
*/
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/datatables/BotReportTable.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
index 470dfb2f55..51ea973332 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
@@ -206,7 +206,7 @@ public class BotReportTable
}
/**
- * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
+ * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
* @param reporter (PlayerInstance who issued the report)
* @return True, if the report was registered, False otherwise
*/
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/datatables/ItemTable.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/datatables/ItemTable.java
index 569bf7eea4..ffbc08a6d9 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/datatables/ItemTable.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/datatables/ItemTable.java
@@ -198,10 +198,10 @@ public class ItemTable
}
/**
- * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions :
+ * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions:
*
Create and Init the ItemInstance corresponding to the Item Identifier and quantity
*
Add the ItemInstance object to _allObjects of L2world
- *
Logs Item creation according to log settings
+ *
Logs Item creation according to log settings
* @param process : String Identifier of process triggering this action
* @param itemId : int Item Identifier of the item to be created
* @param count : int Quantity of items to be created for stackable items
@@ -307,7 +307,8 @@ public class ItemTable
/**
* Destroys the ItemInstance.
- * Actions :
+ *
+ * Actions:
*
*
Sets ItemInstance parameters to be unusable
*
Removes the ItemInstance object to _allObjects of L2world
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/enums/BasicProperty.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/enums/BasicProperty.java
index 77a2a7a477..1e5cac18dd 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/enums/BasicProperty.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/enums/BasicProperty.java
@@ -17,17 +17,17 @@
package org.l2jmobius.gameserver.enums;
/**
- * Basic property type of skills.
- * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
- * After, only 3 types are used: physical, magic and none.
- *
- * Quote from Juji:
- * ----------------------------------------------------------------------
- * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
- * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
- * ----------------------------------------------------------------------
- * All other are considered with no basic property aka NONE.
- *
+ * Basic property type of skills.
+ * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
+ * After, only 3 types are used: physical, magic and none.
+ *
+ * Quote from Juji:
+ * ----------------------------------------------------------------------
+ * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
+ * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
+ * ----------------------------------------------------------------------
+ * All other are considered with no basic property aka NONE.
+ *
* @author Nik
*/
public enum BasicProperty
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/handler/ItemHandler.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/handler/ItemHandler.java
index 939d8263da..a815f2646e 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/handler/ItemHandler.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/handler/ItemHandler.java
@@ -38,10 +38,9 @@ public class ItemHandler implements IHandler
}
/**
- * Adds handler of item type in datatable.
- *
- * Concept :
- * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
+ * Adds handler of item type in datatable.
+ * Concept :
+ * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
* @param handler (IItemHandler)
*/
@Override
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
index 7d6c13d3b9..b510fdc4ee 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
@@ -456,7 +456,7 @@ public class InstanceManager implements IXmlReader
}
/**
- * Register instance world.
+ * Register instance world.
* @param instance instance which should be registered
*/
public void register(Instance instance)
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/AccessLevel.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/AccessLevel.java
index ced434ddda..2dac00e406 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/AccessLevel.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/AccessLevel.java
@@ -87,9 +87,8 @@ public class AccessLevel
}
/**
- * Returns the access level
- *
- * @return int: access level
+ * Returns the access level
+ * @return int: access level
*/
public int getLevel()
{
@@ -97,9 +96,8 @@ public class AccessLevel
}
/**
- * Returns the access level name
- *
- * @return String: access level name
+ * Returns the access level name
+ * @return String: access level name
*/
public String getName()
{
@@ -107,9 +105,8 @@ public class AccessLevel
}
/**
- * Returns the name color of the access level
- *
- * @return int: the name color for the access level
+ * Returns the name color of the access level
+ * @return int: the name color for the access level
*/
public int getNameColor()
{
@@ -117,9 +114,8 @@ public class AccessLevel
}
/**
- * Returns the title color color of the access level
- *
- * @return int: the title color for the access level
+ * Returns the title color color of the access level
+ * @return int: the title color for the access level
*/
public int getTitleColor()
{
@@ -127,9 +123,8 @@ public class AccessLevel
}
/**
- * Retuns if the access level has gm access or not
- *
- * @return boolean: true if access level have gm access, otherwise false
+ * Retuns if the access level has GM access or not
+ * @return boolean: true if access level have GM access, otherwise false
*/
public boolean isGm()
{
@@ -137,9 +132,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to attack in peace zone or not
- *
- * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
+ * Returns if the access level is allowed to attack in peace zone or not
+ * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
*/
public boolean allowPeaceAttack()
{
@@ -147,9 +141,8 @@ public class AccessLevel
}
/**
- * Retruns if the access level is allowed to use fixed res or not
- *
- * @return true if the access level is allowed to use fixed res, otherwise false
+ * Retruns if the access level is allowed to use fixed res or not
+ * @return true if the access level is allowed to use fixed res, otherwise false
*/
public boolean allowFixedRes()
{
@@ -157,9 +150,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to perform transactions or not
- *
- * @return boolean: true if access level is allowed to perform transactions, otherwise false
+ * Returns if the access level is allowed to perform transactions or not
+ * @return boolean: true if access level is allowed to perform transactions, otherwise false
*/
public boolean allowTransaction()
{
@@ -167,9 +159,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to use AltG commands or not
- *
- * @return boolean: true if access level is allowed to use AltG commands, otherwise false
+ * Returns if the access level is allowed to use AltG commands or not
+ * @return boolean: true if access level is allowed to use AltG commands, otherwise false
*/
public boolean allowAltG()
{
@@ -177,9 +168,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can give damage or not
- *
- * @return boolean: true if the access level can give damage, otherwise false
+ * Returns if the access level can give damage or not
+ * @return boolean: true if the access level can give damage, otherwise false
*/
public boolean canGiveDamage()
{
@@ -187,9 +177,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can take aggro or not
- *
- * @return boolean: true if the access level can take aggro, otherwise false
+ * Returns if the access level can take aggro or not
+ * @return boolean: true if the access level can take aggro, otherwise false
*/
public boolean canTakeAggro()
{
@@ -197,9 +186,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can gain exp or not
- *
- * @return boolean: true if the access level can gain exp, otherwise false
+ * Returns if the access level can gain exp or not
+ * @return boolean: true if the access level can gain exp, otherwise false
*/
public boolean canGainExp()
{
@@ -207,9 +195,9 @@ public class AccessLevel
}
/**
- * Returns if the access level contains allowedAccess as child
- * @param accessLevel as AccessLevel
- * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
+ * Returns if the access level contains allowedAccess as child
+ * @param accessLevel as AccessLevel
+ * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
*/
public boolean hasChildAccess(AccessLevel accessLevel)
{
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/EffectList.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/EffectList.java
index 72d713b173..78596bd21e 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/EffectList.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/EffectList.java
@@ -159,7 +159,7 @@ public class EffectList
}
/**
- * Verifies if this effect list contains the given skill ID.
+ * Verifies if this effect list contains the given skill ID.
* @param skillId the skill ID to verify
* @return {@code true} if the skill ID is present in the effect list (includes active and passive effects), {@code false} otherwise
*/
@@ -179,7 +179,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param type the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching the specified {@code AbnormalType}, {@code false} otherwise
*/
@@ -189,7 +189,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param types the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching one of the specified {@code AbnormalType}s, {@code false} otherwise
*/
@@ -421,7 +421,7 @@ public class EffectList
}
/**
- * Exit all effects having a specified flag.
+ * Exit all effects having a specified flag.
* @param effectFlag the flag of the effect to stop
*/
public void stopEffects(EffectFlag effectFlag)
@@ -438,7 +438,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, Skill)}
+ * {@link #stopSkillEffects(boolean, Skill)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skillId the skill ID
*/
@@ -457,7 +457,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, int)}
+ * {@link #stopSkillEffects(boolean, int)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skill the skill
*/
@@ -483,7 +483,7 @@ public class EffectList
}
/**
- * Exits all effects created by a specific skill {@code AbnormalType}s.
+ * Exits all effects created by a specific skill {@code AbnormalType}s.
* @param types the skill {@code AbnormalType}s to be checked and removed.
* @return {@code true} if there was any {@code BuffInfo} with one of the given {@code AbnormalType}s, {@code false} otherwise
*/
@@ -498,7 +498,7 @@ public class EffectList
}
/**
- * Exits all effects matched by a specific filter.
+ * Exits all effects matched by a specific filter.
* @param filter any filter to apply when selecting which {@code BuffInfo}s to be removed.
* @param update update effect flags and icons after the operation finishes.
* @param broadcast {@code true} to broadcast update packets if updating, {@code false} otherwise.
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/Party.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/Party.java
index fa7c56908b..90f1476f7d 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/Party.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/Party.java
@@ -141,7 +141,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Set invitation process flag and store time for expiration.
+ * Set invitation process flag and store time for expiration.
* Happens when a player joins party or declines to join.
* @param value the pending invitation state to set
*/
@@ -272,8 +272,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Send a Server->Client packet to all other PlayerInstance of the Party.
- *
+ * Send a Server->Client packet to all other PlayerInstance of the Party.
* @param player
* @param msg
*/
@@ -820,12 +819,12 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
- *
- * Actions :
+ * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
+ *
+ * Actions:
*
Get the PlayerInstance owner of the ServitorInstance (if necessary)
*
Calculate the Experience and SP reward distribution rate
- *
Add Experience and SP to the PlayerInstance
+ *
Add Experience and SP to the PlayerInstance
* @param xpReward The Experience reward to distribute
* @param spReward The SP reward to distribute
* @param rewardedMembers The list of PlayerInstance to reward
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/Spawn.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/Spawn.java
index e9068a0b5f..9f8d6a075f 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/Spawn.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/Spawn.java
@@ -41,7 +41,7 @@ import org.l2jmobius.gameserver.util.Util;
/**
* This class manages the spawn and respawn of a group of NpcInstance that are in the same are and have the same type.
- * Concept:
+ * Concept:
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
* @author Nightmare
@@ -78,13 +78,16 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Constructor of Spawn.
- * Concept:
+ *
+ * Concept:
+ *
* Each Spawn owns generic and static properties (ex : RewardExp, RewardSP, AggroRange...).
* All of those properties are stored in a different NpcTemplate for each type of Spawn. Each template is loaded once in the server cache memory (reduce memory use).
* When a new instance of Spawn is created, server just create a link between the instance and the template.
- * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
- * This link is stored in _spawn of the NpcInstance.
- * Actions:
+ * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
+ * This link is stored in _spawn of the NpcInstance.
+ *
+ * Actions:
*
*
Set the _template of the Spawn
*
Calculate the implementationName used to generate the generic constructor of NpcInstance managed by this Spawn
@@ -227,11 +230,11 @@ public class Spawn extends Location implements IIdentifiable, INamable
}
/**
- * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions :
+ * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions:
*
Decrease the current number of NpcInstance of this Spawn
*
Check if respawn is possible to prevent multiple respawning caused by lag
*
Update the current number of SpawnTask in progress or stand by of this Spawn
- *
Create a new SpawnTask to launch after the respawn Delay
Caution : A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
+ *
Create a new SpawnTask to launch after the respawn Delay
Caution: A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
* @param oldNpc
*/
public void decreaseCount(Npc oldNpc)
@@ -305,10 +308,13 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Create the NpcInstance, add it to the world and lauch its OnSpawn action.
- * Concept:
+ *
+ * Concept:
+ *
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
- * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
+ *
+ * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
*
*
Get NpcInstance Init parameters and its generate an Identifier
*
Call the constructor of the NpcInstance
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/World.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/World.java
index 0b8cd8b4f1..09579e901c 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/World.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/World.java
@@ -132,7 +132,8 @@ public class World
/**
* Adds an object to the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Withdraw an item from the warehouse, create an item
*
Spawn a Creature (PC, NPC, Pet)
@@ -172,7 +173,8 @@ public class World
/**
* Removes an object from the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Delete item from inventory, transfer Item from inventory to warehouse
*
Crystallize item
@@ -209,7 +211,7 @@ public class World
}
/**
- * Example of use:
+ * Example of use:
*
@@ -251,7 +253,7 @@ public class World
}
/**
- * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
+ * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
* @param name Name of the player to get Instance
* @return the player instance corresponding to the given name.
*/
@@ -299,18 +301,18 @@ public class World
}
/**
- * Add a WorldObject in the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Add a WorldObject in the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Add the WorldObject object in _allPlayers* of World
*
Add the WorldObject object in _gmList** of GmListTable
- *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
- * * only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstanceCaution : This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
- * Caution : This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use :
+ *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
+ * * only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstanceCaution: This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
+ * Caution: This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use:
*
Drop an Item
*
Spawn a Creature
- *
Apply Death Penalty of a PlayerInstance
+ *
Apply Death Penalty of a PlayerInstance
* @param object L2object to add in the world
* @param newRegion WorldRegion in wich the object will be add (not used)
*/
@@ -382,16 +384,16 @@ public class World
}
/**
- * Remove a WorldObject from the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Remove a WorldObject from the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Remove the WorldObject object from _allPlayers* of World
*
Remove the WorldObject object from _visibleObjects and _allPlayers* of WorldRegion
*
Remove the WorldObject object from _gmList** of GmListTable
- *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution : This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstance Example of use :
+ *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution: This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstance Example of use:
*
Pickup an Item
- *
Decay a Creature
+ *
Decay a Creature
* @param object L2object to remove from the world
* @param oldRegion WorldRegion in which the object was before removing
*/
@@ -690,9 +692,9 @@ public class World
}
/**
- * Calculate the current WorldRegions of the object according to its position (x,y). Example of use :
+ * Calculate the current WorldRegions of the object according to its position (x,y). Example of use:
*
Set position of a new WorldObject (drop, spawn...)
- *
Update position of a WorldObject after a movement
+ *
Update position of a WorldObject after a movement
* @param object the object
* @return
*/
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/WorldObject.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/WorldObject.java
index 63e719d10f..adc7402c47 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/WorldObject.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/WorldObject.java
@@ -670,7 +670,7 @@ public abstract class WorldObject extends ListenersContainer implements IIdentif
}
/**
- * Sets instance for current object by instance ID.
+ * Sets instance for current object by instance ID.
* @param id ID of instance world which should be set (0 means normal world)
*/
public void setInstanceById(int id)
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/WorldRegion.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/WorldRegion.java
index 4a166d2b8a..25ada44e59 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/WorldRegion.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/WorldRegion.java
@@ -195,8 +195,8 @@ public class WorldRegion
}
/**
- * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
- * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
+ * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
+ * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
* @param object
*/
public void addVisibleObject(WorldObject object)
@@ -216,7 +216,7 @@ public class WorldRegion
}
/**
- * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
+ * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
* @param object
*/
public void removeVisibleObject(WorldObject object)
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 46c5c0e9f1..480145c52f 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
@@ -1039,7 +1039,7 @@ public class Attackable extends Npc
* During a Special Event all Attackable can drop extra Items.
* Those extra Items are defined in the table allNpcDateDrops of the EventDroplist.
* Each Special Event has a start and end date to stop to drop extra Items automatically.
- * Actions: If an extra drop must be generated
+ * Actions: If an extra drop must be generated
* Get an Item Identifier (random) from the DateDrop Item table of this Event.
* Get the Item quantity dropped (random).
* Create this or these ItemInstance corresponding to this Item Identifier.
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Creature.java
index 1e4ce2ec8c..ca28666cfb 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Creature.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Creature.java
@@ -167,7 +167,6 @@ import org.l2jmobius.gameserver.util.Util;
*
Trap
*
Vehicle
*
- *
* Concept of CreatureTemplate:
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
@@ -295,11 +294,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Constructor of Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature. Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
- * Actions:
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
+ *
+ * Actions:
*
*
Set the _template of the Creature
*
Set _overloaded to false (the character can take more items)
@@ -542,8 +544,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Remove the Creature from the world when the decay task is launched.
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
public void onDecay()
{
@@ -603,8 +605,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
*/
@@ -621,8 +625,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the radius (max knownlist radius) from the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
* @param radiusInKnownlist
@@ -678,12 +684,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send the Server->Client packet StatusUpdate with current HP and MP to all other PlayerInstance to inform.
- * Actions:
+ *
+ * Actions:
*
*
Create the Server->Client packet StatusUpdate with current HP and MP
*
Send the Server->Client packet StatusUpdate with current HP and MP to all Creature called _statusListener that must be informed of HP/MP updates of this Creature
*
- * Caution: This method DOESN'T SEND CP information
+ * Caution: This method DOESN'T SEND CP information
* @param caster
*/
public void broadcastStatusUpdate(Creature caster)
@@ -714,7 +721,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Teleport a Creature and its pet if necessary.
- * Actions:
+ *
+ * Actions:
*
*
Stop the movement of the Creature
*
Set the x,y,z position of the WorldObject and if necessary modify its _worldRegion
@@ -883,7 +891,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a physical attack against a target (Simple, Bow, Pole or Dual).
- * Actions:
+ *
+ * Actions:
*
*
Get the active weapon (always equipped in the right hand)
*
If weapon is a bow, check for arrows, MP and bow re-use delay (if necessary, equip the PlayerInstance with arrows in left hand)
@@ -1274,7 +1283,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Manage the casting task (casting and interrupt time, re-use delay...) and display the casting bar and animation on client.
- * Actions:
+ *
+ * Actions:
*
*
Verify the possibility of the the cast : skill is a spell, caster isn't muted...
*
Get the list of all targets (ex : area effects) and define the Creature targeted (its stats will be used in calculation)
@@ -1564,7 +1574,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Kill the Creature.
- * Actions:
+ *
+ * Actions:
*
*
Set target to null and cancel Attack or Cast
*
Stop movement
@@ -2191,11 +2202,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Set the template of the Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
* Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
* @param template
*/
protected final void setTemplate(CreatureTemplate template)
@@ -2372,7 +2385,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop a specified/all Fake Death abnormal Effect.
- * Actions:
+ *
+ * Actions:
*
*
Delete a specified/all (if effect=null) Fake Death abnormal Effect from Creature and update client magic icon
*
Set the abnormal effect flag _fake_death to False
@@ -2400,7 +2414,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Stop all block actions (stun) effects.
+ * Stop all block actions (stun) effects.
* @param removeEffects {@code true} removes all block actions effects, {@code false} only notifies AI to think.
*/
public void stopStunning(boolean removeEffects)
@@ -2418,7 +2432,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop Effect: Transformation.
- * Actions:
+ *
+ * Actions:
*
*
Remove Transformation Effect
*
Notify the Creature AI
@@ -2447,7 +2462,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Updates the visual abnormal state of this character.
+ * Updates the visual abnormal state of this character.
*/
public void updateAbnormalVisualEffects()
{
@@ -2456,9 +2471,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update active skills in progress (In Use and Not In Use because stacked) icons on client.
- * Concept:
+ *
+ * Concept:
+ *
* All active skills effects in progress (In Use and Not In Use because stacked) are represented by an icon on the client.
- * Caution : This method ONLY UPDATE the client of the player and not clients of all players in the party.
+ * Caution: This method ONLY UPDATE the client of the player and not clients of all players in the party.
*/
public void updateEffectIcons()
{
@@ -2492,7 +2509,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* This class group all movement data.
- * Data :
+ *
+ * Data:
*
*
_moveTimestamp : Last time position update
*
_xDestination, _yDestination, _zDestination : Position of the destination
@@ -2786,7 +2804,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * @return True if the Creature is travelling a calculated path.
+ * @return True if the Creature is traveling a calculated path.
*/
public boolean isOnGeodataPath()
{
@@ -2896,16 +2914,18 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update the position of the Creature during a movement and return True if the movement is finished.
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
* When the movement is started (ex : by MovetoLocation), this method will be called each 0.1 sec to estimate and update the Creature position on the server.
* Note, that the current server position can differe from the current client position even if each movement is straight foward.
* That's why, client send regularly a Client->Server ValidatePosition packet to eventually correct the gap on the server.
* But, it's always the server position that is used in range calculation. At the end of the estimated movement time,
* the Creature position is automatically set to the destination position even if the movement is not finished.
- * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
- * But x and y positions must be calculated to avoid that players try to modify their movement speed.
+ * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
+ * But x and y positions must be calculated to avoid that players try to modify their movement speed.
* @return True if the movement is finished
*/
public boolean updatePosition()
@@ -3073,14 +3093,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop movement of the Creature (Called by AI Accessor only).
- * Actions:
+ *
+ * Actions:
*
*
Delete movement data of the Creature
*
Set the current position (x,y,z), its current WorldRegion if necessary and its heading
*
Remove the WorldObject object from _gmList of GmListTable
*
Remove object from _knownObjects and _knownPlayer of all surrounding WorldRegion Creatures
*
- * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
+ * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
* @param loc
*/
public void stopMove(Location loc)
@@ -3117,9 +3138,12 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Target a WorldObject (add the target to the Creature _target, _knownObject and Creature to _KnownObject of the WorldObject).
- * Concept:
- * The WorldObject (including Creature) targeted is identified in _target of the Creature.
- * Actions:
+ *
+ * Concept:
+ *
+ * The WorldObject (including Creature) targeted is identified in _target of the Creature.
+ *
+ * Actions:
*
*
Set the _target of Creature to WorldObject
*
If necessary, add WorldObject to _knownObject of the Creature
@@ -3162,11 +3186,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Calculate movement data for a move to location action and add the Creature to movingObjects of GameTimeController (only called by AI Accessor).
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
- * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
- * Actions:
+ * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
+ *
+ * Actions:
*
*
Get current position of the Creature
*
Calculate distance (dx,dy) between current position and destination including offset
@@ -3175,8 +3202,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
*
Add the Creature to movingObjects of the GameTimeController
*
Create a task to notify the AI that Creature arrives at a check point of the movement
*
- * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
- * Example of use:
+ * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
+ *
+ * Example of use:
*
*
AI : onIntentionMoveTo(Location), onIntentionPickUp(WorldObject), onIntentionInteract(WorldObject)
*
FollowTask
@@ -3580,7 +3608,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
* @return True if arrows are available.
* @param type
@@ -3592,9 +3620,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add Exp and Sp to the Creature.
- * Overridden in :
+ *
+ * Overridden in:
*
PlayerInstance
- *
PetInstance
+ *
PetInstance
* @param addToExp
* @param addToSp
*/
@@ -3604,36 +3633,37 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon instance (always equiped in the right hand).
+ * @return the active weapon instance (always equipped in the right hand).
*/
public abstract ItemInstance getActiveWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon item (always equiped in the right hand).
+ * @return the active weapon item (always equipped in the right hand).
*/
public abstract Weapon getActiveWeaponItem();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary weapon instance (always equiped in the left hand).
+ * @return the secondary weapon instance (always equipped in the left hand).
*/
public abstract ItemInstance getSecondaryWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary {@link Item} item (always equiped in the left hand).
+ * @return the secondary {@link Item} item (always equipped in the left hand).
*/
public abstract Item getSecondaryWeaponItem();
/**
* Manage hit process (called by Hit Task).
- * Actions:
+ *
+ * Actions:
*
*
If the attacker/target is dead or use fake death, notify the AI with EVT_CANCEL and send a Server->Client packet ActionFailed (if attacker is a PlayerInstance)
*
If attack isn't aborted, send a message system (critical hit, missed...) to attacker/target if they are PlayerInstance
If Creature or target is in a town area, send a system message TARGET_IN_PEACEZONE a Server->Client packet ActionFailed
*
If target is confused, send a Server->Client packet ActionFailed
@@ -3953,15 +3984,19 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add a skill to the Creature _skills and its Func objects to the calculator set of the Creature.
- * Concept:
- * All skills own by a Creature are identified in _skills
- * Actions:
+ *
+ * Concept:
+ *
+ * All skills own by a Creature are identified in _skills
+ *
+ * Actions:
*
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
*
Add Func objects of newSkill to the calculator set of the Creature
*
- * Overridden in:
+ *
+ * Overridden in:
*
*
PlayerInstance : Save update in the character_skills table of the database
*
@@ -5252,7 +5287,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
+ * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
* @param range
*/
public void initSeenCreatures(int range)
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Npc.java
index 9f444d25d3..935b46f424 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Npc.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Npc.java
@@ -158,7 +158,8 @@ public class Npc extends Creature
/**
* Constructor of NpcInstance (use Creature constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the Creature (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the Creature
@@ -578,7 +579,8 @@ public class Npc extends Creature
/**
* Open a quest or chat window on client with the text of the NpcInstance in function of the command.
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : RequestBypassToServer
*
@@ -638,11 +640,11 @@ public class Npc extends Creature
}
/**
- * :
+ * :
*
- *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
- *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
- *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
+ *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
+ *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
+ *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -705,7 +707,8 @@ public class Npc extends Creature
/**
* Open a chat window on client with the text of the NpcInstance.
- * Actions:
+ *
+ * Actions:
*
*
Get the text of the selected HTML file in function of the npcId and of the page number
*
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
@@ -865,7 +868,8 @@ public class Npc extends Creature
/**
* Kill the NpcInstance (the corpse disappeared after 7 seconds).
- * Actions:
+ *
+ * Actions:
*
*
Create a DecayTask to remove the corpse of the NpcInstance after 7 seconds
*
Set target to null and cancel Attack or Cast
@@ -1091,14 +1095,15 @@ public class Npc extends Creature
/**
* Remove the NpcInstance from the world and update its spawn object (for a complete removal use the deleteMe method).
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world when the decay task is launched
*
Decrease its spawn counter
*
Manage Siege task (killFlag, killCT)
*
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
@Override
public void onDecay()
@@ -1137,13 +1142,14 @@ public class Npc extends Creature
/**
* Remove PROPERLY the NpcInstance from the world.
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world and update its spawn object
*
Remove all WorldObject from _knownObjects and _knownPlayer of the NpcInstance then cancel Attack or Cast and notify AI
*
Remove WorldObject object from _allObjects of World
*
- * Caution: This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T SEND Server->Client packets to players
* UnAfraid: TODO: Add Listener here
*/
@Override
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Playable.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Playable.java
index 622442ab2e..750bdba19c 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Playable.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Playable.java
@@ -52,7 +52,8 @@ public abstract class Playable extends Creature
/**
* Constructor of Playable.
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and link copy basic Calculator set to this Playable
*
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Summon.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Summon.java
index c2bca015fb..34eb558e47 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Summon.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Summon.java
@@ -588,7 +588,8 @@ public abstract class Summon extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the target is correct
*
Check if the target is in the skill cast range
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
index 5af1884bac..ba0920369e 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
@@ -24,21 +24,19 @@ import org.l2jmobius.gameserver.model.skills.Skill;
import org.l2jmobius.gameserver.network.serverpackets.ActionFailed;
/**
- * This class manages all Castle Siege Artefacts.
- *
+ * This class manages all Castle Siege Artefacts.
+ *
* @version $Revision: 1.11.2.1.2.7 $ $Date: 2005/04/06 16:13:40 $
*/
public class ArtefactInstance extends Npc
{
/**
- * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
- *
- * Actions :
- *
+ * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
+ *
+ * Actions:
*
Call the Creature constructor to set the _template of the ArtefactInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the ArtefactInstance
- *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
- *
+ *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
* @param template to apply to the NPC
*/
public ArtefactInstance(NpcTemplate template)
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 5f34d57abe..d359c8335b 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
@@ -36,7 +36,8 @@ public class GuardInstance extends Attackable
{
/**
* Constructor of GuardInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the GuardInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the GuardInstance
@@ -100,10 +101,11 @@ public class GuardInstance extends Attackable
/**
* Return the pathfile of the selected HTML file in function of the GuardInstance Identifier and of the page number.
- * Format of the pathfile :
+ *
+ * Format of the pathfile:
*
- *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
- *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
+ *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
+ *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -125,19 +127,22 @@ public class GuardInstance extends Attackable
/**
* Manage actions when a player click on the GuardInstance.
- * Actions on first click on the GuardInstance (Select it) :
+ *
+ * Actions on first click on the GuardInstance (Select it):
*
*
Set the GuardInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
Set the PlayerInstance Intention to AI_INTENTION_IDLE
*
Send a Server->Client packet ValidateLocation to correct the GuardInstance position and heading on the client
*
- * Actions on second click on the GuardInstance (Attack it/Interact with it) :
+ *
+ * Actions on second click on the GuardInstance (Attack it/Interact with it):
*
*
If PlayerInstance is in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_ATTACK
*
If PlayerInstance is NOT in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_INTERACT (after a distance verification) and show message
*
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : Action, AttackRequest
*
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
index 2b71cdcfe3..bee6060aec 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
@@ -43,7 +43,8 @@ public class MonsterInstance extends Attackable
/**
* Constructor of MonsterInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the MonsterInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the MonsterInstance
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
index 96d217da08..e399a38dad 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
@@ -122,7 +122,7 @@ public class PetInstance extends Summon
}
/**
- * Manage Feeding Task.
+ * Manage Feeding Task.
* Feed or kill the pet depending on hunger level.
* If pet has food in inventory and feed level drops below 55% then consume food from inventory.
* Send a broadcastStatusUpdate packet for this PetInstance
@@ -418,7 +418,7 @@ public class PetInstance extends Summon
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -1136,8 +1136,7 @@ public class PetInstance extends Summon
}
/**
- * Restore the specified % of experience this PetInstance has lost.
- *
+ * Restore the specified % of experience this PetInstance has lost.
* @param restorePercent
*/
public void restoreExp(double restorePercent)
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
index 2192a9f6d5..c41f9693f7 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
@@ -887,7 +887,8 @@ public class PlayerInstance extends Playable
/**
* Create a new PlayerInstance and add it in the characters table of the database.
- * Actions :
+ *
+ * Actions:
*
*
Create a new PlayerInstance with an account name
*
Set the name, the Hair Style, the Hair Color and the Face type of the PlayerInstance
@@ -1078,7 +1079,8 @@ public class PlayerInstance extends Playable
/**
* Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world (call restore method).
- * Actions :
+ *
+ * Actions:
*
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
@@ -1105,12 +1107,13 @@ public class PlayerInstance extends Playable
/**
* Constructor of PlayerInstance (use Creature constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and copy basic Calculator set to this PlayerInstance
*
Set the name of the PlayerInstance
*
- * Caution : This method SET the level of the PlayerInstance to 1
+ * Caution: This method SET the level of the PlayerInstance to 1
* @param objectId Identifier of the object to initialized
* @param template The PlayerTemplate to apply to the PlayerInstance
* @param accountName The name of the account including this PlayerInstance
@@ -2557,7 +2560,7 @@ public class PlayerInstance extends Playable
}
/**
- * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
+ * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
*/
public void regiveTemporarySkills()
{
@@ -3491,7 +3494,7 @@ public class PlayerInstance extends Playable
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -3732,7 +3735,7 @@ public class PlayerInstance extends Playable
}
/**
- * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : long Quantity of items to be dropped
@@ -3999,9 +4002,9 @@ public class PlayerInstance extends Playable
}
/**
- * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions :
- *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
- *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution : This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
+ * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions:
+ *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
+ *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution: This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
*/
@Override
public void broadcastStatusUpdate(Creature caster)
@@ -4068,11 +4071,11 @@ public class PlayerInstance extends Playable
}
/**
- * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept : Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
- * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions :
+ * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept: Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
+ * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions:
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
- *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as
- * MaxHP, STR, DEX...
+ *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP,
+ * STR, DEX...
*/
public void broadcastUserInfo()
{
@@ -4226,10 +4229,10 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Interact Task with another PlayerInstance. Actions :
+ * Manage Interact Task with another PlayerInstance. Actions:
*
If the private store is a STORE_PRIVATE_SELL, send a Server->Client PrivateBuyListSell packet to the PlayerInstance
*
If the private store is a STORE_PRIVATE_BUY, send a Server->Client PrivateBuyListBuy packet to the PlayerInstance
- *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
+ *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
* @param target The Creature targeted
*/
public void doInteract(Creature target)
@@ -4278,7 +4281,7 @@ public class PlayerInstance extends Playable
*
Send a Server->Client packet InventoryUpdate to this player with NewItem (use a new slot) or ModifiedItem (increase amount).
*
Send a Server->Client packet StatusUpdate to this player with current weight.
*
- * Caution: If a party is in progress, distribute the items between the party members!
+ * Caution: If a party is in progress, distribute the items between the party members!
* @param target the NPC dropping the item
* @param itemId the item ID
* @param itemCount the item count
@@ -4310,13 +4313,13 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Pickup Task. Actions :
+ * Manage Pickup Task. Actions:
*
Send a Server->Client packet StopMove to this PlayerInstance
*
Remove the ItemInstance from the world and send server->client GetItem packets
*
Send a System Message to the PlayerInstance : YOU_PICKED_UP_S1_ADENA or YOU_PICKED_UP_S1_S2
*
Add the Item to the PlayerInstance inventory
*
Send a Server->Client packet InventoryUpdate to this PlayerInstance with NewItem (use a new slot) or ModifiedItem (increase amount)
- *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution : If a Party is in progress, distribute Items between party members
+ *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution: If a Party is in progress, distribute Items between party members
* @param object The ItemInstance to pick up
*/
@Override
@@ -4580,7 +4583,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set a target. Actions :
+ * Set a target. Actions:
*
*
Remove the PlayerInstance from the _statusListener of the old target if it was a Creature
*
Add the PlayerInstance to the _statusListener of the new target if it's a Creature
@@ -4672,7 +4675,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon instance (always equiped in the right hand).
+ * Return the active weapon instance (always equipped in the right hand).
*/
@Override
public ItemInstance getActiveWeaponInstance()
@@ -4681,7 +4684,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon item (always equiped in the right hand).
+ * Return the active weapon item (always equipped in the right hand).
*/
@Override
public Weapon getActiveWeaponItem()
@@ -4758,7 +4761,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary weapon instance (always equiped in the left hand).
+ * Return the secondary weapon instance (always equipped in the left hand).
*/
@Override
public ItemInstance getSecondaryWeaponInstance()
@@ -4767,8 +4770,8 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary Item item (always equiped in the left hand).
- * Arrows, Shield..
+ * Return the secondary Item item (always equipped in the left hand).
+ * Arrows, Shield..
*/
@Override
public Item getSecondaryWeaponItem()
@@ -4782,12 +4785,12 @@ public class PlayerInstance extends Playable
}
/**
- * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions :
+ * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions:
*
Reduce the Experience of the PlayerInstance in function of the calculated Death Penalty
*
If necessary, unsummon the Pet of the killed PlayerInstance
*
Manage Karma gain for attacker and Karam loss for the killed PlayerInstance
*
If the killed PlayerInstance has Karma, manage Drop Item
- *
Kill the PlayerInstance
+ *
Kill the PlayerInstance
* @param killer
*/
@Override
@@ -5259,12 +5262,13 @@ public class PlayerInstance extends Playable
}
/**
- * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
- * Actions :
+ * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
+ *
+ * Actions:
*
Calculate the Experience loss
*
Set the value of _expBeforeDeath
*
Set the new Experience value of the PlayerInstance and Decrease its level if necessary
- *
Send a Server->Client StatusUpdate packet with its new Experience
+ *
Send a Server->Client StatusUpdate packet with its new Experience
* @param killer
*/
public void calculateDeathExpPenalty(Creature killer)
@@ -5316,7 +5320,7 @@ public class PlayerInstance extends Playable
}
/**
- * Stop the HP/MP/CP Regeneration task. Actions :
+ * Stop the HP/MP/CP Regeneration task. Actions:
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
*/
@@ -5662,13 +5666,13 @@ public class PlayerInstance extends Playable
}
/**
- * Set the Private Store type of the PlayerInstance. Values :
+ * Set the Private Store type of the PlayerInstance. Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @param privateStoreType
*/
public void setPrivateStoreType(PrivateStoreType privateStoreType)
@@ -5681,13 +5685,13 @@ public class PlayerInstance extends Playable
}
/**
- * Values :
+ * Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @return the Private Store type of the PlayerInstance.
*/
public PrivateStoreType getPrivateStoreType()
@@ -6405,11 +6409,11 @@ public class PlayerInstance extends Playable
}
/**
- * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions :
+ * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions:
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
*
Set the x,y,z position of the PlayerInstance and make it invisible
- *
Update the overloaded status of the PlayerInstance
+ *
Update the overloaded status of the PlayerInstance
* @param objectId Identifier of the object to initialized
* @return The PlayerInstance loaded from the database
*/
@@ -7306,10 +7310,10 @@ public class PlayerInstance extends Playable
}
/**
- * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept : All skills own by a PlayerInstance are identified in _skills Actions :
+ * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept: All skills own by a PlayerInstance are identified in _skills Actions:
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
- *
Add Func objects of newSkill to the calculator set of the Creature
+ *
Add Func objects of newSkill to the calculator set of the Creature
* @param newSkill The Skill to add to the Creature
* @param store
* @return The Skill replaced or null if just added a new Skill
@@ -7340,10 +7344,10 @@ public class PlayerInstance extends Playable
}
/**
- * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept : All skills own by a Creature are identified in _skills Actions :
+ * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept: All skills own by a Creature are identified in _skills Actions:
*
Remove the skill from the Creature _skills
- *
Remove all its Func objects from the Creature calculator set
Overridden in :
- *
PlayerInstance : Save update in the character_skills table of the database
+ *
Remove all its Func objects from the Creature calculator set
Overridden in:
+ *
PlayerInstance : Save update in the character_skills table of the database
* @param skill The Skill to remove from the Creature
* @return The Skill removed
*/
@@ -8045,7 +8049,8 @@ public class PlayerInstance extends Playable
/**
* Return True if the PlayerInstance is autoAttackable.
- * Actions:
+ *
+ * Actions:
*
*
Check if the attacker isn't the PlayerInstance Pet
*
Check if the attacker is MonsterInstance
@@ -8214,7 +8219,8 @@ public class PlayerInstance extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the skill isn't toggle and is offensive
*
Check if the target is in the skill cast range
@@ -8576,15 +8582,18 @@ public class PlayerInstance extends Playable
/**
* Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers.
- * Concept:
- * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
* In order to inform other players of this PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet
- * Actions:
+ *
+ * Actions:
*
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
*
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
*
- * Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
+ * Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
*/
@Override
public void updateAbnormalVisualEffects()
@@ -9411,7 +9420,7 @@ public class PlayerInstance extends Playable
}
/**
- * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
+ * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
* 2. This method no longer changes the active _classIndex of the player. This is only done by the calling of setActiveClass() method as that should be the only way to do so.
* @param classId
* @param classIndex
@@ -10590,7 +10599,8 @@ public class PlayerInstance extends Playable
/**
* Manage the delete task of a PlayerInstance (Leave Party, Unsummon pet, Save its inventory in the database, Remove it from the world...).
- * Actions:
+ *
+ * Actions:
*
*
If the PlayerInstance is in observer mode, set its position to its position before entering in observer mode
*
Set the online Flag to True or False and update the characters table of the database with online status and lastAccess
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
index d58c4a2344..1538e27eb0 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
@@ -31,7 +31,8 @@ public class RaidBossInstance extends MonsterInstance
/**
* Constructor of RaidBossInstance (use Creature and NpcInstance constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the RaidBossInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the RaidBossInstance
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
index 0746dde009..e66a7d8d7f 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
@@ -152,7 +152,8 @@ public class StaticObjectInstance extends Creature
/**
* Set the meshIndex of the object.
- * Values :
+ *
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
@@ -166,7 +167,7 @@ public class StaticObjectInstance extends Creature
}
/**
- * Values :
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
index 0a935e82db..f6b1fdd6c1 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
@@ -265,7 +265,8 @@ public class CreatureStat
/**
* Return the MAtk (base+modifier) of the Creature.
- * Example of use: Calculate Magic damage
+ *
+ * Example of use: Calculate Magic damage
* @return
*/
public int getMAtk()
@@ -290,7 +291,7 @@ public class CreatureStat
}
/**
- * Example of use : Calculate Magic damage.
+ * Example of use : Calculate Magic damage.
* @return the MDef (base+modifier) of the Creature against a skill in function of abnormal effects in progress.
*/
public int getMDef()
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
index a34f446f36..ecb6ca7cf2 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
@@ -57,11 +57,14 @@ public class CreatureStatus
/**
* Add the object to the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use:
+ *
+ * Example of use:
*
*
Target a PC or NPC
*
@@ -79,11 +82,14 @@ public class CreatureStatus
/**
* Remove the object from the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use :
+ *
+ * Example of use :
*
*
Untarget a PC or NPC
*
@@ -96,8 +102,10 @@ public class CreatureStatus
/**
* Return the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
* @return The list of Creature to inform or null if empty
@@ -188,7 +196,8 @@ public class CreatureStatus
/**
* Start the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Calculate the regen task period
*
Launch the HP/MP/CP Regeneration task with Medium priority
@@ -208,7 +217,8 @@ public class CreatureStatus
/**
* Stop the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/base/SubClass.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/base/SubClass.java
index 6e1b4abe48..8e382665f8 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/base/SubClass.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/base/SubClass.java
@@ -20,7 +20,7 @@ import org.l2jmobius.Config;
import org.l2jmobius.gameserver.data.xml.impl.ExperienceData;
/**
- * Character Sub-Class Definition
+ * Character Sub-Class Definition
* Used to store key information about a character's sub-class.
* @author Tempy
*/
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
index ee74925752..a54baee819 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
@@ -62,7 +62,7 @@ public abstract class AbstractEffect
/**
* Calculates whether this effects land or not.
* If it lands will be scheduled and added to the character effect list.
- * Override in effect implementation to change behavior.
+ * Override in effect implementation to change behavior.
* Warning: Must be used only for instant effects continuous effects will not call this they have their success handled by activate_rate.
* @param effector
* @param effected
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/entity/Castle.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/entity/Castle.java
index c0ec518a28..ce46b99bf1 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/entity/Castle.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/entity/Castle.java
@@ -615,8 +615,7 @@ public class Castle extends AbstractResidence
}
/**
- * Respawn all doors on castle grounds
- *
+ * Respawn all doors on castle grounds
* @param isDoorWeak
*/
public void spawnDoor(boolean isDoorWeak)
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/entity/Fort.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/entity/Fort.java
index 755bee3310..667c694f50 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/entity/Fort.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/entity/Fort.java
@@ -273,8 +273,7 @@ public class Fort extends AbstractResidence
}
/**
- * Move non clan members off fort area and to nearest town.
- *
+ * Move non clan members off fort area and to nearest town.
*/
public void banishForeigners()
{
@@ -516,8 +515,7 @@ public class Fort extends AbstractResidence
}
/**
- * Respawn all doors on fort grounds
- *
+ * Respawn all doors on fort grounds.
*/
public void resetDoors()
{
@@ -976,11 +974,10 @@ public class Fort extends AbstractResidence
}
/**
- * @return Returns state of fortress.
- *
- * 0 - not decided yet
- * 1 - independent
- * 2 - contracted with castle
+ * @return Returns state of fortress.
+ * 0 - not decided yet
+ * 1 - independent
+ * 2 - contracted with castle
*/
public int getFortState()
{
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/entity/FortSiege.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
index fe98f73d82..d4e5ae83b5 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
@@ -703,14 +703,14 @@ public class FortSiege implements Siegable
}
/**
- * Register clan as attacker.
+ * Register clan as attacker.
* @param player The PlayerInstance of the player trying to register.
* @param checkConditions True if should be checked conditions, false otherwise
- * @return Number that defines what happened.
- * 0 - Player don't have clan.
- * 1 - Player don't have enough adena to register.
- * 2 - Is not right time to register Fortress now.
- * 3 - Players clan is already registered to siege.
+ * @return Number that defines what happened.
+ * 0 - Player don't have clan.
+ * 1 - Player don't have enough adena to register.
+ * 2 - Is not right time to register Fortress now.
+ * 3 - Players clan is already registered to siege.
* 4 - Players clan is successfully registered to siege.
*/
public int addAttacker(PlayerInstance player, boolean checkConditions)
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/entity/Hero.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/entity/Hero.java
index 49b405d179..8c9bbb0bc0 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/entity/Hero.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/entity/Hero.java
@@ -866,7 +866,7 @@ public class Hero
}
/**
- * Saving task for {@link Hero}
+ * Saving task for {@link Hero}
* Save all hero messages to DB.
*/
public void shutdown()
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/entity/Siege.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/entity/Siege.java
index b1d13d42bd..e6c0812a5f 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/entity/Siege.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/entity/Siege.java
@@ -383,8 +383,7 @@ public class Siege implements Siegable
}
/**
- * When control of castle changed during siege
- *
+ * When control of castle changed during siege.
*/
public void midVictory()
{
@@ -470,8 +469,7 @@ public class Siege implements Siegable
}
/**
- * When siege starts
- *
+ * When siege starts.
*/
@Override
public void startSiege()
@@ -529,8 +527,7 @@ public class Siege implements Siegable
}
/**
- * Announce to player.
- *
+ * Announce to player.
* @param message The SystemMessage to send to player
* @param bothSides True - broadcast to both attackers and defenders. False - only to defenders.
*/
@@ -682,8 +679,7 @@ public class Siege implements Siegable
}
/**
- * Approve clan as defender for siege
- *
+ * Approve clan as defender for siege
* @param clanId The int of player's clan id
*/
public void approveSiegeDefenderClan(int clanId)
@@ -717,8 +713,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is attacker
- *
+ * Return true if clan is attacker
* @param clan The Clan of the player
*/
@Override
@@ -728,8 +723,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is defender
- *
+ * Return true if clan is defender
* @param clan The Clan of the player
*/
@Override
@@ -866,8 +860,7 @@ public class Siege implements Siegable
}
/**
- * Register clan as attacker
- *
+ * Register clan as attacker
* @param player The PlayerInstance of the player trying to register
*/
public void registerAttacker(PlayerInstance player)
@@ -948,8 +941,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clanId The int of player's clan id
*/
public void removeSiegeClan(int clanId)
@@ -975,8 +967,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clan clan being removed
*/
public void removeSiegeClan(Clan clan)
@@ -989,8 +980,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param player The PlayerInstance of player/clan being removed
*/
public void removeSiegeClan(PlayerInstance player)
@@ -999,8 +989,7 @@ public class Siege implements Siegable
}
/**
- * Start the auto tasks
- *
+ * Start the auto tasks.
*/
public void startAutoTask()
{
@@ -1073,8 +1062,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as attacker
- *
+ * Add clan as attacker
* @param clanId The int of clan's id
*/
private void addAttacker(int clanId)
@@ -1083,8 +1071,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender
- *
+ * Add clan as defender
* @param clanId The int of clan's id
*/
private void addDefender(int clanId)
@@ -1105,8 +1092,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender waiting approval
- *
+ * Add clan as defender waiting approval
* @param clanId The int of clan's id
*/
private void addDefenderWaiting(int clanId)
@@ -1198,8 +1184,7 @@ public class Siege implements Siegable
}
/**
- * Return the correct siege date as Calendar.
- *
+ * Return the correct siege date as Calendar.
*/
public void correctSiegeDateTime()
{
@@ -1348,8 +1333,7 @@ public class Siege implements Siegable
}
/**
- * Save registration to database.
- *
+ * Save registration to database.
* @param clan The Clan of player
* @param typeId -1 = owner 0 = defender, 1 = attacker, 2 = defender waiting
* @param isUpdateRegistration
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/events/AbstractScript.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
index 38414caafa..9319658828 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
@@ -3030,7 +3030,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param array of values.
* @return one value from array.
@@ -3046,7 +3046,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param list of values.
* @return one value from list.
@@ -3061,7 +3061,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param array of Integers.
* @return one Integer from array.
*/
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
index 0da0f1ff20..a4335762c0 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
@@ -53,7 +53,7 @@ public class PlayerSkillHolder implements ISkillsHolder
}
/**
- * Add a skill to the skills map.
+ * Add a skill to the skills map.
* @param skill
*/
@Override
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/instancezone/Instance.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
index 6603cc529b..6fdb98f39a 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
@@ -329,7 +329,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Get player by ID from instance.
+ * Get player by ID from instance.
* @param id objectId of player
* @return first player by ID, otherwise {@code null}
*/
@@ -803,7 +803,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Set reenter penalty for players associated with current instance.
+ * Set reenter penalty for players associated with current instance.
* @param time penalty time in milliseconds since January 1, 1970
*/
public void setReenterTime(long time)
@@ -860,8 +860,7 @@ public class Instance implements IIdentifiable, INamable
/**
* Set instance world to finish state.
- * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
- * See {@link Instance#finishInstance(int)} for more details.
+ * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
*/
public void finishInstance()
{
@@ -1016,7 +1015,7 @@ public class Instance implements IIdentifiable, INamable
// Template methods
// ----------------------------------------------
/**
- * Get parameters from instance template.
+ * Get parameters from instance template.
* @return template parameters
*/
public StatSet getTemplateParameters()
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
index 6ade0b3a7f..512d8243d5 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
@@ -999,7 +999,7 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Drop item from inventory by using its objectID and updates database
+ * Drop item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
@@ -1303,7 +1303,7 @@ public abstract class Inventory extends ItemContainer
/**
* Equips an item in the given slot of the paperdoll.
- * Remark : The item must be in the inventory already.
+ * Remark : The item must be in the inventory already.
* @param slot : int pointing out the slot of the paperdoll
* @param item : ItemInstance pointing out the item to add in slot
* @return ItemInstance designating the item placed in the slot before
@@ -1546,8 +1546,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in body slot and returns alterations.
- * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(long)} instead
+ * Unequips item in body slot and returns alterations.
+ * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(long)} instead
* @param slot : int designating the slot of the paperdoll
* @return ItemInstance[] : list of changes
*/
@@ -1577,8 +1577,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in slot and returns alterations
- * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
+ * Unequips item in slot and returns alterations
+ * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
* @param slot : int designating the slot
* @return ItemInstance[] : list of items altered
*/
@@ -1732,8 +1732,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Equips item and returns list of alterations
- * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
+ * Equips item and returns list of alterations
+ * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
* @param item : ItemInstance corresponding to the item
* @return ItemInstance[] : list of alterations
*/
@@ -2494,8 +2494,9 @@ public abstract class Inventory extends ItemContainer
/**
* Reduce the arrow number of the Creature.
- * Overridden in :
- *
PlayerInstance
+ *
+ * Overridden in:
+ *
PlayerInstance
* @param type
*/
public void reduceArrowCount(EtcItemType type)
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
index 2847ecdcd5..2e5f90dcee 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
@@ -530,7 +530,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its objectID and updates database
+ * Destroy item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -545,7 +545,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its itemId and updates database
+ * Destroy item from inventory by using its itemId and updates database
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
index 0a9e6cc66d..5d3bed530d 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
@@ -113,7 +113,7 @@ public class PetInventory extends Inventory
public void restore()
{
super.restore();
- // check for equiped items from other pets
+ // check for equipped items from other pets
for (ItemInstance item : _items.values())
{
if (item.isEquipped() && !item.getItem().checkCondition(_owner, _owner, false))
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
index ccf7bbc0d6..dd03785a1a 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
@@ -586,7 +586,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
+ * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -632,7 +632,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
+ * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/items/Item.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/items/Item.java
index dce5b41a29..8bc69ec806 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/items/Item.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/items/Item.java
@@ -58,7 +58,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
/**
- * This class contains all informations concerning the item (weapon, armor, etc).
+ * This class contains all informations concerning the item (weapon, armor, etc).
* Mother class of :
*
*
Armor
@@ -178,8 +178,7 @@ public abstract class Item extends ListenersContainer implements IIdentifiable
private int _artifactSlot;
/**
- * Constructor of the Item that fill class variables.
- *
+ * Constructor of the Item that fill class variables.
* @param set : StatSet corresponding to a set of couples (key,value) for description of the item
*/
protected Item(StatSet set)
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
index ffea6dc3ea..bf2b368ddb 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.items.type.CrystalType;
import org.l2jmobius.gameserver.model.items.type.ItemType;
/**
- * This class contains ItemInstance
+ * This class contains ItemInstance
* Use to sort ItemInstance of :
*
*
Armor
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
index e737011a13..b8adfdbe4e 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
@@ -266,19 +266,15 @@ public class ItemInstance extends WorldObject
}
/**
- * Remove a ItemInstance from the world and send server->client GetItem packets.
- *
- * Actions :
- *
+ * Remove a ItemInstance from the world and send server->client GetItem packets.
+ *
+ * Actions:
*
Send a Server->Client Packet GetItem to player that pick up and its _knowPlayers member
- *
Remove the WorldObject from the world
- *
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- *
- * Example of use :
- *
- *
Do Pickup Item : PCInstance and Pet
- *
+ *
Remove the WorldObject from the world
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ *
+ * Example of use:
+ *
Do Pickup Item : PCInstance and Pet
* @param creature Character that pick up the item
*/
public void pickupMe(Creature creature)
@@ -409,9 +405,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the location of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the location of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param loc : ItemLocation (enumeration)
* @param locData : int designating the slot where the item is stored or the village for freights
*/
@@ -440,8 +435,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
+ * Sets the quantity of the item.
* @param count the new count to set
*/
public void setCount(long count)
@@ -464,9 +458,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the quantity of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param process : String Identifier of process triggering this action
* @param count : int
* @param creator : PlayerInstance Player requesting the item creation
@@ -1478,7 +1471,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
*/
public void updateDatabase()
{
@@ -1486,7 +1479,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
* @param force if the update should necessarilly be done.
*/
public void updateDatabase(boolean force)
@@ -1522,20 +1515,17 @@ public class ItemInstance extends WorldObject
}
/**
- * Init a dropped ItemInstance and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a dropped ItemInstance and add it in the world as a visible object.
+ *
+ * Actions:
*
Set the x,y,z position of the ItemInstance dropped and update its _worldregion
*
Add the ItemInstance dropped to _visibleObjects of its WorldRegion
- *
Add the ItemInstance dropped in the world as a visible object
- *
- * Caution : This method DOESN'T ADD the object to _allObjects of World
- *
- * Example of use :
- *
+ *
Add the ItemInstance dropped in the world as a visible object
+ * Caution: This method DOESN'T ADD the object to _allObjects of World
+ *
+ * Example of use:
*
Drop item
- *
Call Pet
+ *
Call Pet
*/
public class ItemDropTask implements Runnable
{
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/quest/Quest.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/quest/Quest.java
index ca367f5957..086b0ad979 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/quest/Quest.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/quest/Quest.java
@@ -1000,7 +1000,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever a player attacks an NPC that is registered for the quest.
- * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
+ * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
* @param npc this parameter contains a reference to the exact instance of the NPC that got attacked.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked the NPC.
* @param damage this parameter represents the total damage that this attack has inflicted to the NPC.
@@ -1137,7 +1137,7 @@ public class Quest extends AbstractScript implements IIdentifiable
* The coder of the script may need to create a new quest state (if necessary).
* Note 3:
* The returned value of onFirstTalk replaces the default HTML that would have otherwise been loaded from a sub-folder of DatapackRoot/game/data/html/.
- * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
+ * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
* @param npc this parameter contains a reference to the exact instance of the NPC that the player is talking with.
* @param player this parameter contains a reference to the exact instance of the player who is talking to the NPC.
* @return the text returned by the event (may be {@code null}, a filename or just text)
@@ -1264,7 +1264,7 @@ public class Quest extends AbstractScript implements IIdentifiable
}
/**
- * This function is called whenever an NPC is teleport.
+ * This function is called whenever an NPC is teleport.
* @param npc this parameter contains a reference to the exact instance of the NPC who just teleport.
*/
protected void onTeleport(Npc npc)
@@ -1274,7 +1274,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever an NPC is called by another NPC in the same faction.
* @param npc this parameter contains a reference to the exact instance of the NPC who is being asked for help.
- * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
+ * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked.
* @param isSummon this parameter if it's {@code false} it denotes that the attacker was indeed the player, else it specifies that the attacker was the player's summon.
* @return
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
index 4522c70776..f4eb3a055f 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
@@ -695,7 +695,7 @@ public class SkillCaster implements Runnable
}
/**
- * Stops this casting and cleans all cast parameters.
+ * Stops this casting and cleans all cast parameters.
* @param aborted if {@code true}, server will send packets to the player, notifying him that the skill has been aborted.
*/
public void stopCasting(boolean aborted)
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/stats/Formulas.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/stats/Formulas.java
index 57bb765173..2b3c7f4b23 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/stats/Formulas.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/stats/Formulas.java
@@ -550,7 +550,7 @@ public class Formulas
* Returns:
* 0 = shield defense doesn't succeed
* 1 = shield defense succeed
- * 2 = perfect block
+ * 2 = perfect block
* @param attacker
* @param target
* @param sendSysMsg
@@ -655,7 +655,7 @@ public class Formulas
}
/**
- * Calculates the effect landing success.
+ * Calculates the effect landing success.
* @param attacker the attacker
* @param target the target
* @param skill the skill
@@ -963,9 +963,9 @@ public class Formulas
}
/**
- * Calculates the attribute bonus with the following formula:
- * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
- * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
+ * Calculates the attribute bonus with the following formula:
+ * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
+ * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
* diff == 0, so AttBonus = 1
* It has been tested that physical skills do get affected by attack attribute even
* if they don't have any attribute. In that case only the biggest attack attribute is taken.
@@ -1207,7 +1207,7 @@ public class Formulas
* Confuse
* Compelling,
* Knockback
- * Pull
+ * Pull
* @param baseChance chance from effect parameter
* @param attacker
* @param target
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
index 2988807295..c621fab8f6 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
* A Function object is a component of a Calculator created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...).
* In fact, each calculator is a table of functions object in which each function represents a mathematics function:
* FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
+ * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
* Indeed, functions with lowest priority order is executed first and functions with the same order are executed in unspecified order.
* @author Zoey76
*/
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
index 1cb8bc9d02..d898d2c397 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
@@ -71,7 +71,7 @@ public class TaxZone extends ZoneType
}
/**
- * Gets castle associated with tax zone.
+ * Gets castle associated with tax zone.
* @return instance of {@link Castle} if found otherwise {@code null}
*/
public Castle getCastle()
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
index ca7f8d6d99..dee0ea769d 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
@@ -55,8 +55,8 @@ public class BlowFishKeygen
}
/**
- * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
- * Thus when getting a key with interests other then read-only a copy must be performed.
+ * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
+ * Thus when getting a key with interests other then read-only a copy must be performed.
* @return A key from this keygen pool.
*/
public static byte[] getRandomKey()
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
index 76cbc0bd16..07a9c4190d 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
@@ -496,7 +496,7 @@ public class RequestAcquireSkill implements IClientIncomingPacket
/**
* Perform a simple check for current player and skill.
* Takes the needed SP if the skill require it and all requirements are meet.
- * Consume required items if the skill require it and all requirements are meet.
+ * Consume required items if the skill require it and all requirements are meet.
* @param player the skill learning player.
* @param trainer the skills teaching Npc.
* @param skillLearn the skill to be learn.
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
index 16624b7447..0f8f2ab22f 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
@@ -96,7 +96,7 @@ public class RequestDestroyItem implements IClientIncomingPacket
// if we can't find the requested item, its actually a cheat
if (itemToRemove == null)
{
- // gm can destroy other player items
+ // GM can destroy other player items
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
index 183ca83e49..1df78a5548 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
@@ -49,7 +49,7 @@ public class RequestGMCommand implements IClientIncomingPacket
@Override
public void run(GameClient client)
{
- // prevent non gm or low level GMs from vieweing player stuff
+ // prevent non GM or low level GMs from vieweing player stuff
if (!client.getPlayer().isGM() || !client.getPlayer().getAccessLevel().allowAltG())
{
return;
@@ -99,7 +99,7 @@ public class RequestGMCommand implements IClientIncomingPacket
}
case 6: // player warehouse
{
- // gm warehouse view to be implemented
+ // GM warehouse view to be implemented
if (player != null)
{
client.sendPacket(new GMViewWarehouseWithdrawList(1, player));
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/clientpackets/RequestRecipeShopMakeItem.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/clientpackets/RequestRecipeShopMakeItem.java
index 3733099b85..59b592c754 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/clientpackets/RequestRecipeShopMakeItem.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/clientpackets/RequestRecipeShopMakeItem.java
@@ -34,7 +34,7 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.Util;
/**
- * It appears you are able to successfully create from manufacture store while casting, while in manufacture store and within 250 range. So basic checks
+ * It appears you are able to successfully create from manufacture store while casting, while in manufacture store and within 250 range. So basic checks
* from your own recipe list crafting are skipped. With the exception of trading, if you request trade, it is cancelled, if you are already trading, you get message.
* @author Nik
*/
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
index eca0524711..0cde588f5a 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
@@ -90,7 +90,7 @@ public class UseItem implements IClientIncomingPacket
final ItemInstance item = player.getInventory().getItemByObjectId(_objectId);
if (item == null)
{
- // gm can use other player item
+ // GM can use other player item
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
index d19f06f141..f4f0c5ca81 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.network.OutgoingPackets;
import org.l2jmobius.gameserver.network.clientpackets.RequestAllyInfo;
/**
- * Sent in response to {@link RequestAllyInfo}, if applicable.
+ * Sent in response to {@link RequestAllyInfo}, if applicable.
* @author afk5min
*/
public class AllianceInfo implements IClientOutgoingPacket
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
index 80a7042463..1fd7ec663a 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
@@ -20,9 +20,9 @@ import org.l2jmobius.commons.network.PacketWriter;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Eva's Inferno event packet. info params:
- * type (1 - %, 2 - npcId),
- * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
+ * Eva's Inferno event packet. info params:
+ * type (1 - %, 2 - npcId),
+ * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
* state (0-1), endtime (only when type 2)
*/
public class ExBrBuffEventState implements IClientOutgoingPacket
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
index 00cc64147b..ba6bb59e06 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
@@ -141,7 +141,7 @@ public interface IClientOutgoingPacket extends IOutgoingPacket
}
/**
- * Sends this packet to the target player, useful for lambda operations like
+ * Sends this packet to the target player, useful for lambda operations like
* {@code World.getInstance().getPlayers().forEach(packet::sendTo)}
* @param player
*/
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
index 1a0c26e078..7fd8a52be7 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
@@ -24,25 +24,25 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Attacker List in the SiegeInfo Window
- *
- * c = ca
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Attackers Clans?
- * d = Number of Attackers Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Attacker List in the SiegeInfo Window
+ *
+ * c = ca
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Attackers Clans?
+ * d = Number of Attackers Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeAttackerList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
index 7066b92fa1..52e10be7c6 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
@@ -25,26 +25,26 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Defender List in the SiegeInfo Window
- *
- * c = 0xcb
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Defending Clans?
- * d = Number of Defending Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Defender List in the SiegeInfo Window
+ *
+ * c = 0xcb
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Defending Clans?
+ * d = Number of Defending Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeDefenderList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
index 355cea9565..6c647eec90 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
@@ -27,18 +27,18 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Shows the Siege Info
- *
- * c = c9
- * d = CastleID
- * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
- * d = Owner ClanID
- * S = Owner ClanName
- * S = Owner Clan LeaderName
- * d = Owner AllyID
- * S = Owner AllyName
- * d = current time (seconds)
- * d = Siege time (seconds) (0 for selectable)
+ * Shows the Siege Info
+ *
+ * c = c9
+ * d = CastleID
+ * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
+ * d = Owner ClanID
+ * S = Owner ClanName
+ * S = Owner Clan LeaderName
+ * d = Owner AllyID
+ * S = Owner AllyName
+ * d = current time (seconds)
+ * d = Siege time (seconds) (0 for selectable)
* d = (UNKNOW) Siege Time Select Related?
* @author KenM
*/
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/scripting/ManagedScript.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
index f2b91791ab..00235baa25 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
@@ -21,7 +21,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
/**
- * Abstract class for classes that are meant to be implemented by scripts.
+ * Abstract class for classes that are meant to be implemented by scripts.
* @author KenM
*/
public abstract class ManagedScript
@@ -41,7 +41,7 @@ public abstract class ManagedScript
public abstract Path getScriptPath();
/**
- * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
+ * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
* Subclasses of this class should override this method to properly refresh their bindings when necessary.
* @return true if and only if the script was reloaded, false otherwise.
*/
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
index 34ba313686..620f020f4e 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
@@ -77,7 +77,7 @@ public class AttackStanceTaskManager
}
/**
- * Checks for attack stance task.
+ * Checks for attack stance task.
* @param actor the actor
* @return {@code true} if the character has an attack stance task, {@code false} otherwise
*/
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/ui/frmAbout.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/ui/frmAbout.java
index a3e5c2cc67..4d161afb73 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/ui/frmAbout.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/ui/frmAbout.java
@@ -83,7 +83,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblProtocols);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 128, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/util/Broadcast.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/util/Broadcast.java
index e0d798deff..5a7eb1a4df 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/util/Broadcast.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/util/Broadcast.java
@@ -40,11 +40,13 @@ public class Broadcast
private static final Logger LOGGER = Logger.getLogger(Broadcast.class.getName());
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -60,11 +62,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -108,11 +112,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
* @param radius
@@ -128,10 +134,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param creature
* @param mov
*/
@@ -162,10 +170,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance present in the world.
- * Concept :
- * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance present in the world.
+ *
+ * Concept:
+ *
+ * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param packet
*/
public static void toAllOnlinePlayers(IClientOutgoingPacket packet)
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/util/MinionList.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/util/MinionList.java
index 29a8c04c1e..9a6f694eaa 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/util/MinionList.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/util/MinionList.java
@@ -58,13 +58,11 @@ public class MinionList
}
/**
- * Manage the spawn of Minions.
- *
- * Actions :
- *
+ * Manage the spawn of Minions.
+ *
+ * Actions:
*
Get the Minion data of all Minions that must be spawn
- *
For each Minion type, spawn the amount of Minion needed
- *
+ *
For each Minion type, spawn the amount of Minion needed
* @param minions
*/
public void spawnMinions(List minions)
@@ -260,16 +258,14 @@ public class MinionList
}
/**
- * Init a Minion and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a Minion and add it in the world as a visible object.
+ *
+ * Actions:
*
Get the template of the Minion to spawn
*
Create and Init the Minion and generate its Identifier
*
Set the Minion HP, MP and Heading
*
Set the Minion leader to this RaidBoss
- *
Init the position of the Minion and add it in the world as a visible object
- *
+ *
Init the position of the Minion and add it in the world as a visible object
* @param master MonsterInstance used as master for this minion
* @param minionId The NpcTemplate Identifier of the Minion to spawn
* @return
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/util/PrimeFinder.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/util/PrimeFinder.java
index c9532000c8..20016811a1 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/util/PrimeFinder.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/util/PrimeFinder.java
@@ -33,7 +33,7 @@ import java.util.Arrays;
public class PrimeFinder
{
/**
- * The largest prime this class can generate; currently equal to Integer.MAX_VALUE.
+ * The largest prime this class can generate; currently equal to Integer.MAX_VALUE
*/
public static final int LARGEST_PRIME = Integer.MAX_VALUE; // yes, it is prime.
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
index 2e46e0a048..0a81e323a3 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
@@ -67,8 +67,7 @@ public class TimeAmountInterpreter
}
/**
- * Appends an user-friendly description of the given amount of time to the specified text builder.
- *
+ * Appends an user-friendly description of the given amount of time to the specified text builder.
* Please keep in mind, that this method is primarily designed to be used with heap text builders. Therefore, if the given text builder throws an {@link IOException}, this exception will be wrapped in a {@link RuntimeException} and returned to the caller as an unchecked exception.
* @param
* @param textBuilder a character sequence builder
diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/loginserver/ui/frmAbout.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/loginserver/ui/frmAbout.java
index 8488868090..06a5d95539 100644
--- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/loginserver/ui/frmAbout.java
+++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/loginserver/ui/frmAbout.java
@@ -75,7 +75,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblLoginServer);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 148, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/bosses/LimitBarrier.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/bosses/LimitBarrier.java
index ab5d8f37e8..51826d3e56 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/bosses/LimitBarrier.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/ai/bosses/LimitBarrier.java
@@ -37,7 +37,7 @@ import ai.AbstractNpcAI;
* OK - Epic Bosses Orfen, Queen Ant and Core also use Limit Barrier.
* OK - Epic Bosses Antharas, Zaken and Baium and their analogues in instance zones do not use Limit Barrier.
* OK - Raid Bosses in instances do not use Limit Barrier.
- * OK - All Raid Bosses who use Limit Barrier are listed below:
+ * OK - All Raid Bosses who use Limit Barrier are listed below:
*/
public final class LimitBarrier extends AbstractNpcAI
{
diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/custom/listeners/ListenerTest.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/custom/listeners/ListenerTest.java
index 0f855db33f..ed9d1c76f4 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/custom/listeners/ListenerTest.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/custom/listeners/ListenerTest.java
@@ -114,7 +114,7 @@ public class ListenerTest extends AbstractNpcAI
}
/**
- * Prioritized event notification
+ * Prioritized event notification
* This method will be invoked as soon as creature from level range between 1 and 10 dies.
* This listener is registered into individual npcs container.
* @param event
diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
index 4185463b7a..a20f09c9cd 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
@@ -26,18 +26,15 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
public class ArtefactInstanceAction implements IActionHandler
{
/**
- * Manage actions when a player click on the ArtefactInstance.
- *
- * Actions :
- *
+ * Manage actions when a player click on the ArtefactInstance.
+ *
+ * Actions:
*
Set the NpcInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
- *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
*/
@Override
public boolean action(PlayerInstance player, WorldObject target, boolean interact)
diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
index bb73cd0bae..1f204280f0 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
@@ -36,27 +36,22 @@ import org.l2jmobius.gameserver.network.serverpackets.MoveToPawn;
public class NpcAction implements IActionHandler
{
/**
- * Manage actions when a player click on the Npc.
- *
- * Actions on first click on the Npc (Select it) :
- *
+ * Manage actions when a player click on the Npc.
+ *
+ * Actions on first click on the Npc (Select it):
*
Set the Npc as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, send a Server->Client packet StatusUpdate to the PlayerInstance in order to update Npc HP bar
- *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
- *
- * Actions on second click on the Npc (Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
+ *
+ * Actions on second click on the Npc (Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, notify the PlayerInstance AI with AI_INTENTION_ATTACK (after a height verification)
- *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
- *
- * Caution : Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
+ * Caution: Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The PlayerInstance that start an action on the Npc
*/
@Override
diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
index 28aa39ab39..d52da54398 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
@@ -31,25 +31,20 @@ public class PlayerInstanceAction implements IActionHandler
private static final int CURSED_WEAPON_VICTIM_MIN_LEVEL = 21;
/**
- * Manage actions when a player click on this PlayerInstance.
- *
- * Actions on first click on the PlayerInstance (Select it) :
- *
+ * Manage actions when a player click on this PlayerInstance.
+ *
+ * Actions on first click on the PlayerInstance (Select it):
*
Set the target of the player
- *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
- *
- * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
+ *
+ * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the player (display the select window)
*
If target PlayerInstance has a Private Store, notify the player AI with AI_INTENTION_INTERACT
- *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
- *
- *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
+ *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The player that start an action on target PlayerInstance
*/
@Override
diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
index 20a4e8f57c..6da5c01385 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
@@ -29,7 +29,7 @@ public class PlayerInstanceActionShift implements IActionShiftHandler
{
if (player.isGM())
{
- // Check if the gm already target this l2pcinstance
+ // Check if the GM already target this l2pcinstance
if (player.getTarget() != target)
{
// Set the target of the PlayerInstance player
diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
index ea73fa17a1..1aa5e5074a 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
@@ -86,13 +86,13 @@ public class AdminAdmin implements IAdminCommandHandler
else if (command.startsWith("admin_gmliston"))
{
AdminData.getInstance().showGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Registered into gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Registered into GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_gmlistoff"))
{
AdminData.getInstance().hideGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Removed from gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Removed from GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_silence"))
diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
index 2efc2df69a..3fed3db486 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
@@ -486,7 +486,7 @@ public class AdminEventEngine implements IAdminCommandHandler
sb.append("
");
sb.append("
");
sb.append("
");
- sb.append("
");
+ sb.append("
");
sb.append("Teams' names:
");
for (int i = 1; (i - 1) < teamnumbers; i++) // Team names params
{
diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
index 5e3fc05aa9..91259505bf 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
@@ -31,7 +31,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
/**
- * This class handles following admin commands: - gm = turns gm mode on/off
+ * This class handles following admin commands: - GM = turns GM mode on/off
* @version $Revision: 1.1.2.1 $ $Date: 2005/03/15 21:32:48 $
*/
public class AdminFightCalculator implements IAdminCommandHandler
diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
index a32a84dd35..e9acb6a1f6 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles following admin commands: - gm = turns gm mode off
+ * This class handles following admin commands: - GM = turns GM mode off
* @version $Revision: 1.2.4.4 $ $Date: 2005/04/11 10:06:06 $
*/
public class AdminGm implements IAdminCommandHandler
diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
index 364bba90a9..f0b2f857a4 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles commands for gm to forge packets
+ * This class handles commands for GM to forge packets
* @author Maktakien, HorridoJoho
*/
public class AdminPForge implements IAdminCommandHandler
diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
index 28f00ac888..4df604f52e 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
@@ -30,14 +30,14 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * Pledge Manipulation:
- *
With target in a character without clan:
+ * Pledge Manipulation:
+ *
With target in a character without clan:
* //pledge create clanname
- *
With target in a clan leader:
- * //pledge info
- * //pledge dismiss
- * //pledge setlevel level
- * //pledge rep reputation_points
+ *
With target in a clan leader:
+ * //pledge info
+ * //pledge dismiss
+ * //pledge setlevel level
+ * //pledge rep reputation_points
*/
public class AdminPledge implements IAdminCommandHandler
{
diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
index 7ce1bd303d..b872456e17 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
@@ -78,8 +78,9 @@ public class QuestLink implements IBypassHandler
/**
* Open a choose quest window on client with all quests available of the NpcInstance.
+ *
* Actions:
- *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
+ *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
* @param player The PlayerInstance that talk with the NpcInstance
* @param npc The table containing quests of the NpcInstance
* @param quests
@@ -231,6 +232,7 @@ public class QuestLink implements IBypassHandler
/**
* Open a quest window on client with the text of the NpcInstance.
+ *
* Actions:
*
*
Get the text of the quest state in the folder data/scripts/quests/questId/stateId.htm
Fly Radius means the distance between starting point and final point, it must be an integer.
*
Fly Course means the movement direction: imagine a compass above player's head, making north player's heading. So if fly course is 180, player will go backwards (good for blink, e.g.).
*
- * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
+ * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
* If target is effector, put in XML self="1", this will make _actor = getEffector(). This, combined with target type, allows more complex actions like flying target's backwards or player's backwards.
* @author DrHouse
*/
diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
index ca935396a6..e4e937ef41 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.network.serverpackets.ValidateLocation;
/**
* This Blink effect switches the location of the caster and the target.
- * This effect is totally done based on client description.
+ * This effect is totally done based on client description.
* Assume that geodata checks are done on the skill cast and not needed to repeat here.
* @author Nik
*/
diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
index 0f1802d986..00474ef88a 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.effects.EffectFlag;
import org.l2jmobius.gameserver.model.effects.EffectType;
/**
- * An effect that blocks the player (NPC?) control.
+ * An effect that blocks the player (NPC?) control.
* It prevents moving, casting, social actions, etc.
* @author Nik
*/
diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
index 6b463fd9d2..f94ecb0b46 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
@@ -21,7 +21,7 @@ import org.l2jmobius.gameserver.model.effects.AbstractEffect;
import org.l2jmobius.gameserver.model.effects.EffectFlag;
/**
- * Effect that blocks damage and heals to HP/MP.
+ * Effect that blocks damage and heals to HP/MP.
* Regeneration or DOT shouldn't be blocked, Vampiric Rage and Balance Life as well.
* @author Nik
*/
diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
index 3d8985d1d8..0cc43483f5 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
/**
* An effect that changes damage taken from an attack.
- * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
+ * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
* Exceptions for this effect appears to be DOT effects and terrain damage, they are unaffected by this stat.
* As for example in retail this effect does reduce reflected damage taken (because it is received damage), as well as it does not decrease reflected damage done,
* because reflected damage is being calculated with the original attack damage and not this altered one.
diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
index a4808a3312..5624fe4e60 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
@@ -34,10 +34,10 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
- * Current formulas were tested to be the best matching retail, damage appears to be identical:
- * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
- * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
+ * Physical Attack effect implementation.
+ * Current formulas were tested to be the best matching retail, damage appears to be identical:
+ * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
+ * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
* @author Nik
*/
public class PhysicalAttack extends AbstractEffect
diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
index 332fa3fa4f..17f093e386 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
index 34e643a5b1..4f29f685f7 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
index e1c554d674..92d5fb7d96 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.zone.ZoneId;
/**
* Not Friend affect object implementation. Based on Gracia Final retail tests.
* Such are considered flagged/karma players (except party/clan/ally). Doesn't matter if in command channel.
- * In arena such are considered clan/ally/command channel (except party).
+ * In arena such are considered clan/ally/command channel (except party).
* In peace zone such are considered monsters.
* Monsters consider such all players, npcs (Citizens, Guild Masters, Merchants, Guards, etc. except monsters). Doesn't matter if in peace zone or arena.
* @author Nik
diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/AbstractInstance.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/AbstractInstance.java
index 3b5bd2eb53..d1d6a86735 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/AbstractInstance.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/instances/AbstractInstance.java
@@ -62,7 +62,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Get instance world associated with {@code player}.
+ * Get instance world associated with {@code player}.
* @param player player who wants get instance world
* @return instance world if found, otherwise null
*/
@@ -229,8 +229,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Sets instance to finish state.
- * See {@link Instance#finishInstance()} for more details.
+ * Sets instance to finish state.
* @param player player used for determine current instance world
*/
protected void finishInstance(PlayerInstance player)
@@ -244,7 +243,6 @@ public abstract class AbstractInstance extends AbstractNpcAI
/**
* Sets instance to finish state.
- * See {@link Instance#finishInstance(int)} for more details.
* @param player player used for determine current instance world
* @param delay finish delay in minutes
*/
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
index 93028744ee..aa8ac8f064 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
@@ -1232,8 +1232,7 @@ public class BlowfishEngine
/**
* Method to encrypt the block at the given index.
- * The encrypted block goes to the destination array at the given index.
- *
+ * The encrypted block goes to the destination array at the given index.
* @param src source array with the plain data
* @param srcIndex index where the block to encrypt is located
* @param dst destination array the encryption will go to
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/GameTimeController.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/GameTimeController.java
index 131fb28d3d..aa4d359090 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/GameTimeController.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/GameTimeController.java
@@ -118,10 +118,13 @@ public class GameTimeController extends Thread
}
/**
- * Move all Creatures contained in movingObjects of GameTimeController.
- * Concept :
- * All Creature in movement are identified in movingObjects of GameTimeController.
- * Actions :
+ * Move all Creatures contained in movingObjects of GameTimeController.
+ *
+ * Concept:
+ *
+ * All Creature in movement are identified in movingObjects of GameTimeController.
+ *
+ * Actions:
*
*
Update the position of each Creature
*
If movement is finished, the Creature is removed from movingObjects
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/LoginServerThread.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/LoginServerThread.java
index bafacc7045..39bf2b4f51 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/LoginServerThread.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/LoginServerThread.java
@@ -95,7 +95,6 @@ public class LoginServerThread extends Thread
* The BlowFish engine used to encrypt packets
* It is first initialized with a unified key:
* "_;v.]05-31!|+-%xT!^[$\00"
- *
* and then after handshake, with a new key sent by
* login server during the handshake. This new key is stored
* in blowfishKey
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/Shutdown.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/Shutdown.java
index 7ced9a191b..e81e4222dc 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/Shutdown.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/Shutdown.java
@@ -232,7 +232,7 @@ public class Shutdown extends Thread
}
else
{
- // gm shutdown: send warnings and then call exit to start shutdown sequence
+ // GM shutdown: send warnings and then call exit to start shutdown sequence
countdown();
// last point where logging is operational :(
LOGGER.warning("GM shutdown countdown is over. " + MODE_TEXT[_shutdownMode] + " NOW!");
@@ -538,7 +538,7 @@ public class Shutdown extends Thread
}
/**
- * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
+ * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
* @return instance of Shutdown, to be used as shutdown hook
*/
public static Shutdown getInstance()
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/ai/AbstractAI.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/ai/AbstractAI.java
index 95f441a5d6..c544548976 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/ai/AbstractAI.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/ai/AbstractAI.java
@@ -45,7 +45,7 @@ import org.l2jmobius.gameserver.taskmanager.AttackStanceTaskManager;
/**
* Mother class of all objects AI in the world.
- * AbastractAI :
+ * AbastractAI:
*
CreatureAI
*/
public abstract class AbstractAI implements Ctrl
@@ -126,10 +126,10 @@ public abstract class AbstractAI implements Ctrl
/**
* Set the Intention of this AbstractAI.
- * Caution : This method is USED by AI classes
- * Overridden in :
- * AttackableAI : Create an AI Task executed every 1s (if necessary)
- * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
+ * Caution: This method is USED by AI classes
+ * Overridden in:
+ * AttackableAI : Create an AI Task executed every 1s (if necessary)
+ * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -141,7 +141,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
*/
@Override
@@ -152,7 +152,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
* @param args The first parameters of the Intention (optional target)
*/
@@ -225,7 +225,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onEvt method corresponding to the Event.
- * Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
*/
@Override
@@ -235,7 +235,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
*/
@@ -246,7 +246,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
* @param arg1 The second parameter of the Event (optional target)
@@ -419,7 +419,7 @@ public abstract class AbstractAI implements Ctrl
protected abstract void onEvtFinishCasting();
/**
- * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution : Low level function, used by AI subclasses
+ * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution: Low level function, used by AI subclasses
*/
protected void clientActionFailed()
{
@@ -430,8 +430,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param pawn
* @param offset
*/
@@ -514,8 +514,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param x
* @param y
* @param z
@@ -542,8 +542,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param loc
*/
public void clientStopMoving(Location loc)
@@ -591,8 +591,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
public void clientStartAutoAttack()
{
@@ -632,8 +632,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
void clientStopAutoAttack()
{
@@ -661,8 +661,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
protected void clientNotifyDead()
{
@@ -679,7 +679,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Update the state of this actor client side by sending Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance player.
- * Caution : Low level function, used by AI subclasses
+ * Caution: Low level function, used by AI subclasses
* @param player The PlayerIstance to notify with state of this Creature
*/
public void describeStateToPlayer(PlayerInstance player)
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/ai/AttackableAI.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/ai/AttackableAI.java
index 28bb61cbff..6075092cb6 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/ai/AttackableAI.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/ai/AttackableAI.java
@@ -212,7 +212,7 @@ public class AttackableAI extends CreatureAI
/**
* Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
- * Caution : If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
+ * Caution: If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -317,7 +317,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update every 1s the _globalAggro counter to come close to 0
*
If the actor is Aggressive and can attack, add all autoAttackable Creature in its Aggro Range to its _aggroList, chose a target and order to attack it
@@ -612,7 +612,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update the attack timeout if actor is running
*
If target is dead or timeout is expired, stop this attack and set the Intention to AI_INTENTION_ACTIVE
@@ -1237,7 +1237,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Attacked.
- * Actions :
+ *
+ * Actions:
*
*
Init the attack : Calculate the attack timeout, Set the _globalAggro to 0, Add the attacker to the actor _aggroList
*
Set the Creature movement type to run and send Server->Client packet ChangeMoveType to all others PlayerInstance
@@ -1301,7 +1302,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Aggression.
- * Actions :
+ *
+ * Actions:
*
*
Add the target to the actor _aggroList or update hate if already present
*
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/ai/CreatureAI.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/ai/CreatureAI.java
index aeb15558db..a5b0347ce9 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/ai/CreatureAI.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/ai/CreatureAI.java
@@ -139,7 +139,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Idle Intention : Stop Attack, Movement and Stand Up the actor.
- * Actions :
+ *
+ * Actions:
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
Init cast and attack target
@@ -164,7 +165,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Active Intention : Stop Attack, Movement and Launch Think Event.
- * Actions : if the Intention is not already Active
+ *
+ * Actions : if the Intention is not already Active
*
*
Set the AI Intention to AI_INTENTION_ACTIVE
*
Init cast and attack target
@@ -195,7 +197,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Rest Intention.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
@@ -209,7 +212,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Attack Intention : Stop current Attack (if necessary), Start a new Attack and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_ATTACK
@@ -217,7 +221,8 @@ public class CreatureAI extends AbstractAI
*
Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast)
*
Launch the Think Event
*
- * Overridden in :
+ *
+ * Overridden in:
*
*
AttackableAI : Calculate attack timeout
*
@@ -281,7 +286,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Cast Intention : Stop current Attack, Init the AI in order to cast and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI cast target
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
@@ -331,7 +337,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
@@ -370,7 +377,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Follow Intention : Stop current Attack and Launch a Follow Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_FOLLOW
@@ -427,7 +435,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the PickUp Intention : Set the pick up target and Launch a Move To Pawn Task (offset=20).
- * Actions :
+ *
+ * Actions :
*
*
Set the AI pick up target
*
Set the Intention of this AI to AI_INTENTION_PICK_UP
@@ -476,7 +485,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Interact Intention : Set the interact target and Launch a Move To Pawn Task (offset=60).
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the AI interact target
@@ -537,7 +547,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Stunned then onAttacked Event.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
@@ -565,7 +576,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Rooted.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -588,7 +600,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Confused.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -606,7 +619,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Muted.
- * Actions :
+ *
+ * Actions:
*
*
Break a cast and send Server->Client ActionFailed packet and a System Message to the Creature
*
@@ -629,7 +643,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -643,7 +658,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Arrived.
- * Actions :
+ *
+ * Actions:
*
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
*
Launch actions corresponding to the Event Think
@@ -686,7 +702,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedRevalidate.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -700,7 +717,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedBlocked.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
@@ -725,7 +743,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ForgetObject.
- * Actions :
+ *
+ * Actions:
*
*
If the object was targeted and the Intention was AI_INTENTION_INTERACT or AI_INTENTION_PICK_UP, set the Intention to AI_INTENTION_ACTIVE
*
If the object was targeted to attack, stop the auto-attack, cancel target and set the Intention to AI_INTENTION_ACTIVE
@@ -781,7 +800,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -806,7 +826,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Dead.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast)
@@ -829,7 +850,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Fake Death.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
@@ -910,13 +932,15 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move to Pawn action in function of the distance and of the Interact area.
- * Actions :
+ *
+ * Actions:
*
*
Get the distance between the current position of the Creature and the target (x,y)
*
If the distance > offset+20, move the actor (by running) to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast)
*
If the distance <= offset+20, Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1017,13 +1041,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost or dead.
- * Actions : If the target is lost or dead
+ *
+ * Actions : If the target is lost or dead
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1050,13 +1076,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost.
- * Actions : If the target is lost
+ *
+ * Actions : If the target is lost
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/ai/PlayerAI.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/ai/PlayerAI.java
index 1af86289ec..72cd985005 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/ai/PlayerAI.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/ai/PlayerAI.java
@@ -90,7 +90,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -109,7 +110,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -124,7 +126,7 @@ public class PlayerAI extends PlayableAI
/**
* Finalize the casting of a skill. This method overrides CreatureAI method.
- * What it does:
+ * What it does:
* Check if actual intention is set to CAST and, if so, retrieves latest intention before the actual CAST and set it as the current intention for the player.
*/
@Override
@@ -197,7 +199,8 @@ public class PlayerAI extends PlayableAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
index a6c22e57af..dcfcbb433f 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
@@ -158,7 +158,7 @@ public class AdminData implements IXmlReader
AdminCommandAccessRight acar = _adminCommandAccessRights.get(adminCommand);
if (acar == null)
{
- // Trying to avoid the spam for next time when the gm would try to use the same command
+ // Trying to avoid the spam for next time when the GM would try to use the same command
if ((accessLevel.getLevel() > 0) && (accessLevel.getLevel() == _highestLevel))
{
acar = new AdminCommandAccessRight(adminCommand, true, accessLevel.getLevel());
@@ -341,7 +341,7 @@ public class AdminData implements IXmlReader
/**
* Gets the single instance of AdminTable.
- * @return AccessLevels: the one and only instance of this class
+ * @return AccessLevels: the one and only instance of this class
*/
public static AdminData getInstance()
{
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
index e4557a04c9..4a34a0986d 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
@@ -63,7 +63,7 @@ import org.l2jmobius.gameserver.model.skills.Skill;
* Here can be found the following skill trees:
*
*
Class skill trees: player skill trees for each class.
- *
Transfer skill trees: player skill trees for each healer class.
+ *
Transfer skill trees: player skill trees for each healer class.
*
Collect skill tree: player skill tree for Gracia related skills.
*
Fishing skill tree: player skill tree for fishing related skills.
*
Transform skill tree: player skill tree for transformation related skills.
@@ -464,7 +464,7 @@ public class SkillTreeData implements IXmlReader
}
/**
- * Gets the race skill tree.
+ * Gets the race skill tree.
* @param race the race skill tree Id
* @return the complete race Skill Tree for a given {@code Race}
*/
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/datatables/BotReportTable.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
index 470dfb2f55..51ea973332 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
@@ -206,7 +206,7 @@ public class BotReportTable
}
/**
- * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
+ * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
* @param reporter (PlayerInstance who issued the report)
* @return True, if the report was registered, False otherwise
*/
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/datatables/ItemTable.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/datatables/ItemTable.java
index 569bf7eea4..ffbc08a6d9 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/datatables/ItemTable.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/datatables/ItemTable.java
@@ -198,10 +198,10 @@ public class ItemTable
}
/**
- * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions :
+ * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions:
*
Create and Init the ItemInstance corresponding to the Item Identifier and quantity
*
Add the ItemInstance object to _allObjects of L2world
- *
Logs Item creation according to log settings
+ *
Logs Item creation according to log settings
* @param process : String Identifier of process triggering this action
* @param itemId : int Item Identifier of the item to be created
* @param count : int Quantity of items to be created for stackable items
@@ -307,7 +307,8 @@ public class ItemTable
/**
* Destroys the ItemInstance.
- * Actions :
+ *
+ * Actions:
*
*
Sets ItemInstance parameters to be unusable
*
Removes the ItemInstance object to _allObjects of L2world
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/enums/BasicProperty.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/enums/BasicProperty.java
index 77a2a7a477..1e5cac18dd 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/enums/BasicProperty.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/enums/BasicProperty.java
@@ -17,17 +17,17 @@
package org.l2jmobius.gameserver.enums;
/**
- * Basic property type of skills.
- * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
- * After, only 3 types are used: physical, magic and none.
- *
- * Quote from Juji:
- * ----------------------------------------------------------------------
- * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
- * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
- * ----------------------------------------------------------------------
- * All other are considered with no basic property aka NONE.
- *
+ * Basic property type of skills.
+ * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
+ * After, only 3 types are used: physical, magic and none.
+ *
+ * Quote from Juji:
+ * ----------------------------------------------------------------------
+ * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
+ * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
+ * ----------------------------------------------------------------------
+ * All other are considered with no basic property aka NONE.
+ *
* @author Nik
*/
public enum BasicProperty
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/handler/ItemHandler.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/handler/ItemHandler.java
index 939d8263da..a815f2646e 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/handler/ItemHandler.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/handler/ItemHandler.java
@@ -38,10 +38,9 @@ public class ItemHandler implements IHandler
}
/**
- * Adds handler of item type in datatable.
- *
- * Concept :
- * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
+ * Adds handler of item type in datatable.
+ * Concept :
+ * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
* @param handler (IItemHandler)
*/
@Override
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
index 7d6c13d3b9..b510fdc4ee 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
@@ -456,7 +456,7 @@ public class InstanceManager implements IXmlReader
}
/**
- * Register instance world.
+ * Register instance world.
* @param instance instance which should be registered
*/
public void register(Instance instance)
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/AccessLevel.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/AccessLevel.java
index ced434ddda..2dac00e406 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/AccessLevel.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/AccessLevel.java
@@ -87,9 +87,8 @@ public class AccessLevel
}
/**
- * Returns the access level
- *
- * @return int: access level
+ * Returns the access level
+ * @return int: access level
*/
public int getLevel()
{
@@ -97,9 +96,8 @@ public class AccessLevel
}
/**
- * Returns the access level name
- *
- * @return String: access level name
+ * Returns the access level name
+ * @return String: access level name
*/
public String getName()
{
@@ -107,9 +105,8 @@ public class AccessLevel
}
/**
- * Returns the name color of the access level
- *
- * @return int: the name color for the access level
+ * Returns the name color of the access level
+ * @return int: the name color for the access level
*/
public int getNameColor()
{
@@ -117,9 +114,8 @@ public class AccessLevel
}
/**
- * Returns the title color color of the access level
- *
- * @return int: the title color for the access level
+ * Returns the title color color of the access level
+ * @return int: the title color for the access level
*/
public int getTitleColor()
{
@@ -127,9 +123,8 @@ public class AccessLevel
}
/**
- * Retuns if the access level has gm access or not
- *
- * @return boolean: true if access level have gm access, otherwise false
+ * Retuns if the access level has GM access or not
+ * @return boolean: true if access level have GM access, otherwise false
*/
public boolean isGm()
{
@@ -137,9 +132,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to attack in peace zone or not
- *
- * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
+ * Returns if the access level is allowed to attack in peace zone or not
+ * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
*/
public boolean allowPeaceAttack()
{
@@ -147,9 +141,8 @@ public class AccessLevel
}
/**
- * Retruns if the access level is allowed to use fixed res or not
- *
- * @return true if the access level is allowed to use fixed res, otherwise false
+ * Retruns if the access level is allowed to use fixed res or not
+ * @return true if the access level is allowed to use fixed res, otherwise false
*/
public boolean allowFixedRes()
{
@@ -157,9 +150,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to perform transactions or not
- *
- * @return boolean: true if access level is allowed to perform transactions, otherwise false
+ * Returns if the access level is allowed to perform transactions or not
+ * @return boolean: true if access level is allowed to perform transactions, otherwise false
*/
public boolean allowTransaction()
{
@@ -167,9 +159,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to use AltG commands or not
- *
- * @return boolean: true if access level is allowed to use AltG commands, otherwise false
+ * Returns if the access level is allowed to use AltG commands or not
+ * @return boolean: true if access level is allowed to use AltG commands, otherwise false
*/
public boolean allowAltG()
{
@@ -177,9 +168,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can give damage or not
- *
- * @return boolean: true if the access level can give damage, otherwise false
+ * Returns if the access level can give damage or not
+ * @return boolean: true if the access level can give damage, otherwise false
*/
public boolean canGiveDamage()
{
@@ -187,9 +177,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can take aggro or not
- *
- * @return boolean: true if the access level can take aggro, otherwise false
+ * Returns if the access level can take aggro or not
+ * @return boolean: true if the access level can take aggro, otherwise false
*/
public boolean canTakeAggro()
{
@@ -197,9 +186,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can gain exp or not
- *
- * @return boolean: true if the access level can gain exp, otherwise false
+ * Returns if the access level can gain exp or not
+ * @return boolean: true if the access level can gain exp, otherwise false
*/
public boolean canGainExp()
{
@@ -207,9 +195,9 @@ public class AccessLevel
}
/**
- * Returns if the access level contains allowedAccess as child
- * @param accessLevel as AccessLevel
- * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
+ * Returns if the access level contains allowedAccess as child
+ * @param accessLevel as AccessLevel
+ * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
*/
public boolean hasChildAccess(AccessLevel accessLevel)
{
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/EffectList.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/EffectList.java
index 72d713b173..78596bd21e 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/EffectList.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/EffectList.java
@@ -159,7 +159,7 @@ public class EffectList
}
/**
- * Verifies if this effect list contains the given skill ID.
+ * Verifies if this effect list contains the given skill ID.
* @param skillId the skill ID to verify
* @return {@code true} if the skill ID is present in the effect list (includes active and passive effects), {@code false} otherwise
*/
@@ -179,7 +179,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param type the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching the specified {@code AbnormalType}, {@code false} otherwise
*/
@@ -189,7 +189,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param types the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching one of the specified {@code AbnormalType}s, {@code false} otherwise
*/
@@ -421,7 +421,7 @@ public class EffectList
}
/**
- * Exit all effects having a specified flag.
+ * Exit all effects having a specified flag.
* @param effectFlag the flag of the effect to stop
*/
public void stopEffects(EffectFlag effectFlag)
@@ -438,7 +438,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, Skill)}
+ * {@link #stopSkillEffects(boolean, Skill)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skillId the skill ID
*/
@@ -457,7 +457,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, int)}
+ * {@link #stopSkillEffects(boolean, int)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skill the skill
*/
@@ -483,7 +483,7 @@ public class EffectList
}
/**
- * Exits all effects created by a specific skill {@code AbnormalType}s.
+ * Exits all effects created by a specific skill {@code AbnormalType}s.
* @param types the skill {@code AbnormalType}s to be checked and removed.
* @return {@code true} if there was any {@code BuffInfo} with one of the given {@code AbnormalType}s, {@code false} otherwise
*/
@@ -498,7 +498,7 @@ public class EffectList
}
/**
- * Exits all effects matched by a specific filter.
+ * Exits all effects matched by a specific filter.
* @param filter any filter to apply when selecting which {@code BuffInfo}s to be removed.
* @param update update effect flags and icons after the operation finishes.
* @param broadcast {@code true} to broadcast update packets if updating, {@code false} otherwise.
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/Party.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/Party.java
index 6d345309b7..23ed172e75 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/Party.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/Party.java
@@ -141,7 +141,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Set invitation process flag and store time for expiration.
+ * Set invitation process flag and store time for expiration.
* Happens when a player joins party or declines to join.
* @param value the pending invitation state to set
*/
@@ -272,8 +272,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Send a Server->Client packet to all other PlayerInstance of the Party.
- *
+ * Send a Server->Client packet to all other PlayerInstance of the Party.
* @param player
* @param msg
*/
@@ -819,12 +818,12 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
- *
- * Actions :
+ * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
+ *
+ * Actions:
*
Get the PlayerInstance owner of the ServitorInstance (if necessary)
*
Calculate the Experience and SP reward distribution rate
- *
Add Experience and SP to the PlayerInstance
+ *
Add Experience and SP to the PlayerInstance
* @param xpReward The Experience reward to distribute
* @param spReward The SP reward to distribute
* @param rewardedMembers The list of PlayerInstance to reward
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/Spawn.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/Spawn.java
index e9068a0b5f..9f8d6a075f 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/Spawn.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/Spawn.java
@@ -41,7 +41,7 @@ import org.l2jmobius.gameserver.util.Util;
/**
* This class manages the spawn and respawn of a group of NpcInstance that are in the same are and have the same type.
- * Concept:
+ * Concept:
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
* @author Nightmare
@@ -78,13 +78,16 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Constructor of Spawn.
- * Concept:
+ *
+ * Concept:
+ *
* Each Spawn owns generic and static properties (ex : RewardExp, RewardSP, AggroRange...).
* All of those properties are stored in a different NpcTemplate for each type of Spawn. Each template is loaded once in the server cache memory (reduce memory use).
* When a new instance of Spawn is created, server just create a link between the instance and the template.
- * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
- * This link is stored in _spawn of the NpcInstance.
- * Actions:
+ * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
+ * This link is stored in _spawn of the NpcInstance.
+ *
+ * Actions:
*
*
Set the _template of the Spawn
*
Calculate the implementationName used to generate the generic constructor of NpcInstance managed by this Spawn
@@ -227,11 +230,11 @@ public class Spawn extends Location implements IIdentifiable, INamable
}
/**
- * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions :
+ * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions:
*
Decrease the current number of NpcInstance of this Spawn
*
Check if respawn is possible to prevent multiple respawning caused by lag
*
Update the current number of SpawnTask in progress or stand by of this Spawn
- *
Create a new SpawnTask to launch after the respawn Delay
Caution : A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
+ *
Create a new SpawnTask to launch after the respawn Delay
Caution: A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
* @param oldNpc
*/
public void decreaseCount(Npc oldNpc)
@@ -305,10 +308,13 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Create the NpcInstance, add it to the world and lauch its OnSpawn action.
- * Concept:
+ *
+ * Concept:
+ *
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
- * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
+ *
+ * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
*
*
Get NpcInstance Init parameters and its generate an Identifier
*
Call the constructor of the NpcInstance
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/World.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/World.java
index 0b8cd8b4f1..09579e901c 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/World.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/World.java
@@ -132,7 +132,8 @@ public class World
/**
* Adds an object to the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Withdraw an item from the warehouse, create an item
*
Spawn a Creature (PC, NPC, Pet)
@@ -172,7 +173,8 @@ public class World
/**
* Removes an object from the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Delete item from inventory, transfer Item from inventory to warehouse
*
Crystallize item
@@ -209,7 +211,7 @@ public class World
}
/**
- * Example of use:
+ * Example of use:
*
@@ -251,7 +253,7 @@ public class World
}
/**
- * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
+ * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
* @param name Name of the player to get Instance
* @return the player instance corresponding to the given name.
*/
@@ -299,18 +301,18 @@ public class World
}
/**
- * Add a WorldObject in the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Add a WorldObject in the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Add the WorldObject object in _allPlayers* of World
*
Add the WorldObject object in _gmList** of GmListTable
- *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
- * * only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstanceCaution : This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
- * Caution : This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use :
+ *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
+ * * only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstanceCaution: This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
+ * Caution: This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use:
*
Drop an Item
*
Spawn a Creature
- *
Apply Death Penalty of a PlayerInstance
+ *
Apply Death Penalty of a PlayerInstance
* @param object L2object to add in the world
* @param newRegion WorldRegion in wich the object will be add (not used)
*/
@@ -382,16 +384,16 @@ public class World
}
/**
- * Remove a WorldObject from the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Remove a WorldObject from the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Remove the WorldObject object from _allPlayers* of World
*
Remove the WorldObject object from _visibleObjects and _allPlayers* of WorldRegion
*
Remove the WorldObject object from _gmList** of GmListTable
- *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution : This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstance Example of use :
+ *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution: This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstance Example of use:
*
Pickup an Item
- *
Decay a Creature
+ *
Decay a Creature
* @param object L2object to remove from the world
* @param oldRegion WorldRegion in which the object was before removing
*/
@@ -690,9 +692,9 @@ public class World
}
/**
- * Calculate the current WorldRegions of the object according to its position (x,y). Example of use :
+ * Calculate the current WorldRegions of the object according to its position (x,y). Example of use:
*
Set position of a new WorldObject (drop, spawn...)
- *
Update position of a WorldObject after a movement
+ *
Update position of a WorldObject after a movement
* @param object the object
* @return
*/
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/WorldObject.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/WorldObject.java
index 63e719d10f..adc7402c47 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/WorldObject.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/WorldObject.java
@@ -670,7 +670,7 @@ public abstract class WorldObject extends ListenersContainer implements IIdentif
}
/**
- * Sets instance for current object by instance ID.
+ * Sets instance for current object by instance ID.
* @param id ID of instance world which should be set (0 means normal world)
*/
public void setInstanceById(int id)
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/WorldRegion.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/WorldRegion.java
index 4a166d2b8a..25ada44e59 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/WorldRegion.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/WorldRegion.java
@@ -195,8 +195,8 @@ public class WorldRegion
}
/**
- * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
- * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
+ * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
+ * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
* @param object
*/
public void addVisibleObject(WorldObject object)
@@ -216,7 +216,7 @@ public class WorldRegion
}
/**
- * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
+ * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
* @param object
*/
public void removeVisibleObject(WorldObject object)
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 a5c0b1be01..b8ca085ee2 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
@@ -1047,7 +1047,7 @@ public class Attackable extends Npc
* During a Special Event all Attackable can drop extra Items.
* Those extra Items are defined in the table allNpcDateDrops of the EventDroplist.
* Each Special Event has a start and end date to stop to drop extra Items automatically.
- * Actions: If an extra drop must be generated
+ * Actions: If an extra drop must be generated
* Get an Item Identifier (random) from the DateDrop Item table of this Event.
* Get the Item quantity dropped (random).
* Create this or these ItemInstance corresponding to this Item Identifier.
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/Creature.java
index 8a5bf7a10b..188bbc6d0f 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/Creature.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/Creature.java
@@ -167,7 +167,6 @@ import org.l2jmobius.gameserver.util.Util;
*
Trap
*
Vehicle
*
- *
* Concept of CreatureTemplate:
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
@@ -295,11 +294,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Constructor of Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature. Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
- * Actions:
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
+ *
+ * Actions:
*
*
Set the _template of the Creature
*
Set _overloaded to false (the character can take more items)
@@ -542,8 +544,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Remove the Creature from the world when the decay task is launched.
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
public void onDecay()
{
@@ -603,8 +605,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
*/
@@ -621,8 +625,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the radius (max knownlist radius) from the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
* @param radiusInKnownlist
@@ -678,12 +684,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send the Server->Client packet StatusUpdate with current HP and MP to all other PlayerInstance to inform.
- * Actions:
+ *
+ * Actions:
*
*
Create the Server->Client packet StatusUpdate with current HP and MP
*
Send the Server->Client packet StatusUpdate with current HP and MP to all Creature called _statusListener that must be informed of HP/MP updates of this Creature
*
- * Caution: This method DOESN'T SEND CP information
+ * Caution: This method DOESN'T SEND CP information
* @param caster
*/
public void broadcastStatusUpdate(Creature caster)
@@ -714,7 +721,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Teleport a Creature and its pet if necessary.
- * Actions:
+ *
+ * Actions:
*
*
Stop the movement of the Creature
*
Set the x,y,z position of the WorldObject and if necessary modify its _worldRegion
@@ -883,7 +891,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a physical attack against a target (Simple, Bow, Pole or Dual).
- * Actions:
+ *
+ * Actions:
*
*
Get the active weapon (always equipped in the right hand)
*
If weapon is a bow, check for arrows, MP and bow re-use delay (if necessary, equip the PlayerInstance with arrows in left hand)
@@ -1274,7 +1283,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Manage the casting task (casting and interrupt time, re-use delay...) and display the casting bar and animation on client.
- * Actions:
+ *
+ * Actions:
*
*
Verify the possibility of the the cast : skill is a spell, caster isn't muted...
*
Get the list of all targets (ex : area effects) and define the Creature targeted (its stats will be used in calculation)
@@ -1564,7 +1574,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Kill the Creature.
- * Actions:
+ *
+ * Actions:
*
*
Set target to null and cancel Attack or Cast
*
Stop movement
@@ -2191,11 +2202,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Set the template of the Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
* Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
* @param template
*/
protected final void setTemplate(CreatureTemplate template)
@@ -2372,7 +2385,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop a specified/all Fake Death abnormal Effect.
- * Actions:
+ *
+ * Actions:
*
*
Delete a specified/all (if effect=null) Fake Death abnormal Effect from Creature and update client magic icon
*
Set the abnormal effect flag _fake_death to False
@@ -2400,7 +2414,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Stop all block actions (stun) effects.
+ * Stop all block actions (stun) effects.
* @param removeEffects {@code true} removes all block actions effects, {@code false} only notifies AI to think.
*/
public void stopStunning(boolean removeEffects)
@@ -2418,7 +2432,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop Effect: Transformation.
- * Actions:
+ *
+ * Actions:
*
*
Remove Transformation Effect
*
Notify the Creature AI
@@ -2447,7 +2462,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Updates the visual abnormal state of this character.
+ * Updates the visual abnormal state of this character.
*/
public void updateAbnormalVisualEffects()
{
@@ -2456,9 +2471,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update active skills in progress (In Use and Not In Use because stacked) icons on client.
- * Concept:
+ *
+ * Concept:
+ *
* All active skills effects in progress (In Use and Not In Use because stacked) are represented by an icon on the client.
- * Caution : This method ONLY UPDATE the client of the player and not clients of all players in the party.
+ * Caution: This method ONLY UPDATE the client of the player and not clients of all players in the party.
*/
public void updateEffectIcons()
{
@@ -2492,7 +2509,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* This class group all movement data.
- * Data :
+ *
+ * Data:
*
*
_moveTimestamp : Last time position update
*
_xDestination, _yDestination, _zDestination : Position of the destination
@@ -2785,7 +2803,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * @return True if the Creature is travelling a calculated path.
+ * @return True if the Creature is traveling a calculated path.
*/
public boolean isOnGeodataPath()
{
@@ -2895,16 +2913,18 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update the position of the Creature during a movement and return True if the movement is finished.
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
* When the movement is started (ex : by MovetoLocation), this method will be called each 0.1 sec to estimate and update the Creature position on the server.
* Note, that the current server position can differe from the current client position even if each movement is straight foward.
* That's why, client send regularly a Client->Server ValidatePosition packet to eventually correct the gap on the server.
* But, it's always the server position that is used in range calculation. At the end of the estimated movement time,
* the Creature position is automatically set to the destination position even if the movement is not finished.
- * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
- * But x and y positions must be calculated to avoid that players try to modify their movement speed.
+ * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
+ * But x and y positions must be calculated to avoid that players try to modify their movement speed.
* @return True if the movement is finished
*/
public boolean updatePosition()
@@ -3072,14 +3092,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop movement of the Creature (Called by AI Accessor only).
- * Actions:
+ *
+ * Actions:
*
*
Delete movement data of the Creature
*
Set the current position (x,y,z), its current WorldRegion if necessary and its heading
*
Remove the WorldObject object from _gmList of GmListTable
*
Remove object from _knownObjects and _knownPlayer of all surrounding WorldRegion Creatures
*
- * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
+ * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
* @param loc
*/
public void stopMove(Location loc)
@@ -3116,9 +3137,12 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Target a WorldObject (add the target to the Creature _target, _knownObject and Creature to _KnownObject of the WorldObject).
- * Concept:
- * The WorldObject (including Creature) targeted is identified in _target of the Creature.
- * Actions:
+ *
+ * Concept:
+ *
+ * The WorldObject (including Creature) targeted is identified in _target of the Creature.
+ *
+ * Actions:
*
*
Set the _target of Creature to WorldObject
*
If necessary, add WorldObject to _knownObject of the Creature
@@ -3161,11 +3185,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Calculate movement data for a move to location action and add the Creature to movingObjects of GameTimeController (only called by AI Accessor).
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
- * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
- * Actions:
+ * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
+ *
+ * Actions:
*
*
Get current position of the Creature
*
Calculate distance (dx,dy) between current position and destination including offset
@@ -3174,8 +3201,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
*
Add the Creature to movingObjects of the GameTimeController
*
Create a task to notify the AI that Creature arrives at a check point of the movement
*
- * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
- * Example of use:
+ * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
+ *
+ * Example of use:
*
*
AI : onIntentionMoveTo(Location), onIntentionPickUp(WorldObject), onIntentionInteract(WorldObject)
*
FollowTask
@@ -3579,7 +3607,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
* @return True if arrows are available.
* @param type
@@ -3591,9 +3619,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add Exp and Sp to the Creature.
- * Overridden in :
+ *
+ * Overridden in:
*
PlayerInstance
- *
PetInstance
+ *
PetInstance
* @param addToExp
* @param addToSp
*/
@@ -3603,36 +3632,37 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon instance (always equiped in the right hand).
+ * @return the active weapon instance (always equipped in the right hand).
*/
public abstract ItemInstance getActiveWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon item (always equiped in the right hand).
+ * @return the active weapon item (always equipped in the right hand).
*/
public abstract Weapon getActiveWeaponItem();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary weapon instance (always equiped in the left hand).
+ * @return the secondary weapon instance (always equipped in the left hand).
*/
public abstract ItemInstance getSecondaryWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary {@link Item} item (always equiped in the left hand).
+ * @return the secondary {@link Item} item (always equipped in the left hand).
*/
public abstract Item getSecondaryWeaponItem();
/**
* Manage hit process (called by Hit Task).
- * Actions:
+ *
+ * Actions:
*
*
If the attacker/target is dead or use fake death, notify the AI with EVT_CANCEL and send a Server->Client packet ActionFailed (if attacker is a PlayerInstance)
*
If attack isn't aborted, send a message system (critical hit, missed...) to attacker/target if they are PlayerInstance
If Creature or target is in a town area, send a system message TARGET_IN_PEACEZONE a Server->Client packet ActionFailed
*
If target is confused, send a Server->Client packet ActionFailed
@@ -3952,15 +3983,19 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add a skill to the Creature _skills and its Func objects to the calculator set of the Creature.
- * Concept:
- * All skills own by a Creature are identified in _skills
- * Actions:
+ *
+ * Concept:
+ *
+ * All skills own by a Creature are identified in _skills
+ *
+ * Actions:
*
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
*
Add Func objects of newSkill to the calculator set of the Creature
*
- * Overridden in:
+ *
+ * Overridden in:
*
*
PlayerInstance : Save update in the character_skills table of the database
*
@@ -5251,7 +5286,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
+ * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
* @param range
*/
public void initSeenCreatures(int range)
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/Npc.java
index 9f444d25d3..935b46f424 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/Npc.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/Npc.java
@@ -158,7 +158,8 @@ public class Npc extends Creature
/**
* Constructor of NpcInstance (use Creature constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the Creature (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the Creature
@@ -578,7 +579,8 @@ public class Npc extends Creature
/**
* Open a quest or chat window on client with the text of the NpcInstance in function of the command.
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : RequestBypassToServer
*
@@ -638,11 +640,11 @@ public class Npc extends Creature
}
/**
- * :
+ * :
*
- *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
- *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
- *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
+ *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
+ *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
+ *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -705,7 +707,8 @@ public class Npc extends Creature
/**
* Open a chat window on client with the text of the NpcInstance.
- * Actions:
+ *
+ * Actions:
*
*
Get the text of the selected HTML file in function of the npcId and of the page number
*
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
@@ -865,7 +868,8 @@ public class Npc extends Creature
/**
* Kill the NpcInstance (the corpse disappeared after 7 seconds).
- * Actions:
+ *
+ * Actions:
*
*
Create a DecayTask to remove the corpse of the NpcInstance after 7 seconds
*
Set target to null and cancel Attack or Cast
@@ -1091,14 +1095,15 @@ public class Npc extends Creature
/**
* Remove the NpcInstance from the world and update its spawn object (for a complete removal use the deleteMe method).
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world when the decay task is launched
*
Decrease its spawn counter
*
Manage Siege task (killFlag, killCT)
*
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
@Override
public void onDecay()
@@ -1137,13 +1142,14 @@ public class Npc extends Creature
/**
* Remove PROPERLY the NpcInstance from the world.
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world and update its spawn object
*
Remove all WorldObject from _knownObjects and _knownPlayer of the NpcInstance then cancel Attack or Cast and notify AI
*
Remove WorldObject object from _allObjects of World
*
- * Caution: This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T SEND Server->Client packets to players
* UnAfraid: TODO: Add Listener here
*/
@Override
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/Playable.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/Playable.java
index 622442ab2e..750bdba19c 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/Playable.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/Playable.java
@@ -52,7 +52,8 @@ public abstract class Playable extends Creature
/**
* Constructor of Playable.
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and link copy basic Calculator set to this Playable
*
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/Summon.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/Summon.java
index c2bca015fb..34eb558e47 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/Summon.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/Summon.java
@@ -588,7 +588,8 @@ public abstract class Summon extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the target is correct
*
Check if the target is in the skill cast range
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
index 5af1884bac..ba0920369e 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
@@ -24,21 +24,19 @@ import org.l2jmobius.gameserver.model.skills.Skill;
import org.l2jmobius.gameserver.network.serverpackets.ActionFailed;
/**
- * This class manages all Castle Siege Artefacts.
- *
+ * This class manages all Castle Siege Artefacts.
+ *
* @version $Revision: 1.11.2.1.2.7 $ $Date: 2005/04/06 16:13:40 $
*/
public class ArtefactInstance extends Npc
{
/**
- * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
- *
- * Actions :
- *
+ * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
+ *
+ * Actions:
*
Call the Creature constructor to set the _template of the ArtefactInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the ArtefactInstance
- *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
- *
+ *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
* @param template to apply to the NPC
*/
public ArtefactInstance(NpcTemplate template)
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 5f34d57abe..d359c8335b 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
@@ -36,7 +36,8 @@ public class GuardInstance extends Attackable
{
/**
* Constructor of GuardInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the GuardInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the GuardInstance
@@ -100,10 +101,11 @@ public class GuardInstance extends Attackable
/**
* Return the pathfile of the selected HTML file in function of the GuardInstance Identifier and of the page number.
- * Format of the pathfile :
+ *
+ * Format of the pathfile:
*
- *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
- *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
+ *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
+ *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -125,19 +127,22 @@ public class GuardInstance extends Attackable
/**
* Manage actions when a player click on the GuardInstance.
- * Actions on first click on the GuardInstance (Select it) :
+ *
+ * Actions on first click on the GuardInstance (Select it):
*
*
Set the GuardInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
Set the PlayerInstance Intention to AI_INTENTION_IDLE
*
Send a Server->Client packet ValidateLocation to correct the GuardInstance position and heading on the client
*
- * Actions on second click on the GuardInstance (Attack it/Interact with it) :
+ *
+ * Actions on second click on the GuardInstance (Attack it/Interact with it):
*
*
If PlayerInstance is in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_ATTACK
*
If PlayerInstance is NOT in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_INTERACT (after a distance verification) and show message
*
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : Action, AttackRequest
*
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
index 2b71cdcfe3..bee6060aec 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
@@ -43,7 +43,8 @@ public class MonsterInstance extends Attackable
/**
* Constructor of MonsterInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the MonsterInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the MonsterInstance
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
index 96d217da08..e399a38dad 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
@@ -122,7 +122,7 @@ public class PetInstance extends Summon
}
/**
- * Manage Feeding Task.
+ * Manage Feeding Task.
* Feed or kill the pet depending on hunger level.
* If pet has food in inventory and feed level drops below 55% then consume food from inventory.
* Send a broadcastStatusUpdate packet for this PetInstance
@@ -418,7 +418,7 @@ public class PetInstance extends Summon
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -1136,8 +1136,7 @@ public class PetInstance extends Summon
}
/**
- * Restore the specified % of experience this PetInstance has lost.
- *
+ * Restore the specified % of experience this PetInstance has lost.
* @param restorePercent
*/
public void restoreExp(double restorePercent)
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
index 1ba51da0a3..bf7c37c7e4 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
@@ -896,7 +896,8 @@ public class PlayerInstance extends Playable
/**
* Create a new PlayerInstance and add it in the characters table of the database.
- * Actions :
+ *
+ * Actions:
*
*
Create a new PlayerInstance with an account name
*
Set the name, the Hair Style, the Hair Color and the Face type of the PlayerInstance
@@ -1087,7 +1088,8 @@ public class PlayerInstance extends Playable
/**
* Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world (call restore method).
- * Actions :
+ *
+ * Actions:
*
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
@@ -1114,12 +1116,13 @@ public class PlayerInstance extends Playable
/**
* Constructor of PlayerInstance (use Creature constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and copy basic Calculator set to this PlayerInstance
*
Set the name of the PlayerInstance
*
- * Caution : This method SET the level of the PlayerInstance to 1
+ * Caution: This method SET the level of the PlayerInstance to 1
* @param objectId Identifier of the object to initialized
* @param template The PlayerTemplate to apply to the PlayerInstance
* @param accountName The name of the account including this PlayerInstance
@@ -2484,7 +2487,7 @@ public class PlayerInstance extends Playable
}
/**
- * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
+ * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
*/
public void regiveTemporarySkills()
{
@@ -3418,7 +3421,7 @@ public class PlayerInstance extends Playable
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -3659,7 +3662,7 @@ public class PlayerInstance extends Playable
}
/**
- * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : long Quantity of items to be dropped
@@ -3926,9 +3929,9 @@ public class PlayerInstance extends Playable
}
/**
- * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions :
- *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
- *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution : This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
+ * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions:
+ *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
+ *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution: This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
*/
@Override
public void broadcastStatusUpdate(Creature caster)
@@ -3995,11 +3998,11 @@ public class PlayerInstance extends Playable
}
/**
- * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept : Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
- * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions :
+ * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept: Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
+ * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions:
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
- *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as
- * MaxHP, STR, DEX...
+ *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP,
+ * STR, DEX...
*/
public void broadcastUserInfo()
{
@@ -4153,10 +4156,10 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Interact Task with another PlayerInstance. Actions :
+ * Manage Interact Task with another PlayerInstance. Actions:
*
If the private store is a STORE_PRIVATE_SELL, send a Server->Client PrivateBuyListSell packet to the PlayerInstance
*
If the private store is a STORE_PRIVATE_BUY, send a Server->Client PrivateBuyListBuy packet to the PlayerInstance
- *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
+ *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
* @param target The Creature targeted
*/
public void doInteract(Creature target)
@@ -4205,7 +4208,7 @@ public class PlayerInstance extends Playable
*
Send a Server->Client packet InventoryUpdate to this player with NewItem (use a new slot) or ModifiedItem (increase amount).
*
Send a Server->Client packet StatusUpdate to this player with current weight.
*
- * Caution: If a party is in progress, distribute the items between the party members!
+ * Caution: If a party is in progress, distribute the items between the party members!
* @param target the NPC dropping the item
* @param itemId the item ID
* @param itemCount the item count
@@ -4237,13 +4240,13 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Pickup Task. Actions :
+ * Manage Pickup Task. Actions:
*
Send a Server->Client packet StopMove to this PlayerInstance
*
Remove the ItemInstance from the world and send server->client GetItem packets
*
Send a System Message to the PlayerInstance : YOU_PICKED_UP_S1_ADENA or YOU_PICKED_UP_S1_S2
*
Add the Item to the PlayerInstance inventory
*
Send a Server->Client packet InventoryUpdate to this PlayerInstance with NewItem (use a new slot) or ModifiedItem (increase amount)
- *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution : If a Party is in progress, distribute Items between party members
+ *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution: If a Party is in progress, distribute Items between party members
* @param object The ItemInstance to pick up
*/
@Override
@@ -4507,7 +4510,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set a target. Actions :
+ * Set a target. Actions:
*
*
Remove the PlayerInstance from the _statusListener of the old target if it was a Creature
*
Add the PlayerInstance to the _statusListener of the new target if it's a Creature
@@ -4599,7 +4602,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon instance (always equiped in the right hand).
+ * Return the active weapon instance (always equipped in the right hand).
*/
@Override
public ItemInstance getActiveWeaponInstance()
@@ -4608,7 +4611,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon item (always equiped in the right hand).
+ * Return the active weapon item (always equipped in the right hand).
*/
@Override
public Weapon getActiveWeaponItem()
@@ -4685,7 +4688,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary weapon instance (always equiped in the left hand).
+ * Return the secondary weapon instance (always equipped in the left hand).
*/
@Override
public ItemInstance getSecondaryWeaponInstance()
@@ -4694,8 +4697,8 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary Item item (always equiped in the left hand).
- * Arrows, Shield..
+ * Return the secondary Item item (always equipped in the left hand).
+ * Arrows, Shield..
*/
@Override
public Item getSecondaryWeaponItem()
@@ -4709,12 +4712,12 @@ public class PlayerInstance extends Playable
}
/**
- * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions :
+ * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions:
*
Reduce the Experience of the PlayerInstance in function of the calculated Death Penalty
*
If necessary, unsummon the Pet of the killed PlayerInstance
*
Manage Karma gain for attacker and Karam loss for the killed PlayerInstance
*
If the killed PlayerInstance has Karma, manage Drop Item
- *
Kill the PlayerInstance
+ *
Kill the PlayerInstance
* @param killer
*/
@Override
@@ -5186,12 +5189,13 @@ public class PlayerInstance extends Playable
}
/**
- * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
- * Actions :
+ * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
+ *
+ * Actions:
*
Calculate the Experience loss
*
Set the value of _expBeforeDeath
*
Set the new Experience value of the PlayerInstance and Decrease its level if necessary
- *
Send a Server->Client StatusUpdate packet with its new Experience
+ *
Send a Server->Client StatusUpdate packet with its new Experience
* @param killer
*/
public void calculateDeathExpPenalty(Creature killer)
@@ -5243,7 +5247,7 @@ public class PlayerInstance extends Playable
}
/**
- * Stop the HP/MP/CP Regeneration task. Actions :
+ * Stop the HP/MP/CP Regeneration task. Actions:
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
*/
@@ -5589,13 +5593,13 @@ public class PlayerInstance extends Playable
}
/**
- * Set the Private Store type of the PlayerInstance. Values :
+ * Set the Private Store type of the PlayerInstance. Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @param privateStoreType
*/
public void setPrivateStoreType(PrivateStoreType privateStoreType)
@@ -5608,13 +5612,13 @@ public class PlayerInstance extends Playable
}
/**
- * Values :
+ * Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @return the Private Store type of the PlayerInstance.
*/
public PrivateStoreType getPrivateStoreType()
@@ -6331,11 +6335,11 @@ public class PlayerInstance extends Playable
}
/**
- * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions :
+ * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions:
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
*
Set the x,y,z position of the PlayerInstance and make it invisible
- *
Update the overloaded status of the PlayerInstance
+ *
Update the overloaded status of the PlayerInstance
* @param objectId Identifier of the object to initialized
* @return The PlayerInstance loaded from the database
*/
@@ -7274,10 +7278,10 @@ public class PlayerInstance extends Playable
}
/**
- * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept : All skills own by a PlayerInstance are identified in _skills Actions :
+ * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept: All skills own by a PlayerInstance are identified in _skills Actions:
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
- *
Add Func objects of newSkill to the calculator set of the Creature
+ *
Add Func objects of newSkill to the calculator set of the Creature
* @param newSkill The Skill to add to the Creature
* @param store
* @return The Skill replaced or null if just added a new Skill
@@ -7308,10 +7312,10 @@ public class PlayerInstance extends Playable
}
/**
- * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept : All skills own by a Creature are identified in _skills Actions :
+ * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept: All skills own by a Creature are identified in _skills Actions:
*
Remove the skill from the Creature _skills
- *
Remove all its Func objects from the Creature calculator set
Overridden in :
- *
PlayerInstance : Save update in the character_skills table of the database
+ *
Remove all its Func objects from the Creature calculator set
Overridden in:
+ *
PlayerInstance : Save update in the character_skills table of the database
* @param skill The Skill to remove from the Creature
* @return The Skill removed
*/
@@ -8013,7 +8017,8 @@ public class PlayerInstance extends Playable
/**
* Return True if the PlayerInstance is autoAttackable.
- * Actions:
+ *
+ * Actions:
*
*
Check if the attacker isn't the PlayerInstance Pet
*
Check if the attacker is MonsterInstance
@@ -8182,7 +8187,8 @@ public class PlayerInstance extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the skill isn't toggle and is offensive
*
Check if the target is in the skill cast range
@@ -8544,15 +8550,18 @@ public class PlayerInstance extends Playable
/**
* Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers.
- * Concept:
- * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
* In order to inform other players of this PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet
- * Actions:
+ *
+ * Actions:
*
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
*
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
*
- * Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
+ * Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
*/
@Override
public void updateAbnormalVisualEffects()
@@ -9379,7 +9388,7 @@ public class PlayerInstance extends Playable
}
/**
- * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
+ * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
* 2. This method no longer changes the active _classIndex of the player. This is only done by the calling of setActiveClass() method as that should be the only way to do so.
* @param classId
* @param classIndex
@@ -10549,7 +10558,8 @@ public class PlayerInstance extends Playable
/**
* Manage the delete task of a PlayerInstance (Leave Party, Unsummon pet, Save its inventory in the database, Remove it from the world...).
- * Actions:
+ *
+ * Actions:
*
*
If the PlayerInstance is in observer mode, set its position to its position before entering in observer mode
*
Set the online Flag to True or False and update the characters table of the database with online status and lastAccess
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
index d58c4a2344..1538e27eb0 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
@@ -31,7 +31,8 @@ public class RaidBossInstance extends MonsterInstance
/**
* Constructor of RaidBossInstance (use Creature and NpcInstance constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the RaidBossInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the RaidBossInstance
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
index 0746dde009..e66a7d8d7f 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
@@ -152,7 +152,8 @@ public class StaticObjectInstance extends Creature
/**
* Set the meshIndex of the object.
- * Values :
+ *
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
@@ -166,7 +167,7 @@ public class StaticObjectInstance extends Creature
}
/**
- * Values :
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
index 0a935e82db..f6b1fdd6c1 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
@@ -265,7 +265,8 @@ public class CreatureStat
/**
* Return the MAtk (base+modifier) of the Creature.
- * Example of use: Calculate Magic damage
+ *
+ * Example of use: Calculate Magic damage
* @return
*/
public int getMAtk()
@@ -290,7 +291,7 @@ public class CreatureStat
}
/**
- * Example of use : Calculate Magic damage.
+ * Example of use : Calculate Magic damage.
* @return the MDef (base+modifier) of the Creature against a skill in function of abnormal effects in progress.
*/
public int getMDef()
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
index a34f446f36..ecb6ca7cf2 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
@@ -57,11 +57,14 @@ public class CreatureStatus
/**
* Add the object to the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use:
+ *
+ * Example of use:
*
*
Target a PC or NPC
*
@@ -79,11 +82,14 @@ public class CreatureStatus
/**
* Remove the object from the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use :
+ *
+ * Example of use :
*
*
Untarget a PC or NPC
*
@@ -96,8 +102,10 @@ public class CreatureStatus
/**
* Return the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
* @return The list of Creature to inform or null if empty
@@ -188,7 +196,8 @@ public class CreatureStatus
/**
* Start the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Calculate the regen task period
*
Launch the HP/MP/CP Regeneration task with Medium priority
@@ -208,7 +217,8 @@ public class CreatureStatus
/**
* Stop the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/base/SubClass.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/base/SubClass.java
index 6e1b4abe48..8e382665f8 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/base/SubClass.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/base/SubClass.java
@@ -20,7 +20,7 @@ import org.l2jmobius.Config;
import org.l2jmobius.gameserver.data.xml.impl.ExperienceData;
/**
- * Character Sub-Class Definition
+ * Character Sub-Class Definition
* Used to store key information about a character's sub-class.
* @author Tempy
*/
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
index ee74925752..a54baee819 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
@@ -62,7 +62,7 @@ public abstract class AbstractEffect
/**
* Calculates whether this effects land or not.
* If it lands will be scheduled and added to the character effect list.
- * Override in effect implementation to change behavior.
+ * Override in effect implementation to change behavior.
* Warning: Must be used only for instant effects continuous effects will not call this they have their success handled by activate_rate.
* @param effector
* @param effected
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/entity/Castle.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/entity/Castle.java
index c0ec518a28..ce46b99bf1 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/entity/Castle.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/entity/Castle.java
@@ -615,8 +615,7 @@ public class Castle extends AbstractResidence
}
/**
- * Respawn all doors on castle grounds
- *
+ * Respawn all doors on castle grounds
* @param isDoorWeak
*/
public void spawnDoor(boolean isDoorWeak)
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/entity/Fort.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/entity/Fort.java
index 755bee3310..667c694f50 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/entity/Fort.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/entity/Fort.java
@@ -273,8 +273,7 @@ public class Fort extends AbstractResidence
}
/**
- * Move non clan members off fort area and to nearest town.
- *
+ * Move non clan members off fort area and to nearest town.
*/
public void banishForeigners()
{
@@ -516,8 +515,7 @@ public class Fort extends AbstractResidence
}
/**
- * Respawn all doors on fort grounds
- *
+ * Respawn all doors on fort grounds.
*/
public void resetDoors()
{
@@ -976,11 +974,10 @@ public class Fort extends AbstractResidence
}
/**
- * @return Returns state of fortress.
- *
- * 0 - not decided yet
- * 1 - independent
- * 2 - contracted with castle
+ * @return Returns state of fortress.
+ * 0 - not decided yet
+ * 1 - independent
+ * 2 - contracted with castle
*/
public int getFortState()
{
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/entity/FortSiege.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
index 151a6d8945..f7a11f4953 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
@@ -703,14 +703,14 @@ public class FortSiege implements Siegable
}
/**
- * Register clan as attacker.
+ * Register clan as attacker.
* @param player The PlayerInstance of the player trying to register.
* @param checkConditions True if should be checked conditions, false otherwise
- * @return Number that defines what happened.
- * 0 - Player don't have clan.
- * 1 - Player don't have enough adena to register.
- * 2 - Is not right time to register Fortress now.
- * 3 - Players clan is already registered to siege.
+ * @return Number that defines what happened.
+ * 0 - Player don't have clan.
+ * 1 - Player don't have enough adena to register.
+ * 2 - Is not right time to register Fortress now.
+ * 3 - Players clan is already registered to siege.
* 4 - Players clan is successfully registered to siege.
*/
public int addAttacker(PlayerInstance player, boolean checkConditions)
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/entity/Hero.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/entity/Hero.java
index 65ed747453..a0bcd7b98f 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/entity/Hero.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/entity/Hero.java
@@ -891,7 +891,7 @@ public class Hero
}
/**
- * Saving task for {@link Hero}
+ * Saving task for {@link Hero}
* Save all hero messages to DB.
*/
public void shutdown()
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/entity/Siege.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/entity/Siege.java
index b1d13d42bd..e6c0812a5f 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/entity/Siege.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/entity/Siege.java
@@ -383,8 +383,7 @@ public class Siege implements Siegable
}
/**
- * When control of castle changed during siege
- *
+ * When control of castle changed during siege.
*/
public void midVictory()
{
@@ -470,8 +469,7 @@ public class Siege implements Siegable
}
/**
- * When siege starts
- *
+ * When siege starts.
*/
@Override
public void startSiege()
@@ -529,8 +527,7 @@ public class Siege implements Siegable
}
/**
- * Announce to player.
- *
+ * Announce to player.
* @param message The SystemMessage to send to player
* @param bothSides True - broadcast to both attackers and defenders. False - only to defenders.
*/
@@ -682,8 +679,7 @@ public class Siege implements Siegable
}
/**
- * Approve clan as defender for siege
- *
+ * Approve clan as defender for siege
* @param clanId The int of player's clan id
*/
public void approveSiegeDefenderClan(int clanId)
@@ -717,8 +713,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is attacker
- *
+ * Return true if clan is attacker
* @param clan The Clan of the player
*/
@Override
@@ -728,8 +723,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is defender
- *
+ * Return true if clan is defender
* @param clan The Clan of the player
*/
@Override
@@ -866,8 +860,7 @@ public class Siege implements Siegable
}
/**
- * Register clan as attacker
- *
+ * Register clan as attacker
* @param player The PlayerInstance of the player trying to register
*/
public void registerAttacker(PlayerInstance player)
@@ -948,8 +941,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clanId The int of player's clan id
*/
public void removeSiegeClan(int clanId)
@@ -975,8 +967,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clan clan being removed
*/
public void removeSiegeClan(Clan clan)
@@ -989,8 +980,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param player The PlayerInstance of player/clan being removed
*/
public void removeSiegeClan(PlayerInstance player)
@@ -999,8 +989,7 @@ public class Siege implements Siegable
}
/**
- * Start the auto tasks
- *
+ * Start the auto tasks.
*/
public void startAutoTask()
{
@@ -1073,8 +1062,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as attacker
- *
+ * Add clan as attacker
* @param clanId The int of clan's id
*/
private void addAttacker(int clanId)
@@ -1083,8 +1071,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender
- *
+ * Add clan as defender
* @param clanId The int of clan's id
*/
private void addDefender(int clanId)
@@ -1105,8 +1092,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender waiting approval
- *
+ * Add clan as defender waiting approval
* @param clanId The int of clan's id
*/
private void addDefenderWaiting(int clanId)
@@ -1198,8 +1184,7 @@ public class Siege implements Siegable
}
/**
- * Return the correct siege date as Calendar.
- *
+ * Return the correct siege date as Calendar.
*/
public void correctSiegeDateTime()
{
@@ -1348,8 +1333,7 @@ public class Siege implements Siegable
}
/**
- * Save registration to database.
- *
+ * Save registration to database.
* @param clan The Clan of player
* @param typeId -1 = owner 0 = defender, 1 = attacker, 2 = defender waiting
* @param isUpdateRegistration
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/events/AbstractScript.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
index 38414caafa..9319658828 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
@@ -3030,7 +3030,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param array of values.
* @return one value from array.
@@ -3046,7 +3046,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param list of values.
* @return one value from list.
@@ -3061,7 +3061,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param array of Integers.
* @return one Integer from array.
*/
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
index 0da0f1ff20..a4335762c0 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
@@ -53,7 +53,7 @@ public class PlayerSkillHolder implements ISkillsHolder
}
/**
- * Add a skill to the skills map.
+ * Add a skill to the skills map.
* @param skill
*/
@Override
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/instancezone/Instance.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
index d68ded49eb..e368c9ec27 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
@@ -329,7 +329,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Get player by ID from instance.
+ * Get player by ID from instance.
* @param id objectId of player
* @return first player by ID, otherwise {@code null}
*/
@@ -803,7 +803,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Set reenter penalty for players associated with current instance.
+ * Set reenter penalty for players associated with current instance.
* @param time penalty time in milliseconds since January 1, 1970
*/
public void setReenterTime(long time)
@@ -860,8 +860,7 @@ public class Instance implements IIdentifiable, INamable
/**
* Set instance world to finish state.
- * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
- * See {@link Instance#finishInstance(int)} for more details.
+ * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
*/
public void finishInstance()
{
@@ -1016,7 +1015,7 @@ public class Instance implements IIdentifiable, INamable
// Template methods
// ----------------------------------------------
/**
- * Get parameters from instance template.
+ * Get parameters from instance template.
* @return template parameters
*/
public StatSet getTemplateParameters()
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
index 709e261877..a518ac5849 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
@@ -992,7 +992,7 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Drop item from inventory by using its objectID and updates database
+ * Drop item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
@@ -1296,7 +1296,7 @@ public abstract class Inventory extends ItemContainer
/**
* Equips an item in the given slot of the paperdoll.
- * Remark : The item must be in the inventory already.
+ * Remark : The item must be in the inventory already.
* @param slot : int pointing out the slot of the paperdoll
* @param item : ItemInstance pointing out the item to add in slot
* @return ItemInstance designating the item placed in the slot before
@@ -1539,8 +1539,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in body slot and returns alterations.
- * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(long)} instead
+ * Unequips item in body slot and returns alterations.
+ * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(long)} instead
* @param slot : int designating the slot of the paperdoll
* @return ItemInstance[] : list of changes
*/
@@ -1570,8 +1570,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in slot and returns alterations
- * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
+ * Unequips item in slot and returns alterations
+ * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
* @param slot : int designating the slot
* @return ItemInstance[] : list of items altered
*/
@@ -1716,8 +1716,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Equips item and returns list of alterations
- * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
+ * Equips item and returns list of alterations
+ * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
* @param item : ItemInstance corresponding to the item
* @return ItemInstance[] : list of alterations
*/
@@ -2478,8 +2478,9 @@ public abstract class Inventory extends ItemContainer
/**
* Reduce the arrow number of the Creature.
- * Overridden in :
- *
PlayerInstance
+ *
+ * Overridden in:
+ *
PlayerInstance
* @param type
*/
public void reduceArrowCount(EtcItemType type)
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
index 2847ecdcd5..2e5f90dcee 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
@@ -530,7 +530,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its objectID and updates database
+ * Destroy item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -545,7 +545,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its itemId and updates database
+ * Destroy item from inventory by using its itemId and updates database
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
index 0a9e6cc66d..5d3bed530d 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
@@ -113,7 +113,7 @@ public class PetInventory extends Inventory
public void restore()
{
super.restore();
- // check for equiped items from other pets
+ // check for equipped items from other pets
for (ItemInstance item : _items.values())
{
if (item.isEquipped() && !item.getItem().checkCondition(_owner, _owner, false))
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
index ccf7bbc0d6..dd03785a1a 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
@@ -586,7 +586,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
+ * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -632,7 +632,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
+ * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/items/Item.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/items/Item.java
index dce5b41a29..8bc69ec806 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/items/Item.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/items/Item.java
@@ -58,7 +58,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
/**
- * This class contains all informations concerning the item (weapon, armor, etc).
+ * This class contains all informations concerning the item (weapon, armor, etc).
* Mother class of :
*
*
Armor
@@ -178,8 +178,7 @@ public abstract class Item extends ListenersContainer implements IIdentifiable
private int _artifactSlot;
/**
- * Constructor of the Item that fill class variables.
- *
+ * Constructor of the Item that fill class variables.
* @param set : StatSet corresponding to a set of couples (key,value) for description of the item
*/
protected Item(StatSet set)
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
index ffea6dc3ea..bf2b368ddb 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.items.type.CrystalType;
import org.l2jmobius.gameserver.model.items.type.ItemType;
/**
- * This class contains ItemInstance
+ * This class contains ItemInstance
* Use to sort ItemInstance of :
*
*
Armor
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
index e737011a13..b8adfdbe4e 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
@@ -266,19 +266,15 @@ public class ItemInstance extends WorldObject
}
/**
- * Remove a ItemInstance from the world and send server->client GetItem packets.
- *
- * Actions :
- *
+ * Remove a ItemInstance from the world and send server->client GetItem packets.
+ *
+ * Actions:
*
Send a Server->Client Packet GetItem to player that pick up and its _knowPlayers member
- *
Remove the WorldObject from the world
- *
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- *
- * Example of use :
- *
- *
Do Pickup Item : PCInstance and Pet
- *
+ *
Remove the WorldObject from the world
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ *
+ * Example of use:
+ *
Do Pickup Item : PCInstance and Pet
* @param creature Character that pick up the item
*/
public void pickupMe(Creature creature)
@@ -409,9 +405,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the location of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the location of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param loc : ItemLocation (enumeration)
* @param locData : int designating the slot where the item is stored or the village for freights
*/
@@ -440,8 +435,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
+ * Sets the quantity of the item.
* @param count the new count to set
*/
public void setCount(long count)
@@ -464,9 +458,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the quantity of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param process : String Identifier of process triggering this action
* @param count : int
* @param creator : PlayerInstance Player requesting the item creation
@@ -1478,7 +1471,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
*/
public void updateDatabase()
{
@@ -1486,7 +1479,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
* @param force if the update should necessarilly be done.
*/
public void updateDatabase(boolean force)
@@ -1522,20 +1515,17 @@ public class ItemInstance extends WorldObject
}
/**
- * Init a dropped ItemInstance and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a dropped ItemInstance and add it in the world as a visible object.
+ *
+ * Actions:
*
Set the x,y,z position of the ItemInstance dropped and update its _worldregion
*
Add the ItemInstance dropped to _visibleObjects of its WorldRegion
- *
Add the ItemInstance dropped in the world as a visible object
- *
- * Caution : This method DOESN'T ADD the object to _allObjects of World
- *
- * Example of use :
- *
+ *
Add the ItemInstance dropped in the world as a visible object
+ * Caution: This method DOESN'T ADD the object to _allObjects of World
+ *
+ * Example of use:
*
Drop item
- *
Call Pet
+ *
Call Pet
*/
public class ItemDropTask implements Runnable
{
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/quest/Quest.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/quest/Quest.java
index 707345ebcd..2d1266c68e 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/quest/Quest.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/quest/Quest.java
@@ -1010,7 +1010,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever a player attacks an NPC that is registered for the quest.
- * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
+ * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
* @param npc this parameter contains a reference to the exact instance of the NPC that got attacked.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked the NPC.
* @param damage this parameter represents the total damage that this attack has inflicted to the NPC.
@@ -1147,7 +1147,7 @@ public class Quest extends AbstractScript implements IIdentifiable
* The coder of the script may need to create a new quest state (if necessary).
* Note 3:
* The returned value of onFirstTalk replaces the default HTML that would have otherwise been loaded from a sub-folder of DatapackRoot/game/data/html/.
- * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
+ * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
* @param npc this parameter contains a reference to the exact instance of the NPC that the player is talking with.
* @param player this parameter contains a reference to the exact instance of the player who is talking to the NPC.
* @return the text returned by the event (may be {@code null}, a filename or just text)
@@ -1274,7 +1274,7 @@ public class Quest extends AbstractScript implements IIdentifiable
}
/**
- * This function is called whenever an NPC is teleport.
+ * This function is called whenever an NPC is teleport.
* @param npc this parameter contains a reference to the exact instance of the NPC who just teleport.
*/
protected void onTeleport(Npc npc)
@@ -1284,7 +1284,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever an NPC is called by another NPC in the same faction.
* @param npc this parameter contains a reference to the exact instance of the NPC who is being asked for help.
- * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
+ * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked.
* @param isSummon this parameter if it's {@code false} it denotes that the attacker was indeed the player, else it specifies that the attacker was the player's summon.
* @return
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
index e5aae3552e..6d6cd04ce0 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
@@ -695,7 +695,7 @@ public class SkillCaster implements Runnable
}
/**
- * Stops this casting and cleans all cast parameters.
+ * Stops this casting and cleans all cast parameters.
* @param aborted if {@code true}, server will send packets to the player, notifying him that the skill has been aborted.
*/
public void stopCasting(boolean aborted)
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/stats/Formulas.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/stats/Formulas.java
index 234ae3e729..62a2310ef5 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/stats/Formulas.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/stats/Formulas.java
@@ -550,7 +550,7 @@ public class Formulas
* Returns:
* 0 = shield defense doesn't succeed
* 1 = shield defense succeed
- * 2 = perfect block
+ * 2 = perfect block
* @param attacker
* @param target
* @param sendSysMsg
@@ -655,7 +655,7 @@ public class Formulas
}
/**
- * Calculates the effect landing success.
+ * Calculates the effect landing success.
* @param attacker the attacker
* @param target the target
* @param skill the skill
@@ -963,9 +963,9 @@ public class Formulas
}
/**
- * Calculates the attribute bonus with the following formula:
- * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
- * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
+ * Calculates the attribute bonus with the following formula:
+ * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
+ * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
* diff == 0, so AttBonus = 1
* It has been tested that physical skills do get affected by attack attribute even
* if they don't have any attribute. In that case only the biggest attack attribute is taken.
@@ -1207,7 +1207,7 @@ public class Formulas
* Confuse
* Compelling,
* Knockback
- * Pull
+ * Pull
* @param baseChance chance from effect parameter
* @param attacker
* @param target
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
index 2988807295..c621fab8f6 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
* A Function object is a component of a Calculator created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...).
* In fact, each calculator is a table of functions object in which each function represents a mathematics function:
* FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
+ * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
* Indeed, functions with lowest priority order is executed first and functions with the same order are executed in unspecified order.
* @author Zoey76
*/
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
index 1cb8bc9d02..d898d2c397 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
@@ -71,7 +71,7 @@ public class TaxZone extends ZoneType
}
/**
- * Gets castle associated with tax zone.
+ * Gets castle associated with tax zone.
* @return instance of {@link Castle} if found otherwise {@code null}
*/
public Castle getCastle()
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
index ca7f8d6d99..dee0ea769d 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
@@ -55,8 +55,8 @@ public class BlowFishKeygen
}
/**
- * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
- * Thus when getting a key with interests other then read-only a copy must be performed.
+ * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
+ * Thus when getting a key with interests other then read-only a copy must be performed.
* @return A key from this keygen pool.
*/
public static byte[] getRandomKey()
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
index cfba431dc9..8f3cc2964c 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
@@ -496,7 +496,7 @@ public class RequestAcquireSkill implements IClientIncomingPacket
/**
* Perform a simple check for current player and skill.
* Takes the needed SP if the skill require it and all requirements are meet.
- * Consume required items if the skill require it and all requirements are meet.
+ * Consume required items if the skill require it and all requirements are meet.
* @param player the skill learning player.
* @param trainer the skills teaching Npc.
* @param skillLearn the skill to be learn.
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
index 16624b7447..0f8f2ab22f 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
@@ -96,7 +96,7 @@ public class RequestDestroyItem implements IClientIncomingPacket
// if we can't find the requested item, its actually a cheat
if (itemToRemove == null)
{
- // gm can destroy other player items
+ // GM can destroy other player items
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
index 183ca83e49..1df78a5548 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
@@ -49,7 +49,7 @@ public class RequestGMCommand implements IClientIncomingPacket
@Override
public void run(GameClient client)
{
- // prevent non gm or low level GMs from vieweing player stuff
+ // prevent non GM or low level GMs from vieweing player stuff
if (!client.getPlayer().isGM() || !client.getPlayer().getAccessLevel().allowAltG())
{
return;
@@ -99,7 +99,7 @@ public class RequestGMCommand implements IClientIncomingPacket
}
case 6: // player warehouse
{
- // gm warehouse view to be implemented
+ // GM warehouse view to be implemented
if (player != null)
{
client.sendPacket(new GMViewWarehouseWithdrawList(1, player));
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/RequestRecipeShopMakeItem.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/RequestRecipeShopMakeItem.java
index 1e7350d1f6..3b2f42ddb5 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/RequestRecipeShopMakeItem.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/RequestRecipeShopMakeItem.java
@@ -34,7 +34,7 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.Util;
/**
- * It appears you are able to successfully create from manufacture store while casting, while in manufacture store and within 250 range. So basic checks
+ * It appears you are able to successfully create from manufacture store while casting, while in manufacture store and within 250 range. So basic checks
* from your own recipe list crafting are skipped. With the exception of trading, if you request trade, it is cancelled, if you are already trading, you get message.
* @author Nik
*/
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
index eca0524711..0cde588f5a 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
@@ -90,7 +90,7 @@ public class UseItem implements IClientIncomingPacket
final ItemInstance item = player.getInventory().getItemByObjectId(_objectId);
if (item == null)
{
- // gm can use other player item
+ // GM can use other player item
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
index d19f06f141..f4f0c5ca81 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.network.OutgoingPackets;
import org.l2jmobius.gameserver.network.clientpackets.RequestAllyInfo;
/**
- * Sent in response to {@link RequestAllyInfo}, if applicable.
+ * Sent in response to {@link RequestAllyInfo}, if applicable.
* @author afk5min
*/
public class AllianceInfo implements IClientOutgoingPacket
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
index 80a7042463..1fd7ec663a 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
@@ -20,9 +20,9 @@ import org.l2jmobius.commons.network.PacketWriter;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Eva's Inferno event packet. info params:
- * type (1 - %, 2 - npcId),
- * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
+ * Eva's Inferno event packet. info params:
+ * type (1 - %, 2 - npcId),
+ * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
* state (0-1), endtime (only when type 2)
*/
public class ExBrBuffEventState implements IClientOutgoingPacket
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
index 00cc64147b..ba6bb59e06 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
@@ -141,7 +141,7 @@ public interface IClientOutgoingPacket extends IOutgoingPacket
}
/**
- * Sends this packet to the target player, useful for lambda operations like
+ * Sends this packet to the target player, useful for lambda operations like
* {@code World.getInstance().getPlayers().forEach(packet::sendTo)}
* @param player
*/
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
index 1a0c26e078..7fd8a52be7 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
@@ -24,25 +24,25 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Attacker List in the SiegeInfo Window
- *
- * c = ca
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Attackers Clans?
- * d = Number of Attackers Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Attacker List in the SiegeInfo Window
+ *
+ * c = ca
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Attackers Clans?
+ * d = Number of Attackers Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeAttackerList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
index 7066b92fa1..52e10be7c6 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
@@ -25,26 +25,26 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Defender List in the SiegeInfo Window
- *
- * c = 0xcb
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Defending Clans?
- * d = Number of Defending Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Defender List in the SiegeInfo Window
+ *
+ * c = 0xcb
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Defending Clans?
+ * d = Number of Defending Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeDefenderList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
index 355cea9565..6c647eec90 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
@@ -27,18 +27,18 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Shows the Siege Info
- *
- * c = c9
- * d = CastleID
- * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
- * d = Owner ClanID
- * S = Owner ClanName
- * S = Owner Clan LeaderName
- * d = Owner AllyID
- * S = Owner AllyName
- * d = current time (seconds)
- * d = Siege time (seconds) (0 for selectable)
+ * Shows the Siege Info
+ *
+ * c = c9
+ * d = CastleID
+ * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
+ * d = Owner ClanID
+ * S = Owner ClanName
+ * S = Owner Clan LeaderName
+ * d = Owner AllyID
+ * S = Owner AllyName
+ * d = current time (seconds)
+ * d = Siege time (seconds) (0 for selectable)
* d = (UNKNOW) Siege Time Select Related?
* @author KenM
*/
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/scripting/ManagedScript.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
index f2b91791ab..00235baa25 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
@@ -21,7 +21,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
/**
- * Abstract class for classes that are meant to be implemented by scripts.
+ * Abstract class for classes that are meant to be implemented by scripts.
* @author KenM
*/
public abstract class ManagedScript
@@ -41,7 +41,7 @@ public abstract class ManagedScript
public abstract Path getScriptPath();
/**
- * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
+ * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
* Subclasses of this class should override this method to properly refresh their bindings when necessary.
* @return true if and only if the script was reloaded, false otherwise.
*/
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
index 34ba313686..620f020f4e 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
@@ -77,7 +77,7 @@ public class AttackStanceTaskManager
}
/**
- * Checks for attack stance task.
+ * Checks for attack stance task.
* @param actor the actor
* @return {@code true} if the character has an attack stance task, {@code false} otherwise
*/
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/ui/frmAbout.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/ui/frmAbout.java
index a3e5c2cc67..4d161afb73 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/ui/frmAbout.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/ui/frmAbout.java
@@ -83,7 +83,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblProtocols);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 128, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/util/Broadcast.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/util/Broadcast.java
index e0d798deff..5a7eb1a4df 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/util/Broadcast.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/util/Broadcast.java
@@ -40,11 +40,13 @@ public class Broadcast
private static final Logger LOGGER = Logger.getLogger(Broadcast.class.getName());
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -60,11 +62,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -108,11 +112,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
* @param radius
@@ -128,10 +134,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param creature
* @param mov
*/
@@ -162,10 +170,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance present in the world.
- * Concept :
- * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance present in the world.
+ *
+ * Concept:
+ *
+ * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param packet
*/
public static void toAllOnlinePlayers(IClientOutgoingPacket packet)
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/util/MinionList.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/util/MinionList.java
index 29a8c04c1e..9a6f694eaa 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/util/MinionList.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/util/MinionList.java
@@ -58,13 +58,11 @@ public class MinionList
}
/**
- * Manage the spawn of Minions.
- *
- * Actions :
- *
+ * Manage the spawn of Minions.
+ *
+ * Actions:
*
Get the Minion data of all Minions that must be spawn
- *
For each Minion type, spawn the amount of Minion needed
- *
+ *
For each Minion type, spawn the amount of Minion needed
* @param minions
*/
public void spawnMinions(List minions)
@@ -260,16 +258,14 @@ public class MinionList
}
/**
- * Init a Minion and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a Minion and add it in the world as a visible object.
+ *
+ * Actions:
*
Get the template of the Minion to spawn
*
Create and Init the Minion and generate its Identifier
*
Set the Minion HP, MP and Heading
*
Set the Minion leader to this RaidBoss
- *
Init the position of the Minion and add it in the world as a visible object
- *
+ *
Init the position of the Minion and add it in the world as a visible object
* @param master MonsterInstance used as master for this minion
* @param minionId The NpcTemplate Identifier of the Minion to spawn
* @return
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/util/PrimeFinder.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/util/PrimeFinder.java
index c9532000c8..20016811a1 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/util/PrimeFinder.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/util/PrimeFinder.java
@@ -33,7 +33,7 @@ import java.util.Arrays;
public class PrimeFinder
{
/**
- * The largest prime this class can generate; currently equal to Integer.MAX_VALUE.
+ * The largest prime this class can generate; currently equal to Integer.MAX_VALUE
*/
public static final int LARGEST_PRIME = Integer.MAX_VALUE; // yes, it is prime.
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
index 2e46e0a048..0a81e323a3 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
@@ -67,8 +67,7 @@ public class TimeAmountInterpreter
}
/**
- * Appends an user-friendly description of the given amount of time to the specified text builder.
- *
+ * Appends an user-friendly description of the given amount of time to the specified text builder.
* Please keep in mind, that this method is primarily designed to be used with heap text builders. Therefore, if the given text builder throws an {@link IOException}, this exception will be wrapped in a {@link RuntimeException} and returned to the caller as an unchecked exception.
* @param
* @param textBuilder a character sequence builder
diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/loginserver/ui/frmAbout.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/loginserver/ui/frmAbout.java
index 8488868090..06a5d95539 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/loginserver/ui/frmAbout.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/loginserver/ui/frmAbout.java
@@ -75,7 +75,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblLoginServer);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 148, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/ui/frmAbout.java b/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/ui/frmAbout.java
index 0c766fa5f7..a671b84374 100644
--- a/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/ui/frmAbout.java
+++ b/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/ui/frmAbout.java
@@ -84,7 +84,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblProtocols);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 128, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/ai/bosses/Frintezza.java b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/ai/bosses/Frintezza.java
index 3574ce1700..941405254d 100644
--- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/ai/bosses/Frintezza.java
+++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/ai/bosses/Frintezza.java
@@ -54,7 +54,7 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
* Frintezza AI
* @author Darki699
* @author SANDMAN L2J_JP(modified)
- * @author JOJO Update by rocknow Updated by L2jOff team Updated by L2jFrozen team
+ * @author JOJO Update by rocknow Updated by L2jOff team Updated by L2jFrozen team
* Warn: be careful with adding new spawns {@link #getXFix(int)}
*/
public class Frintezza extends Quest
@@ -1787,7 +1787,7 @@ public class Frintezza extends Quest
}
/**
- * Override spawn method to correct spawn cords after lair move
+ * Override spawn method to correct spawn cords after lair move
* TODO: Update cords in script, im just lazy :)
*/
@Override
diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/custom/KetraOrcSupport/KetraOrcSupport.java b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/custom/KetraOrcSupport/KetraOrcSupport.java
index 0d0aee3d78..c48959f2ee 100644
--- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/custom/KetraOrcSupport/KetraOrcSupport.java
+++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/custom/KetraOrcSupport/KetraOrcSupport.java
@@ -427,7 +427,7 @@ public class KetraOrcSupport extends Quest
}
/**
- * That method drops current alliance and retrograde badge.
+ * That method drops current alliance and retrograde badge.
* If any Varka quest is in progress, it stops the quest (and drop all related qItems) :
* @param player The player to check.
*/
diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/custom/VarkaSilenosSupport/VarkaSilenosSupport.java b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/custom/VarkaSilenosSupport/VarkaSilenosSupport.java
index ddd6ad7689..c2d1f29da1 100644
--- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/custom/VarkaSilenosSupport/VarkaSilenosSupport.java
+++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/custom/VarkaSilenosSupport/VarkaSilenosSupport.java
@@ -426,7 +426,7 @@ public class VarkaSilenosSupport extends Quest
}
/**
- * That method drops current alliance and retrograde badge.
+ * That method drops current alliance and retrograde badge.
* If any Varka quest is in progress, it stops the quest (and drop all related qItems) :
* @param player The player to check.
*/
diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/Q386_StolenDignity.java b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/Q386_StolenDignity.java
index e976a81838..dfd52f76dc 100644
--- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/Q386_StolenDignity.java
+++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/Q386_StolenDignity.java
@@ -184,7 +184,7 @@ public class Q386_StolenDignity extends Quest
{
protected static final String MSG_BEGIN = "I've arranged the numbers 1 through 9 on the grid. Don't peek! Let me have the " + REQUIRED_STOLEN_INFERIUM_ORE + " Infernium Ores. Too many players try to run away without paying when it becomes obvious that they're losing... OK, select six numbers between 1 and 9. Choose the %choicenum% number.";
protected static final String MSG_AGAIN = "You've already chosen that number. Make your %choicenum% choice again.";
- protected static final String MSG_ZERO_LINES = "Wow! How unlucky can you get? Your choices are highlighted in red below. As you can see, your choices didn't make a single line! Losing this badly is actually quite rare! You look so sad, I feel bad for you... Wait here... . . . Take this... I hope it will bring you better luck in the future.";
+ protected static final String MSG_ZERO_LINES = "Wow! How unlucky can you get? Your choices are highlighted in red below. As you can see, your choices didn't make a single line! Losing this badly is actually quite rare! You look so sad, I feel bad for you... Wait here... . . . Take this... I hope it will bring you better luck in the future.";
protected static final String MSG_THREE_LINES = "Excellent! As you can see, you've formed three lines! Congratulations! As promised, I'll give you some unclaimed merchandise from the warehouse. Wait here... . . . Whew, it's dusty! OK, here you go. Do you like it?";
protected static final String MSG_LOSE = "Oh, too bad. Your choices didn't form three lines. You should try again... Your choices are highlighted in red.";
private static final String TEMPLATE_CHOICE = "%n% ";
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/commons/mmocore/ReceivablePacket.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/commons/mmocore/ReceivablePacket.java
index 0c319afe2a..37fed721b8 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/commons/mmocore/ReceivablePacket.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/commons/mmocore/ReceivablePacket.java
@@ -36,7 +36,7 @@ public abstract class ReceivablePacket>extends AbstractPa
public abstract void run();
/**
- * Reads byte[] from the buffer.
+ * Reads byte[] from the buffer.
* Reads as many bytes as the length of the array.
* @param dst : the byte array which will be filled with the data.
*/
@@ -46,8 +46,8 @@ public abstract class ReceivablePacket>extends AbstractPa
}
/**
- * Reads byte[] from the buffer.
- * Reads as many bytes as the given length (len). Starts to fill the byte array from the given offset to offset + len.
+ * Reads byte[] from the buffer.
+ * Reads as many bytes as the given length (len). Starts to fill the byte array from the given offset to offset + len.
* @param dst : the byte array which will be filled with the data.
* @param offset : starts to fill the byte array from the given offset.
* @param len : the given length of bytes to be read.
@@ -58,7 +58,7 @@ public abstract class ReceivablePacket>extends AbstractPa
}
/**
- * Reads byte from the buffer.
+ * Reads byte from the buffer.
* 8bit integer (00)
* @return
*/
@@ -68,7 +68,7 @@ public abstract class ReceivablePacket>extends AbstractPa
}
/**
- * Reads short from the buffer.
+ * Reads short from the buffer.
* 16bit integer (00 00)
* @return
*/
@@ -78,7 +78,7 @@ public abstract class ReceivablePacket>extends AbstractPa
}
/**
- * Reads int from the buffer.
+ * Reads int from the buffer.
* 32bit integer (00 00 00 00)
* @return
*/
@@ -88,7 +88,7 @@ public abstract class ReceivablePacket>extends AbstractPa
}
/**
- * Reads long from the buffer.
+ * Reads long from the buffer.
* 64bit integer (00 00 00 00 00 00 00 00)
* @return
*/
@@ -98,7 +98,7 @@ public abstract class ReceivablePacket>extends AbstractPa
}
/**
- * Reads double from the buffer.
+ * Reads double from the buffer.
* 64bit double precision float (00 00 00 00 00 00 00 00)
* @return
*/
@@ -108,7 +108,7 @@ public abstract class ReceivablePacket>extends AbstractPa
}
/**
- * Reads String from the buffer.
+ * Reads String from the buffer.
* @return
*/
protected final String readS()
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/commons/mmocore/SelectorConfig.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/commons/mmocore/SelectorConfig.java
index 84d3d7e9bf..d3df1533f8 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/commons/mmocore/SelectorConfig.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/commons/mmocore/SelectorConfig.java
@@ -42,12 +42,11 @@ public class SelectorConfig
public int MAX_READ_PER_PASS = 10;
/**
- * Defines how much time (in milis) should the selector sleep, an higher value increases throughput but also increases latency(to a max of the sleep value itself).
- * Also an extremely high value(usually > 100) will decrease throughput due to the server not doing enough sends per second (depends on max sends per pass).
- *
- * Recommended values:
- * 1 for minimal latency.
- * 10-30 for an latency/troughput trade-off based on your needs.
+ * Defines how much time (in milis) should the selector sleep, an higher value increases throughput but also increases latency(to a max of the sleep value itself).
+ * Also an extremely high value(usually > 100) will decrease throughput due to the server not doing enough sends per second (depends on max sends per pass).
+ * Recommended values:
+ * 1 for minimal latency.
+ * 10-30 for an latency/troughput trade-off based on your needs.
*/
public int SLEEP_TIME = 10;
}
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/commons/mmocore/SendablePacket.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/commons/mmocore/SendablePacket.java
index 3f2e691204..4e7350b38b 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/commons/mmocore/SendablePacket.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/commons/mmocore/SendablePacket.java
@@ -38,7 +38,7 @@ public abstract class SendablePacket>extends AbstractPack
}
/**
- * Write byte to the buffer.
+ * Write byte to the buffer.
* 8bit integer (00)
* @param data
*/
@@ -48,7 +48,7 @@ public abstract class SendablePacket>extends AbstractPack
}
/**
- * Write double to the buffer.
+ * Write double to the buffer.
* 64bit double precision float (00 00 00 00 00 00 00 00)
* @param value
*/
@@ -58,7 +58,7 @@ public abstract class SendablePacket>extends AbstractPack
}
/**
- * Write short to the buffer.
+ * Write short to the buffer.
* 16bit integer (00 00)
* @param value
*/
@@ -68,7 +68,7 @@ public abstract class SendablePacket>extends AbstractPack
}
/**
- * Write int to the buffer.
+ * Write int to the buffer.
* 32bit integer (00 00 00 00)
* @param value
*/
@@ -78,7 +78,7 @@ public abstract class SendablePacket>extends AbstractPack
}
/**
- * Write long to the buffer.
+ * Write long to the buffer.
* 64bit integer (00 00 00 00 00 00 00 00)
* @param value
*/
@@ -88,7 +88,7 @@ public abstract class SendablePacket>extends AbstractPack
}
/**
- * Write byte[] to the buffer.
+ * Write byte[] to the buffer.
* 8bit integer array (00 ...)
* @param data
*/
@@ -98,7 +98,7 @@ public abstract class SendablePacket>extends AbstractPack
}
/**
- * Write String to the buffer.
+ * Write String to the buffer.
* @param text
*/
protected final void writeS(String text)
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/commons/util/PrimeFinder.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/commons/util/PrimeFinder.java
index ee85494f42..a5f8e57f11 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/commons/util/PrimeFinder.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/commons/util/PrimeFinder.java
@@ -37,7 +37,7 @@ import java.util.Arrays;
public class PrimeFinder
{
/**
- * The largest prime this class can generate; currently equal to Integer.MAX_VALUE.
+ * The largest prime this class can generate; currently equal to Integer.MAX_VALUE
*/
public static final int LARGEST_PRIME = Integer.MAX_VALUE; // yes, it is prime.
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/GameTimeController.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/GameTimeController.java
index 2244758b53..37cbce0380 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/GameTimeController.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/GameTimeController.java
@@ -86,12 +86,11 @@ public class GameTimeController
}
/**
- * Add a Creature to movingObjects of GameTimeController.
- *
- * Concept :
- *
- * All Creature in movement are identified in movingObjects of GameTimeController.
- *
+ * Add a Creature to movingObjects of GameTimeController.
+ *
+ * Concept:
+ *
+ * All Creature in movement are identified in movingObjects of GameTimeController.
* @param creature The Creature to add to movingObjects of GameTimeController
*/
public synchronized void registerMovingObject(Creature creature)
@@ -108,18 +107,16 @@ public class GameTimeController
}
/**
- * Move all Creatures contained in movingObjects of GameTimeController.
- *
- * Concept :
- *
- * All Creature in movement are identified in movingObjects of GameTimeController.
- *
- * Actions :
- *
+ * Move all Creatures contained in movingObjects of GameTimeController.
+ *
+ * Concept:
+ *
+ * All Creature in movement are identified in movingObjects of GameTimeController.
+ *
+ * Actions:
*
Update the position of each Creature
*
If movement is finished, the Creature is removed from movingObjects
- *
Create a task to update the _knownObject and _knowPlayers of each Creature that finished its movement and of their already known WorldObject then notify AI with EVT_ARRIVED
- *
+ *
Create a task to update the _knownObject and _knowPlayers of each Creature that finished its movement and of their already known WorldObject then notify AI with EVT_ARRIVED
*/
protected synchronized void moveObjects()
{
@@ -233,8 +230,7 @@ public class GameTimeController
}
/**
- * Update the _knownObject and _knowPlayers of each Creature that finished its movement and of their already known WorldObject then notify AI with EVT_ARRIVED.
- *
+ * Update the _knownObject and _knowPlayers of each Creature that finished its movement and of their already known WorldObject then notify AI with EVT_ARRIVED.
*/
class MovingObjectArrived implements Runnable
{
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/LoginServerThread.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/LoginServerThread.java
index 1fcfbaba30..e8840e88ad 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/LoginServerThread.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/LoginServerThread.java
@@ -75,7 +75,6 @@ public class LoginServerThread extends Thread
* The BlowFish engine used to encrypt packets
* It is first initialized with a unified key:
* "_;v.]05-31!|+-%xT!^[$\00"
- *
* and then after handshake, with a new key sent by
* loginserver during the handshake. This new key is stored
* in {@link #_blowfishKey}
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/Shutdown.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/Shutdown.java
index b1e88324fb..8c9a49af0d 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/Shutdown.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/Shutdown.java
@@ -153,7 +153,7 @@ public class Shutdown extends Thread
}
else
{
- // gm shutdown: send warnings and then call exit to start shutdown sequence
+ // GM shutdown: send warnings and then call exit to start shutdown sequence
countdown();
if (_shutdownMode != ABORT)
@@ -543,7 +543,7 @@ public class Shutdown extends Thread
}
/**
- * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
+ * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
* @return instance of Shutdown, to be used as shutdown hook
*/
public static Shutdown getInstance()
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/AbstractAI.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/AbstractAI.java
index 869cb43f61..6441b23078 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/AbstractAI.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/AbstractAI.java
@@ -46,12 +46,10 @@ import org.l2jmobius.gameserver.network.serverpackets.StopRotation;
import org.l2jmobius.gameserver.taskmanager.AttackStanceTaskManager;
/**
- * Mother class of all objects AI in the world.
- *
- * AbastractAI :
- *
- *
CreatureAI
- *
+ * Mother class of all objects AI in the world.
+ *
+ * AbastractAI:
+ *
CreatureAI
*/
abstract class AbstractAI implements Ctrl
{
@@ -139,8 +137,7 @@ abstract class AbstractAI implements Ctrl
private static final int ATTACK_FOLLOW_INTERVAL = 500;
/**
- * Constructor of AbstractAI.
- *
+ * Constructor of AbstractAI.
* @param accessor The AI accessor of the Creature
*/
protected AbstractAI(Creature.AIAccessor accessor)
@@ -152,8 +149,7 @@ abstract class AbstractAI implements Ctrl
}
/**
- * Return the Creature managed by this Accessor AI.
- *
+ * Return the Creature managed by this Accessor AI.
*/
@Override
public Creature getActor()
@@ -162,14 +158,13 @@ abstract class AbstractAI implements Ctrl
}
/**
- * Set the Intention of this AbstractAI.
- *
- * Caution : This method is USED by AI classes
- *
- * Overriden in :
- * AttackableAI : Create an AI Task executed every 1s (if necessary)
- * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary
- *
+ * Set the Intention of this AbstractAI.
+ * Caution: This method is USED by AI classes
+ *
+ * Overriden in:
+ *
+ * AttackableAI : Create an AI Task executed every 1s (if necessary)
+ * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary
* @param intention The new Intention to set to the AI
* @param arg0 The first parameter of the Intention
* @param arg1 The second parameter of the Intention
@@ -182,10 +177,8 @@ abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onIntention method corresponding to the new Intention.
- *
- * Caution : Stop the FOLLOW mode if necessary
- *
+ * Launch the CreatureAI onIntention method corresponding to the new Intention.
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
*/
@Override
@@ -195,10 +188,8 @@ abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onIntention method corresponding to the new Intention.
- *
- * Caution : Stop the FOLLOW mode if necessary
- *
+ * Launch the CreatureAI onIntention method corresponding to the new Intention.
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
* @param arg0 The first parameter of the Intention (optional target)
*/
@@ -209,10 +200,8 @@ abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onIntention method corresponding to the new Intention.
- *
- * Caution : Stop the FOLLOW mode if necessary
- *
+ * Launch the CreatureAI onIntention method corresponding to the new Intention.
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
* @param arg0 The first parameter of the Intention (optional target)
* @param arg1 The second parameter of the Intention (optional target)
@@ -288,10 +277,8 @@ abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event.
- *
- * Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned periode)
- *
+ * Launch the CreatureAI onEvt method corresponding to the Event.
+ * Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned periode)
* @param evt The event whose the AI must be notified
*/
@Override
@@ -301,10 +288,8 @@ abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event.
- *
- * Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned periode)
- *
+ * Launch the CreatureAI onEvt method corresponding to the Event.
+ * Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned periode)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
*/
@@ -315,10 +300,8 @@ abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event.
- *
- * Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned periode)
- *
+ * Launch the CreatureAI onEvt method corresponding to the Event.
+ * Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned periode)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
* @param arg1 The second parameter of the Event (optional target)
@@ -483,10 +466,8 @@ abstract class AbstractAI implements Ctrl
protected abstract void onEvtFinishCasting();
/**
- * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor.
- *
- * Caution : Low level function, used by AI subclasses
- *
+ * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor.
+ * Caution: Low level function, used by AI subclasses
*/
protected void clientActionFailed()
{
@@ -497,10 +478,8 @@ abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
- *
- * Caution : Low level function, used by AI subclasses
- *
+ * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param pawn
* @param offset
*/
@@ -590,10 +569,8 @@ abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
- *
- * Caution : Low level function, used by AI subclasses
- *
+ * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param x
* @param y
* @param z
@@ -638,10 +615,8 @@ abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
- *
- * Caution : Low level function, used by AI subclasses
- *
+ * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param pos
*/
protected void clientStopMoving(Location pos)
@@ -683,10 +658,8 @@ abstract class AbstractAI implements Ctrl
}
/**
- * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
- *
- * Caution : Low level function, used by AI subclasses
- *
+ * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
public void clientStartAutoAttack()
{
@@ -718,10 +691,8 @@ abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
- *
- * Caution : Low level function, used by AI subclasses
- *
+ * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
public void clientStopAutoAttack()
{
@@ -752,10 +723,8 @@ abstract class AbstractAI implements Ctrl
}
/**
- * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
- *
- * Caution : Low level function, used by AI subclasses
- *
+ * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
protected void clientNotifyDead()
{
@@ -773,10 +742,8 @@ abstract class AbstractAI implements Ctrl
}
/**
- * Update the state of this actor client side by sending Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance player.
- *
- * Caution : Low level function, used by AI subclasses
- *
+ * Update the state of this actor client side by sending Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance player.
+ * Caution: Low level function, used by AI subclasses
* @param player The PlayerIstance to notify with state of this Creature
*/
public void describeStateToPlayer(PlayerInstance player)
@@ -798,8 +765,7 @@ abstract class AbstractAI implements Ctrl
}
/**
- * Create and Launch an AI Follow Task to execute every 1s.
- *
+ * Create and Launch an AI Follow Task to execute every 1s.
* @param target The Creature to follow
*/
public synchronized void startFollow(Creature target)
@@ -816,8 +782,7 @@ abstract class AbstractAI implements Ctrl
}
/**
- * Create and Launch an AI Follow Task to execute every 0.5s, following at specified range.
- *
+ * Create and Launch an AI Follow Task to execute every 0.5s, following at specified range.
* @param target The Creature to follow
* @param range
*/
@@ -834,8 +799,7 @@ abstract class AbstractAI implements Ctrl
}
/**
- * Stop an AI Follow Task.
- *
+ * Stop an AI Follow Task.
*/
public synchronized void stopFollow()
{
@@ -882,8 +846,7 @@ abstract class AbstractAI implements Ctrl
}
/**
- * Return current attack target.
- *
+ * Return current attack target.
*/
@Override
public synchronized Creature getAttackTarget()
@@ -934,8 +897,7 @@ abstract class AbstractAI implements Ctrl
}
/**
- * Return the current Intention.
- *
+ * Return the current Intention.
*/
@Override
public synchronized CtrlIntention getIntention()
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/AttackableAI.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/AttackableAI.java
index 30f3cddf20..ae769a8bdb 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/AttackableAI.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/AttackableAI.java
@@ -58,8 +58,7 @@ import org.l2jmobius.gameserver.model.quest.Quest;
import org.l2jmobius.gameserver.model.spawn.Spawn;
/**
- * This class manages AI of Attackable.
- *
+ * This class manages AI of Attackable.
*/
public class AttackableAI extends CreatureAI
{
@@ -82,8 +81,7 @@ public class AttackableAI extends CreatureAI
private boolean _thinking; // to prevent recursive thinking
/**
- * Constructor of AttackableAI.
- *
+ * Constructor of AttackableAI.
* @param accessor The AI accessor of the Creature
*/
public AttackableAI(Creature.AIAccessor accessor)
@@ -94,38 +92,33 @@ public class AttackableAI extends CreatureAI
}
/**
- * Return True if the target is autoattackable (depends on the actor type).
- *
- * Actor is a GuardInstance :
- *
+ * Return True if the target is autoattackable (depends on the actor type).
+ *
+ * Actor is a GuardInstance:
*
The target isn't a Folk or a Door
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
*
The target is in the actor Aggro range and is at the same height
*
The PlayerInstance target has karma (=PK)
- *
The MonsterInstance target is aggressive
- *
- * Actor is a SiegeGuardInstance :
- *
+ *
The MonsterInstance target is aggressive
+ *
+ * Actor is a SiegeGuardInstance:
*
The target isn't a Folk or a Door
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
*
The target is in the actor Aggro range and is at the same height
*
A siege is in progress
- *
The PlayerInstance target isn't a Defender
- *
- * Actor is a FriendlyMobInstance :
- *
+ *
The PlayerInstance target isn't a Defender
+ *
+ * Actor is a FriendlyMobInstance:
*
The target isn't a Folk, a Door or another NpcInstance
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
*
The target is in the actor Aggro range and is at the same height
- *
The PlayerInstance target has karma (=PK)
- *
- * Actor is a MonsterInstance :
- *
+ *
The PlayerInstance target has karma (=PK)
+ *
+ * Actor is a MonsterInstance:
*
The target isn't a Folk, a Door or another NpcInstance
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
*
The target is in the actor Aggro range and is at the same height
- *
The actor is Aggressive
- *
+ *
The actor is Aggressive
* @param target The targeted WorldObject
* @return
*/
@@ -324,10 +317,8 @@ public class AttackableAI extends CreatureAI
}
/**
- * Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
- *
- * Caution : If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
- *
+ * Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
+ * Caution: If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
* @param intention The new Intention to set to the AI
* @param arg0 The first parameter of the Intention
* @param arg1 The second parameter of the Intention
@@ -372,8 +363,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage the Attack Intention : Stop current Attack (if necessary), Calculate attack timeout, Start a new Attack and Launch Think Event.
- *
+ * Manage the Attack Intention : Stop current Attack (if necessary), Calculate attack timeout, Start a new Attack and Launch Think Event.
* @param target The Creature to attack
*/
@Override
@@ -387,15 +377,13 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI standard thinks of a Attackable (called by onEvtThink).
- *
- * Actions :
- *
+ * Manage AI standard thinks of a Attackable (called by onEvtThink).
+ *
+ * Actions:
*
Update every 1s the _globalAggro counter to come close to 0
*
If the actor is Aggressive and can attack, add all autoAttackable Creature in its Aggro Range to its _aggroList, chose a target and order to attack it
*
If the actor is a GuardInstance that can't attack, order to it to return to its home location
- *
If the actor is a MonsterInstance that can't attack, order to it to random walk (1/100)
- *
+ *
If the actor is a MonsterInstance that can't attack, order to it to random walk (1/100)
*/
private void thinkActive()
{
@@ -612,15 +600,13 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI attack thinks of a Attackable (called by onEvtThink).
- *
- * Actions :
- *
+ * Manage AI attack thinks of a Attackable (called by onEvtThink).
+ *
+ * Actions:
*
Update the attack timeout if actor is running
*
If target is dead or timeout is expired, stop this attack and set the Intention to AI_INTENTION_ACTIVE
*
Call all WorldObject of its Faction inside the Faction Range
- *
Chose a target and order to attack it with magic skill or physical attack
- *
+ *
Chose a target and order to attack it with magic skill or physical attack
* TODO: Manage casting rules to healer mobs (like Ant Nurses)
*/
private void thinkAttack()
@@ -1021,8 +1007,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI thinking actions of a Attackable.
- *
+ * Manage AI thinking actions of a Attackable.
*/
@Override
protected void onEvtThink()
@@ -1056,14 +1041,12 @@ public class AttackableAI extends CreatureAI
}
/**
- * Launch actions corresponding to the Event Attacked.
- *
- * Actions :
- *
+ * Launch actions corresponding to the Event Attacked.
+ *
+ * Actions:
*
Init the attack : Calculate the attack timeout, Set the _globalAggro to 0, Add the attacker to the actor _aggroList
*
Set the Creature movement type to run and send Server->Client packet ChangeMoveType to all others PlayerInstance
- *
Set the Intention to AI_INTENTION_ATTACK
- *
+ *
Set the Intention to AI_INTENTION_ATTACK
* @param attacker The Creature that attacks the actor
*/
@Override
@@ -1104,13 +1087,11 @@ public class AttackableAI extends CreatureAI
}
/**
- * Launch actions corresponding to the Event Aggression.
- *
- * Actions :
- *
+ * Launch actions corresponding to the Event Aggression.
+ *
+ * Actions:
*
Add the target to the actor _aggroList or update hate if already present
- *
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
- *
+ *
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
* @param target the Creature that attacks
* @param aggro The value of hate to add to the actor against the target
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/CreatureAI.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/CreatureAI.java
index 987d84666e..6f9ef58e1c 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/CreatureAI.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/CreatureAI.java
@@ -44,15 +44,13 @@ import org.l2jmobius.gameserver.network.serverpackets.AutoAttackStop;
import org.l2jmobius.gameserver.taskmanager.AttackStanceTaskManager;
/**
- * This class manages AI of Creature.
- *
- * CreatureAI :
- *
+ * This class manages AI of Creature.
+ *
+ * CreatureAI:
*
AttackableAI
*
DoorAI
*
PlayerAI
- *
SummonAI
- *
+ *
SummonAI
*/
public class CreatureAI extends AbstractAI
{
@@ -66,8 +64,7 @@ public class CreatureAI extends AbstractAI
}
/**
- * Constructor of CreatureAI.
- *
+ * Constructor of CreatureAI.
* @param accessor The AI accessor of the Creature
*/
public CreatureAI(Creature.AIAccessor accessor)
@@ -76,16 +73,14 @@ public class CreatureAI extends AbstractAI
}
/**
- * Manage the Idle Intention : Stop Attack, Movement and Stand Up the actor.
- *
- * Actions :
- *
+ * Manage the Idle Intention : Stop Attack, Movement and Stand Up the actor.
+ *
+ * Actions:
*
Set the AI Intention to AI_INTENTION_IDLE
*
Init cast and attack target
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
- *
Stand up the actor server side AND client side by sending Server->Client packet ChangeWaitType (broadcast)
- *
+ *
Stand up the actor server side AND client side by sending Server->Client packet ChangeWaitType (broadcast)
*/
@Override
protected void onIntentionIdle()
@@ -105,16 +100,14 @@ public class CreatureAI extends AbstractAI
}
/**
- * Manage the Active Intention : Stop Attack, Movement and Launch Think Event.
- *
- * Actions : if the Intention is not already Active
- *
+ * Manage the Active Intention : Stop Attack, Movement and Launch Think Event.
+ *
+ * Actions : if the Intention is not already Active
*
Set the AI Intention to AI_INTENTION_ACTIVE
*
Init cast and attack target
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*/
@Override
protected void onIntentionRest()
@@ -163,20 +154,17 @@ public class CreatureAI extends AbstractAI
}
/**
- * Manage the Attack Intention : Stop current Attack (if necessary), Start a new Attack and Launch Think Event.
- *
- * Actions :
- *
+ * Manage the Attack Intention : Stop current Attack (if necessary), Start a new Attack and Launch Think Event.
+ *
+ * Actions :
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_ATTACK
*
Set or change the AI attack target
*
Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast)
- *
Launch the Think Event
- *
- * Overridden in :
- *
- *
AttackableAI : Calculate attack timeout
- *
+ *
Launch the Think Event
+ *
+ * Overridden in:
+ *
AttackableAI : Calculate attack timeout
*/
@Override
protected void onIntentionAttack(Creature target)
@@ -236,17 +224,15 @@ public class CreatureAI extends AbstractAI
}
/**
- * Manage the Cast Intention : Stop current Attack, Init the AI in order to cast and Launch Think Event.
- *
- * Actions :
- *
+ * Manage the Cast Intention : Stop current Attack, Init the AI in order to cast and Launch Think Event.
+ *
+ * Actions :
*
Set the AI cast target
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor
*
Set the AI skill used by INTENTION_CAST
*
Set the Intention of this AI to AI_INTENTION_CAST
- *
Launch the Think Event
- *
+ *
Launch the Think Event
*/
@Override
protected void onIntentionCast(Skill skill, WorldObject target)
@@ -303,14 +289,12 @@ public class CreatureAI extends AbstractAI
}
/**
- * Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- *
- * Actions :
- *
+ * Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
+ *
+ * Actions :
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
- *
Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast)
- *
+ *
Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast)
*/
@Override
protected void onIntentionMoveTo(Location pos)
@@ -396,14 +380,12 @@ public class CreatureAI extends AbstractAI
}
/**
- * Manage the Follow Intention : Stop current Attack and Launch a Follow Task.
- *
- * Actions :
- *
+ * Manage the Follow Intention : Stop current Attack and Launch a Follow Task.
+ *
+ * Actions :
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_FOLLOW
- *
Create and Launch an AI Follow Task to execute every 1s
- *
+ *
Create and Launch an AI Follow Task to execute every 1s
*/
@Override
protected void onIntentionFollow(Creature target)
@@ -454,14 +436,12 @@ public class CreatureAI extends AbstractAI
}
/**
- * Manage the PickUp Intention : Set the pick up target and Launch a Move To Pawn Task (offset=20).
- *
- * Actions :
- *
+ * Manage the PickUp Intention : Set the pick up target and Launch a Move To Pawn Task (offset=20).
+ *
+ * Actions :
*
Set the AI pick up target
*
Set the Intention of this AI to AI_INTENTION_PICK_UP
- *
Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast)
- *
+ *
Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast)
*/
@Override
protected void onIntentionPickUp(WorldObject object)
@@ -512,15 +492,13 @@ public class CreatureAI extends AbstractAI
}
/**
- * Manage the Interact Intention : Set the interact target and Launch a Move To Pawn Task (offset=60).
- *
- * Actions :
- *
+ * Manage the Interact Intention : Set the interact target and Launch a Move To Pawn Task (offset=60).
+ *
+ * Actions :
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the AI interact target
*
Set the Intention of this AI to AI_INTENTION_INTERACT
- *
Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast)
- *
+ *
Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast)
*/
@Override
protected void onIntentionInteract(WorldObject object)
@@ -556,8 +534,7 @@ public class CreatureAI extends AbstractAI
}
/**
- * Do nothing.
- *
+ * Do nothing.
*/
@Override
protected void onEvtThink()
@@ -566,8 +543,7 @@ public class CreatureAI extends AbstractAI
}
/**
- * Do nothing.
- *
+ * Do nothing.
*/
@Override
protected void onEvtAggression(Creature target, int aggro)
@@ -576,16 +552,14 @@ public class CreatureAI extends AbstractAI
}
/**
- * Launch actions corresponding to the Event Stunned then onAttacked Event.
- *
- * Actions :
- *
+ * Launch actions corresponding to the Event Stunned then onAttacked Event.
+ *
+ * Actions:
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Break an attack and send Server->Client ActionFailed packet and a System Message to the Creature
*
Break a cast and send Server->Client ActionFailed packet and a System Message to the Creature
- *
Launch actions corresponding to the Event onAttacked (only for AttackableAI after the stunning periode)
- *
+ *
Launch actions corresponding to the Event onAttacked (only for AttackableAI after the stunning periode)
*/
@Override
protected void onEvtStunned(Creature attacker)
@@ -608,15 +582,13 @@ public class CreatureAI extends AbstractAI
}
/**
- * Launch actions corresponding to the Event Sleeping.
- *
- * Actions :
- *
+ * Launch actions corresponding to the Event Sleeping.
+ *
+ * Actions:
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Break an attack and send Server->Client ActionFailed packet and a System Message to the Creature
- *
Break a cast and send Server->Client ActionFailed packet and a System Message to the Creature
- *
+ *
Break a cast and send Server->Client ActionFailed packet and a System Message to the Creature
*/
@Override
protected void onEvtSleeping(Creature attacker)
@@ -636,13 +608,11 @@ public class CreatureAI extends AbstractAI
}
/**
- * Launch actions corresponding to the Event Rooted.
- *
- * Actions :
- *
+ * Launch actions corresponding to the Event Rooted.
+ *
+ * Actions:
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
- *
Launch actions corresponding to the Event onAttacked
- *
+ *
Launch actions corresponding to the Event onAttacked
*/
@Override
protected void onEvtRooted(Creature attacker)
@@ -660,13 +630,11 @@ public class CreatureAI extends AbstractAI
}
/**
- * Launch actions corresponding to the Event Confused.
- *
- * Actions :
- *
+ * Launch actions corresponding to the Event Confused.
+ *
+ * Actions:
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
- *
Launch actions corresponding to the Event onAttacked
- *
+ *
Launch actions corresponding to the Event onAttacked
*/
@Override
protected void onEvtConfused(Creature attacker)
@@ -679,12 +647,10 @@ public class CreatureAI extends AbstractAI
}
/**
- * Launch actions corresponding to the Event Muted.
- *
- * Actions :
- *
- *
Break a cast and send Server->Client ActionFailed packet and a System Message to the Creature
- *
+ * Launch actions corresponding to the Event Muted.
+ *
+ * Actions:
+ *
Break a cast and send Server->Client ActionFailed packet and a System Message to the Creature
*/
@Override
protected void onEvtMuted(Creature attacker)
@@ -694,12 +660,10 @@ public class CreatureAI extends AbstractAI
}
/**
- * Launch actions corresponding to the Event ReadyToAct.
- *
- * Actions :
- *
- *
Launch actions corresponding to the Event Think
- *
+ * Launch actions corresponding to the Event ReadyToAct.
+ *
+ * Actions:
+ *
Launch actions corresponding to the Event Think
*/
@Override
protected void onEvtReadyToAct()
@@ -709,8 +673,7 @@ public class CreatureAI extends AbstractAI
}
/**
- * Do nothing.
- *
+ * Do nothing.
*/
@Override
protected void onEvtUserCmd(Object arg0, Object arg1)
@@ -719,13 +682,11 @@ public class CreatureAI extends AbstractAI
}
/**
- * Launch actions corresponding to the Event Arrived.
- *
- * Actions :
- *
+ * Launch actions corresponding to the Event Arrived.
+ *
+ * Actions:
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
- *
Launch actions corresponding to the Event Think
- *
+ *
Launch actions corresponding to the Event Think
*/
@Override
protected void onEvtArrived()
@@ -763,12 +724,10 @@ public class CreatureAI extends AbstractAI
}
/**
- * Launch actions corresponding to the Event ArrivedRevalidate.
- *
- * Actions :
- *
- *
Launch actions corresponding to the Event Think
- *
+ * Launch actions corresponding to the Event ArrivedRevalidate.
+ *
+ * Actions:
+ *
Launch actions corresponding to the Event Think
*/
@Override
protected void onEvtArrivedRevalidate()
@@ -778,14 +737,12 @@ public class CreatureAI extends AbstractAI
}
/**
- * Launch actions corresponding to the Event ArrivedBlocked.
- *
- * Actions :
- *
+ * Launch actions corresponding to the Event ArrivedBlocked.
+ *
+ * Actions:
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
- *
Launch actions corresponding to the Event Think
- *
+ *
Launch actions corresponding to the Event Think
*/
@Override
protected void onEvtArrivedBlocked(Location location)
@@ -804,16 +761,14 @@ public class CreatureAI extends AbstractAI
}
/**
- * Launch actions corresponding to the Event ForgetObject.
- *
- * Actions :
- *
+ * Launch actions corresponding to the Event ForgetObject.
+ *
+ * Actions:
*
If the object was targeted and the Intention was AI_INTENTION_INTERACT or AI_INTENTION_PICK_UP, set the Intention to AI_INTENTION_ACTIVE
*
If the object was targeted to attack, stop the auto-attack, cancel target and set the Intention to AI_INTENTION_ACTIVE
*
If the object was targeted to cast, cancel target and set the Intention to AI_INTENTION_ACTIVE
*
If the object was targeted to follow, stop the movement, cancel AI Follow Task and set the Intention to AI_INTENTION_ACTIVE
- *
If the targeted object was the actor , cancel AI target, stop AI Follow Task, stop the movement and set the Intention to AI_INTENTION_IDLE
- *
+ *
If the targeted object was the actor , cancel AI target, stop AI Follow Task, stop the movement and set the Intention to AI_INTENTION_IDLE
*/
@Override
protected void onEvtForgetObject(WorldObject object)
@@ -886,13 +841,11 @@ public class CreatureAI extends AbstractAI
}
/**
- * Launch actions corresponding to the Event Cancel.
- *
- * Actions :
- *
+ * Launch actions corresponding to the Event Cancel.
+ *
+ * Actions:
*
Stop an AI Follow Task
- *
Launch actions corresponding to the Event Think
- *
+ *
Launch actions corresponding to the Event Think
*/
@Override
protected void onEvtCancel()
@@ -910,13 +863,11 @@ public class CreatureAI extends AbstractAI
}
/**
- * Launch actions corresponding to the Event Dead.
- *
- * Actions :
- *
+ * Launch actions corresponding to the Event Dead.
+ *
+ * Actions:
*
Stop an AI Follow Task
- *
Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast)
- *
+ *
Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast)
*/
@Override
protected void onEvtDead()
@@ -934,10 +885,9 @@ public class CreatureAI extends AbstractAI
}
/**
- * Launch actions corresponding to the Event Fake Death.
- *
- * Actions :
- *
+ * Launch actions corresponding to the Event Fake Death.
+ *
+ * Actions:
*
Stop an AI Follow Task
*/
@Override
@@ -957,8 +907,7 @@ public class CreatureAI extends AbstractAI
}
/**
- * Do nothing.
- *
+ * Do nothing.
*/
@Override
protected void onEvtFinishCasting()
@@ -967,18 +916,15 @@ public class CreatureAI extends AbstractAI
}
/**
- * Manage the Move to Pawn action in function of the distance and of the Interact area.
- *
- * Actions :
- *
+ * Manage the Move to Pawn action in function of the distance and of the Interact area.
+ *
+ * Actions:
*
Get the distance between the current position of the Creature and the target (x,y)
*
If the distance > offset+20, move the actor (by running) to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast)
- *
If the distance <= offset+20, Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
- *
- * Example of use :
- *
- *
PLayerAI, SummonAI
- *
+ *
If the distance <= offset+20, Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
+ *
+ * Example of use:
+ *
PLayerAI, SummonAI
* @param target The targeted WorldObject
* @param offset The Interact area radius
* @return True if a movement must be done
@@ -1085,20 +1031,17 @@ public class CreatureAI extends AbstractAI
}
/**
- * Modify current Intention and actions if the target is lost or dead.
- *
- * Actions : If the target is lost or dead
- *
+ * Modify current Intention and actions if the target is lost or dead.
+ *
+ * Actions : If the target is lost or dead
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
- *
- * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation
+ *
+ * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation
* (broadcast)
- *
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
- *
- * Example of use :
- *
- *
PLayerAI, SummonAI
- *
+ *
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
+ *
+ * Example of use:
+ *
PLayerAI, SummonAI
* @param target The targeted WorldObject
* @return True if the target is lost or dead (false if fakedeath)
*/
@@ -1122,18 +1065,15 @@ public class CreatureAI extends AbstractAI
}
/**
- * Modify current Intention and actions if the target is lost.
- *
- * Actions : If the target is lost
- *
+ * Modify current Intention and actions if the target is lost.
+ *
+ * Actions : If the target is lost
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
- *
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
- *
- * Example of use :
- *
- *
PLayerAI, SummonAI
- *
+ *
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
+ *
+ * Example of use:
+ *
PLayerAI, SummonAI
* @param target The targeted WorldObject
* @return True if the target is lost
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/FortSiegeGuardAI.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/FortSiegeGuardAI.java
index 8bc36f676d..572987957f 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/FortSiegeGuardAI.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/FortSiegeGuardAI.java
@@ -83,8 +83,7 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
private final int _attackRange;
/**
- * Constructor of AttackableAI.
- *
+ * Constructor of AttackableAI.
* @param accessor The AI accessor of the Creature
*/
public FortSiegeGuardAI(Creature.AIAccessor accessor)
@@ -104,38 +103,33 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
}
/**
- * Return True if the target is autoattackable (depends on the actor type).
- *
- * Actor is a GuardInstance :
- *
+ * Return True if the target is autoattackable (depends on the actor type).
+ *
+ * Actor is a GuardInstance:
*
The target isn't a Folk or a Door
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
*
The target is in the actor Aggro range and is at the same height
*
The PlayerInstance target has karma (=PK)
- *
The MonsterInstance target is aggressive
- *
- * Actor is a SiegeGuardInstance :
- *
+ *
The MonsterInstance target is aggressive
+ *
+ * Actor is a SiegeGuardInstance:
*
The target isn't a Folk or a Door
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
*
The target is in the actor Aggro range and is at the same height
*
A siege is in progress
- *
The PlayerInstance target isn't a Defender
- *
- * Actor is a FriendlyMobInstance :
- *
+ *
The PlayerInstance target isn't a Defender
+ *
+ * Actor is a FriendlyMobInstance:
*
The target isn't a Folk, a Door or another NpcInstance
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
*
The target is in the actor Aggro range and is at the same height
- *
The PlayerInstance target has karma (=PK)
- *
- * Actor is a MonsterInstance :
- *
+ *
The PlayerInstance target has karma (=PK)
+ *
+ * Actor is a MonsterInstance:
*
The target isn't a Folk, a Door or another NpcInstance
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
*
The target is in the actor Aggro range and is at the same height
- *
The actor is Aggressive
- *
+ *
The actor is Aggressive
* @param target The targeted WorldObject
* @return
*/
@@ -197,10 +191,8 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
}
/**
- * Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
- *
- * Caution : If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
- *
+ * Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
+ * Caution: If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
* @param intention The new Intention to set to the AI
* @param arg0 The first parameter of the Intention
* @param arg1 The second parameter of the Intention
@@ -256,8 +248,7 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
}
/**
- * Manage the Attack Intention : Stop current Attack (if necessary), Calculate attack timeout, Start a new Attack and Launch Think Event.
- *
+ * Manage the Attack Intention : Stop current Attack (if necessary), Calculate attack timeout, Start a new Attack and Launch Think Event.
* @param target The Creature to attack
*/
@Override
@@ -272,10 +263,9 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
}
/**
- * Manage AI standard thinks of a Attackable (called by onEvtThink).
- *
- * Actions :
- *
+ * Manage AI standard thinks of a Attackable (called by onEvtThink).
+ *
+ * Actions:
*
Update every 1s the _globalAggro counter to come close to 0
*
If the actor is Aggressive and can attack, add all autoAttackable Creature in its Aggro Range to its _aggroList, chose a target and order to attack it
*
If the actor can't attack, order to it to return to its home location
@@ -367,15 +357,13 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
}
/**
- * Manage AI attack thinks of a Attackable (called by onEvtThink).
- *
- * Actions :
- *
+ * Manage AI attack thinks of a Attackable (called by onEvtThink).
+ *
+ * Actions:
*
Update the attack timeout if actor is running
*
If target is dead or timeout is expired, stop this attack and set the Intention to AI_INTENTION_ACTIVE
*
Call all WorldObject of its Faction inside the Faction Range
- *
Chose a target and order to attack it with magic skill or physical attack
- *
+ *
Chose a target and order to attack it with magic skill or physical attack
* TODO: Manage casting rules to healer mobs (like Ant Nurses)
*/
private void thinkAttack()
@@ -828,8 +816,7 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
}
/**
- * Manage AI thinking actions of a Attackable.
- *
+ * Manage AI thinking actions of a Attackable.
*/
@Override
protected void onEvtThink()
@@ -866,14 +853,12 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
}
/**
- * Launch actions corresponding to the Event Attacked.
- *
- * Actions :
- *
+ * Launch actions corresponding to the Event Attacked.
+ *
+ * Actions:
*
Init the attack : Calculate the attack timeout, Set the _globalAggro to 0, Add the attacker to the actor _aggroList
*
Set the Creature movement type to run and send Server->Client packet ChangeMoveType to all others PlayerInstance
- *
Set the Intention to AI_INTENTION_ATTACK
- *
+ *
Set the Intention to AI_INTENTION_ATTACK
* @param attacker The Creature that attacks the actor
*/
@Override
@@ -907,13 +892,11 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
}
/**
- * Launch actions corresponding to the Event Aggression.
- *
- * Actions :
- *
+ * Launch actions corresponding to the Event Aggression.
+ *
+ * Actions:
*
Add the target to the actor _aggroList or update hate if already present
- *
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
- *
+ *
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
* @param target The Creature that attacks
* @param aggro The value of hate to add to the actor against the target
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/NpcWalkerAI.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/NpcWalkerAI.java
index eb6f9e7255..ccc3cb50bc 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/NpcWalkerAI.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/NpcWalkerAI.java
@@ -60,8 +60,7 @@ public class NpcWalkerAI extends CreatureAI implements Runnable
private int _currentPos;
/**
- * Constructor of CreatureAI.
- *
+ * Constructor of CreatureAI.
* @param accessor The AI accessor of the Creature
*/
public NpcWalkerAI(Creature.AIAccessor accessor)
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/PlayerAI.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/PlayerAI.java
index a8e600ebe5..c19d53cb82 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/PlayerAI.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/PlayerAI.java
@@ -64,8 +64,7 @@ public class PlayerAI extends CreatureAI
}
/**
- * Saves the current Intention for this PlayerAI if necessary and calls changeIntention in AbstractAI.
- *
+ * Saves the current Intention for this PlayerAI if necessary and calls changeIntention in AbstractAI.
* @param intention The new Intention to set to the AI
* @param arg0 The first parameter of the Intention
* @param arg1 The second parameter of the Intention
@@ -97,9 +96,8 @@ public class PlayerAI extends CreatureAI
}
/**
- * Finalize the casting of a skill. This method overrides CreatureAI method.
- *
- * What it does: Check if actual intention is set to CAST and, if so, retrieves latest intention before the actual CAST and set it as the current intention for the player
+ * Finalize the casting of a skill. This method overrides CreatureAI method.
+ * What it does: Check if actual intention is set to CAST and, if so, retrieves latest intention before the actual CAST and set it as the current intention for the player
*/
@Override
protected void onEvtFinishCasting()
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/SiegeGuardAI.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/SiegeGuardAI.java
index ce60095724..ec744e2e81 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/SiegeGuardAI.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ai/SiegeGuardAI.java
@@ -41,8 +41,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.model.actor.instance.SiegeGuardInstance;
/**
- * This class manages AI of Attackable.
- *
+ * This class manages AI of Attackable.
*/
public class SiegeGuardAI extends CreatureAI implements Runnable
{
@@ -65,8 +64,7 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
private final int _attackRange;
/**
- * Constructor of AttackableAI.
- *
+ * Constructor of AttackableAI.
* @param accessor The AI accessor of the Creature
*/
public SiegeGuardAI(Creature.AIAccessor accessor)
@@ -86,38 +84,33 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
}
/**
- * Return True if the target is autoattackable (depends on the actor type).
- *
- * Actor is a GuardInstance :
- *
+ * Return True if the target is autoattackable (depends on the actor type).
+ *
+ * Actor is a GuardInstance:
*
The target isn't a Folk or a Door
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
*
The target is in the actor Aggro range and is at the same height
*
The PlayerInstance target has karma (=PK)
- *
The MonsterInstance target is aggressive
- *
- * Actor is a SiegeGuardInstance :
- *
+ *
The MonsterInstance target is aggressive
+ *
+ * Actor is a SiegeGuardInstance:
*
The target isn't a Folk or a Door
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
*
The target is in the actor Aggro range and is at the same height
*
A siege is in progress
- *
The PlayerInstance target isn't a Defender
- *
- * Actor is a FriendlyMobInstance :
- *
+ *
The PlayerInstance target isn't a Defender
+ *
+ * Actor is a FriendlyMobInstance:
*
The target isn't a Folk, a Door or another NpcInstance
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
*
The target is in the actor Aggro range and is at the same height
- *
The PlayerInstance target has karma (=PK)
- *
- * Actor is a MonsterInstance :
- *
+ *
The PlayerInstance target has karma (=PK)
+ *
+ * Actor is a MonsterInstance:
*
The target isn't a Folk, a Door or another NpcInstance
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
*
The target is in the actor Aggro range and is at the same height
- *
The actor is Aggressive
- *
+ *
The actor is Aggressive
* @param target The targeted WorldObject
* @return
*/
@@ -150,10 +143,8 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
}
/**
- * Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
- *
- * Caution : If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
- *
+ * Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
+ * Caution: If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
* @param intention The new Intention to set to the AI
* @param arg0 The first parameter of the Intention
* @param arg1 The second parameter of the Intention
@@ -210,8 +201,7 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
}
/**
- * Manage the Attack Intention : Stop current Attack (if necessary), Calculate attack timeout, Start a new Attack and Launch Think Event.
- *
+ * Manage the Attack Intention : Stop current Attack (if necessary), Calculate attack timeout, Start a new Attack and Launch Think Event.
* @param target The Creature to attack
*/
@Override
@@ -226,10 +216,9 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
}
/**
- * Manage AI standard thinks of a Attackable (called by onEvtThink).
- *
- * Actions :
- *
+ * Manage AI standard thinks of a Attackable (called by onEvtThink).
+ *
+ * Actions:
*
Update every 1s the _globalAggro counter to come close to 0
*
If the actor is Aggressive and can attack, add all autoAttackable Creature in its Aggro Range to its _aggroList, chose a target and order to attack it
*
If the actor can't attack, order to it to return to its home location
@@ -525,15 +514,13 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
}
/**
- * Manage AI attack thinks of a Attackable (called by onEvtThink).
- *
- * Actions :
- *
+ * Manage AI attack thinks of a Attackable (called by onEvtThink).
+ *
+ * Actions:
*
Update the attack timeout if actor is running
*
If target is dead or timeout is expired, stop this attack and set the Intention to AI_INTENTION_ACTIVE
*
Call all WorldObject of its Faction inside the Faction Range
- *
Chose a target and order to attack it with magic skill or physical attack
- *
+ *
Chose a target and order to attack it with magic skill or physical attack
* TODO: Manage casting rules to healer mobs (like Ant Nurses)
*/
private void thinkAttack()
@@ -639,8 +626,7 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
}
/**
- * Manage AI thinking actions of a Attackable.
- *
+ * Manage AI thinking actions of a Attackable.
*/
@Override
protected void onEvtThink()
@@ -674,14 +660,12 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
}
/**
- * Launch actions corresponding to the Event Attacked.
- *
- * Actions :
- *
+ * Launch actions corresponding to the Event Attacked.
+ *
+ * Actions:
*
Init the attack : Calculate the attack timeout, Set the _globalAggro to 0, Add the attacker to the actor _aggroList
*
Set the Creature movement type to run and send Server->Client packet ChangeMoveType to all others PlayerInstance
- *
Set the Intention to AI_INTENTION_ATTACK
- *
+ *
Set the Intention to AI_INTENTION_ATTACK
* @param attacker The Creature that attacks the actor
*/
@Override
@@ -715,13 +699,11 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
}
/**
- * Launch actions corresponding to the Event Aggression.
- *
- * Actions :
- *
+ * Launch actions corresponding to the Event Aggression.
+ *
+ * Actions:
*
Add the target to the actor _aggroList or update hate if already present
- *
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
- *
+ *
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
* @param target The Creature that attacks
* @param aggro The value of hate to add to the actor against the target
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/datatables/ItemTable.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/datatables/ItemTable.java
index bfe85449a2..4de7d29d95 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/datatables/ItemTable.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/datatables/ItemTable.java
@@ -162,14 +162,12 @@ public class ItemTable
}
/**
- * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity.
- *
- * Actions :
- *
+ * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity.
+ *
+ * Actions:
*
Create and Init the ItemInstance corresponding to the Item Identifier and quantity
*
Add the ItemInstance object to _allObjects of L2world
- *
Logs Item creation according to LOGGER settings
- *
+ *
Logs Item creation according to LOGGER settings
* @param process : String Identifier of process triggering this action
* @param itemId : int Item Identifier of the item to be created
* @param count : int Quantity of items to be created for stackable items
@@ -240,9 +238,8 @@ public class ItemTable
}
/**
- * Returns a dummy (fr = factice) item.
- *
- * Concept :
+ * Returns a dummy (fr = factice) item.
+ * Concept :
* Dummy item is created by setting the ID of the object in the world at null value
* @param itemId : int designating the item
* @return ItemInstance designating the dummy item created
@@ -275,14 +272,12 @@ public class ItemTable
}
/**
- * Destroys the ItemInstance.
- *
- * Actions :
- *
+ * Destroys the ItemInstance.
+ *
+ * Actions:
*
Sets ItemInstance parameters to be unusable
*
Removes the ItemInstance object to _allObjects of L2world
- *
Logs Item delettion according to LOGGER settings
- *
+ *
Logs Item delettion according to LOGGER settings
* @param process : String Identifier of process triggering this action
* @param item
* @param actor : PlayerInstance Player requesting the item destroy
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/datatables/sql/SkillTreeTable.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/datatables/sql/SkillTreeTable.java
index 22cf9c50c6..57583447e4 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/datatables/sql/SkillTreeTable.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/datatables/sql/SkillTreeTable.java
@@ -231,8 +231,7 @@ public class SkillTreeTable
}
/**
- * Return the minimum level needed to have this Expertise.
- *
+ * Return the minimum level needed to have this Expertise.
* @param grade The grade level searched
* @return
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/datatables/sql/SpawnTable.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/datatables/sql/SpawnTable.java
index 70a9c0cc22..d4ec94e8c2 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/datatables/sql/SpawnTable.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/datatables/sql/SpawnTable.java
@@ -337,8 +337,7 @@ public class SpawnTable
}
/**
- * Get all the spawn of a NPC
- *
+ * Get all the spawn of a NPC
* @param player
* @param npcId : ID of the NPC to find.
* @param teleportIndex
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/datatables/xml/AdminData.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/datatables/xml/AdminData.java
index 63bcd7d24d..e401686731 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/datatables/xml/AdminData.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/datatables/xml/AdminData.java
@@ -163,11 +163,9 @@ public class AdminData implements IXmlReader
}
/**
- * Returns the access level by characterAccessLevel
- *
+ * Returns the access level by characterAccessLevel
* @param accessLevelNum as int
- *
- * @return AccessLevel: AccessLevel instance by char access level
+ * @return AccessLevel: AccessLevel instance by char access level
*/
public AccessLevel getAccessLevel(int accessLevelNum)
{
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/datatables/xml/ManorSeedData.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/datatables/xml/ManorSeedData.java
index fdef4ae96c..1ed9d91a36 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/datatables/xml/ManorSeedData.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/datatables/xml/ManorSeedData.java
@@ -272,7 +272,7 @@ public class ManorSeedData implements IXmlReader
}
/**
- * Returns castle id where seed can be showed
+ * Returns castle id where seed can be showed
* @param seedId
* @return castleId
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/AutoAnnouncementHandler.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/AutoAnnouncementHandler.java
index ced6f7908b..d7ebddb7d4 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/AutoAnnouncementHandler.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/AutoAnnouncementHandler.java
@@ -123,7 +123,7 @@ public class AutoAnnouncementHandler
}
/**
- * Registers a globally active autoannouncement.
+ * Registers a globally active autoannouncement.
* Returns the associated auto announcement instance.
* @param id
* @param announcementTexts
@@ -136,7 +136,7 @@ public class AutoAnnouncementHandler
}
/**
- * Registers a NON globally-active auto announcement
+ * Registers a NON globally-active auto announcement
* Returns the associated auto chat instance.
* @param id
* @param announcementTexts
@@ -413,8 +413,8 @@ public class AutoAnnouncementHandler
}
/**
- * Auto Announcement Runner
- *
+ * Auto Announcement Runner
+ *
* Represents the auto announcement scheduled task for each announcement instance.
* @author chief
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/AutoChatHandler.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/AutoChatHandler.java
index e7f83cf64c..e69ee873e0 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/AutoChatHandler.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/AutoChatHandler.java
@@ -98,7 +98,7 @@ public class AutoChatHandler implements SpawnListener
}
/**
- * Registers a globally active auto chat for ALL instances of the given NPC ID.
+ * Registers a globally active auto chat for ALL instances of the given NPC ID.
* Returns the associated auto chat instance.
* @param npcId
* @param chatTexts
@@ -111,7 +111,7 @@ public class AutoChatHandler implements SpawnListener
}
/**
- * Registers a NON globally-active auto chat for the given NPC instance, and adds to the currently assigned chat instance for this NPC ID, otherwise creates a new instance if a previous one is not found.
+ * Registers a NON globally-active auto chat for the given NPC instance, and adds to the currently assigned chat instance for this NPC ID, otherwise creates a new instance if a previous one is not found.
* Returns the associated auto chat instance.
* @param npcInst
* @param chatTexts
@@ -215,8 +215,7 @@ public class AutoChatHandler implements SpawnListener
}
/**
- * Used in conjunction with a SpawnListener, this method is called every time an NPC is spawned in the world.
- *
+ * Used in conjunction with a SpawnListener, this method is called every time an NPC is spawned in the world.
* If an auto chat instance is set to be "global", all instances matching the registered NPC ID will be added to that chat instance.
*/
@Override
@@ -242,8 +241,7 @@ public class AutoChatHandler implements SpawnListener
}
/**
- * Auto Chat Instance
- *
+ * Auto Chat Instance
* Manages the auto chat instances for a specific registered NPC ID.
* @author Tempy
*/
@@ -281,9 +279,9 @@ public class AutoChatHandler implements SpawnListener
}
/**
- * Defines an auto chat for an instance matching this auto chat instance's registered NPC ID, and launches the scheduled chat task.
- * Returns the object ID for the NPC instance, with which to refer to the created chat definition.
- * Note: Uses pre-defined default values for texts and chat delays from the chat instance.
+ * Defines an auto chat for an instance matching this auto chat instance's registered NPC ID, and launches the scheduled chat task.
+ * Returns the object ID for the NPC instance, with which to refer to the created chat definition.
+ * Note: Uses pre-defined default values for texts and chat delays from the chat instance.
* @param npcInst
* @return objectId
*/
@@ -293,7 +291,7 @@ public class AutoChatHandler implements SpawnListener
}
/**
- * Defines an auto chat for an instance matching this auto chat instance's registered NPC ID, and launches the scheduled chat task.
+ * Defines an auto chat for an instance matching this auto chat instance's registered NPC ID, and launches the scheduled chat task.
* Returns the object ID for the NPC instance, with which to refer to the created chat definition.
* @param npcInst
* @param chatTexts
@@ -512,9 +510,9 @@ public class AutoChatHandler implements SpawnListener
}
/**
- * Auto Chat Definition
- *
- * Stores information about specific chat data for an instance of the NPC ID specified by the containing auto chat instance.
+ * Auto Chat Definition
+ *
+ * Stores information about specific chat data for an instance of the NPC ID specified by the containing auto chat instance.
* Each NPC instance of this type should be stored in a subsequent AutoChatDefinition class.
* @author Tempy
*/
@@ -618,8 +616,8 @@ public class AutoChatHandler implements SpawnListener
}
/**
- * Auto Chat Runner
- *
+ * Auto Chat Runner
+ *
* Represents the auto chat scheduled task for each chat instance.
* @author Tempy
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/IBBSHandler.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/IBBSHandler.java
index cf2618e3ce..cb1aa6c2d0 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/IBBSHandler.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/IBBSHandler.java
@@ -29,8 +29,8 @@ public interface IBBSHandler
String[] getBBSCommands();
/**
- * @param command as String - _bbs
- * @param player as PlayerInstance - Alt+B
+ * @param command as String - _bbs
+ * @param player as PlayerInstance - Alt+B
* @param params as String -
*/
void handleCommand(String command, PlayerInstance player, String params);
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/IItemHandler.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/IItemHandler.java
index 8576caff52..e2f9c15253 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/IItemHandler.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/IItemHandler.java
@@ -29,9 +29,8 @@ public interface IItemHandler
void useItem(Playable playable, ItemInstance item);
/**
- * Returns the list of item IDs corresponding to the type of item.
- *
- * Use :
+ * Returns the list of item IDs corresponding to the type of item.
+ * Use :
* This method is called at initialization to register all the item IDs automatically
* @return int[] designating all itemIds for a type of item.
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/ItemHandler.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/ItemHandler.java
index bacfadb282..ad7c235394 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/ItemHandler.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/ItemHandler.java
@@ -129,10 +129,9 @@ public class ItemHandler
}
/**
- * Adds handler of item type in datatable.
- *
- * Concept :
- * This handler is put in datatable Map <Integer ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
+ * Adds handler of item type in datatable.
+ * Concept :
+ * This handler is put in datatable Map <Integer ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
* @param handler (IItemHandler)
*/
public void registerItemHandler(IItemHandler handler)
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminAdmin.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminAdmin.java
index dee6bbeb97..f921e26f09 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminAdmin.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminAdmin.java
@@ -78,13 +78,13 @@ public class AdminAdmin implements IAdminCommandHandler
case "admin_gmliston":
{
AdminData.getInstance().showGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Registerd into gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Registerd into GM list.");
return true;
}
case "admin_gmlistoff":
{
AdminData.getInstance().hideGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Removed from gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Removed from GM list.");
return true;
}
case "admin_silence":
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminChangeAccessLevel.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminChangeAccessLevel.java
index 119be4489e..0e6e22234b 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminChangeAccessLevel.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminChangeAccessLevel.java
@@ -22,8 +22,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles Access Level Management commands:
- *
+ * This class handles Access Level Management commands:
*/
public class AdminChangeAccessLevel implements IAdminCommandHandler
{
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminEventEngine.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminEventEngine.java
index b69a4e5e8b..e3f6446de4 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminEventEngine.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminEventEngine.java
@@ -495,7 +495,7 @@ public class AdminEventEngine implements IAdminCommandHandler
final NpcHtmlMessage adminReply = new NpcHtmlMessage(5);
final StringBuilder replyMSG = new StringBuilder("");
replyMSG.append("
[ L2J EVENT ENGINE ]
");
- replyMSG.append("
Event's Title ");
+ replyMSG.append("
Event's Title ");
if (tempName.equals(""))
{
replyMSG.append("Use //event_name text to insert a new title");
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminFightCalculator.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminFightCalculator.java
index 51be566187..ae54786b99 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminFightCalculator.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminFightCalculator.java
@@ -31,7 +31,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
/**
- * This class handles following admin commands: - gm = turns gm mode on/off
+ * This class handles following admin commands: - GM = turns GM mode on/off
* @version $Revision: 1.1.2.1 $ $Date: 2005/03/15 21:32:48 $
*/
public class AdminFightCalculator implements IAdminCommandHandler
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminGm.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminGm.java
index 718b14f204..33ba2247c4 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminGm.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminGm.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles following admin commands: - gm = turns gm mode on/off
+ * This class handles following admin commands: - GM = turns GM mode on/off
* @version $Revision: 1.2.4.4 $ $Date: 2005/04/11 10:06:06 $
*/
public class AdminGm implements IAdminCommandHandler
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminPForge.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminPForge.java
index c8ca7446c5..2f8100d387 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminPForge.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminPForge.java
@@ -25,7 +25,7 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles commands for gm to forge packets
+ * This class handles commands for GM to forge packets
* @author Maktakien
*/
public class AdminPForge implements IAdminCommandHandler
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminPledge.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminPledge.java
index a9b02330d0..28524618eb 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminPledge.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminPledge.java
@@ -29,14 +29,14 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * Pledge Manipulation:
- *
With target in a character without clan:
+ * Pledge Manipulation:
+ *
With target in a character without clan:
* //pledge create clanname
- *
With target in a clan leader:
- * //pledge info
- * //pledge dismiss
- * //pledge setlevel level
- * //pledge rep reputation_points
+ *
With target in a clan leader:
+ * //pledge info
+ * //pledge dismiss
+ * //pledge setlevel level
+ * //pledge rep reputation_points
*/
public class AdminPledge implements IAdminCommandHandler
{
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminSkill.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminSkill.java
index 4d9959561b..256f128693 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminSkill.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminSkill.java
@@ -172,7 +172,7 @@ public class AdminSkill implements IAdminCommandHandler
/**
* This function will give all the skills that the target can learn at his/her level
- * @param activeChar the gm char
+ * @param activeChar the GM char
*/
private void adminGiveAllSkills(PlayerInstance activeChar)
{
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/skillhandlers/SiegeFlag.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/skillhandlers/SiegeFlag.java
index 1aeb98410c..b8dbe76810 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/skillhandlers/SiegeFlag.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/skillhandlers/SiegeFlag.java
@@ -112,8 +112,7 @@ public class SiegeFlag implements ISkillHandler
}
/**
- * Return true if character clan place a flag
- *
+ * Return true if character clan place a flag
* @param creature The Creature of the creature placing the flag
* @param isCheckOnly if false, it will send a notification to the player telling him why it failed
* @return
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/skillhandlers/StrSiegeAssault.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/skillhandlers/StrSiegeAssault.java
index 7b9cda8c2a..209d767615 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/skillhandlers/StrSiegeAssault.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/skillhandlers/StrSiegeAssault.java
@@ -150,8 +150,7 @@ public class StrSiegeAssault implements ISkillHandler
}
/**
- * Return true if character clan place a flag
- *
+ * Return true if character clan place a flag
* @param creature The Creature of the creature placing the flag
* @param isCheckOnly if false, it will send a notification to the player telling him why it failed
* @return
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/skillhandlers/TakeCastle.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/skillhandlers/TakeCastle.java
index fcbed9ffa8..e569e7ed45 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/skillhandlers/TakeCastle.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/skillhandlers/TakeCastle.java
@@ -98,8 +98,7 @@ public class TakeCastle implements ISkillHandler
}
/**
- * Return true if character clan place a flag
- *
+ * Return true if character clan place a flag
* @param creature The Creature of the creature placing the flag
* @param isCheckOnly
* @return
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/skillhandlers/TakeFort.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/skillhandlers/TakeFort.java
index b0a55b2ec1..53266b324f 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/skillhandlers/TakeFort.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/skillhandlers/TakeFort.java
@@ -25,8 +25,8 @@ package org.l2jmobius.gameserver.handler.skillhandlers;
* || !checkIfOkToCastFlagDisplay(player, fort, true)) return; try { // if(targets[0] instanceof ArtefactInstance) fort.EndOfSiege(player.getClan()); } catch(Exception e) {} } //public SkillType[] getSkillIds() //{ //return SKILL_IDS; //}
*/
/**
- * Return true if character clan place a flag
- *
+ * Return true if character clan place a flag
+ *
* @param activeChar The Creature of the creature placing the flag
*/
/*
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/Repair.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/Repair.java
index 3b209a8420..cbde933927 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/Repair.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/Repair.java
@@ -30,12 +30,12 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
/**
- * User Character .repair voicecommand - SL2 L2JEmu
- *
- * NOTICE: Voice command .repair that when used, allows player to try to repair any of characters on his account, by setting spawn to Floran, removing all shortcuts and moving everything equipped to that char warehouse.
- *
- * (solving client crashes on character entering world)
- *
+ * User Character .repair voicecommand - SL2 L2JEmu
+ *
+ * NOTICE: Voice command .repair that when used, allows player to try to repair any of characters on his account, by setting spawn to Floran, removing all shortcuts and moving everything equipped to that char warehouse.
+ *
+ * (solving client crashes on character entering world)
+ *
* @author szponiasty
* @version $Revision: 0.17.2.95.2.9 $ $Date: 2010/03/03 9:07:11 $
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/StatsCmd.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/StatsCmd.java
index 9a95c490c4..7d44135646 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/StatsCmd.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/voicedcommandhandlers/StatsCmd.java
@@ -146,7 +146,7 @@ public class StatsCmd implements IVoicedCommandHandler
replyMSG.append("
[ L2J EVENT ENGINE ]
");
replyMSG.append(" Statistics for player " + targetp.getName() + " ");
replyMSG.append("Total kills " + targetp.kills.size() + " ");
- replyMSG.append(" Detailed list: ");
+ replyMSG.append(" Detailed list: ");
for (String kill : targetp.kills)
{
replyMSG.append("" + kill + " ");
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/FortSiegeGuardManager.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/FortSiegeGuardManager.java
index a125c8d09c..3431f1be5e 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/FortSiegeGuardManager.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/FortSiegeGuardManager.java
@@ -46,8 +46,7 @@ public class FortSiegeGuardManager
}
/**
- * Add guard.
- *
+ * Add guard.
* @param player
* @param npcId
*/
@@ -62,8 +61,7 @@ public class FortSiegeGuardManager
}
/**
- * Add guard.
- *
+ * Add guard.
* @param x
* @param y
* @param z
@@ -76,8 +74,7 @@ public class FortSiegeGuardManager
}
/**
- * Hire merc.
- *
+ * Hire merc.
* @param player
* @param npcId
*/
@@ -92,8 +89,7 @@ public class FortSiegeGuardManager
}
/**
- * Hire merc.
- *
+ * Hire merc.
* @param x
* @param y
* @param z
@@ -131,8 +127,7 @@ public class FortSiegeGuardManager
}
/**
- * Remove mercs.
- *
+ * Remove mercs.
*/
public void removeMercs()
{
@@ -150,8 +145,7 @@ public class FortSiegeGuardManager
}
/**
- * Spawn guards.
- *
+ * Spawn guards.
*/
public void spawnSiegeGuard()
{
@@ -173,8 +167,7 @@ public class FortSiegeGuardManager
}
/**
- * Unspawn guards.
- *
+ * Unspawn guards.
*/
public void unspawnSiegeGuard()
{
@@ -193,8 +186,7 @@ public class FortSiegeGuardManager
}
/**
- * Load guards.
- *
+ * Load guards.
*/
private void loadSiegeGuard()
{
@@ -237,8 +229,7 @@ public class FortSiegeGuardManager
}
/**
- * Save guards.
- *
+ * Save guards.
* @param x
* @param y
* @param z
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/FortSiegeManager.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/FortSiegeManager.java
index 66e0ff696a..7bcb611587 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/FortSiegeManager.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/FortSiegeManager.java
@@ -78,8 +78,7 @@ public class FortSiegeManager
}
/**
- * Return true if character summon
- *
+ * Return true if character summon
* @param creature The Creature of the creature can summon
* @param isCheckOnly
* @return
@@ -120,8 +119,7 @@ public class FortSiegeManager
}
/**
- * Return true if the clan is registered or owner of a fort
- *
+ * Return true if the clan is registered or owner of a fort
* @param clan The Clan of the player
* @param fortid
* @return
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/QuestManager.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/QuestManager.java
index 828807464d..dfc43b665f 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/QuestManager.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/QuestManager.java
@@ -44,8 +44,8 @@ public class QuestManager
}
/**
- * Reloads a the quest given by questId.
- * NOTICE: Will only work if the quest name is equal the quest folder name
+ * Reloads a the quest given by questId.
+ * NOTICE: Will only work if the quest name is equal the quest folder name
* @param questId The id of the quest to be reloaded
* @return true if reload was succesful, false otherwise
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/SiegeGuardManager.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/SiegeGuardManager.java
index 2d99cd3d9b..787c66ec2c 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/SiegeGuardManager.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/SiegeGuardManager.java
@@ -43,8 +43,7 @@ public class SiegeGuardManager
}
/**
- * Add guard.
- *
+ * Add guard.
* @param player
* @param npcId
*/
@@ -59,8 +58,7 @@ public class SiegeGuardManager
}
/**
- * Add guard.
- *
+ * Add guard.
* @param x
* @param y
* @param z
@@ -73,8 +71,7 @@ public class SiegeGuardManager
}
/**
- * Hire merc.
- *
+ * Hire merc.
* @param player
* @param npcId
*/
@@ -89,8 +86,7 @@ public class SiegeGuardManager
}
/**
- * Hire merc.
- *
+ * Hire merc.
* @param x
* @param y
* @param z
@@ -128,8 +124,7 @@ public class SiegeGuardManager
}
/**
- * Remove mercs.
- *
+ * Remove mercs.
*/
public void removeMercs()
{
@@ -147,8 +142,7 @@ public class SiegeGuardManager
}
/**
- * Spawn guards.
- *
+ * Spawn guards.
*/
public void spawnSiegeGuard()
{
@@ -163,8 +157,7 @@ public class SiegeGuardManager
}
/**
- * Unspawn guards.
- *
+ * Unspawn guards.
*/
public void unspawnSiegeGuard()
{
@@ -183,8 +176,7 @@ public class SiegeGuardManager
}
/**
- * Load guards.
- *
+ * Load guards.
*/
private void loadSiegeGuard()
{
@@ -235,8 +227,7 @@ public class SiegeGuardManager
}
/**
- * Save guards.
- *
+ * Save guards.
* @param x
* @param y
* @param z
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/SiegeManager.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/SiegeManager.java
index 63b45d2b33..a08c86bad6 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/SiegeManager.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/SiegeManager.java
@@ -80,8 +80,7 @@ public class SiegeManager
}
/**
- * Return true if character summon
- *
+ * Return true if character summon
* @param creature The Creature of the creature can summon
* @param isCheckOnly
* @return
@@ -134,8 +133,7 @@ public class SiegeManager
}
/**
- * Return true if the clan is registered or owner of a castle
- *
+ * Return true if the clan is registered or owner of a castle
* @param clan The Clan of the player
* @param castleid
* @return
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/AccessLevel.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/AccessLevel.java
index 48b0b2e1cd..f5646b3f35 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/AccessLevel.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/AccessLevel.java
@@ -38,22 +38,21 @@ public class AccessLevel
private boolean _canDisableGmStatus = false;
/**
- * Initializes members
- *
- * @param accessLevel as int
- * @param name as String
- * @param nameColor as int
- * @param titleColor as int
- * @param isGm as boolean
- * @param allowPeaceAttack as boolean
- * @param allowFixedRes as boolean
- * @param allowTransaction as boolean
- * @param allowAltG as boolean
- * @param giveDamage as boolean
- * @param takeAggro as boolean
- * @param gainExp as boolean
- * @param useNameColor as boolean
- * @param useTitleColor as boolean
+ * Initializes members
+ * @param accessLevel as int
+ * @param name as String
+ * @param nameColor as int
+ * @param titleColor as int
+ * @param isGm as boolean
+ * @param allowPeaceAttack as boolean
+ * @param allowFixedRes as boolean
+ * @param allowTransaction as boolean
+ * @param allowAltG as boolean
+ * @param giveDamage as boolean
+ * @param takeAggro as boolean
+ * @param gainExp as boolean
+ * @param useNameColor as boolean
+ * @param useTitleColor as boolean
* @param canDisableGmStatus
*/
public AccessLevel(int accessLevel, String name, int nameColor, int titleColor, boolean isGm, boolean allowPeaceAttack, boolean allowFixedRes, boolean allowTransaction, boolean allowAltG, boolean giveDamage, boolean takeAggro, boolean gainExp, boolean useNameColor, boolean useTitleColor, boolean canDisableGmStatus)
@@ -76,9 +75,8 @@ public class AccessLevel
}
/**
- * Returns the access level
- *
- * @return int: access level
+ * Returns the access level
+ * @return int: access level
*/
public int getLevel()
{
@@ -86,9 +84,8 @@ public class AccessLevel
}
/**
- * Returns the access level name
- *
- * @return String: access level name
+ * Returns the access level name
+ * @return String: access level name
*/
public String getName()
{
@@ -96,9 +93,8 @@ public class AccessLevel
}
/**
- * Returns the name color of the access level
- *
- * @return int: the name color for the access level
+ * Returns the name color of the access level
+ * @return int: the name color for the access level
*/
public int getNameColor()
{
@@ -106,9 +102,8 @@ public class AccessLevel
}
/**
- * Returns the title color color of the access level
- *
- * @return int: the title color for the access level
+ * Returns the title color color of the access level
+ * @return int: the title color for the access level
*/
public int getTitleColor()
{
@@ -116,9 +111,8 @@ public class AccessLevel
}
/**
- * Retuns if the access level has gm access or not
- *
- * @return boolean: true if access level have gm access, otherwise false
+ * Retuns if the access level has GM access or not
+ * @return boolean: true if access level have GM access, otherwise false
*/
public boolean isGm()
{
@@ -126,9 +120,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to attack in peace zone or not
- *
- * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
+ * Returns if the access level is allowed to attack in peace zone or not
+ * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
*/
public boolean allowPeaceAttack()
{
@@ -144,9 +137,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to perform transactions or not
- *
- * @return boolean: true if access level is allowed to perform transactions, otherwise false
+ * Returns if the access level is allowed to perform transactions or not
+ * @return boolean: true if access level is allowed to perform transactions, otherwise false
*/
public boolean allowTransaction()
{
@@ -154,9 +146,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to use AltG commands or not
- *
- * @return boolean: true if access level is allowed to use AltG commands, otherwise false
+ * Returns if the access level is allowed to use AltG commands or not
+ * @return boolean: true if access level is allowed to use AltG commands, otherwise false
*/
public boolean allowAltG()
{
@@ -164,9 +155,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can give damage or not
- *
- * @return boolean: true if the access level can give damage, otherwise false
+ * Returns if the access level can give damage or not
+ * @return boolean: true if the access level can give damage, otherwise false
*/
public boolean canGiveDamage()
{
@@ -174,9 +164,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can take aggro or not
- *
- * @return boolean: true if the access level can take aggro, otherwise false
+ * Returns if the access level can take aggro or not
+ * @return boolean: true if the access level can take aggro, otherwise false
*/
public boolean canTakeAggro()
{
@@ -184,9 +173,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can gain exp or not
- *
- * @return boolean: true if the access level can gain exp, otherwise false
+ * Returns if the access level can gain exp or not
+ * @return boolean: true if the access level can gain exp, otherwise false
*/
public boolean canGainExp()
{
@@ -204,9 +192,8 @@ public class AccessLevel
}
/**
- * Retuns if the access level is a gm that can temp disable gm access
- *
- * @return boolean: true if is a gm that can temp disable gm access, otherwise false
+ * Retuns if the access level is a GM that can temp disable GM access
+ * @return boolean: true if is a GM that can temp disable GM access, otherwise false
*/
public boolean canDisableGmStatus()
{
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/ArmorSet.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/ArmorSet.java
index afe27705fd..861200a899 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/ArmorSet.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/ArmorSet.java
@@ -50,7 +50,7 @@ public class ArmorSet
}
/**
- * Checks if player have equiped all items from set (not checking shield)
+ * Checks if player have equipped all items from set (not checking shield)
* @param player whose inventory is being checked
* @return True if player equips whole set
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/Effect.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/Effect.java
index 5d96983c63..c6e1a8d7d3 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/Effect.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/Effect.java
@@ -351,13 +351,11 @@ public abstract class Effect
}
/**
- * Stop the Effect task and send Server->Client update packet.
- *
- * Actions :
- *
+ * Stop the Effect task and send Server->Client update packet.
+ *
+ * Actions:
*
Cancel the effect in the the abnormal effect map of the Creature
- *
Stop the task of the Effect, remove it and update client magic icone
- *
+ *
Stop the task of the Effect, remove it and update client magic icone
*/
public void exit()
{
@@ -378,13 +376,11 @@ public abstract class Effect
}
/**
- * Stop the task of the Effect, remove it and update client magic icone.
- *
- * Actions :
- *
+ * Stop the task of the Effect, remove it and update client magic icone.
+ *
+ * Actions:
*
Cancel the task
- *
Stop and remove Effect from Creature and update client magic icone
- *
+ *
Stop and remove Effect from Creature and update client magic icone
*/
public synchronized void stopEffectTask()
{
@@ -426,8 +422,7 @@ public abstract class Effect
}
/**
- * Cancel the effect in the the abnormal effect map of the effected Creature.
- *
+ * Cancel the effect in the the abnormal effect map of the effected Creature.
*/
public void onExit()
{
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/Inventory.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/Inventory.java
index 070acbe7fc..83451733d6 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/Inventory.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/Inventory.java
@@ -398,7 +398,7 @@ public abstract class Inventory extends ItemContainer
return;
}
- // checks if equiped item is part of set
+ // checks if equipped item is part of set
if (armorSet.containItem(slot, item.getItemId()))
{
if (armorSet.containAll(player))
@@ -618,7 +618,7 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Drop item from inventory by using its objectID and updates database
+ * Drop item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
@@ -652,8 +652,7 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Adds item to inventory for further adjustments and Equip it if necessary (itemlocation defined)
- *
+ * Adds item to inventory for further adjustments and Equip it if necessary (itemlocation defined)
* @param item : ItemInstance to be added from inventory
*/
@Override
@@ -859,7 +858,7 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Equips an item in the given slot of the paperdoll. Remark : The item HAS TO BE already in the inventory
+ * Equips an item in the given slot of the paperdoll. Remark : The item HAS TO BE already in the inventory
* @param slot : int pointing out the slot of the paperdoll
* @param item : ItemInstance pointing out the item to add in slot
* @return ItemInstance designating the item placed in the slot before
@@ -1479,8 +1478,7 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Return the ItemInstance of the arrows needed for this bow.
- *
+ * Return the ItemInstance of the arrows needed for this bow.
* @param bow : Item designating the bow
* @return ItemInstance pointing out arrows for bow
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/ItemContainer.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/ItemContainer.java
index 3e9f06027c..087ae2710c 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/ItemContainer.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/ItemContainer.java
@@ -83,8 +83,7 @@ public abstract class ItemContainer
}
/**
- * Returns the item from inventory by using its itemId
- *
+ * Returns the item from inventory by using its itemId
* @param itemId : int designating the ID of the item
* @return ItemInstance designating the item or null if not found in inventory
*/
@@ -101,8 +100,7 @@ public abstract class ItemContainer
}
/**
- * Returns the item from inventory by using its itemId
- *
+ * Returns the item from inventory by using its itemId
* @param itemId : int designating the ID of the item
* @param itemToIgnore : used during a loop, to avoid returning the same item
* @return ItemInstance designating the item or null if not found in inventory
@@ -120,7 +118,7 @@ public abstract class ItemContainer
}
/**
- * Returns item from inventory by using its objectId
+ * Returns item from inventory by using its objectId
* @param objectId : int designating the ID of the object
* @return ItemInstance designating the item or null if not found in inventory
*/
@@ -303,8 +301,7 @@ public abstract class ItemContainer
}
/**
- * Adds Wear/Try On item to inventory
- *
+ * Adds Wear/Try On item to inventory
* @param process : String Identifier of process triggering this action
* @param itemId : int Item Identifier of the item to be added
* @param actor : PlayerInstance Player requesting the item add
@@ -463,7 +460,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its objectID and updates database
+ * Destroy item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -498,7 +495,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its itemId and updates database
+ * Destroy item from inventory by using its itemId and updates database
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/ItemInfo.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/ItemInfo.java
index 89e9a534e7..41abb963b2 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/ItemInfo.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/ItemInfo.java
@@ -20,8 +20,7 @@ import org.l2jmobius.gameserver.model.items.Item;
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
/**
- * Get all information from ItemInstance to generate ItemInfo.
- *
+ * Get all information from ItemInstance to generate ItemInfo.
*/
public class ItemInfo
{
@@ -38,8 +37,7 @@ public class ItemInfo
private int _mana;
/**
- * Get all information from ItemInstance to generate ItemInfo.
- *
+ * Get all information from ItemInstance to generate ItemInfo.
* @param item
*/
public ItemInfo(ItemInstance item)
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/MinionData.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/MinionData.java
index 88014e904a..b8410657c5 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/MinionData.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/MinionData.java
@@ -19,11 +19,11 @@ package org.l2jmobius.gameserver.model;
import org.l2jmobius.commons.util.Rnd;
/**
- * This class defines the spawn data of a Minion type In a group mob, there are one master called RaidBoss and several slaves called Minions. Data :
- *
+ * This class defines the spawn data of a Minion type In a group mob, there are one master called RaidBoss and several slaves called Minions.
+ *
+ * Data:
*
_minionId : The Identifier of the Minion to spawn
- *
_minionAmount : The number of this Minion Type to spawn
- *
+ *
_minionAmount : The number of this Minion Type to spawn
*/
public class MinionData
{
@@ -36,8 +36,7 @@ public class MinionData
private int _minionAmountMax;
/**
- * Set the Identifier of the Minion to spawn.
- *
+ * Set the Identifier of the Minion to spawn.
* @param id
*/
public void setMinionId(int id)
@@ -54,8 +53,7 @@ public class MinionData
}
/**
- * Set the minimum of minions to amount.
- *
+ * Set the minimum of minions to amount.
* @param amountMin The minimum quantity of this Minion type to spawn
*/
public void setAmountMin(int amountMin)
@@ -64,8 +62,7 @@ public class MinionData
}
/**
- * Set the maximum of minions to amount.
- *
+ * Set the maximum of minions to amount.
* @param amountMax The maximum quantity of this Minion type to spawn
*/
public void setAmountMax(int amountMax)
@@ -74,8 +71,7 @@ public class MinionData
}
/**
- * Set the amount of this Minion type to spawn.
- *
+ * Set the amount of this Minion type to spawn.
* @param amount The quantity of this Minion type to spawn
*/
public void setAmount(int amount)
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/ObjectPosition.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/ObjectPosition.java
index 3ff244eb88..b0220bf312 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/ObjectPosition.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/ObjectPosition.java
@@ -42,15 +42,13 @@ public class ObjectPosition
}
/**
- * Set the x,y,z position of the WorldObject and if necessary modify its _worldRegion.
- *
- * Assert :
- *
- *
_worldRegion != null
- *
- * Example of use :
- *
- *
Update position during and after movement, or after teleport
+ * Set the x,y,z position of the WorldObject and if necessary modify its _worldRegion.
+ *
+ * Assert:
+ *
_worldRegion != null
+ *
+ * Example of use:
+ *
Update position during and after movement, or after teleport
* @param x the x
* @param y the y
* @param z the z
@@ -82,20 +80,18 @@ public class ObjectPosition
}
/**
- * Set the x,y,z position of the WorldObject and make it invisible.
- *
- * Concept :
- *
- * A WorldObject is invisble if _hidden=true or _worldregion==null
- *
- * Assert :
- *
- *
_worldregion==null (WorldObject is invisible)
- *
- * Example of use :
- *
+ * Set the x,y,z position of the WorldObject and make it invisible.
+ *
+ * Concept:
+ *
+ * A WorldObject is invisble if _hidden=true or _worldregion==null
+ *
+ * Assert:
+ *
_worldregion==null (WorldObject is invisible)
+ *
+ * Example of use:
*
Create a Door
- *
Restore PlayerInstance
+ *
Restore PlayerInstance
* @param x the x
* @param y the y
* @param z the z
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/Party.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/Party.java
index 93edd7212e..e7ec3b8454 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/Party.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/Party.java
@@ -683,17 +683,14 @@ public class Party
}
/**
- * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
- *
- * Actions :
- *
+ * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
+ *
+ * Actions:
*
Get the PlayerInstance owner of the SummonInstance (if necessary)
*
Calculate the Experience and SP reward distribution rate
- *
Add Experience and SP to the PlayerInstance
- *
- * Caution : This method DOESN'T GIVE rewards to PetInstance
- *
- * Exception are PetInstances that leech from the owner's XP; they get the exp indirectly, via the owner's exp gain
+ *
Add Experience and SP to the PlayerInstance
+ * Caution: This method DOESN'T GIVE rewards to PetInstance
+ * Exception are PetInstances that leech from the owner's XP; they get the exp indirectly, via the owner's exp gain
* @param xpReward The Experience reward to distribute
* @param spReward The SP reward to distribute
* @param rewardedMembers The list of PlayerInstance to reward
@@ -765,9 +762,8 @@ public class Party
}
/**
- * Calculates and gives final XP and SP rewards to the party member.
- * This method takes in consideration number of members, members' levels, rewarder's level and bonus modifier for the actual party.
- *
+ * Calculates and gives final XP and SP rewards to the party member.
+ * This method takes in consideration number of members, members' levels, rewarder's level and bonus modifier for the actual party.
* @param member is the Creature to be rewarded
* @param xpReward is the total amount of XP to be "splited" and given to the member
* @param spReward is the total amount of SP to be "splited" and given to the member
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/PlayerFreight.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/PlayerFreight.java
index 517b84398e..0670e7efbd 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/PlayerFreight.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/PlayerFreight.java
@@ -92,7 +92,7 @@ public class PlayerFreight extends ItemContainer
}
/**
- * Returns the item from inventory by using its itemId
+ * Returns the item from inventory by using its itemId
* @param itemId : int designating the ID of the item
* @return ItemInstance designating the item or null if not found in inventory
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/PlayerInventory.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/PlayerInventory.java
index 4cacf90eed..2f901d705a 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/PlayerInventory.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/PlayerInventory.java
@@ -515,7 +515,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
+ * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -566,7 +566,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
+ * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/RecipeList.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/RecipeList.java
index 0120cc6f5e..644359d7df 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/RecipeList.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/RecipeList.java
@@ -19,8 +19,7 @@ package org.l2jmobius.gameserver.model;
import org.l2jmobius.gameserver.model.actor.instance.RecipeInstance;
/**
- * This class describes a Recipe used by Dwarf to craft Item. All RecipeList are made of RecipeInstance (1 line of the recipe : Item-Quantity needed).
- *
+ * This class describes a Recipe used by Dwarf to craft Item. All RecipeList are made of RecipeInstance (1 line of the recipe : Item-Quantity needed).
*/
public class RecipeList
{
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/Request.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/Request.java
index ab2d61f891..3c8507a78f 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/Request.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/Request.java
@@ -50,8 +50,7 @@ public class Request
}
/**
- * Set the PlayerInstance member of a transaction (ex : FriendInvite, JoinAlly, JoinParty...).
- *
+ * Set the PlayerInstance member of a transaction (ex : FriendInvite, JoinAlly, JoinParty...).
* @param partner
*/
private synchronized void setPartner(PlayerInstance partner)
@@ -131,8 +130,7 @@ public class Request
}
/**
- * Clears PC request state. Should be called after answer packet receive.
- *
+ * Clears PC request state. Should be called after answer packet receive.
*/
public void onRequestResponse()
{
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/Skill.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/Skill.java
index 438e474564..d17b0fd5d9 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/Skill.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/Skill.java
@@ -1390,10 +1390,9 @@ public abstract class Skill
}
/**
- * Return all targets of the skill in a table in function a the skill type.
- *
- * Values of skill type :
- *
+ * Return all targets of the skill in a table in function a the skill type.
+ *
+ * Values of skill type:
*
ONE : The skill can only be used on the PlayerInstance targeted, or on the caster if it's a PlayerInstance and no PlayerInstance targeted
*
SELF
*
HOLY, UNDEAD
@@ -1404,8 +1403,7 @@ public abstract class Skill
*
PARTY, CLAN
*
CORPSE_PLAYER, CORPSE_MOB, CORPSE_CLAN
*
UNLOCKABLE
- *
ITEM
- *
+ *
ITEM
* @param creature The Creature who use the skill
* @param onlyFirst
* @param target
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/World.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/World.java
index e619ec6bd6..e3e9cc923b 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/World.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/World.java
@@ -80,12 +80,11 @@ public class World
}
/**
- * Add WorldObject object in _allObjects.
- *
- * Example of use :
- *
+ * Add WorldObject object in _allObjects.
+ *
+ * Example of use:
*
Withdraw an item from the warehouse, create an item
- *
Spawn a Creature (PC, NPC, Pet)
+ *
Spawn a Creature (PC, NPC, Pet)
* @param object the object
*/
public void storeObject(WorldObject object)
@@ -94,13 +93,12 @@ public class World
}
/**
- * Remove WorldObject object from _allObjects of World.
- *
- * Example of use :
- *
+ * Remove WorldObject object from _allObjects of World.
+ *
+ * Example of use:
*
Delete item from inventory, tranfer Item from inventory to warehouse
*
Crystallize item
- *
Remove NPC/PC/Pet from the world
+ *
Remove NPC/PC/Pet from the world
* @param object WorldObject to remove from _allObjects of World
*/
public void removeObject(WorldObject object)
@@ -133,13 +131,12 @@ public class World
}
/**
- * Return the WorldObject object that belongs to an ID or null if no object found.
- *
- * Example of use :
- *
- *
* @param oID Identifier of the WorldObject
- * @return the l2 object
+ * @return the object
*/
public WorldObject findObject(int oID)
{
@@ -156,8 +153,7 @@ public class World
}
/**
- * Get the count of all visible objects in world.
- *
+ * Get the count of all visible objects in world.
* @return count off all World objects
*/
public int getAllVisibleObjectsCount()
@@ -166,10 +162,8 @@ public class World
}
/**
- * Return a collection containing all players in game.
- *
- * Caution : Read-only, please!
- *
+ * Return a collection containing all players in game.
+ * Caution: Read-only, please!
* @return the all players
*/
public Collection getAllPlayers()
@@ -178,8 +172,7 @@ public class World
}
/**
- * Return how many players are online.
- *
+ * Return how many players are online.
* @return number of online players.
*/
public static Integer getAllPlayersCount()
@@ -215,10 +208,8 @@ public class World
}
/**
- * Return a collection containing all pets in game.
- *
- * Caution : Read-only, please!
- *
+ * Return a collection containing all pets in game.
+ * Caution: Read-only, please!
* @return the all pets
*/
public Collection getAllPets()
@@ -227,8 +218,7 @@ public class World
}
/**
- * Return the pet instance from the given ownerId.
- *
+ * Return the pet instance from the given ownerId.
* @param ownerId ID of the owner
* @return the pet
*/
@@ -238,11 +228,10 @@ public class World
}
/**
- * Add the given pet instance from the given ownerId.
- *
+ * Add the given pet instance from the given ownerId.
* @param ownerId ID of the owner
* @param pet PetInstance of the pet
- * @return the l2 pet instance
+ * @return the pet instance
*/
public PetInstance addPet(int ownerId, PetInstance pet)
{
@@ -250,8 +239,7 @@ public class World
}
/**
- * Remove the given pet instance.
- *
+ * Remove the given pet instance.
* @param ownerId ID of the owner
*/
public void removePet(int ownerId)
@@ -260,8 +248,7 @@ public class World
}
/**
- * Remove the given pet instance.
- *
+ * Remove the given pet instance.
* @param pet the pet to remove
*/
public void removePet(PetInstance pet)
@@ -270,31 +257,27 @@ public class World
}
/**
- * Add a WorldObject in the world.
- *
- * Concept :
- *
- * WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures
- *
- * Actions :
- *
+ * Add a WorldObject in the world.
+ *
+ * Concept:
+ *
+ * WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures
+ *
+ * Actions:
*
Add the WorldObject object in _allPlayers* of World
*
Add the WorldObject object in _gmList** of GmListTable
- *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
- * * only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstance
- *
- * Caution : This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
- * Caution : This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation)
- *
- * Example of use :
- *
+ *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
+ * * only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstance
+ * Caution: This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
+ * Caution: This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation)
+ *
+ * Example of use:
*
Drop an Item
*
Spawn a Creature
- *
Apply Death Penalty of a PlayerInstance
- *
+ *
Apply Death Penalty of a PlayerInstance
* @param object L2object to add in the world
* @param newRegion the new region
* @param dropper Creature who has dropped the object (if necessary)
@@ -383,11 +366,10 @@ public class World
}
/**
- * Remove the PlayerInstance from _allPlayers of World.
- *
- * Example of use :
- *
- *
Remove a player fom the visible objects
+ * Remove the PlayerInstance from _allPlayers of World.
+ *
+ * Example of use:
+ *
Remove a player fom the visible objects
* @param player the cha
*/
public void removeFromAllPlayers(PlayerInstance player)
@@ -399,31 +381,26 @@ public class World
}
/**
- * Remove a WorldObject from the world.
- *
- * Concept :
- *
- * WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures
- *
- * Actions :
- *
+ * Remove a WorldObject from the world.
+ *
+ * Concept:
+ *
+ * WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures
+ *
+ * Actions:
*
Remove the WorldObject object from _allPlayers* of World
*
Remove the WorldObject object from _visibleObjects and _allPlayers* of WorldRegion
*
Remove the WorldObject object from _gmList** of GmListTable
- *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
- *
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- *
- * * only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstance
- *
- * Example of use :
- *
+ *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * * only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstance
+ *
+ * Example of use:
*
Pickup an Item
- *
Decay a Creature
- *
+ *
Decay a Creature
* @param object L2object to remove from the world
* @param oldRegion the old region
*/
@@ -483,16 +460,15 @@ public class World
}
/**
- * Return all visible objects of the WorldRegion object's and of its surrounding WorldRegion.
- *
- * Concept :
- *
- * All visible object are identified in _visibleObjects of their current WorldRegion
- * All surrounding WorldRegion are identified in _surroundingRegions of the selected WorldRegion in order to scan a large area around a WorldObject
- *
- * Example of use :
- *
- *
Find Close Objects for Creature
+ * Return all visible objects of the WorldRegion object's and of its surrounding WorldRegion.
+ *
+ * Concept:
+ *
+ * All visible object are identified in _visibleObjects of their current WorldRegion
+ * All surrounding WorldRegion are identified in _surroundingRegions of the selected WorldRegion in order to scan a large area around a WorldObject
+ *
+ * Example of use:
+ *
Find Close Objects for Creature
* @param object L2object that determine the current WorldRegion
* @return the visible objects
*/
@@ -540,18 +516,17 @@ public class World
}
/**
- * Return all visible objects of the WorldRegions in the circular area (radius) centered on the object.
- *
- * Concept :
- *
- * All visible object are identified in _visibleObjects of their current WorldRegion
- * All surrounding WorldRegion are identified in _surroundingRegions of the selected WorldRegion in order to scan a large area around a WorldObject
- *
- * Example of use :
- *
+ * Return all visible objects of the WorldRegions in the circular area (radius) centered on the object.
+ *
+ * Concept:
+ *
+ * All visible object are identified in _visibleObjects of their current WorldRegion
+ * All surrounding WorldRegion are identified in _surroundingRegions of the selected WorldRegion in order to scan a large area around a WorldObject
+ *
+ * Example of use:
*
Define the aggrolist of monster
*
Define visible objects of a WorldObject
- *
Skill : Confusion...
+ *
Skill : Confusion...
* @param object L2object that determine the center of the circular area
* @param radius Radius of the circular area
* @return the visible objects
@@ -609,18 +584,16 @@ public class World
}
/**
- * Return all visible objects of the WorldRegions in the spheric area (radius) centered on the object.
- *
- * Concept :
- *
- * All visible object are identified in _visibleObjects of their current WorldRegion
- * All surrounding WorldRegion are identified in _surroundingRegions of the selected WorldRegion in order to scan a large area around a WorldObject
- *
- * Example of use :
- *
+ * Return all visible objects of the WorldRegions in the spheric area (radius) centered on the object.
+ *
+ * Concept:
+ *
+ * All visible object are identified in _visibleObjects of their current WorldRegion
+ * All surrounding WorldRegion are identified in _surroundingRegions of the selected WorldRegion in order to scan a large area around a WorldObject
+ *
+ * Example of use:
*
Define the target list of a skill
- *
Define the target list of a polearme attack
- *
+ *
Define the target list of a polearme attack
* @param object L2object that determine the center of the circular area
* @param radius Radius of the spheric area
* @return the visible objects3 d
@@ -672,16 +645,15 @@ public class World
}
/**
- * Return all visible players of the WorldRegion object's and of its surrounding WorldRegion.
- *
- * Concept :
- *
- * All visible object are identified in _visibleObjects of their current WorldRegion
- * All surrounding WorldRegion are identified in _surroundingRegions of the selected WorldRegion in order to scan a large area around a WorldObject
- *
- * Example of use :
- *
- *
Find Close Objects for Creature
+ * Return all visible players of the WorldRegion object's and of its surrounding WorldRegion.
+ *
+ * Concept:
+ *
+ * All visible object are identified in _visibleObjects of their current WorldRegion
+ * All surrounding WorldRegion are identified in _surroundingRegions of the selected WorldRegion in order to scan a large area around a WorldObject
+ *
+ * Example of use:
+ *
Find Close Objects for Creature
* @param object WorldObject that determine the current WorldRegion
* @return the visible playable
*/
@@ -725,12 +697,11 @@ public class World
}
/**
- * Calculate the current WorldRegions of the object according to its position (x,y).
- *
- * Example of use :
- *
+ * Calculate the current WorldRegions of the object according to its position (x,y).
+ *
+ * Example of use:
*
Set position of a new WorldObject (drop, spawn...)
- *
Update position of a WorldObject after a mouvement
+ *
Update position of a WorldObject after a mouvement
* @param location the point
* @return the region
*/
@@ -760,15 +731,14 @@ public class World
}
/**
- * Init each WorldRegion and their surrounding table.
- *
- * Concept :
- *
- * All surrounding WorldRegion are identified in _surroundingRegions of the selected WorldRegion in order to scan a large area around a WorldObject
- *
- * Example of use :
- *
- *
Constructor of World
+ * Init each WorldRegion and their surrounding table.
+ *
+ * Concept:
+ *
+ * All surrounding WorldRegion are identified in _surroundingRegions of the selected WorldRegion in order to scan a large area around a WorldObject
+ *
+ * Example of use:
+ *
Constructor of World
*/
private void initRegions()
{
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/WorldObject.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/WorldObject.java
index e07bb2aef7..07a6045e7c 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/WorldObject.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/WorldObject.java
@@ -32,10 +32,9 @@ import org.l2jmobius.gameserver.network.serverpackets.ActionFailed;
import org.l2jmobius.gameserver.network.serverpackets.GetItem;
/**
- * Mother class of all objects in the world which ones is it possible to interact (PC, NPC, Item...)
- *
- * WorldObject :
- *
+ * Mother class of all objects in the world which ones is it possible to interact (PC, NPC, Item...)
+ *
+ * WorldObject:
*
Creature
*
ItemInstance
*
Potion
@@ -84,13 +83,11 @@ public abstract class WorldObject
}
/**
- * Do Nothing.
- *
- * Overridden in :
- *
+ * Do Nothing.
+ *
+ * Overridden in:
*
GuardInstance : Set the home location of its GuardInstance
- *
Attackable : Reset the Spoiled flag
- *
+ *
Attackable : Reset the Spoiled flag
*/
public void onSpawn()
{
@@ -123,23 +120,18 @@ public abstract class WorldObject
}
/**
- * Remove a WorldObject from the world.
- *
- * Actions :
- *
- *
Remove the WorldObject from the world
- *
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
- *
- * Assert :
- *
- *
_worldRegion != null (WorldObject is visible at the beginning)
- *
- * Example of use :
- *
- *
Delete NPC/PC or Unsummon
- *
+ * Remove a WorldObject from the world.
+ *
+ * Actions:
+ *
Remove the WorldObject from the world
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
+ *
+ * Assert:
+ *
_worldRegion != null (WorldObject is visible at the beginning)
+ *
+ * Example of use:
+ *
Delete NPC/PC or Unsummon
*/
public void decayMe()
{
@@ -156,24 +148,19 @@ public abstract class WorldObject
}
/**
- * Remove a ItemInstance from the world and send server->client GetItem packets.
- *
- * Actions :
- *
+ * Remove a ItemInstance from the world and send server->client GetItem packets.
+ *
+ * Actions:
*
Send a Server->Client Packet GetItem to player that pick up and its _knowPlayers member
- *
Remove the WorldObject from the world
- *
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- *
- * Assert :
- *
+ *
Remove the WorldObject from the world
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ *
+ * Assert:
*
this instanceof ItemInstance
- *
_worldRegion != null (WorldObject is visible at the beginning)
- *
- * Example of use :
- *
- *
Do Pickup Item : PCInstance and Pet
- *
+ *
_worldRegion != null (WorldObject is visible at the beginning)
+ *
+ * Example of use:
+ *
Do Pickup Item : PCInstance and Pet
* @param creature Player that pick up the item
*/
public void pickupMe(Creature creature) // NOTE: Should move this function into ItemInstance because it does not apply to Creature
@@ -213,23 +200,20 @@ public abstract class WorldObject
}
/**
- * Init the position of a WorldObject spawn and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init the position of a WorldObject spawn and add it in the world as a visible object.
+ *
+ * Actions:
*
Set the x,y,z position of the WorldObject spawn and update its _worldregion
*
Add the WorldObject spawn in the _allobjects of World
*
Add the WorldObject spawn to _visibleObjects of its WorldRegion
- *
Add the WorldObject spawn in the world as a visible object
- *
- * Assert :
- *
- *
_worldRegion == null (WorldObject is invisible at the beginning)
- *
- * Example of use :
- *
+ *
Add the WorldObject spawn in the world as a visible object
+ *
+ * Assert:
+ *
_worldRegion == null (WorldObject is invisible at the beginning)
+ *
+ * Example of use:
*
Create Door
- *
Spawn : Monster, Minion, CTs, Summon...
+ *
Spawn : Monster, Minion, CTs, Summon...
*/
public void spawnMe()
{
@@ -315,10 +299,9 @@ public abstract class WorldObject
public abstract boolean isAutoAttackable(Creature attacker);
/**
- * Concept :
- *
- * A WorldObject is visible if __IsVisible=true and _worldregion!=null
- *
+ * Concept:
+ *
+ * A WorldObject is visible if __IsVisible=true and _worldregion!=null
* @return the visibility state of the WorldObject.
*/
public boolean isVisible()
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/WorldRegion.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/WorldRegion.java
index 30e1ec9608..fbcc836ef0 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/WorldRegion.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/WorldRegion.java
@@ -284,8 +284,8 @@ public class WorldRegion
}
/**
- * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
- * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
+ * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
+ * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
* Assert : object.getCurrentWorldRegion() == this
* @param object
*/
@@ -311,9 +311,8 @@ public class WorldRegion
}
/**
- * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion
- *
- * If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
+ * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion
+ * If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
* Assert : object.getCurrentWorldRegion() == this || object.getCurrentWorldRegion() == null
* @param object
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/Attackable.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/Attackable.java
index 9e7aa75aca..6fd4a1c6bd 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/Attackable.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/Attackable.java
@@ -69,10 +69,9 @@ import org.l2jmobius.gameserver.script.EventDroplist.DateDrop;
import org.l2jmobius.gameserver.util.Util;
/**
- * This class manages all NPC that can be attacked.
- *
- * Attackable :
- *
+ * This class manages all NPC that can be attacked.
+ *
+ * Attackable:
*
ArtefactInstance
*
FriendlyMobInstance
*
MonsterInstance
@@ -82,14 +81,12 @@ import org.l2jmobius.gameserver.util.Util;
public class Attackable extends NpcInstance
{
/**
- * This class contains all AggroInfo of the Attackable against the attacker Creature.
- *
- * Data :
- *
+ * This class contains all AggroInfo of the Attackable against the attacker Creature.
+ *
+ * Data:
*
attacker : The attaker Creature concerned by this AggroInfo of this Attackable
*
hate : Hate level of this Attackable against the attaker Creature (hate = damage)
- *
damage : Number of damages that the attaker Creature gave to this Attackable
- *
+ *
damage : Number of damages that the attaker Creature gave to this Attackable
*/
public class AggroInfo
{
@@ -103,8 +100,7 @@ public class Attackable extends NpcInstance
protected int _damage;
/**
- * Constructor of AggroInfo.
- *
+ * Constructor of AggroInfo.
* @param pAttacker
*/
AggroInfo(Creature pAttacker)
@@ -113,8 +109,7 @@ public class Attackable extends NpcInstance
}
/**
- * Verify is object is equal to this AggroInfo.
- *
+ * Verify is object is equal to this AggroInfo.
*/
@Override
public boolean equals(Object obj)
@@ -133,8 +128,7 @@ public class Attackable extends NpcInstance
}
/**
- * Return the Identifier of the attacker Creature.
- *
+ * Return the Identifier of the attacker Creature.
*/
@Override
public int hashCode()
@@ -144,10 +138,9 @@ public class Attackable extends NpcInstance
}
/**
- * This class contains all RewardInfo of the Attackable against the any attacker Creature, based on amount of damage done.
- *
- * Data :
- *
+ * This class contains all RewardInfo of the Attackable against the any attacker Creature, based on amount of damage done.
+ *
+ * Data:
*
attacker : The attacker Creature concerned by this RewardInfo of this Attackable
*
dmg : Total amount of damage done by the attacker to this Attackable (summon + own)
*/
@@ -191,10 +184,9 @@ public class Attackable extends NpcInstance
}
/**
- * This class contains all AbsorberInfo of the Attackable against the absorber Creature.
- *
- * Data :
- *
+ * This class contains all AbsorberInfo of the Attackable against the absorber Creature.
+ *
+ * Data:
*
absorber : The attacker Creature concerned by this AbsorberInfo of this Attackable
*/
public class AbsorberInfo
@@ -205,8 +197,7 @@ public class Attackable extends NpcInstance
protected double _absorbedHP;
/**
- * Constructor of AbsorberInfo.
- *
+ * Constructor of AbsorberInfo.
* @param attacker
* @param pCrystalId
* @param pAbsorbedHP
@@ -219,8 +210,7 @@ public class Attackable extends NpcInstance
}
/**
- * Verify is object is equal to this AbsorberInfo.
- *
+ * Verify is object is equal to this AbsorberInfo.
*/
@Override
public boolean equals(Object obj)
@@ -239,8 +229,7 @@ public class Attackable extends NpcInstance
}
/**
- * Return the Identifier of the absorber Creature.
- *
+ * Return the Identifier of the absorber Creature.
*/
@Override
public int hashCode()
@@ -250,8 +239,7 @@ public class Attackable extends NpcInstance
}
/**
- * This class is used to create item reward lists instead of creating item instances.
- *
+ * This class is used to create item reward lists instead of creating item instances.
*/
public class RewardItem
{
@@ -348,14 +336,12 @@ public class Attackable extends NpcInstance
public Creature _mostHated;
/**
- * Constructor of Attackable (use Creature and NpcInstance constructor).
- *
- * Actions :
- *
+ * Constructor of Attackable (use Creature and NpcInstance constructor).
+ *
+ * Actions:
*
Call the Creature constructor to set the _template of the Attackable (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the Attackable
- *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
- *
+ *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
* @param objectId Identifier of the object to initialized
* @param template
*/
@@ -377,8 +363,7 @@ public class Attackable extends NpcInstance
}
/**
- * Return the Creature AI of the Attackable and if its null create a new one.
- *
+ * Return the Creature AI of the Attackable and if its null create a new one.
*/
@Override
public CreatureAI getAI()
@@ -397,8 +382,7 @@ public class Attackable extends NpcInstance
}
/**
- * Not used.
- *
+ * Not used.
* @param target
* @return
* @deprecated
@@ -420,8 +404,7 @@ public class Attackable extends NpcInstance
}
/**
- * Reduce the current HP of the Attackable.
- *
+ * Reduce the current HP of the Attackable.
* @param damage The HP decrease value
* @param attacker The Creature who attacks
*/
@@ -432,7 +415,7 @@ public class Attackable extends NpcInstance
}
/**
- * Reduce the current HP of the Attackable, update its _aggroList and launch the doDie Task if necessary.
+ * Reduce the current HP of the Attackable, update its _aggroList and launch the doDie Task if necessary.
* @param attacker The Creature who attacks
* @param awake The awake state (If True : stop sleeping)
*/
@@ -509,16 +492,13 @@ public class Attackable extends NpcInstance
}
/**
- * Kill the Attackable (the corpse disappeared after 7 seconds), distribute rewards (EXP, SP, Drops...) and notify Quest Engine.
- *
- * Actions :
- *
+ * Kill the Attackable (the corpse disappeared after 7 seconds), distribute rewards (EXP, SP, Drops...) and notify Quest Engine.
+ *
+ * Actions:
*
Distribute Exp and SP rewards to PlayerInstance (including Summon owner) that hit the Attackable and to their Party members
*
Notify the Quest Engine of the Attackable death if necessary
- *
Kill the NpcInstance (the corpse disappeared after 7 seconds)
- *
- * Caution : This method DOESN'T GIVE rewards to PetInstance
- *
+ *
Kill the NpcInstance (the corpse disappeared after 7 seconds)
+ * Caution: This method DOESN'T GIVE rewards to PetInstance
* @param killer The Creature that has killed the Attackable
*/
@Override
@@ -598,16 +578,13 @@ public class Attackable extends NpcInstance
}
/**
- * Distribute Exp and SP rewards to PlayerInstance (including Summon owner) that hit the Attackable and to their Party members.
- *
- * Actions :
- *
+ * Distribute Exp and SP rewards to PlayerInstance (including Summon owner) that hit the Attackable and to their Party members.
+ *
+ * Actions:
*
Get the PlayerInstance owner of the SummonInstance (if necessary) and Party in progress
*
Calculate the Experience and SP rewards in function of the level difference
- *
Add Exp and SP rewards to PlayerInstance (including Summon penalty) and to Party members in the known area of the last attacker
- *
- * Caution : This method DOESN'T GIVE rewards to PetInstance
- *
+ *
Add Exp and SP rewards to PlayerInstance (including Summon penalty) and to Party members in the known area of the last attacker
+ * Caution: This method DOESN'T GIVE rewards to PetInstance
* @param lastAttacker The Creature that has killed the Attackable
*/
@Override
@@ -944,8 +921,7 @@ public class Attackable extends NpcInstance
}
/**
- * Add damage and hate to the attacker AggroInfo of the Attackable _aggroList.
- *
+ * Add damage and hate to the attacker AggroInfo of the Attackable _aggroList.
* @param attacker The Creature that gave damages to this Attackable
* @param damage The number of damages given by the attacker Creature
*/
@@ -955,8 +931,7 @@ public class Attackable extends NpcInstance
}
/**
- * Add damage and hate to the attacker AggroInfo of the Attackable _aggroList.
- *
+ * Add damage and hate to the attacker AggroInfo of the Attackable _aggroList.
* @param attacker The Creature that gave damages to this Attackable
* @param damage The number of damages given by the attacker Creature
* @param aggro The hate (=damage) given by the attacker Creature
@@ -1086,8 +1061,7 @@ public class Attackable extends NpcInstance
}
/**
- * Clears _aggroList hate of the Creature without removing from the list.
- *
+ * Clears _aggroList hate of the Creature without removing from the list.
* @param target
*/
public void stopHating(Creature target)
@@ -1107,8 +1081,7 @@ public class Attackable extends NpcInstance
}
/**
- * Return the most hated Creature of the Attackable _aggroList.
- *
+ * Return the most hated Creature of the Attackable _aggroList.
* @return
*/
public Creature getMostHated()
@@ -1154,8 +1127,7 @@ public class Attackable extends NpcInstance
}
/**
- * Return the hate level of the Attackable against this Creature contained in _aggroList.
- *
+ * Return the hate level of the Attackable against this Creature contained in _aggroList.
* @param target The Creature whose hate level must be returned
* @return
*/
@@ -1200,7 +1172,7 @@ public class Attackable extends NpcInstance
}
/**
- * Calculates quantity of items for specific drop according to current situation
+ * Calculates quantity of items for specific drop according to current situation
* @param drop The DropData count is being calculated for
* @param lastAttacker The PlayerInstance that has killed the Attackable
* @param levelModifier level modifier in %'s (will be subtracted from drop chance)
@@ -1452,7 +1424,7 @@ public class Attackable extends NpcInstance
}
/**
- * Calculates quantity of items for specific drop CATEGORY according to current situation
+ * Calculates quantity of items for specific drop CATEGORY according to current situation
* Only a max of ONE item from a category is allowed to be dropped.
* @param lastAttacker The PlayerInstance that has killed the Attackable
* @param categoryDrops
@@ -1739,7 +1711,7 @@ public class Attackable extends NpcInstance
}
/**
- * Calculates the level modifier for drop
+ * Calculates the level modifier for drop
* @param lastAttacker The PlayerInstance that has killed the Attackable
* @return
*/
@@ -1777,22 +1749,20 @@ public class Attackable extends NpcInstance
}
/**
- * Manage Base, Quests and Special Events drops of Attackable (called by calculateRewards).
- *
- * Concept :
- *
- * During a Special Event all Attackable can drop extra Items. Those extra Items are defined in the table allNpcDateDrops of the EventDroplist. Each Special Event has a start and end date to stop to drop extra Items automaticaly.
- *
- * Actions :
- *
+ * Manage Base, Quests and Special Events drops of Attackable (called by calculateRewards).
+ *
+ * Concept:
+ *
+ * During a Special Event all Attackable can drop extra Items. Those extra Items are defined in the table allNpcDateDrops of the EventDroplist. Each Special Event has a start and end date to stop to drop extra Items automaticaly.
+ *
+ * Actions :
*
Manage drop of Special Events created by GM for a defined period
*
Get all possible drops of this Attackable from NpcTemplate and add it Quest drops
*
For each possible drops (base + quests), calculate which one must be dropped (random)
*
Get each Item quantity dropped (random)
*
Create this or these ItemInstance corresponding to each Item Identifier dropped
*
If the autoLoot mode is actif and if the Creature that has killed the Attackable is a PlayerInstance, give this or these Item(s) to the PlayerInstance that has killed the Attackable
- *
If the autoLoot mode isn't actif or if the Creature that has killed the Attackable is not a PlayerInstance, add this or these Item(s) in the world as a visible object at the position where mob was last
- *
+ *
If the autoLoot mode isn't actif or if the Creature that has killed the Attackable is not a PlayerInstance, add this or these Item(s) in the world as a visible object at the position where mob was last
* @param npcTemplate
* @param lastAttacker The Creature that has killed the Attackable
*/
@@ -2278,20 +2248,18 @@ public class Attackable extends NpcInstance
}
/**
- * Manage Special Events drops created by GM for a defined period.
- *
- * Concept :
- *
- * During a Special Event all Attackable can drop extra Items. Those extra Items are defined in the table allNpcDateDrops of the EventDroplist. Each Special Event has a start and end date to stop to drop extra Items automaticaly.
- *
- * Actions : If an extra drop must be generated
- *
+ * Manage Special Events drops created by GM for a defined period.
+ *
+ * Concept:
+ *
+ * During a Special Event all Attackable can drop extra Items. Those extra Items are defined in the table allNpcDateDrops of the EventDroplist. Each Special Event has a start and end date to stop to drop extra Items automaticaly.
+ *
+ * Actions : If an extra drop must be generated
*
Get an Item Identifier (random) from the DateDrop Item table of this Event
*
Get the Item quantity dropped (random)
*
Create this or these ItemInstance corresponding to this Item Identifier
*
If the autoLoot mode is actif and if the Creature that has killed the Attackable is a PlayerInstance, give this or these Item(s) to the PlayerInstance that has killed the Attackable
- *
If the autoLoot mode isn't actif or if the Creature that has killed the Attackable is not a PlayerInstance, add this or these Item(s) in the world as a visible object at the position where mob was last
- *
+ *
If the autoLoot mode isn't actif or if the Creature that has killed the Attackable is not a PlayerInstance, add this or these Item(s) in the world as a visible object at the position where mob was last
* @param lastAttacker The Creature that has killed the Attackable
*/
public void doEventDrop(Creature lastAttacker)
@@ -2343,8 +2311,7 @@ public class Attackable extends NpcInstance
}
/**
- * Drop reward item.
- *
+ * Drop reward item.
* @param mainDamageDealer
* @param item
* @return
@@ -2388,8 +2355,7 @@ public class Attackable extends NpcInstance
}
/**
- * Return the active weapon of this Attackable (= null).
- *
+ * Return the active weapon of this Attackable (= null).
* @return
*/
public ItemInstance getActiveWeapon()
@@ -2398,8 +2364,7 @@ public class Attackable extends NpcInstance
}
/**
- * Return True if the _aggroList of this Attackable is Empty.
- *
+ * Return True if the _aggroList of this Attackable is Empty.
* @return
*/
public boolean noTarget()
@@ -2408,8 +2373,7 @@ public class Attackable extends NpcInstance
}
/**
- * Return True if the _aggroList of this Attackable contains the Creature.
- *
+ * Return True if the _aggroList of this Attackable contains the Creature.
* @param creature The Creature searched in the _aggroList of the Attackable
* @return
*/
@@ -2419,8 +2383,7 @@ public class Attackable extends NpcInstance
}
/**
- * Clear the _aggroList of the Attackable.
- *
+ * Clear the _aggroList of the Attackable.
*/
public void clearAggroList()
{
@@ -2428,8 +2391,7 @@ public class Attackable extends NpcInstance
}
/**
- * Return True if a Dwarf use Sweep on the Attackable and if item can be spoiled.
- *
+ * Return True if a Dwarf use Sweep on the Attackable and if item can be spoiled.
* @return
*/
public boolean isSweepActive()
@@ -2438,8 +2400,7 @@ public class Attackable extends NpcInstance
}
/**
- * Return table containing all ItemInstance that can be spoiled.
- *
+ * Return table containing all ItemInstance that can be spoiled.
* @return
*/
public synchronized RewardItem[] takeSweep()
@@ -2450,8 +2411,7 @@ public class Attackable extends NpcInstance
}
/**
- * Return table containing all ItemInstance that can be harvested.
- *
+ * Return table containing all ItemInstance that can be harvested.
* @return
*/
public synchronized RewardItem[] takeHarvest()
@@ -2462,8 +2422,7 @@ public class Attackable extends NpcInstance
}
/**
- * Set the over-hit flag on the Attackable.
- *
+ * Set the over-hit flag on the Attackable.
* @param status The status of the over-hit flag
*/
public void overhitEnabled(boolean status)
@@ -2472,8 +2431,7 @@ public class Attackable extends NpcInstance
}
/**
- * Set the over-hit values like the attacker who did the strike and the ammount of damage done by the skill.
- *
+ * Set the over-hit values like the attacker who did the strike and the ammount of damage done by the skill.
* @param attacker The Creature who hit on the Attackable using the over-hit enabled skill
* @param damage The ammount of damage done by the over-hit enabled skill on the Attackable
*/
@@ -2498,8 +2456,7 @@ public class Attackable extends NpcInstance
}
/**
- * Return the Creature who hit on the Attackable using an over-hit enabled skill.
- *
+ * Return the Creature who hit on the Attackable using an over-hit enabled skill.
* @return Creature attacker
*/
public Creature getOverhitAttacker()
@@ -2508,8 +2465,7 @@ public class Attackable extends NpcInstance
}
/**
- * Return the ammount of damage done on the Attackable using an over-hit enabled skill.
- *
+ * Return the ammount of damage done on the Attackable using an over-hit enabled skill.
* @return double damage
*/
public double getOverhitDamage()
@@ -2518,8 +2474,7 @@ public class Attackable extends NpcInstance
}
/**
- * Return True if the Attackable was hit by an over-hit enabled skill.
- *
+ * Return True if the Attackable was hit by an over-hit enabled skill.
* @return
*/
public boolean isOverhit()
@@ -2528,8 +2483,7 @@ public class Attackable extends NpcInstance
}
/**
- * Activate the absorbed soul condition on the Attackable.
- *
+ * Activate the absorbed soul condition on the Attackable.
*/
public void absorbSoul()
{
@@ -2537,8 +2491,7 @@ public class Attackable extends NpcInstance
}
/**
- * Return True if the Attackable had his soul absorbed.
- *
+ * Return True if the Attackable had his soul absorbed.
* @return
*/
public boolean isAbsorbed()
@@ -2547,7 +2500,7 @@ public class Attackable extends NpcInstance
}
/**
- * Adds an attacker that successfully absorbed the soul of this Attackable into the _absorbersList.
+ * Adds an attacker that successfully absorbed the soul of this Attackable into the _absorbersList.
* @param attacker - a valid PlayerInstance
* @param crystalId
*/
@@ -2893,8 +2846,7 @@ public class Attackable extends NpcInstance
}
/**
- * Calculate the Experience and SP to distribute to attacker (PlayerInstance, SummonInstance or Party) of the Attackable.
- *
+ * Calculate the Experience and SP to distribute to attacker (PlayerInstance, SummonInstance or Party) of the Attackable.
* @param diff The difference of level between attacker (PlayerInstance, SummonInstance or Party) and the Attackable
* @param damage The damages given by the attacker (PlayerInstance, SummonInstance or Party)
* @return
@@ -2968,8 +2920,7 @@ public class Attackable extends NpcInstance
}
/**
- * Return True.
- *
+ * Return True.
*/
@Override
public boolean isAttackable()
@@ -3140,7 +3091,7 @@ public class Attackable extends NpcInstance
}
/**
- * Check if the server allows Random Animation.
+ * Check if the server allows Random Animation.
* This is located here because Monster and FriendlyMob both extend this class. The other non-pc instances extend either NpcInstance or MonsterInstance.
*/
@Override
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/Creature.java
index 9405e27b70..bec96a4574 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/Creature.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/Creature.java
@@ -143,8 +143,7 @@ import org.l2jmobius.gameserver.util.Util;
*
*
DoorInstance
*
NpcInstance
- *
PlayableInstance
- *
+ *
PlayableInstance
* Concept of CreatureTemplate:
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
@@ -233,24 +232,20 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Constructor of Creature.
- *
- * Concept :
- *
+ * Constructor of Creature.
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...). All of those properties are stored in a different template for each type of Creature. Each template is loaded once in the server cache memory (reduce memory use). When a new instance of Creature
- * is spawned, server just create a link between the instance and the template This link is stored in _template
- *
- * Actions :
- *
+ * is spawned, server just create a link between the instance and the template This link is stored in _template
+ *
+ * Actions:
*
Set the _template of the Creature
- *
Set _overloaded to false (the charcater can take more items)
- *
+ *
Set _overloaded to false (the charcater can take more items)
*
If Creature is a NPCInstance, copy skills from template to object
- *
If Creature is a NPCInstance, link _calculators to NPC_STD_CALCULATOR
- *
+ *
If Creature is a NPCInstance, link _calculators to NPC_STD_CALCULATOR
*
If Creature is NOT a NPCInstance, create an empty _skills slot
- *
If Creature is a PlayerInstance or Summon, copy basic Calculator set to object
- *
+ *
If Creature is a PlayerInstance or Summon, copy basic Calculator set to object
* @param objectId Identifier of the object to initialized
* @param template The CreatureTemplate to apply to the object
*/
@@ -307,11 +302,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Remove the Creature from the world when the decay task is launched.
- *
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
- *
+ * Remove the Creature from the world when the decay task is launched.
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
public void onDecay()
{
@@ -363,8 +356,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Add Creature instance that is attacking to the attacker list.
- *
+ * Add Creature instance that is attacking to the attacker list.
* @param creature The Creature that attcks this one
*/
public void addAttackerToAttackByList(Creature creature)
@@ -441,12 +433,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Send a packet to the Creature AND to all PlayerInstance in the radius (max knownlist radius) from the Creature.
- *
- * Concept :
- *
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers. In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- *
+ * Send a packet to the Creature AND to all PlayerInstance in the radius (max knownlist radius) from the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers. In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov the mov
* @param radiusInKnownlist the radius in knownlist
*/
@@ -518,19 +509,16 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Send the Server->Client packet StatusUpdate with current HP and MP to all other PlayerInstance to inform.
- *
- * Actions :
- *
+ * Send the Server->Client packet StatusUpdate with current HP and MP to all other PlayerInstance to inform.
+ *
+ * Actions:
*
Create the Server->Client packet StatusUpdate with current HP and MP
- *
Send the Server->Client packet StatusUpdate with current HP and MP to all Creature called _statusListener that must be informed of HP/MP updates of this Creature
- *
- * Caution : This method DOESN'T SEND CP information
- *
- * Overriden in :
- *
- *
PlayerInstance : Send current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party
- *
+ *
Send the Server->Client packet StatusUpdate with current HP and MP to all Creature called _statusListener that must be informed of HP/MP updates of this Creature
+ * Caution: This method DOESN'T SEND CP information
+ *
+ * Overriden in:
+ *
+ *
PlayerInstance : Send current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party
*/
public void broadcastStatusUpdate()
{
@@ -569,12 +557,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Not Implemented.
- *
- * Overridden in :
- *
- *
* @param mov the mov
*/
public void sendPacket(GameServerPacket mov)
@@ -613,15 +599,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Teleport a Creature and its pet if necessary.
- *
- * Actions :
- *
+ * Teleport a Creature and its pet if necessary.
+ *
+ * Actions:
*
Stop the movement of the Creature
*
Set the x,y,z position of the WorldObject and if necessary modify its _worldRegion
*
Send a Server->Client packet TeleportToLocationt to the Creature AND to all PlayerInstance in its _KnownPlayers
- *
Modify the position of the pet if necessary
- *
+ *
Modify the position of the pet if necessary
* @param x the x
* @param y the y
* @param z the z
@@ -768,20 +752,16 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Launch a physical attack against a target (Simple, Bow, Pole or Dual).
- *
- * Actions :
- *
- *
Get the active weapon (always equiped in the right hand)
- *
+ * Launch a physical attack against a target (Simple, Bow, Pole or Dual).
+ *
+ * Actions:
+ *
Get the active weapon (always equipped in the right hand)
*
If weapon is a bow, check for arrows, MP and bow re-use delay (if necessary, equip the PlayerInstance with arrows in left hand)
- *
If weapon is a bow, consume MP and set the new period of bow non re-use
- *
+ *
If weapon is a bow, consume MP and set the new period of bow non re-use
*
Get the Attack Speed of the Creature (delay (in milliseconds) before next attack)
*
Select the type of attack to start (Simple, Bow, Pole or Dual) and verify if SoulShot are charged then start calculation
*
If the Server->Client packet Attack contains at least 1 hit, send the Server->Client packet Attack to the Creature AND to all PlayerInstance in the _KnownPlayers of the Creature
- *
Notify AI with EVT_READY_TO_ACT
- *
+ *
Notify AI with EVT_READY_TO_ACT
* @param target The Creature targeted
*/
protected void doAttack(Creature target)
@@ -899,10 +879,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
}
- // Get the active weapon instance (always equiped in the right hand)
+ // Get the active weapon instance (always equipped in the right hand)
final ItemInstance weaponInst = getActiveWeaponInstance();
- // Get the active weapon item corresponding to the active weapon instance (always equiped in the right hand)
+ // Get the active weapon item corresponding to the active weapon instance (always equipped in the right hand)
final Weapon weaponItem = getActiveWeaponItem();
if ((weaponItem != null) && (weaponItem.getItemType() == WeaponType.ROD))
{
@@ -1161,10 +1141,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Launch a Bow attack.
- *
- * Actions :
- *
+ * Launch a Bow attack.
+ *
+ * Actions:
*
Calculate if hit is missed or not
*
Consumme arrows
*
If hit isn't missed, calculate if shield defense is efficient
@@ -1173,8 +1152,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
*
If the Creature is a PlayerInstance, Send a Server->Client packet SetupGauge
*
Create a new hit task with Medium priority
*
Calculate and set the disable delay of the bow in function of the Attack Speed
- *
Add this hit to the Server-Client packet Attack
- *
+ *
Add this hit to the Server-Client packet Attack
* @param attack Server->Client packet Attack in which the hit will be added
* @param target The Creature targeted
* @param sAtk The Attack Speed of the attacker
@@ -1232,17 +1210,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Launch a Dual attack.
- *
- * Actions :
- *
+ * Launch a Dual attack.
+ *
+ * Actions:
*
Calculate if hits are missed or not
*
If hits aren't missed, calculate if shield defense is efficient
*
If hits aren't missed, calculate if hit is critical
*
If hits aren't missed, calculate physical damages
*
Create 2 new hit tasks with Medium priority
- *
Add those hits to the Server-Client packet Attack
- *
+ *
Add those hits to the Server-Client packet Attack
* @param attack Server->Client packet Attack in which the hit will be added
* @param target The Creature targeted
* @param sAtk the s atk
@@ -1304,14 +1280,12 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Launch a Pole attack.
- *
- * Actions :
- *
+ * Launch a Pole attack.
+ *
+ * Actions:
*
Get all visible objects in a spheric area near the Creature to obtain possible targets
*
If possible target is the Creature targeted, launch a simple attack against it
- *
If possible target isn't the Creature targeted but is attakable, launch a simple attack against it
- *
+ *
If possible target isn't the Creature targeted but is attakable, launch a simple attack against it
* @param attack Server->Client packet Attack in which the hit will be added
* @param sAtk the s atk
* @return True if one hit isn't missed
@@ -1388,17 +1362,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Launch a simple attack.
- *
- * Actions :
- *
+ * Launch a simple attack.
+ *
+ * Actions:
*
Calculate if hit is missed or not
*
If hit isn't missed, calculate if shield defense is efficient
*
If hit isn't missed, calculate if hit is critical
*
If hit isn't missed, calculate physical damages
*
Create a new hit task with Medium priority
- *
Add this hit to the Server-Client packet Attack
- *
+ *
Add this hit to the Server-Client packet Attack
* @param attack Server->Client packet Attack in which the hit will be added
* @param target The Creature targeted
* @param sAtk the s atk
@@ -1454,18 +1426,16 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Manage the casting task (casting and interrupt time, re-use delay...) and display the casting bar and animation on client.
- *
- * Actions :
- *
+ * Manage the casting task (casting and interrupt time, re-use delay...) and display the casting bar and animation on client.
+ *
+ * Actions:
*
Verify the possibilty of the the cast : skill is a spell, caster isn't muted...
*
Get the list of all targets (ex : area effects) and define the Creature targeted (its stats will be used in calculation)
*
Calculate the casting time (base + modifier of MAtkSpd), interrupt time and re-use delay
*
Send a Server->Client packet MagicSkillUse (to diplay casting animation), a packet SetupGauge (to display casting bar) and a system message
*
Disable all skills during the casting time (create a task EnableAllSkills)
*
Disable the skill during the re-use delay (create a task EnableSkill)
- *
Create a task MagicUseTask (that will call method onMagicUseTimer) to launch the Magic Skill at the end of the casting time
- *
+ *
Create a task MagicUseTask (that will call method onMagicUseTimer) to launch the Magic Skill at the end of the casting time
* @param skill The Skill to use
*/
public void doCast(Skill skill)
@@ -1870,7 +1840,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Starts a force buff on target.
+ * Starts a force buff on target.
* @param target the target
* @param skill the skill
*/
@@ -1888,23 +1858,21 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Kill the Creature.
- *
- * Actions :
- *
+ * Kill the Creature.
+ *
+ * Actions:
*
Set target to null and cancel Attack or Cast
*
Stop movement
*
Stop HP/MP/CP Regeneration task
*
Stop all active skills effects in progress on the Creature
*
Send the Server->Client packet StatusUpdate with current HP and MP to all other PlayerInstance to inform
- *
Notify Creature AI
- *
- * Overriden in :
- *
+ *
Notify Creature AI
+ *
+ * Overriden in:
+ *
*
NpcInstance : Create a DecayTask to remove the corpse of the NpcInstance after 7 seconds
PlayerInstance : Apply Death Penalty, Manage gain/loss Karma and Item Drop
- *
+ *
PlayerInstance : Apply Death Penalty, Manage gain/loss Karma and Item Drop
* @param killer The Creature who killed it
* @return true, if successful
*/
@@ -2094,14 +2062,12 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Check if the active Skill can be casted.
- *
- * Actions :
- *
+ * Check if the active Skill can be casted.
+ *
+ * Actions:
*
Check if the Creature can cast (ex : not sleeping...)
*
Check if the target is correct
- *
Notify the AI with AI_INTENTION_CAST and target
- *
+ *
Notify the AI with AI_INTENTION_CAST and target
* @param skill The Skill to use
*/
protected void useMagic(Skill skill)
@@ -2570,12 +2536,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return the Summon of the Creature.
- *
- * Overriden in :
- *
- *
PlayerInstance
- *
+ * Return the Summon of the Creature.
+ *
+ * Overriden in:
+ *
+ *
PlayerInstance
* @return the pet
*/
public Summon getPet()
@@ -2835,16 +2800,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Set the template of the Creature.
- *
- * Concept :
- *
+ * Set the template of the Creature.
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...). All of those properties are stored in a different template for each type of Creature. Each template is loaded once in the server cache memory (reduce memory use). When a new instance of Creature
- * is spawned, server just create a link between the instance and the template This link is stored in _template
- *
- * Assert :
- *
- *
this instanceof Creature
+ * is spawned, server just create a link between the instance and the template This link is stored in _template
+ *
+ * Assert:
+ *
If the attacker/target is dead or use fake death, notify the AI with EVT_CANCEL and send a Server->Client packet ActionFailed (if attacker is a PlayerInstance)
*
If attack isn't aborted, send a message system (critical hit, missed...) to attacker/target if they are PlayerInstance
*
If attack isn't aborted and hit isn't missed, reduce HP of the target and calculate reflection damage to reduce HP of attacker if necessary
- *
if attack isn't aborted and hit isn't missed, manage attack or cast break of the target (calculating rate, sending message...)
- *
+ *
if attack isn't aborted and hit isn't missed, manage attack or cast break of the target (calculating rate, sending message...)
*/
class HitTask implements Runnable
{
@@ -3184,22 +3146,20 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
public static final int ABNORMAL_EFFECT_AFRAID = 0x0010;
/**
- * Launch and add Effect (including Stack Group management) to Creature and update client magic icone.
- *
- * Concept :
- *
- * All active skills effects in progress on the Creature are identified in ConcurrentHashMap(Integer,Effect) _effects. The Integer key of _effects is the Skill Identifier that has created the Effect.
- *
+ * Launch and add Effect (including Stack Group management) to Creature and update client magic icone.
+ *
+ * Concept:
+ *
+ * All active skills effects in progress on the Creature are identified in ConcurrentHashMap(Integer,Effect) _effects. The Integer key of _effects is the Skill Identifier that has created the Effect.
* Several same effect can't be used on a Creature at the same time. Indeed, effects are not stackable and the last cast will replace the previous in progress. More, some effects belong to the same Stack Group (ex WindWald and Haste Potion). If 2 effects of a same group are used at the same time
- * on a Creature, only the more efficient (identified by its priority order) will be preserve.
- *
- * Actions :
- *
+ * on a Creature, only the more efficient (identified by its priority order) will be preserve.
+ *
+ * Actions:
*
Add the Effect to the Creature _effects
*
If this effect doesn't belong to a Stack Group, add its Funcs to the Calculator set of the Creature (remove the old one if necessary)
*
If this effect has higher priority in its Stack Group, add its Funcs to the Calculator set of the Creature (remove previous stacked effect Funcs if necessary)
*
If this effect has NOT higher priority in its Stack Group, set the effect to Not In Use
- *
Update active skills in progress icones on player client
+ *
Update active skills in progress icones on player client
* @param newEffect the new effect
*/
public synchronized void addEffect(Effect newEffect)
@@ -3357,13 +3317,12 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Insert an effect at the specified position in a Stack Group.
- *
- * Concept :
- *
+ * Insert an effect at the specified position in a Stack Group.
+ *
+ * Concept:
+ *
* Several same effect can't be used on a Creature at the same time. Indeed, effects are not stackable and the last cast will replace the previous in progress. More, some effects belong to the same Stack Group (ex WindWald and Haste Potion). If 2 effects of a same group are used at the same time
- * on a Creature, only the more efficient (identified by its priority order) will be preserve.
- *
+ * on a Creature, only the more efficient (identified by its priority order) will be preserve.
* @param newStackedEffect the new stacked effect
* @param stackQueue The Stack Group in wich the effect must be added
* @return the list
@@ -3404,21 +3363,19 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Stop and remove Effect (including Stack Group management) from Creature and update client magic icone.
- *
- * Concept :
- *
- * All active skills effects in progress on the Creature are identified in ConcurrentHashMap(Integer,Effect) _effects. The Integer key of _effects is the Skill Identifier that has created the Effect.
- *
+ * Stop and remove Effect (including Stack Group management) from Creature and update client magic icone.
+ *
+ * Concept:
+ *
+ * All active skills effects in progress on the Creature are identified in ConcurrentHashMap(Integer,Effect) _effects. The Integer key of _effects is the Skill Identifier that has created the Effect.
* Several same effect can't be used on a Creature at the same time. Indeed, effects are not stackable and the last cast will replace the previous in progress. More, some effects belong to the same Stack Group (ex WindWald and Haste Potion). If 2 effects of a same group are used at the same time
- * on a Creature, only the more efficient (identified by its priority order) will be preserve.
- *
- * Actions :
- *
+ * on a Creature, only the more efficient (identified by its priority order) will be preserve.
+ *
+ * Actions:
*
Remove Func added by this effect from the Creature Calculator (Stop Effect)
*
If the Effect belongs to a not empty Stack Group, replace theses Funcs by next stacked effect Funcs
*
Remove the Effect from _effects of the Creature
- *
Update active skills in progress icones on player client
+ *
Update active skills in progress icones on player client
* @param effect the effect
*/
public void removeEffect(Effect effect)
@@ -3492,8 +3449,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Active abnormal effects flags in the binary mask and send Server->Client UserInfo/CharInfo packet.
- *
+ * Active abnormal effects flags in the binary mask and send Server->Client UserInfo/CharInfo packet.
* @param mask the mask
*/
public void startAbnormalEffect(int mask)
@@ -3515,8 +3471,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Active the abnormal effect Confused flag, notify the Creature AI and send Server->Client UserInfo/CharInfo packet.
- *
+ * Active the abnormal effect Confused flag, notify the Creature AI and send Server->Client UserInfo/CharInfo packet.
*/
public void startConfused()
{
@@ -3526,8 +3481,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Active the abnormal effect Fake Death flag, notify the Creature AI and send Server->Client UserInfo/CharInfo packet.
- *
+ * Active the abnormal effect Fake Death flag, notify the Creature AI and send Server->Client UserInfo/CharInfo packet.
*/
public void startFakeDeath()
{
@@ -3542,8 +3496,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Active the abnormal effect Fear flag, notify the Creature AI and send Server->Client UserInfo/CharInfo packet.
- *
+ * Active the abnormal effect Fear flag, notify the Creature AI and send Server->Client UserInfo/CharInfo packet.
*/
public void startFear()
{
@@ -3553,8 +3506,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Active the abnormal effect Muted flag, notify the Creature AI and send Server->Client UserInfo/CharInfo packet.
- *
+ * Active the abnormal effect Muted flag, notify the Creature AI and send Server->Client UserInfo/CharInfo packet.
*/
public void startMuted()
{
@@ -3566,8 +3518,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Active the abnormal effect Psychical_Muted flag, notify the Creature AI and send Server->Client UserInfo/CharInfo packet.
- *
+ * Active the abnormal effect Psychical_Muted flag, notify the Creature AI and send Server->Client UserInfo/CharInfo packet.
*/
public void startPsychicalMuted()
{
@@ -3577,8 +3528,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Active the abnormal effect Root flag, notify the Creature AI and send Server->Client UserInfo/CharInfo packet.
- *
+ * Active the abnormal effect Root flag, notify the Creature AI and send Server->Client UserInfo/CharInfo packet.
*/
public void startRooted()
{
@@ -3589,8 +3539,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Active the abnormal effect Sleep flag, notify the Creature AI and send Server->Client UserInfo/CharInfo packet.
- *
+ * Active the abnormal effect Sleep flag, notify the Creature AI and send Server->Client UserInfo/CharInfo packet.
*/
public void startSleeping()
{
@@ -3604,14 +3553,12 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Launch a Stun Abnormal Effect on the Creature.
- *
- * Actions :
- *
+ * Launch a Stun Abnormal Effect on the Creature.
+ *
+ * Actions:
*
Calculate the success rate of the Stun Abnormal Effect on this Creature
*
If Stun succeed, active the abnormal effect Stun flag, notify the Creature AI and send Server->Client UserInfo/CharInfo packet
- *
If Stun NOT succeed, send a system message Failed to the PlayerInstance attacker
- *
+ *
If Stun NOT succeed, send a system message Failed to the PlayerInstance attacker
*/
public void startStunning()
{
@@ -3651,8 +3598,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Modify the abnormal effect map according to the mask.
- *
+ * Modify the abnormal effect map according to the mask.
* @param mask the mask
*/
public void stopAbnormalEffect(int mask)
@@ -3662,8 +3608,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Stop all active skills effects in progress on the Creature.
- *
+ * Stop all active skills effects in progress on the Creature.
*/
public void stopAllEffects()
{
@@ -3690,15 +3635,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Stop immobilization until attacked abnormal Effect.
- *
- * Actions :
- *
+ * Stop immobilization until attacked abnormal Effect.
+ *
+ * Actions:
*
Delete a specified/all (if effect=null) immobilization until attacked abnormal Effect from Creature and update client magic icon
*
Set the abnormal effect flag _muted to False
*
Notify the Creature AI
- *
Send Server->Client UserInfo/CharInfo packet
- *
+ *
Send Server->Client UserInfo/CharInfo packet
* @param effect the effect
*/
public void stopImmobileUntilAttacked(Effect effect)
@@ -3719,15 +3662,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Stop a specified/all Confused abnormal Effect.
- *
- * Actions :
- *
+ * Stop a specified/all Confused abnormal Effect.
+ *
+ * Actions:
*
Delete a specified/all (if effect=null) Confused abnormal Effect from Creature and update client magic icone
*
Set the abnormal effect flag _confused to False
*
Notify the Creature AI
- *
Send Server->Client UserInfo/CharInfo packet
- *
+ *
Send Server->Client UserInfo/CharInfo packet
* @param effect the effect
*/
public void stopConfused(Effect effect)
@@ -3747,12 +3688,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Stop and remove the Effects corresponding to the Skill Identifier and update client magic icone.
- *
- * Concept :
- *
- * All active skills effects in progress on the Creature are identified in ConcurrentHashMap(Integer,Effect) _effects. The Integer key of _effects is the Skill Identifier that has created the Effect.
- *
+ * Stop and remove the Effects corresponding to the Skill Identifier and update client magic icone.
+ *
+ * Concept:
+ *
+ * All active skills effects in progress on the Creature are identified in ConcurrentHashMap(Integer,Effect) _effects. The Integer key of _effects is the Skill Identifier that has created the Effect.
* @param skillId the skill id
*/
public void stopSkillEffects(int skillId)
@@ -3777,18 +3717,16 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Stop and remove all Effect of the selected type (ex : BUFF, DMG_OVER_TIME...) from the Creature and update client magic icone.
- *
- * Concept :
- *
- * All active skills effects in progress on the Creature are identified in ConcurrentHashMap(Integer,Effect) _effects. The Integer key of _effects is the Skill Identifier that has created the Effect.
- *
- * Actions :
- *
+ * Stop and remove all Effect of the selected type (ex : BUFF, DMG_OVER_TIME...) from the Creature and update client magic icone.
+ *
+ * Concept:
+ *
+ * All active skills effects in progress on the Creature are identified in ConcurrentHashMap(Integer,Effect) _effects. The Integer key of _effects is the Skill Identifier that has created the Effect.
+ *
+ * Actions:
*
Remove Func added by this effect from the Creature Calculator (Stop Effect)
*
Remove the Effect from _effects of the Creature
- *
Update active skills in progress icones on player client
- *
+ *
Update active skills in progress icones on player client
* @param type The type of effect to stop ((ex : BUFF, DMG_OVER_TIME...)
*/
public void stopEffects(Effect.EffectType type)
@@ -3813,12 +3751,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Stop and remove the Effects corresponding to the SkillType and update client magic icon.
- *
- * Concept :
- *
- * All active skills effects in progress on the Creature are identified in ConcurrentHashMap(Integer,Effect) _effects. The Integer key of _effects is the Skill Identifier that has created the Effect.
- *
+ * Stop and remove the Effects corresponding to the SkillType and update client magic icon.
+ *
+ * Concept:
+ *
+ * All active skills effects in progress on the Creature are identified in ConcurrentHashMap(Integer,Effect) _effects. The Integer key of _effects is the Skill Identifier that has created the Effect.
* @param skillType The SkillType of the Effect to remove from _effects
* @param power the power
*/
@@ -3853,14 +3790,12 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Stop a specified/all Fake Death abnormal Effect.
- *
- * Actions :
- *
+ * Stop a specified/all Fake Death abnormal Effect.
+ *
+ * Actions:
*
Delete a specified/all (if effect=null) Fake Death abnormal Effect from Creature and update client magic icone
*
Set the abnormal effect flag _fake_death to False
- *
Notify the Creature AI
- *
+ *
Notify the Creature AI
* @param effect the effect
*/
public void stopFakeDeath(Effect effect)
@@ -3888,15 +3823,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Stop a specified/all Fear abnormal Effect.
- *
- * Actions :
- *
+ * Stop a specified/all Fear abnormal Effect.
+ *
+ * Actions:
*
Delete a specified/all (if effect=null) Fear abnormal Effect from Creature and update client magic icone
*
Set the abnormal effect flag _affraid to False
*
Notify the Creature AI
- *
Send Server->Client UserInfo/CharInfo packet
- *
+ *
Send Server->Client UserInfo/CharInfo packet
* @param effect the effect
*/
public void stopFear(Effect effect)
@@ -3915,15 +3848,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Stop a specified/all Muted abnormal Effect.
- *
- * Actions :
- *
+ * Stop a specified/all Muted abnormal Effect.
+ *
+ * Actions:
*
Delete a specified/all (if effect=null) Muted abnormal Effect from Creature and update client magic icone
*
Set the abnormal effect flag _muted to False
*
Notify the Creature AI
- *
Send Server->Client UserInfo/CharInfo packet
- *
+ *
Send Server->Client UserInfo/CharInfo packet
* @param effect the effect
*/
public void stopMuted(Effect effect)
@@ -3961,15 +3892,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Stop a specified/all Root abnormal Effect.
- *
- * Actions :
- *
+ * Stop a specified/all Root abnormal Effect.
+ *
+ * Actions:
*
Delete a specified/all (if effect=null) Root abnormal Effect from Creature and update client magic icone
*
Set the abnormal effect flag _rooted to False
*
Notify the Creature AI
- *
Send Server->Client UserInfo/CharInfo packet
- *
+ *
Send Server->Client UserInfo/CharInfo packet
* @param effect the effect
*/
public void stopRooting(Effect effect)
@@ -3989,15 +3918,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Stop a specified/all Sleep abnormal Effect.
- *
- * Actions :
- *
+ * Stop a specified/all Sleep abnormal Effect.
+ *
+ * Actions:
*
Delete a specified/all (if effect=null) Sleep abnormal Effect from Creature and update client magic icone
*
Set the abnormal effect flag _sleeping to False
*
Notify the Creature AI
- *
Send Server->Client UserInfo/CharInfo packet
- *
+ *
Send Server->Client UserInfo/CharInfo packet
* @param effect the effect
*/
public void stopSleeping(Effect effect)
@@ -4017,15 +3944,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Stop a specified/all Stun abnormal Effect.
- *
- * Actions :
- *
+ * Stop a specified/all Stun abnormal Effect.
+ *
+ * Actions:
*
Delete a specified/all (if effect=null) Stun abnormal Effect from Creature and update client magic icone
*
Set the abnormal effect flag _stuned to False
*
Notify the Creature AI
- *
Send Server->Client UserInfo/CharInfo packet
- *
+ *
Send Server->Client UserInfo/CharInfo packet
* @param effect the effect
*/
public void stopStunning(Effect effect)
@@ -4050,27 +3975,23 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Not Implemented.
- *
- * Overridden in :
- *
+ * Not Implemented.
+ *
+ * Overridden in:
*
NPCInstance
*
PlayerInstance
*
Summon
- *
DoorInstance
- *
+ *
DoorInstance
*/
public abstract void updateAbnormalEffect();
/**
- * Update active skills in progress (In Use and Not In Use because stacked) icones on client.
- *
- * Concept :
- *
- * All active skills effects in progress (In Use and Not In Use because stacked) are represented by an icone on the client.
- *
- * Caution : This method ONLY UPDATE the client of the player and not clients of all players in the party.
- *
+ * Update active skills in progress (In Use and Not In Use because stacked) icones on client.
+ *
+ * Concept:
+ *
+ * All active skills effects in progress (In Use and Not In Use because stacked) are represented by an icone on the client.
+ * Caution: This method ONLY UPDATE the client of the player and not clients of all players in the party.
*/
public void updateEffectIcons()
{
@@ -4201,16 +4122,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return a map of 16 bits (0x0000) containing all abnormal effect in progress for this Creature.
- *
- * Concept :
- *
- * In Server->Client packet, each effect is represented by 1 bit of the map (ex : BLEEDING = 0x0001 (bit 1), SLEEP = 0x0080 (bit 8)...). The map is calculated by applying a BINARY OR operation on each effect.
- *
- * Example of use :
- *
- *
Server Packet : CharInfo, NpcInfo, NpcInfoPoly, UserInfo...
- *
+ * Return a map of 16 bits (0x0000) containing all abnormal effect in progress for this Creature.
+ *
+ * Concept:
+ *
+ * In Server->Client packet, each effect is represented by 1 bit of the map (ex : BLEEDING = 0x0001 (bit 1), SLEEP = 0x0080 (bit 8)...). The map is calculated by applying a BINARY OR operation on each effect.
+ *
+ * Example of use:
+ *
Server Packet : CharInfo, NpcInfo, NpcInfoPoly, UserInfo...
* @return the abnormal effect
*/
public int getAbnormalEffect()
@@ -4248,12 +4167,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return all active skills effects in progress on the Creature.
- *
- * Concept :
- *
- * All active skills effects in progress on the Creature are identified in _effects. The Integer key of _effects is the Skill Identifier that has created the effect.
- *
+ * Return all active skills effects in progress on the Creature.
+ *
+ * Concept:
+ *
+ * All active skills effects in progress on the Creature are identified in _effects. The Integer key of _effects is the Skill Identifier that has created the effect.
* @return A table containing all active skills effect in progress on the Creature
*/
public Effect[] getAllEffects()
@@ -4265,11 +4183,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return Effect in progress on the Creature corresponding to the Skill Identifier.
- *
- * Concept :
- *
- * All active skills effects in progress on the Creature are identified in _effects.
+ * Return Effect in progress on the Creature corresponding to the Skill Identifier.
+ *
+ * Concept:
+ *
+ * All active skills effects in progress on the Creature are identified in _effects.
* @param index The Skill Identifier of the Effect to return from the _effects
* @return The Effect corresponding to the Skill Identifier
*/
@@ -4343,11 +4261,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return the first Effect in progress on the Creature created by the Skill.
- *
- * Concept :
- *
- * All active skills effects in progress on the Creature are identified in _effects.
+ * Return the first Effect in progress on the Creature created by the Skill.
+ *
+ * Concept:
+ *
+ * All active skills effects in progress on the Creature are identified in _effects.
* @param skill The Skill whose effect must be returned
* @return The first Effect created by the Skill
*/
@@ -4384,12 +4302,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return the first Effect in progress on the Creature corresponding to the Effect Type (ex : BUFF, STUN, ROOT...).
- *
- * Concept :
- *
- * All active skills effects in progress on the Creature are identified in ConcurrentHashMap(Integer,Effect) _effects. The Integer key of _effects is the Skill Identifier that has created the Effect.
- *
+ * Return the first Effect in progress on the Creature corresponding to the Effect Type (ex : BUFF, STUN, ROOT...).
+ *
+ * Concept:
+ *
+ * All active skills effects in progress on the Creature are identified in ConcurrentHashMap(Integer,Effect) _effects. The Integer key of _effects is the Skill Identifier that has created the Effect.
* @param tp The Effect Type of skills whose effect must be returned
* @return The first Effect corresponding to the Effect Type
*/
@@ -4445,8 +4362,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
public class AIAccessor
{
/**
- * Return the Creature managed by this Accessor AI.
- *
+ * Return the Creature managed by this Accessor AI.
* @return the actor
*/
public Creature getActor()
@@ -4455,8 +4371,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Accessor to Creature moveToLocation() method with an interaction area.
- *
+ * Accessor to Creature moveToLocation() method with an interaction area.
* @param x the x
* @param y the y
* @param z the z
@@ -4468,8 +4383,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Accessor to Creature moveToLocation() method without interaction area.
- *
+ * Accessor to Creature moveToLocation() method without interaction area.
* @param x the x
* @param y the y
* @param z the z
@@ -4480,8 +4394,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Accessor to Creature stopMove() method.
- *
+ * Accessor to Creature stopMove() method.
* @param pos the pos
*/
public void stopMove(Location pos)
@@ -4490,8 +4403,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Accessor to Creature doAttack() method.
- *
+ * Accessor to Creature doAttack() method.
* @param target the target
*/
public void doAttack(Creature target)
@@ -4500,8 +4412,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Accessor to Creature doCast() method.
- *
+ * Accessor to Creature doCast() method.
* @param skill the skill
*/
public void doCast(Skill skill)
@@ -4510,8 +4421,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Create a NotifyAITask.
- *
+ * Create a NotifyAITask.
* @param evt the evt
* @return the notify ai task
*/
@@ -4521,8 +4431,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Cancel the AI.
- *
+ * Cancel the AI.
*/
public void detachAI()
{
@@ -4531,17 +4440,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * This class group all mouvement data.
- *
- * Data :
- *
+ * This class group all movement data.
+ *
+ * Data:
*
_moveTimestamp : Last time position update
*
_xDestination, _yDestination, _zDestination : Position of the destination
*
_xMoveFrom, _yMoveFrom, _zMoveFrom : Position of the origin
*
_moveStartTime : Start time of the movement
- *
_ticksToMove : Nb of ticks between the start and the destination
- *
_xSpeedTicks, _ySpeedTicks : Speed in unit/ticks
- *
+ *
_ticksToMove : number of ticks between the start and the destination
+ *
_xSpeedTicks, _ySpeedTicks : Speed in unit/ticks
*/
public static class MoveData
{
@@ -4600,8 +4507,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
private List _NotifyQuestOfDeathList = new ArrayList<>();
/**
- * Add QuestState instance that is to be notified of character's death.
- *
+ * Add QuestState instance that is to be notified of character's death.
* @param qs The QuestState that subscribe to this event
*/
public void addNotifyQuestOfDeath(QuestState qs)
@@ -4615,8 +4521,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return a list of Creature that attacked.
- *
+ * Return a list of Creature that attacked.
* @return the notify quest of death
*/
public List getNotifyQuestOfDeath()
@@ -4629,20 +4534,17 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Add a Func to the Calculator set of the Creature.
- *
- * Concept :
- *
- * A Creature owns a table of Calculators called _calculators. Each Calculator (a calculator per state) own a table of Func object. A Func object is a mathematic function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...). To reduce cache memory use,
- * NPCInstances who don't have skills share the same Calculator set called NPC_STD_CALCULATOR.
- *
- * That's why, if a NPCInstance is under a skill/spell effect that modify one of its state, a copy of the NPC_STD_CALCULATOR must be create in its _calculators before addind new Func object.
- *
- * Actions :
- *
+ * Add a Func to the Calculator set of the Creature.
+ *
+ * Concept:
+ *
+ * A Creature owns a table of Calculators called _calculators. Each Calculator (a calculator per state) own a table of Func object. A Func object is a mathematic function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...). To reduce cache memory use,
+ * NPCInstances who don't have skills share the same Calculator set called NPC_STD_CALCULATOR.
+ * That's why, if a NPCInstance is under a skill/spell effect that modify one of its state, a copy of the NPC_STD_CALCULATOR must be create in its _calculators before addind new Func object.
+ *
+ * Actions:
*
If _calculators is linked to NPC_STD_CALCULATOR, create a copy of NPC_STD_CALCULATOR in _calculators
- *
Add the Func object to _calculators
- *
+ *
Add the Func object to _calculators
* @param f The Func object to add to the Calculator corresponding to the state affected
*/
public synchronized void addStatFunc(Func f)
@@ -4678,20 +4580,17 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Add a list of Funcs to the Calculator set of the Creature.
- *
- * Concept :
- *
- * A Creature owns a table of Calculators called _calculators. Each Calculator (a calculator per state) own a table of Func object. A Func object is a mathematic function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...).
- *
- * Caution : This method is ONLY for PlayerInstance
- *
- * Example of use :
- *
+ * Add a list of Funcs to the Calculator set of the Creature.
+ *
+ * Concept:
+ *
+ * A Creature owns a table of Calculators called _calculators. Each Calculator (a calculator per state) own a table of Func object. A Func object is a mathematic function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...).
+ * Caution: This method is ONLY for PlayerInstance
+ *
+ * Example of use:
*
Equip an item from inventory
*
Learn a new passive skill
- *
Use an active skill
- *
+ *
Use an active skill
* @param funcs The list of Func objects to add to the Calculator corresponding to the state affected
*/
public synchronized void addStatFuncs(Func[] funcs)
@@ -4702,26 +4601,21 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
modifiedStats.add(f.stat);
addStatFunc(f);
}
-
broadcastModifiedStats(modifiedStats);
}
/**
- * Remove a Func from the Calculator set of the Creature.
- *
- * Concept :
- *
- * A Creature owns a table of Calculators called _calculators. Each Calculator (a calculator per state) own a table of Func object. A Func object is a mathematic function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...). To reduce cache memory use,
- * NPCInstances who don't have skills share the same Calculator set called NPC_STD_CALCULATOR.
- *
- * That's why, if a NPCInstance is under a skill/spell effect that modify one of its state, a copy of the NPC_STD_CALCULATOR must be create in its _calculators before addind new Func object.
- *
- * Actions :
- *
- *
Remove the Func object from _calculators
- *
- *
If Creature is a NPCInstance and _calculators is equal to NPC_STD_CALCULATOR, free cache memory and just create a link on NPC_STD_CALCULATOR in _calculators
- *
+ * Remove a Func from the Calculator set of the Creature.
+ *
+ * Concept:
+ *
+ * A Creature owns a table of Calculators called _calculators. Each Calculator (a calculator per state) own a table of Func object. A Func object is a mathematic function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...). To reduce cache memory use,
+ * NPCInstances who don't have skills share the same Calculator set called NPC_STD_CALCULATOR.
+ * That's why, if a NPCInstance is under a skill/spell effect that modify one of its state, a copy of the NPC_STD_CALCULATOR must be create in its _calculators before addind new Func object.
+ *
+ * Actions:
+ *
Remove the Func object from _calculators
+ *
If Creature is a NPCInstance and _calculators is equal to NPC_STD_CALCULATOR, free cache memory and just create a link on NPC_STD_CALCULATOR in _calculators
* @param f The Func object to remove from the Calculator corresponding to the state affected
*/
public synchronized void removeStatFunc(Func f)
@@ -4766,19 +4660,16 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Remove a list of Funcs from the Calculator set of the PlayerInstance.
- *
- * Concept :
- *
- * A Creature owns a table of Calculators called _calculators. Each Calculator (a calculator per state) own a table of Func object. A Func object is a mathematic function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...).
- *
- * Caution : This method is ONLY for PlayerInstance
- *
- * Example of use :
- *
+ * Remove a list of Funcs from the Calculator set of the PlayerInstance.
+ *
+ * Concept:
+ *
+ * A Creature owns a table of Calculators called _calculators. Each Calculator (a calculator per state) own a table of Func object. A Func object is a mathematic function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...).
+ * Caution: This method is ONLY for PlayerInstance
+ *
+ * Example of use:
*
Unequip an item from inventory
- *
Stop an active skill
- *
+ *
Stop an active skill
* @param funcs The list of Func objects to add to the Calculator corresponding to the state affected
*/
public synchronized void removeStatFuncs(Func[] funcs)
@@ -4789,31 +4680,25 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
modifiedStats.add(f.stat);
removeStatFunc(f);
}
-
broadcastModifiedStats(modifiedStats);
}
/**
- * Remove all Func objects with the selected owner from the Calculator set of the Creature.
- *
- * Concept :
- *
- * A Creature owns a table of Calculators called _calculators. Each Calculator (a calculator per state) own a table of Func object. A Func object is a mathematic function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...). To reduce cache memory use,
- * NPCInstances who don't have skills share the same Calculator set called NPC_STD_CALCULATOR.
- *
- * That's why, if a NPCInstance is under a skill/spell effect that modify one of its state, a copy of the NPC_STD_CALCULATOR must be create in its _calculators before addind new Func object.
- *
- * Actions :
- *
- *
Remove all Func objects of the selected owner from _calculators
- *
- *
If Creature is a NPCInstance and _calculators is equal to NPC_STD_CALCULATOR, free cache memory and just create a link on NPC_STD_CALCULATOR in _calculators
- *
- * Example of use :
- *
+ * Remove all Func objects with the selected owner from the Calculator set of the Creature.
+ *
+ * Concept:
+ *
+ * A Creature owns a table of Calculators called _calculators. Each Calculator (a calculator per state) own a table of Func object. A Func object is a mathematic function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...). To reduce cache memory use,
+ * NPCInstances who don't have skills share the same Calculator set called NPC_STD_CALCULATOR.
+ * That's why, if a NPCInstance is under a skill/spell effect that modify one of its state, a copy of the NPC_STD_CALCULATOR must be create in its _calculators before addind new Func object.
+ *
+ * Actions:
+ *
Remove all Func objects of the selected owner from _calculators
+ *
If Creature is a NPCInstance and _calculators is equal to NPC_STD_CALCULATOR, free cache memory and just create a link on NPC_STD_CALCULATOR in _calculators
+ *
+ * Example of use:
*
Unequip an item from inventory
- *
Stop an active skill
- *
+ *
Stop an active skill
* @param owner The Object(Skill, Item...) that has created the effect
*/
public void removeStatsOwner(Object owner)
@@ -4996,8 +4881,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return the orientation of the Creature.
- *
+ * Return the orientation of the Creature.
* @return the heading
*/
public int getHeading()
@@ -5006,8 +4890,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Set the orientation of the Creature.
- *
+ * Set the orientation of the Creature.
* @param heading the new heading
*/
public void setHeading(int heading)
@@ -5016,8 +4899,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return the X destination of the Creature or the X position if not in movement.
- *
+ * Return the X destination of the Creature or the X position if not in movement.
* @return the client x
*/
public int getClientX()
@@ -5103,8 +4985,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return the Y destination of the Creature or the Y position if not in movement.
- *
+ * Return the Y destination of the Creature or the Y position if not in movement.
* @return the ydestination
*/
public int getYdestination()
@@ -5118,8 +4999,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return the Z destination of the Creature or the Z position if not in movement.
- *
+ * Return the Z destination of the Creature or the Z position if not in movement.
* @return the zdestination
*/
public int getZdestination()
@@ -5133,8 +5013,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return True if the Creature is in combat.
- *
+ * Return True if the Creature is in combat.
* @return true, if is in combat
*/
public boolean isInCombat()
@@ -5143,8 +5022,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return True if the Creature is moving.
- *
+ * Return True if the Creature is moving.
* @return true, if is moving
*/
public boolean isMoving()
@@ -5153,8 +5031,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return True if the Creature is travelling a calculated path.
- *
+ * Return True if the Creature is traveling a calculated path.
* @return true, if is on geodata path
*/
public boolean isOnGeodataPath()
@@ -5176,8 +5053,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return True if the Creature is casting.
- *
+ * Return True if the Creature is casting.
* @return true, if is casting now
*/
public boolean isCastingNow()
@@ -5191,8 +5067,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return True if the Creature is casting.
- *
+ * Return True if the Creature is casting.
* @return true, if is casting potion now
*/
public boolean isCastingPotionNow()
@@ -5201,8 +5076,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return True if the cast of the Creature can be aborted.
- *
+ * Return True if the cast of the Creature can be aborted.
* @return true, if successful
*/
public boolean canAbortCast()
@@ -5211,8 +5085,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return True if the Creature is attacking.
- *
+ * Return True if the Creature is attacking.
* @return true, if is attacking now
*/
public boolean isAttackingNow()
@@ -5221,8 +5094,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return True if the Creature has aborted its attack.
- *
+ * Return True if the Creature has aborted its attack.
* @return true, if is attack aborted
*/
public boolean isAttackAborted()
@@ -5231,9 +5103,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Abort the attack of the Creature and send Server->Client ActionFailed packet.
- *
- * see org.l2jmobius.gameserver.model.Creature
+ * Abort the attack of the Creature and send Server->Client ActionFailed packet.
*/
public void abortAttack()
{
@@ -5254,8 +5124,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Abort the cast of the Creature and send Server->Client MagicSkillCanceld/ActionFailed packet.
- *
+ * Abort the cast of the Creature and send Server->Client MagicSkillCanceld/ActionFailed packet.
*/
public void abortCast()
{
@@ -5263,8 +5132,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Abort the cast of the Creature and send Server->Client MagicSkillCanceld/ActionFailed packet.
- *
+ * Abort the cast of the Creature and send Server->Client MagicSkillCanceld/ActionFailed packet.
* @param force the force
*/
public void abortCast(boolean force)
@@ -5303,20 +5171,16 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Update the position of the Creature during a movement and return True if the movement is finished.
- *
- * Concept :
- *
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature. The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
- *
+ * Update the position of the Creature during a movement and return True if the movement is finished.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature. The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
* When the movement is started (ex : by MovetoLocation), this method will be called each 0.1 sec to estimate and update the Creature position on the server. Note, that the current server position can differe from the current client position even if each movement is straight foward. That's why,
- * client send regularly a Client->Server ValidatePosition packet to eventually correct the gap on the server. But, it's always the server position that is used in range calculation.
- *
- * At the end of the estimated movement time, the Creature position is automatically set to the destination position even if the movement is not finished.
- *
- * Caution : The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet. But x and y positions must be calculated to avoid that players try to modify their movement speed.
- *
- * @param gameTicks Nb of ticks since the server start
+ * client send regularly a Client->Server ValidatePosition packet to eventually correct the gap on the server. But, it's always the server position that is used in range calculation.
+ * At the end of the estimated movement time, the Creature position is automatically set to the destination position even if the movement is not finished.
+ * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet. But x and y positions must be calculated to avoid that players try to modify their movement speed.
+ * @param gameTicks number of ticks since the server start
* @return True if the movement is finished
*/
public boolean updatePosition(int gameTicks)
@@ -5468,17 +5332,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Stop movement of the Creature (Called by AI Accessor only).
- *
- * Actions :
- *
+ * Stop movement of the Creature (Called by AI Accessor only).
+ *
+ * Actions:
*
Delete movement data of the Creature
*
Set the current position (x,y,z), its current WorldRegion if necessary and its heading
*
Remove the WorldObject object from _gmList** of GmListTable
- *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
* @param pos the pos
*/
public void stopMove(Location pos)
@@ -5527,23 +5388,21 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Target a WorldObject (add the target to the Creature _target, _knownObject and Creature to _KnownObject of the WorldObject).
- *
- * Concept :
- *
- * The WorldObject (including Creature) targeted is identified in _target of the Creature
- *
- * Actions :
- *
+ * Target a WorldObject (add the target to the Creature _target, _knownObject and Creature to _KnownObject of the WorldObject).
+ *
+ * Concept:
+ *
+ * The WorldObject (including Creature) targeted is identified in _target of the Creature
+ *
+ * Actions:
*
Set the _target of Creature to WorldObject
*
If necessary, add WorldObject to _knownObject of the Creature
*
If necessary, add Creature to _KnownObject of the WorldObject
- *
If object==null, cancel Attak or Cast
- *
- * Overriden in :
- *
- *
PlayerInstance : Remove the PlayerInstance from the old target _statusListener and add it to the new target if it was a Creature
- *
+ *
If object==null, cancel Attak or Cast
+ *
+ * Overriden in:
+ *
+ *
PlayerInstance : Remove the PlayerInstance from the old target _statusListener and add it to the new target if it was a Creature
* @param object L2object to target
*/
public void setTarget(WorldObject object)
@@ -5587,8 +5446,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return the identifier of the WorldObject targeted or -1.
- *
+ * Return the identifier of the WorldObject targeted or -1.
* @return the target id
*/
public int getTargetId()
@@ -5601,8 +5459,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return the WorldObject targeted or null.
- *
+ * Return the WorldObject targeted or null.
* @return the target
*/
public WorldObject getTarget()
@@ -5611,30 +5468,25 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Calculate movement data for a move to location action and add the Creature to movingObjects of GameTimeController (only called by AI Accessor).
- *
- * Concept :
- *
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature. The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
- *
- * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
- *
- * Actions :
- *
+ * Calculate movement data for a move to location action and add the Creature to movingObjects of GameTimeController (only called by AI Accessor).
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature. The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
+ * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
+ *
+ * Actions:
*
Get current position of the Creature
*
Calculate distance (dx,dy) between current position and destination including offset
*
Create and Init a MoveData object
*
Set the Creature _move object to MoveData object
*
Add the Creature to movingObjects of the GameTimeController
- *
Create a task to notify the AI that Creature arrives at a check point of the movement
- *
- * Caution : This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation
- *
- * Example of use :
- *
+ *
Create a task to notify the AI that Creature arrives at a check point of the movement
+ * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation
+ *
+ * Example of use:
*
AI : onIntentionMoveTo(L2CharPosition), onIntentionPickUp(WorldObject), onIntentionInteract(WorldObject)
- *
FollowTask
- *
+ *
FollowTask
* @param x The X position of the destination
* @param y The Y position of the destination
* @param z The Y position of the destination
@@ -5905,7 +5757,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
distance = Math.hypot(distance, dz);
}
- // Calculate the Nb of ticks between the current position and the destination
+ // Calculate the number of ticks between the current position and the destination
// One tick added for rounding reasons
final int ticksToMove = 1 + (int) ((GameTimeController.TICKS_PER_SECOND * distance) / speed);
m._xDestination = x;
@@ -5997,7 +5849,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
setHeading(Util.calculateHeadingFrom(getX(), getY(), m._xDestination, m._yDestination));
}
- // Calculate the Nb of ticks between the current position and the destination
+ // Calculate the number of ticks between the current position and the destination
// One tick added for rounding reasons
final int ticksToMove = 1 + (int) ((GameTimeController.TICKS_PER_SECOND * distance) / speed);
m._heading = 0; // initial value for coordinate sync
@@ -6047,8 +5899,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return the distance between the current position of the Creature and the target (x,y).
- *
+ * Return the distance between the current position of the Creature and the target (x,y).
* @param x X position of the target
* @param y Y position of the target
* @return the plan distance
@@ -6063,8 +5914,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return the distance between the current position of the Creature and the target (x,y).
- *
+ * Return the distance between the current position of the Creature and the target (x,y).
* @param x X position of the target
* @param y Y position of the target
* @param z the z
@@ -6081,8 +5931,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return the squared distance between the current position of the Creature and the given object.
- *
+ * Return the squared distance between the current position of the Creature and the given object.
* @param object WorldObject
* @return the squared distance
*/
@@ -6092,8 +5941,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return the squared distance between the current position of the Creature and the given x, y, z.
- *
+ * Return the squared distance between the current position of the Creature and the given x, y, z.
* @param x X position of the target
* @param y Y position of the target
* @param z Z position of the target
@@ -6108,9 +5956,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return the squared plan distance between the current position of the Creature and the given object.
- * (check only x and y, not z)
- *
+ * Return the squared plan distance between the current position of the Creature and the given object.
+ * (check only x and y, not z)
* @param object WorldObject
* @return the squared plan distance
*/
@@ -6120,9 +5967,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return the squared plan distance between the current position of the Creature and the given x, y, z.
- * (check only x and y, not z)
- *
+ * Return the squared plan distance between the current position of the Creature and the given x, y, z.
+ * (check only x and y, not z)
* @param x X position of the target
* @param y Y position of the target
* @return the squared plan distance
@@ -6135,8 +5981,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Check if this object is inside the given radius around the given object. Warning: doesn't cover collision radius!
- *
+ * Check if this object is inside the given radius around the given object. Warning: doesn't cover collision radius!
* @param object the target
* @param radius the radius around the target
* @param checkZ should we check Z axis also
@@ -6153,8 +5998,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Check if this object is inside the given plan radius around the given point. Warning: doesn't cover collision radius!
- *
+ * Check if this object is inside the given plan radius around the given point. Warning: doesn't cover collision radius!
* @param x X position of the target
* @param y Y position of the target
* @param radius the radius around the target
@@ -6167,8 +6011,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Check if this object is inside the given radius around the given point.
- *
+ * Check if this object is inside the given radius around the given point.
* @param x X position of the target
* @param y Y position of the target
* @param z Z position of the target
@@ -6198,8 +6041,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return the Weapon Expertise Penalty of the Creature.
- *
+ * Return the Weapon Expertise Penalty of the Creature.
* @return the weapon expertise penalty
*/
public float getWeaponExpertisePenalty()
@@ -6208,8 +6050,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return the Armour Expertise Penalty of the Creature.
- *
+ * Return the Armour Expertise Penalty of the Creature.
* @return the armour expertise penalty
*/
public float getArmourExpertisePenalty()
@@ -6218,8 +6059,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Set _attacking corresponding to Attacking Body part to CHEST.
- *
+ * Set _attacking corresponding to Attacking Body part to CHEST.
*/
public void setAttackingBodypart()
{
@@ -6227,12 +6067,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Retun True if arrows are available.
- *
- * Overriden in :
- *
- *
PlayerInstance
- *
+ * Retun True if arrows are available.
+ *
+ * Overriden in:
+ *
+ *
PlayerInstance
* @return true, if successful
*/
protected boolean checkAndEquipArrows()
@@ -6241,13 +6080,12 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Add Exp and Sp to the Creature.
- *
- * Overriden in :
- *
+ * Add Exp and Sp to the Creature.
+ *
+ * Overriden in:
+ *
*
PlayerInstance
- *
PetInstance
- *
+ *
PetInstance
* @param addToExp the add to exp
* @param addToSp the add to sp
*/
@@ -6257,61 +6095,55 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return the active weapon instance (always equiped in the right hand).
- *
- * Overriden in :
- *
- *
PlayerInstance
- *
+ * Return the active weapon instance (always equipped in the right hand).
+ *
+ * Overriden in:
+ *
+ *
PlayerInstance
* @return the active weapon instance
*/
public abstract ItemInstance getActiveWeaponInstance();
/**
- * Return the active weapon item (always equiped in the right hand).
- *
- * Overriden in :
- *
- *
PlayerInstance
- *
+ * Return the active weapon item (always equipped in the right hand).
+ *
+ * Overriden in:
+ *
+ *
PlayerInstance
* @return the active weapon item
*/
public abstract Weapon getActiveWeaponItem();
/**
- * Return the secondary weapon instance (always equiped in the left hand).
- *
- * Overriden in :
- *
- *
PlayerInstance
- *
+ * Return the secondary weapon instance (always equipped in the left hand).
+ *
+ * Overriden in:
+ *
+ *
PlayerInstance
* @return the secondary weapon instance
*/
public abstract ItemInstance getSecondaryWeaponInstance();
/**
- * Return the secondary weapon item (always equiped in the left hand).
- *
- * Overriden in :
- *
- *
PlayerInstance
- *
+ * Return the secondary weapon item (always equipped in the left hand).
+ *
+ * Overriden in:
+ *
+ *
PlayerInstance
* @return the secondary weapon item
*/
public abstract Weapon getSecondaryWeaponItem();
/**
- * Manage hit process (called by Hit Task).
- *
- * Actions :
- *
+ * Manage hit process (called by Hit Task).
+ *
+ * Actions:
*
If the attacker/target is dead or use fake death, notify the AI with EVT_CANCEL and send a Server->Client packet ActionFailed (if attacker is a PlayerInstance)
*
If attack isn't aborted, send a message system (critical hit, missed...) to attacker/target if they are PlayerInstance
*
If attack isn't aborted and hit isn't missed, reduce HP of the target and calculate reflection damage to reduce HP of attacker if necessary
- *
if attack isn't aborted and hit isn't missed, manage attack or cast break of the target (calculating rate, sending message...)
- *
+ *
if attack isn't aborted and hit isn't missed, manage attack or cast break of the target (calculating rate, sending message...)
* @param target The Creature targeted
- * @param damage Nb of HP to reduce
+ * @param damage number of HP to reduce
* @param crit True if hit is critical
* @param miss True if hit is missed
* @param soulshot True if SoulShot are charged
@@ -6597,8 +6429,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Break an attack and send Server->Client ActionFailed packet and a System Message to the Creature.
- *
+ * Break an attack and send Server->Client ActionFailed packet and a System Message to the Creature.
*/
public void breakAttack()
{
@@ -6618,8 +6449,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Break a cast and send Server->Client ActionFailed packet and a System Message to the Creature.
- *
+ * Break a cast and send Server->Client ActionFailed packet and a System Message to the Creature.
*/
public void breakCast()
{
@@ -6638,12 +6468,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Reduce the arrow number of the Creature.
- *
- * Overriden in :
- *
- *
PlayerInstance
- *
+ * Reduce the arrow number of the Creature.
+ *
+ * Overriden in:
+ *
+ *
If Creature or target is in a town area, send a system message TARGET_IN_PEACEZONE a Server->Client packet ActionFailed
*
If target is confused, send a Server->Client packet ActionFailed
*
If Creature is a ArtefactInstance, send a Server->Client packet ActionFailed
- *
Send a Server->Client packet MyTargetSelected to start attack and Notify AI with AI_INTENTION_ATTACK
- *
+ *
Send a Server->Client packet MyTargetSelected to start attack and Notify AI with AI_INTENTION_ATTACK
* @param player The PlayerInstance to attack
*/
@Override
@@ -6719,8 +6546,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return True if inside peace zone.
- *
+ * Return True if inside peace zone.
* @param attacker the attacker
* @return true, if is inside peace zone
*/
@@ -6909,8 +6735,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return True if the Creature has a Party in progress.
- *
+ * Return True if the Creature has a Party in progress.
* @return true, if is in party
*/
public boolean isInParty()
@@ -6919,8 +6744,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return the Party object of the Creature.
- *
+ * Return the Party object of the Creature.
* @return the party
*/
public Party getParty()
@@ -6929,8 +6753,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return the Attack Speed of the Creature (delay (in milliseconds) before next attack).
- *
+ * Return the Attack Speed of the Creature (delay (in milliseconds) before next attack).
* @param target the target
* @param weapon the weapon
* @return the int
@@ -7004,8 +6827,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return True if the Creature use a dual weapon.
- *
+ * Return True if the Creature use a dual weapon.
* @return true, if is using dual weapon
*/
public boolean isUsingDualWeapon()
@@ -7014,22 +6836,20 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Add a skill to the Creature _skills and its Func objects to the calculator set of the Creature.
- *
- * Concept :
- *
- * All skills own by a Creature are identified in _skills
- *
- * Actions :
- *
+ * Add a skill to the Creature _skills and its Func objects to the calculator set of the Creature.
+ *
+ * Concept:
+ *
+ * All skills own by a Creature are identified in _skills
+ *
+ * Actions:
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
- *
Add Func objects of newSkill to the calculator set of the Creature
- *
- * Overriden in :
- *
- *
PlayerInstance : Save update in the character_skills table of the database
- *
+ *
Add Func objects of newSkill to the calculator set of the Creature
+ *
+ * Overriden in:
+ *
+ *
PlayerInstance : Save update in the character_skills table of the database
* @param newSkill The Skill to add to the Creature
* @return The Skill replaced or null if just added a new Skill
*/
@@ -7121,21 +6941,19 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Remove a skill from the Creature and its Func objects from calculator set of the Creature.
- *
- * Concept :
- *
- * All skills own by a Creature are identified in _skills
- *
- * Actions :
- *
+ * Remove a skill from the Creature and its Func objects from calculator set of the Creature.
+ *
+ * Concept:
+ *
+ * All skills own by a Creature are identified in _skills
+ *
+ * Actions:
*
Remove the skill from the Creature _skills
- *
Remove all its Func objects from the Creature calculator set
- *
- * Overriden in :
- *
- *
PlayerInstance : Save update in the character_skills table of the database
- *
+ *
Remove all its Func objects from the Creature calculator set
+ *
+ * Overriden in:
+ *
+ *
PlayerInstance : Save update in the character_skills table of the database
* @param skill The Skill to remove from the Creature
* @return The Skill removed
*/
@@ -7151,7 +6969,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
/**
* Removes the skill.
* @param skillId the skill id
- * @return the l2 skill
+ * @return the skill
*/
public Skill removeSkill(int skillId)
{
@@ -7162,7 +6980,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
* Removes the skill.
* @param skillId the skill id
* @param cancelEffect the cancel effect
- * @return the l2 skill
+ * @return the skill
*/
public Skill removeSkill(int skillId, boolean cancelEffect)
{
@@ -7171,7 +6989,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
// Remove all its Func objects from the Creature calculator set
if (oldSkill != null)
{
- // this is just a fail-safe againts buggers and gm dummies...
+ // this is just a fail-safe againts buggers and GM dummies...
if (oldSkill.triggerAnotherSkill())
{
removeSkill(oldSkill.getTriggeredId(), true);
@@ -7200,12 +7018,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return all skills own by the Creature in a table of Skill.
- *
- * Concept :
- *
- * All skills own by a Creature are identified in _skills the Creature
- *
+ * Return all skills own by the Creature in a table of Skill.
+ *
+ * Concept:
+ *
+ * All skills own by a Creature are identified in _skills the Creature
* @return the all skills
*/
public Skill[] getAllSkills()
@@ -7232,8 +7049,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return the level of a skill owned by the Creature.
- *
+ * Return the level of a skill owned by the Creature.
* @param skillId The identifier of the Skill whose level must be returned
* @return The level of the Skill identified by skillId
*/
@@ -7245,8 +7061,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return True if the skill is known by the Creature.
- *
+ * Return True if the skill is known by the Creature.
* @param skillId The identifier of the Skill to check the knowledge
* @return the known skill
*/
@@ -7257,8 +7072,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return the number of skills of type(Buff, Debuff, HEAL_PERCENT, MANAHEAL_PERCENT) affecting this Creature.
- *
+ * Return the number of skills of type(Buff, Debuff, HEAL_PERCENT, MANAHEAL_PERCENT) affecting this Creature.
* @return The number of Buffs affecting this Creature
*/
public int getBuffCount()
@@ -7286,8 +7100,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return the number of skills of type(Debuff, poison, slow, etc.) affecting this Creature.
- *
+ * Return the number of skills of type(Debuff, poison, slow, etc.) affecting this Creature.
* @return The number of debuff affecting this Creature
*/
public int getDeBuffCount()
@@ -7325,8 +7138,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Removes the first Buff of this Creature.
- *
+ * Removes the first Buff of this Creature.
* @param preferSkill If != 0 the given skill Id will be removed instead of first
*/
public void removeFirstBuff(int preferSkill)
@@ -7370,8 +7182,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Removes the first DeBuff of this Creature.
- *
+ * Removes the first DeBuff of this Creature.
* @param preferSkill If != 0 the given skill Id will be removed instead of first
*/
public void removeFirstDeBuff(int preferSkill)
@@ -7444,8 +7255,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Checks if the given skill stacks with an existing one.
- *
+ * Checks if the given skill stacks with an existing one.
* @param checkSkill the skill to be checked
* @return Returns whether or not this skill will stack
*/
@@ -7484,19 +7294,16 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Manage the magic skill launching task (MP, HP, Item consummation...) and display the magic skill animation on client.
- *
- * Actions :
- *
+ * Manage the magic skill launching task (MP, HP, Item consummation...) and display the magic skill animation on client.
+ *
+ * Actions:
*
Send a Server->Client packet MagicSkillLaunched (to display magic skill animation) to all PlayerInstance of Creature _knownPlayers
*
Consumme MP, HP and Item if necessary
*
Send a Server->Client packet StatusUpdate with MP modification to the PlayerInstance
*
Launch the magic skill in order to calculate its effects
*
If the skill type is PDAM, notify the AI of the target with AI_INTENTION_ATTACK
- *
Notify the AI of the Creature with EVT_FINISH_CASTING
- *
- * Caution : A magic skill casting MUST BE in progress
- *
+ *
Notify the AI of the Creature with EVT_FINISH_CASTING
+ * Caution: A magic skill casting MUST BE in progress
* @param targets the targets
* @param skill The Skill to use
* @param coolTime the cool time
@@ -7509,7 +7316,6 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
_skillCast = null;
enableAllSkills();
getAI().notifyEvent(CtrlEvent.EVT_CANCEL);
-
return;
}
@@ -7940,12 +7746,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Reduce the item number of the Creature.
- *
- * Overriden in :
- *
- *
PlayerInstance
- *
+ * Reduce the item number of the Creature.
+ *
+ * Overriden in:
+ *
+ *
PlayerInstance
* @param itemConsumeId the item consume id
* @param itemCount the item count
*/
@@ -7954,12 +7759,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Enable a skill (remove it from _disabledSkills of the Creature).
- *
- * Concept :
- *
- * All skills disabled are identified by their skillId in _disabledSkills of the Creature
- *
+ * Enable a skill (remove it from _disabledSkills of the Creature).
+ *
+ * Concept:
+ *
+ * All skills disabled are identified by their skillId in _disabledSkills of the Creature
* @param skill
*/
public void enableSkill(Skill skill)
@@ -7995,12 +7799,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Check if a skill is disabled.
- *
- * Concept :
- *
- * All skills disabled are identified by their skillId in _disabledSkills of the Creature
- *
+ * Check if a skill is disabled.
+ *
+ * Concept:
+ *
+ * All skills disabled are identified by their skillId in _disabledSkills of the Creature
* @param skill the skill to know if its disabled
* @return true, if is skill disabled
*/
@@ -8076,8 +7879,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Disable all skills (set _allSkillsDisabled to True).
- *
+ * Disable all skills (set _allSkillsDisabled to True).
*/
public void disableAllSkills()
{
@@ -8085,8 +7887,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Enable all skills (set _allSkillsDisabled to False).
- *
+ * Enable all skills (set _allSkillsDisabled to False).
*/
public void enableAllSkills()
{
@@ -8094,8 +7895,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Launch the magic skill and calculate its effects on each target contained in the targets table.
- *
+ * Launch the magic skill and calculate its effects on each target contained in the targets table.
* @param skill The Skill to use
* @param targets The table of WorldObject targets
*/
@@ -8487,8 +8287,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return True if the Creature is behind the target and can't be seen.
- *
+ * Return True if the Creature is behind the target and can't be seen.
* @param target the target
* @return true, if is behind
*/
@@ -8576,8 +8375,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return True if the Creature is behind the target and can't be seen.
- *
+ * Return True if the Creature is behind the target and can't be seen.
* @param target the target
* @return true, if is front
*/
@@ -8630,8 +8428,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return True if the Creature is side the target and can't be seen.
- *
+ * Return True if the Creature is side the target and can't be seen.
* @param target the target
* @return true, if is side
*/
@@ -8660,8 +8457,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return 1.
- *
+ * Return 1.
* @return the level mod
*/
public double getLevelMod()
@@ -8755,8 +8551,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return a Random Damage in function of the weapon.
- *
+ * Return a Random Damage in function of the weapon.
* @param target the target
* @return the random damage
*/
@@ -8786,8 +8581,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Not Implemented.
- *
+ * Not Implemented.
* @return the level
*/
public abstract int getLevel();
@@ -9579,14 +9373,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Send system message about damage.
- *
- * Overriden in :
- *
+ * Send system message about damage.
+ *
+ * Overriden in:
+ *
*
PlayerInstance
*
SummonInstance
- *
PetInstance
- *
+ *
PetInstance
* @param target the target
* @param damage the damage
* @param mcrit the mcrit
@@ -9889,8 +9682,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
}
/**
- * Return a multiplier based on weapon random damage
- *
+ * Return a multiplier based on weapon random damage
* .
* @return the random damage multiplier
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/Playable.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/Playable.java
index 7c87bbc70e..b7144aaf5e 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/Playable.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/Playable.java
@@ -40,12 +40,10 @@ public abstract class Playable extends Creature
private boolean _ProtectionBlessing = false;
/**
- * Constructor of PlayableInstance (use Creature constructor).
- *
- * Actions :
- *
- *
Call the Creature constructor to create an empty _skills slot and link copy basic Calculator set to this PlayableInstance
Call the Creature constructor to create an empty _skills slot and link copy basic Calculator set to this PlayableInstance
* @param objectId Identifier of the object to initialized
* @param template The CreatureTemplate to apply to the PlayableInstance
*/
@@ -185,8 +183,7 @@ public abstract class Playable extends Creature
}
/**
- * Return True.
- *
+ * Return True.
* @return true, if is attackable
*/
@Override
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/Summon.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/Summon.java
index 975c189349..20ba620b25 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/Summon.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/Summon.java
@@ -532,8 +532,7 @@ public abstract class Summon extends Playable
}
/**
- * Return the Party object of its PlayerInstance owner or null.
- *
+ * Return the Party object of its PlayerInstance owner or null.
*/
@Override
public Party getParty()
@@ -546,8 +545,7 @@ public abstract class Summon extends Playable
}
/**
- * Return True if the Creature has a Party in progress.
- *
+ * Return True if the Creature has a Party in progress.
*/
@Override
public boolean isInParty()
@@ -560,19 +558,15 @@ public abstract class Summon extends Playable
}
/**
- * Check if the active Skill can be casted.
- *
- * Actions :
- *
+ * Check if the active Skill can be casted.
+ *
+ * Actions:
*
Check if the target is correct
*
Check if the target is in the skill cast range
*
Check if the summon owns enough HP and MP to cast the skill
- *
Check if all skills are enabled and this skill is enabled
- *
- *
Check if the skill is active
- *
- *
Notify the AI with AI_INTENTION_CAST and target
- *
+ *
Check if all skills are enabled and this skill is enabled
+ *
Check if the skill is active
+ *
Notify the AI with AI_INTENTION_CAST and target
* @param skill The Skill to use
* @param forceUse used to force ATTACK on players
* @param dontMove used to prevent movement, if not in range
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
index b15cbb9b13..a1f780c2a5 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
@@ -24,21 +24,19 @@ import org.l2jmobius.gameserver.network.serverpackets.MyTargetSelected;
import org.l2jmobius.gameserver.network.serverpackets.ValidateLocation;
/**
- * This class manages all Castle Siege Artefacts.
- *
+ * This class manages all Castle Siege Artefacts.
+ *
* @version $Revision: 1.11.2.1.2.7 $ $Date: 2005/04/06 16:13:40 $
*/
public class ArtefactInstance extends NpcInstance
{
/**
- * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
- *
- * Actions :
- *
+ * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
+ *
+ * Actions:
*
Call the Creature constructor to set the _template of the ArtefactInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the ArtefactInstance
- *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
- *
+ *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
* @param objectId Identifier of the object to initialized
* @param template
*/
@@ -66,18 +64,15 @@ public class ArtefactInstance extends NpcInstance
}
/**
- * Manage actions when a player click on the ArtefactInstance.
- *
- * Actions :
- *
+ * Manage actions when a player click on the ArtefactInstance.
+ *
+ * Actions:
*
Set the NpcInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
- *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The PlayerInstance that start an action on the ArtefactInstance
*/
@Override
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/CabaleBufferInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/CabaleBufferInstance.java
index d112b5d953..f7c62e4a30 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/CabaleBufferInstance.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/CabaleBufferInstance.java
@@ -96,16 +96,16 @@ public class CabaleBufferInstance extends NpcInstance
}
/**
- * For each known player in range, cast either the positive or negative buff.
- * The stats affected depend on the player type, either a fighter or a mystic.
- *
- * Curse of Destruction (Loser)
- * - Fighters: -25% Accuracy, -25% Effect Resistance
- * - Mystics: -25% Casting Speed, -25% Effect Resistance
- *
- *
- * Blessing of Prophecy (Winner) - Fighters: +25% Max Load, +25% Effect Resistance
- * - Mystics: +25% Magic Cancel Resist, +25% Effect Resistance
+ * For each known player in range, cast either the positive or negative buff.
+ * The stats affected depend on the player type, either a fighter or a mystic.
+ *
+ * Curse of Destruction (Loser)
+ * - Fighters: -25% Accuracy, -25% Effect Resistance
+ * - Mystics: -25% Casting Speed, -25% Effect Resistance
+ *
+ *
+ * Blessing of Prophecy (Winner) - Fighters: +25% Max Load, +25% Effect Resistance
+ * - Mystics: +25% Magic Cancel Resist, +25% Effect Resistance
*/
for (PlayerInstance player : getKnownList().getKnownPlayers().values())
{
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/CommanderInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/CommanderInstance.java
index 1d0d789772..518cfa651c 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/CommanderInstance.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/CommanderInstance.java
@@ -39,8 +39,7 @@ public class CommanderInstance extends Attackable
}
/**
- * Return True if a siege is in progress and the Creature attacker isn't a Defender.
- *
+ * Return True if a siege is in progress and the Creature attacker isn't a Defender.
* @param attacker The Creature that the CommanderInstance try to attack
*/
@Override
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/DoorInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/DoorInstance.java
index 0076de7e68..a685237fa3 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/DoorInstance.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/DoorInstance.java
@@ -272,8 +272,8 @@ public class DoorInstance extends Creature
}
/**
- * Sets the delay in milliseconds for automatic opening/closing of this door instance.
- * Note: A value of -1 cancels the auto open/close task.
+ * Sets the delay in milliseconds for automatic opening/closing of this door instance.
+ * Note: A value of -1 cancels the auto open/close task.
* @param actionDelay the new auto action delay
*/
public void setAutoActionDelay(int actionDelay)
@@ -465,13 +465,11 @@ public class DoorInstance extends Creature
}
/**
- * Return the distance after which the object must be remove from _knownObject according to the type of the object.
- *
- * Values :
- *
+ * Return the distance after which the object must be remove from _knownObject according to the type of the object.
+ *
+ * Values:
*
object is a PlayerInstance : 4000
- *
object is not a PlayerInstance : 0
- *
+ *
object is not a PlayerInstance : 0
* @param object the object
* @return the distance to forget object
*/
@@ -485,8 +483,7 @@ public class DoorInstance extends Creature
}
/**
- * Return null.
- *
+ * Return null.
* @return the active weapon instance
*/
@Override
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/FestivalMonsterInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/FestivalMonsterInstance.java
index 51a0e2922b..b55505b0df 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/FestivalMonsterInstance.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/FestivalMonsterInstance.java
@@ -32,14 +32,12 @@ public class FestivalMonsterInstance extends MonsterInstance
protected int _bonusMultiplier = 1;
/**
- * Constructor of FestivalMonsterInstance (use Creature and NpcInstance constructor).
- *
- * Actions :
- *
+ * Constructor of FestivalMonsterInstance (use Creature and NpcInstance constructor).
+ *
+ * Actions:
*
Call the Creature constructor to set the _template of the FestivalMonsterInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the MonsterInstance
- *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
- *
+ *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
* @param objectId Identifier of the object to initialized
* @param template the template
*/
@@ -58,8 +56,7 @@ public class FestivalMonsterInstance extends MonsterInstance
}
/**
- * Return True if the attacker is not another FestivalMonsterInstance.
- *
+ * Return True if the attacker is not another FestivalMonsterInstance.
* @param attacker the attacker
* @return true, if is auto attackable
*/
@@ -93,7 +90,7 @@ public class FestivalMonsterInstance extends MonsterInstance
* Actions:
*
Check if the killing object is a player, and then find the party they belong to.
*
Add a blood offering item to the leader of the party.
- *
Update the party leader's inventory to show the new item addition.
+ *
Update the party leader's inventory to show the new item addition.
* @param lastAttacker the last attacker
*/
@Override
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/FortMerchantInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/FortMerchantInstance.java
index 2febcd1c3c..980ed6a6bd 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/FortMerchantInstance.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/FortMerchantInstance.java
@@ -139,7 +139,7 @@ public class FortMerchantInstance extends NpcWalkerInstance
}
/**
- * If siege is in progress shows the Busy HTML
+ * If siege is in progress shows the Busy HTML
* else Shows the SiegeInfo window
* @param player
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/FortSiegeGuardInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/FortSiegeGuardInstance.java
index 743f82c8da..cdd7aab89c 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/FortSiegeGuardInstance.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/FortSiegeGuardInstance.java
@@ -68,8 +68,7 @@ public class FortSiegeGuardInstance extends Attackable
}
/**
- * Return True if a siege is in progress and the Creature attacker isn't a Defender.
- *
+ * Return True if a siege is in progress and the Creature attacker isn't a Defender.
* @param attacker The Creature that the SiegeGuardInstance try to attack
*/
@Override
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java
index 58a5e17ea6..ee212c588b 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java
@@ -33,8 +33,8 @@ import org.l2jmobius.gameserver.network.serverpackets.SocialAction;
import org.l2jmobius.gameserver.network.serverpackets.ValidateLocation;
/**
- * This class manages all Guards in the world. It inherits all methods from Attackable and adds some more such as tracking PK and aggressive MonsterInstance.
- *
+ * This class manages all Guards in the world. It inherits all methods from Attackable and adds some more such as tracking PK and aggressive MonsterInstance.
+ *
* @version $Revision: 1.11.2.1.2.7 $ $Date: 2005/04/06 16:13:40 $
*/
public class GuardInstance extends Attackable
@@ -57,14 +57,12 @@ public class GuardInstance extends Attackable
}
/**
- * Constructor of GuardInstance (use Creature and NpcInstance constructor).
- *
- * Actions :
- *
+ * Constructor of GuardInstance (use Creature and NpcInstance constructor).
+ *
+ * Actions:
*
Call the Creature constructor to set the _template of the GuardInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the GuardInstance
- *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
- *
+ *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
* @param objectId Identifier of the object to initialized
* @param template the template
*/
@@ -86,8 +84,7 @@ public class GuardInstance extends Attackable
}
/**
- * Return True if the attacker is a MonsterInstance.
- *
+ * Return True if the attacker is a MonsterInstance.
* @param attacker the attacker
* @return true, if is auto attackable
*/
@@ -98,10 +95,10 @@ public class GuardInstance extends Attackable
}
/**
- * Set home location of the GuardInstance.
- *
- * Concept :
- *
+ * Set home location of the GuardInstance.
+ *
+ * Concept:
+ *
* Guard will always try to return to this location after it has killed all PK's in range
*/
public void getHomeLocation()
@@ -121,8 +118,7 @@ public class GuardInstance extends Attackable
}
/**
- * Notify the GuardInstance to return to its home location (AI_INTENTION_MOVE_TO) and clear its _aggroList.
- *
+ * Notify the GuardInstance to return to its home location (AI_INTENTION_MOVE_TO) and clear its _aggroList.
*/
public void returnHome()
{
@@ -134,8 +130,7 @@ public class GuardInstance extends Attackable
}
/**
- * Set the home location of its GuardInstance.
- *
+ * Set the home location of its GuardInstance.
*/
@Override
public void onSpawn()
@@ -154,13 +149,11 @@ public class GuardInstance extends Attackable
}
/**
- * Return the pathfile of the selected HTML file in function of the GuardInstance Identifier and of the page number.
- *
- * Format of the pathfile :
- *
- *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
- *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
- *
+ * Return the pathfile of the selected HTML file in function of the GuardInstance Identifier and of the page number.
+ *
+ * Format of the pathfile:
+ *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
+ *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
* @return the html path
@@ -181,24 +174,20 @@ public class GuardInstance extends Attackable
}
/**
- * Manage actions when a player click on the GuardInstance.
- *
- * Actions on first click on the GuardInstance (Select it) :
- *
+ * Manage actions when a player click on the GuardInstance.
+ *
+ * Actions on first click on the GuardInstance (Select it):
*
Set the GuardInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
Set the PlayerInstance Intention to AI_INTENTION_IDLE
- *
Send a Server->Client packet ValidateLocation to correct the GuardInstance position and heading on the client
- *
- * Actions on second click on the GuardInstance (Attack it/Interact with it) :
- *
+ *
Send a Server->Client packet ValidateLocation to correct the GuardInstance position and heading on the client
+ *
+ * Actions on second click on the GuardInstance (Attack it/Interact with it):
*
If PlayerInstance is in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_ATTACK
- *
If PlayerInstance is NOT in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_INTERACT (after a distance verification) and show message
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If PlayerInstance is NOT in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_INTERACT (after a distance verification) and show message
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The PlayerInstance that start an action on the GuardInstance
*/
@Override
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/GuardNoHTMLInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/GuardNoHTMLInstance.java
index dac85c2fdc..9e40381d98 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/GuardNoHTMLInstance.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/GuardNoHTMLInstance.java
@@ -32,8 +32,8 @@ import org.l2jmobius.gameserver.network.serverpackets.MyTargetSelected;
import org.l2jmobius.gameserver.network.serverpackets.ValidateLocation;
/**
- * This class manages all Guards in the world. It inherits all methods from Attackable and adds some more such as tracking PK and aggressive MonsterInstance.
- *
+ * This class manages all Guards in the world. It inherits all methods from Attackable and adds some more such as tracking PK and aggressive MonsterInstance.
+ *
* @version $Revision: 1.11.2.1.2.7 $ $Date: 2005/04/06 16:13:40 $
*/
public class GuardNoHTMLInstance extends Attackable
@@ -56,14 +56,12 @@ public class GuardNoHTMLInstance extends Attackable
}
/**
- * Constructor of GuardInstance (use Creature and NpcInstance constructor).
- *
- * Actions :
- *
+ * Constructor of GuardInstance (use Creature and NpcInstance constructor).
+ *
+ * Actions:
*
Call the Creature constructor to set the _template of the GuardInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the GuardInstance
- *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
- *
+ *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
* @param objectId Identifier of the object to initialized
* @param template the template
*/
@@ -85,8 +83,7 @@ public class GuardNoHTMLInstance extends Attackable
}
/**
- * Return true if hte attacker is a MonsterInstance.
- *
+ * Return true if hte attacker is a MonsterInstance.
* @param attacker the attacker
* @return true, if is auto attackable
*/
@@ -97,10 +94,10 @@ public class GuardNoHTMLInstance extends Attackable
}
/**
- * Set home location of the GuardInstance.
- *
- * Concept :
- *
+ * Set home location of the GuardInstance.
+ *
+ * Concept:
+ *
* Guard will always try to return to this location after it has killed all PK's in range
*/
public void getHomeLocation()
@@ -120,8 +117,7 @@ public class GuardNoHTMLInstance extends Attackable
}
/**
- * Notify the GuardInstance to return to its home location (AI_INTENTION_MOVE_TO) and clear its _aggroList.
- *
+ * Notify the GuardInstance to return to its home location (AI_INTENTION_MOVE_TO) and clear its _aggroList.
*/
public void returnHome()
{
@@ -133,8 +129,7 @@ public class GuardNoHTMLInstance extends Attackable
}
/**
- * Set the home location of its GuardInstance.
- *
+ * Set the home location of its GuardInstance.
*/
@Override
public void onSpawn()
@@ -152,24 +147,20 @@ public class GuardNoHTMLInstance extends Attackable
}
/**
- * Manage actions when a player click on the GuardInstance.
- *
- * Actions on first click on the GuardInstance (Select it) :
- *
+ * Manage actions when a player click on the GuardInstance.
+ *
+ * Actions on first click on the GuardInstance (Select it):
*
Set the GuardInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
Set the PlayerInstance Intention to AI_INTENTION_IDLE
- *
Send a Server->Client packet ValidateLocation to correct the GuardInstance position and heading on the client
- *
- * Actions on second click on the GuardInstance (Attack it/Interact with it) :
- *
+ *
Send a Server->Client packet ValidateLocation to correct the GuardInstance position and heading on the client
+ *
+ * Actions on second click on the GuardInstance (Attack it/Interact with it):
*
If PlayerInstance is in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_ATTACK
- *
If PlayerInstance is NOT in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_INTERACT (after a distance verification) and show message
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If PlayerInstance is NOT in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_INTERACT (after a distance verification) and show message
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The PlayerInstance that start an action on the GuardInstance
*/
@Override
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/MinionInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/MinionInstance.java
index ce3c66ea1e..aa842920cf 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/MinionInstance.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/MinionInstance.java
@@ -31,14 +31,12 @@ public class MinionInstance extends MonsterInstance
private MonsterInstance _master;
/**
- * Constructor of MinionInstance (use Creature and NpcInstance constructor).
- *
- * Actions :
- *
+ * Constructor of MinionInstance (use Creature and NpcInstance constructor).
+ *
+ * Actions:
*
Call the Creature constructor to set the _template of the MinionInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the MinionInstance
- *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
- *
+ *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
* @param objectId Identifier of the object to initialized
* @param template the template
*/
@@ -58,8 +56,7 @@ public class MinionInstance extends MonsterInstance
}
/**
- * Return the master of this MinionInstance.
- *
+ * Return the master of this MinionInstance.
* @return the leader
*/
public MonsterInstance getLeader()
@@ -83,8 +80,7 @@ public class MinionInstance extends MonsterInstance
}
/**
- * Set the master of this MinionInstance.
- *
+ * Set the master of this MinionInstance.
* @param leader The Creature that leads this MinionInstance
*/
public void setLeader(MonsterInstance leader)
@@ -93,10 +89,8 @@ public class MinionInstance extends MonsterInstance
}
/**
- * Manages the doDie event for this MinionInstance.
- *
- * @param killer The Creature that killed this MinionInstance.
- *
+ * Manages the doDie event for this MinionInstance.
+ * @param killer The Creature that killed this MinionInstance.
* @return true, if successful
*/
@Override
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
index 2c8663b950..f7d14c3959 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
@@ -32,8 +32,7 @@ import org.l2jmobius.gameserver.network.serverpackets.SocialAction;
import org.l2jmobius.gameserver.util.MinionList;
/**
- * This class manages all Monsters. MonsterInstance :
- *
+ * This class manages all Monsters. MonsterInstance:
*
MinionInstance
*
RaidBossInstance
*
GrandBossInstance
@@ -45,14 +44,12 @@ public class MonsterInstance extends Attackable
protected ScheduledFuture> _minionMaintainTask = null;
/**
- * Constructor of MonsterInstance (use Creature and NpcInstance constructor).
- *
- * Actions :
- *
+ * Constructor of MonsterInstance (use Creature and NpcInstance constructor).
+ *
+ * Actions:
*
Call the Creature constructor to set the _template of the MonsterInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the MonsterInstance
- *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
- *
+ *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
* @param objectId Identifier of the object to initialized
* @param template the template
*/
@@ -86,8 +83,7 @@ public class MonsterInstance extends Attackable
}
/**
- * Return True if the attacker is not another MonsterInstance.
- *
+ * Return True if the attacker is not another MonsterInstance.
* @param attacker the attacker
* @return true, if is auto attackable
*/
@@ -102,8 +98,7 @@ public class MonsterInstance extends Attackable
}
/**
- * Return True if the MonsterInstance is Agressive (aggroRange > 0).
- *
+ * Return True if the MonsterInstance is Agressive (aggroRange > 0).
* @return true, if is aggressive
*/
@Override
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/NpcInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/NpcInstance.java
index 349dd962a6..9740262fe9 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/NpcInstance.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/NpcInstance.java
@@ -97,10 +97,9 @@ import org.l2jmobius.gameserver.network.serverpackets.ValidateLocation;
import org.l2jmobius.gameserver.taskmanager.DecayTaskManager;
/**
- * This class represents a Non-Player-Creature in the world. It can be a monster or a friendly creature. It also uses a template to fetch some static values. The templates are hardcoded in the client, so we can rely on them.
- *
- * Creature :
- *
+ * This class represents a Non-Player-Creature in the world. It can be a monster or a friendly creature. It also uses a template to fetch some static values. The templates are hardcoded in the client, so we can rely on them.
+ *
+ * Creature:
*
Attackable
*
FolkInstance
* @version $Revision: 1.32.2.7.2.24 $ $Date: 2009/04/13 09:17:09 $
@@ -153,8 +152,7 @@ public class NpcInstance extends Creature
}
/**
- * Check if the server allows Random Animation.
- *
+ * Check if the server allows Random Animation.
* @return true, if successful
*/
public boolean hasRandomAnimation()
@@ -206,14 +204,12 @@ public class NpcInstance extends Creature
}
/**
- * Constructor of NpcInstance (use Creature constructor).
- *
- * Actions :
- *
+ * Constructor of NpcInstance (use Creature constructor).
+ *
+ * Actions:
*
Call the Creature constructor to set the _template of the Creature (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the Creature
- *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
- *
+ *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
* @param objectId Identifier of the object to initialized
* @param template The NpcTemplate to apply to the NPC
*/
@@ -305,8 +301,7 @@ public class NpcInstance extends Creature
}
/**
- * Return the generic Identifier of this NpcInstance contained in the NpcTemplate.
- *
+ * Return the generic Identifier of this NpcInstance contained in the NpcTemplate.
* @return the npc id
*/
public int getNpcId()
@@ -321,12 +316,11 @@ public class NpcInstance extends Creature
}
/**
- * Return the faction Identifier of this NpcInstance contained in the NpcTemplate.
- *
- * Concept :
- *
- * If a NPC belows to a Faction, other NPC of the faction inside the Faction range will help it if it's attacked
- *
+ * Return the faction Identifier of this NpcInstance contained in the NpcTemplate.
+ *
+ * Concept:
+ *
+ * If a NPC belows to a Faction, other NPC of the faction inside the Faction range will help it if it's attacked
* @return the faction id
*/
public String getFactionId()
@@ -335,8 +329,7 @@ public class NpcInstance extends Creature
}
/**
- * Return the Level of this NpcInstance contained in the NpcTemplate.
- *
+ * Return the Level of this NpcInstance contained in the NpcTemplate.
* @return the level
*/
@Override
@@ -346,8 +339,7 @@ public class NpcInstance extends Creature
}
/**
- * Return True if the NpcInstance is agressive (ex : MonsterInstance in function of aggroRange).
- *
+ * Return True if the NpcInstance is agressive (ex : MonsterInstance in function of aggroRange).
* @return true, if is aggressive
*/
public boolean isAggressive()
@@ -356,8 +348,7 @@ public class NpcInstance extends Creature
}
/**
- * Return the Aggro Range of this NpcInstance contained in the NpcTemplate.
- *
+ * Return the Aggro Range of this NpcInstance contained in the NpcTemplate.
* @return the aggro range
*/
public int getAggroRange()
@@ -366,8 +357,7 @@ public class NpcInstance extends Creature
}
/**
- * Return the Faction Range of this NpcInstance contained in the NpcTemplate.
- *
+ * Return the Faction Range of this NpcInstance contained in the NpcTemplate.
* @return the faction range
*/
public int getFactionRange()
@@ -376,8 +366,7 @@ public class NpcInstance extends Creature
}
/**
- * Return True if this NpcInstance is undead in function of the NpcTemplate.
- *
+ * Return True if this NpcInstance is undead in function of the NpcTemplate.
* @return true, if is undead
*/
@Override
@@ -387,8 +376,7 @@ public class NpcInstance extends Creature
}
/**
- * Send a packet NpcInfo with state of abnormal effect to all PlayerInstance in the _KnownPlayers of the NpcInstance.
- *
+ * Send a packet NpcInfo with state of abnormal effect to all PlayerInstance in the _KnownPlayers of the NpcInstance.
*/
@Override
public void updateAbnormalEffect()
@@ -404,19 +392,17 @@ public class NpcInstance extends Creature
}
/**
- * Return the distance under which the object must be add to _knownObject in function of the object type.
- *
- * Values :
- *
+ * Return the distance under which the object must be add to _knownObject in function of the object type.
+ *
+ * Values:
*
object is a FolkInstance : 0 (don't remember it)
*
object is a Creature : 0 (don't remember it)
*
object is a PlayableInstance : 1500
- *
others : 500
- *
- * Overriden in :
- *
- *
Attackable
- *
+ *
others : 500
+ *
+ * Overriden in:
+ *
+ *
Attackable
* @param object The Object to add to _knownObject
* @return the distance to watch object
*/
@@ -441,19 +427,17 @@ public class NpcInstance extends Creature
}
/**
- * Return the distance after which the object must be remove from _knownObject in function of the object type.
- *
- * Values :
- *
+ * Return the distance after which the object must be remove from _knownObject in function of the object type.
+ *
+ * Values:
*
object is not a Creature : 0 (don't remember it)
*
object is a FolkInstance : 0 (don't remember it)
*
object is a PlayableInstance : 3000
- *
others : 1000
- *
- * Overriden in :
- *
- *
Attackable
- *
+ *
others : 1000
+ *
+ * Overriden in:
+ *
+ *
Attackable
* @param object The Object to remove from _knownObject
* @return the distance to forget object
*/
@@ -463,13 +447,12 @@ public class NpcInstance extends Creature
}
/**
- * Return False.
- *
- * Overriden in :
- *
+ * Return False.
+ *
+ * Overriden in:
+ *
*
MonsterInstance : Check if the attacker is not another MonsterInstance
- *
PlayerInstance
- *
+ *
PlayerInstance
* @param attacker the attacker
* @return true, if is auto attackable
*/
@@ -480,8 +463,7 @@ public class NpcInstance extends Creature
}
/**
- * Return the Identifier of the item in the left hand of this NpcInstance contained in the NpcTemplate.
- *
+ * Return the Identifier of the item in the left hand of this NpcInstance contained in the NpcTemplate.
* @return the left hand item
*/
public int getLeftHandItem()
@@ -490,8 +472,7 @@ public class NpcInstance extends Creature
}
/**
- * Return the Identifier of the item in the right hand of this NpcInstance contained in the NpcTemplate.
- *
+ * Return the Identifier of the item in the right hand of this NpcInstance contained in the NpcTemplate.
* @return the right hand item
*/
public int getRightHandItem()
@@ -500,8 +481,7 @@ public class NpcInstance extends Creature
}
/**
- * Return True if this NpcInstance has drops that can be sweeped.
- *
+ * Return True if this NpcInstance has drops that can be sweeped.
* @return true, if is spoil
*/
public boolean isSpoil()
@@ -510,8 +490,7 @@ public class NpcInstance extends Creature
}
/**
- * Set the spoil state of this NpcInstance.
- *
+ * Set the spoil state of this NpcInstance.
* @param isSpoil the new spoil
*/
public void setSpoil(boolean isSpoil)
@@ -538,8 +517,7 @@ public class NpcInstance extends Creature
}
/**
- * Return the busy status of this NpcInstance.
- *
+ * Return the busy status of this NpcInstance.
* @return true, if is busy
*/
public boolean isBusy()
@@ -548,8 +526,7 @@ public class NpcInstance extends Creature
}
/**
- * Set the busy status of this NpcInstance.
- *
+ * Set the busy status of this NpcInstance.
* @param isBusy the new busy
*/
public void setBusy(boolean isBusy)
@@ -558,8 +535,7 @@ public class NpcInstance extends Creature
}
/**
- * Return the busy message of this NpcInstance.
- *
+ * Return the busy message of this NpcInstance.
* @return the busy message
*/
public String getBusyMessage()
@@ -568,8 +544,7 @@ public class NpcInstance extends Creature
}
/**
- * Set the busy message of this NpcInstance.
- *
+ * Set the busy message of this NpcInstance.
* @param message the new busy message
*/
public void setBusyMessage(String message)
@@ -627,33 +602,27 @@ public class NpcInstance extends Creature
}
/**
- * Manage actions when a player click on the NpcInstance.
- *
- * Actions on first click on the NpcInstance (Select it) :
- *
+ * Manage actions when a player click on the NpcInstance.
+ *
+ * Actions on first click on the NpcInstance (Select it):
*
Set the NpcInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If NpcInstance is autoAttackable, send a Server->Client packet StatusUpdate to the PlayerInstance in order to update NpcInstance HP bar
- *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
- *
- * Actions on second click on the NpcInstance (Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
+ *
+ * Actions on second click on the NpcInstance (Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If NpcInstance is autoAttackable, notify the PlayerInstance AI with AI_INTENTION_ATTACK (after a height verification)
- *
If NpcInstance is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
- *
- * Caution : Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
- * Overriden in :
- *
- *
ArtefactInstance : Manage only fisrt click to select Artefact
- *
- *
GuardInstance :
- *
+ *
If NpcInstance is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
+ * Caution: Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
+ *
+ * Overriden in:
+ *
+ *
ArtefactInstance : Manage only fisrt click to select Artefact
+ *
GuardInstance :
* @param player The PlayerInstance that start an action on the NpcInstance
*/
@Override
@@ -794,21 +763,17 @@ public class NpcInstance extends Creature
}
/**
- * Manage and Display the GM console to modify the NpcInstance (GM only).
- *
- * Actions (If the PlayerInstance is a GM only) :
- *
+ * Manage and Display the GM console to modify the NpcInstance (GM only).
+ *
+ * Actions (If the PlayerInstance is a GM only):
*
Set the NpcInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If NpcInstance is autoAttackable, send a Server->Client packet StatusUpdate to the PlayerInstance in order to update NpcInstance HP bar
- *
Send a Server->Client NpcHtmlMessage() containing the GM console about this NpcInstance
- *
- * Caution : Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
- *
- * Example of use :
- *
- *
Client packet : Action
- *
+ *
Send a Server->Client NpcHtmlMessage() containing the GM console about this NpcInstance
+ * Caution: Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
+ *
+ * Example of use:
+ *
Client packet : Action
* @param client The thread that manage the player that pessed Shift and click on the NpcInstance
*/
@Override
@@ -1190,12 +1155,10 @@ public class NpcInstance extends Creature
}
/**
- * Open a quest or chat window on client with the text of the NpcInstance in function of the command.
- *
- * Example of use :
- *
- *
Client packet : RequestBypassToServer
- *
+ * Open a quest or chat window on client with the text of the NpcInstance in function of the command.
+ *
+ * Example of use:
+ *
Client packet : RequestBypassToServer
* @param player the player
* @param command The command string received from client
*/
@@ -1555,8 +1518,7 @@ public class NpcInstance extends Creature
}
/**
- * Return null (regular NPCs don't have weapons instancies).
- *
+ * Return null (regular NPCs don't have weapons instancies).
* @return the active weapon instance
*/
@Override
@@ -1567,21 +1529,20 @@ public class NpcInstance extends Creature
}
/**
- * Return the weapon item equiped in the right hand of the NpcInstance or null.
- *
+ * Return the weapon item equipped in the right hand of the NpcInstance or null.
* @return the active weapon item
*/
@Override
public Weapon getActiveWeaponItem()
{
- // Get the weapon identifier equiped in the right hand of the NpcInstance
+ // Get the weapon identifier equipped in the right hand of the NpcInstance
final int weaponId = getTemplate().getRhand();
if (weaponId < 1)
{
return null;
}
- // Get the weapon item equiped in the right hand of the NpcInstance
+ // Get the weapon item equipped in the right hand of the NpcInstance
final Item item = ItemTable.getInstance().getTemplate(getTemplate().getRhand());
if (!(item instanceof Weapon))
{
@@ -1623,8 +1584,7 @@ public class NpcInstance extends Creature
}
/**
- * Return null (regular NPCs don't have weapons instancies).
- *
+ * Return null (regular NPCs don't have weapons instancies).
* @return the secondary weapon instance
*/
@Override
@@ -1635,21 +1595,20 @@ public class NpcInstance extends Creature
}
/**
- * Return the weapon item equiped in the left hand of the NpcInstance or null.
- *
+ * Return the weapon item equipped in the left hand of the NpcInstance or null.
* @return the secondary weapon item
*/
@Override
public Weapon getSecondaryWeaponItem()
{
- // Get the weapon identifier equiped in the right hand of the NpcInstance
+ // Get the weapon identifier equipped in the right hand of the NpcInstance
final int weaponId = getTemplate().getLhand();
if (weaponId < 1)
{
return null;
}
- // Get the weapon item equiped in the right hand of the NpcInstance
+ // Get the weapon item equipped in the right hand of the NpcInstance
final Item item = ItemTable.getInstance().getTemplate(getTemplate().getLhand());
if (!(item instanceof Weapon))
{
@@ -1660,8 +1619,7 @@ public class NpcInstance extends Creature
}
/**
- * Send a Server->Client packet NpcHtmlMessage to the PlayerInstance in order to display the message of the NpcInstance.
- *
+ * Send a Server->Client packet NpcHtmlMessage to the PlayerInstance in order to display the message of the NpcInstance.
* @param player The PlayerInstance who talks with the NpcInstance
* @param content The text of the NpcMessage
*/
@@ -1675,18 +1633,16 @@ public class NpcInstance extends Creature
}
/**
- * Return the pathfile of the selected HTML file in function of the npcId and of the page number.
- *
- * Format of the pathfile :
- *
- *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
- *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
- *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
- *
- * Overriden in :
- *
- *
GuardInstance : Set the pathfile to data/html/guard/12006-1.htm (npcId-page number)
- *
+ * Return the pathfile of the selected HTML file in function of the npcId and of the page number.
+ *
+ * Format of the pathfile:
+ *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
+ *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
+ *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
+ *
+ * Overriden in:
+ *
+ *
GuardInstance : Set the pathfile to data/html/guard/12006-1.htm (npcId-page number)
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
* @return the html path
@@ -1722,12 +1678,10 @@ public class NpcInstance extends Creature
}
/**
- * Open a choose quest window on client with all quests available of the NpcInstance.
- *
- * Actions :
- *
- *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
- *
+ * Open a choose quest window on client with all quests available of the NpcInstance.
+ *
+ * Actions:
+ *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
* @param player The PlayerInstance that talk with the NpcInstance
* @param quests The table containing quests of the NpcInstance
*/
@@ -1767,14 +1721,12 @@ public class NpcInstance extends Creature
}
/**
- * Open a quest window on client with the text of the NpcInstance.
- *
- * Actions :
- *
+ * Open a quest window on client with the text of the NpcInstance.
+ *
+ * Actions:
*
Get the text of the quest state in the folder data/scripts/quests/questId/stateId.htm
*
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
- *
Send a Server->Client ActionFailed to the PlayerInstance in order to avoid that the client wait another packet
- *
+ *
Send a Server->Client ActionFailed to the PlayerInstance in order to avoid that the client wait another packet
* @param player The PlayerInstance that talk with the NpcInstance
* @param questId The Identifier of the quest to display the message
*/
@@ -1850,8 +1802,7 @@ public class NpcInstance extends Creature
}
/**
- * Collect awaiting quests/start points and display a QuestChooseWindow (if several available) or QuestWindow.
- *
+ * Collect awaiting quests/start points and display a QuestChooseWindow (if several available) or QuestWindow.
* @param player The PlayerInstance that talk with the NpcInstance
*/
public void showQuestWindow(PlayerInstance player)
@@ -1910,13 +1861,12 @@ public class NpcInstance extends Creature
}
/**
- * Open a Loto window on client with the text of the NpcInstance.
- *
- * Actions :
- *
+ * Open a Loto window on client with the text of the NpcInstance.
+ *
+ * Actions:
*
Get the text of the selected HTML file in function of the npcId and of the page number
*
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
- *
Send a Server->Client ActionFailed to the PlayerInstance in order to avoid that the client wait another packet
+ *
Send a Server->Client ActionFailed to the PlayerInstance in order to avoid that the client wait another packet
* @param player The PlayerInstance that talk with the NpcInstance
* @param value The number of the page of the NpcInstance to display
*/
@@ -2217,16 +2167,13 @@ public class NpcInstance extends Creature
}
/**
- * Add Newbie helper buffs to Player according to its level.
- *
- * Actions :
- *
+ * Add Newbie helper buffs to Player according to its level.
+ *
+ * Actions:
*
Get the range level in wich player must be to obtain buff
*
If player level is out of range, display a message and return
- *
According to player level cast buff
- *
- * Newbie Helper Buff list is define in sql table helper_buff_list
- *
+ *
According to player level cast buff
+ * Newbie Helper Buff list is define in sql table helper_buff_list
* @param player The PlayerInstance that talk with the NpcInstance if (!FloodProtector.getInstance().tryPerformAction(player.getObjectId(), FloodProtector.PROTECTED_USEITEM)) return;
*/
public void makeSupportMagic(PlayerInstance player)
@@ -2324,13 +2271,12 @@ public class NpcInstance extends Creature
}
/**
- * Open a chat window on client with the text of the NpcInstance.
- *
- * Actions :
- *
+ * Open a chat window on client with the text of the NpcInstance.
+ *
+ * Actions:
*
Get the text of the selected HTML file in function of the npcId and of the page number
*
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
- *
Send a Server->Client ActionFailed to the PlayerInstance in order to avoid that the client wait another packet
+ *
Send a Server->Client ActionFailed to the PlayerInstance in order to avoid that the client wait another packet
* @param player The PlayerInstance that talk with the NpcInstance
* @param value The number of the page of the NpcInstance to display
*/
@@ -2860,9 +2806,8 @@ public class NpcInstance extends Creature
}
/**
- * Open a chat window on client with the text specified by the given file name and path,
- * relative to the datapack root.
- *
+ * Open a chat window on client with the text specified by the given file name and path,
+ * relative to the datapack root.
* Added by Tempy
* @param player The PlayerInstance that talk with the NpcInstance
* @param filename The filename that contains the text to send
@@ -2880,8 +2825,7 @@ public class NpcInstance extends Creature
}
/**
- * Return the Exp Reward of this NpcInstance contained in the NpcTemplate (modified by RATE_XP).
- *
+ * Return the Exp Reward of this NpcInstance contained in the NpcTemplate (modified by RATE_XP).
* @return the exp reward
*/
public int getExpReward()
@@ -2891,8 +2835,7 @@ public class NpcInstance extends Creature
}
/**
- * Return the SP Reward of this NpcInstance contained in the NpcTemplate (modified by RATE_SP).
- *
+ * Return the SP Reward of this NpcInstance contained in the NpcTemplate (modified by RATE_SP).
* @return the sp reward
*/
public int getSpReward()
@@ -2902,22 +2845,20 @@ public class NpcInstance extends Creature
}
/**
- * Kill the NpcInstance (the corpse disappeared after 7 seconds).
- *
- * Actions :
- *
+ * Kill the NpcInstance (the corpse disappeared after 7 seconds).
+ *
+ * Actions:
*
Create a DecayTask to remove the corpse of the NpcInstance after 7 seconds
*
Set target to null and cancel Attack or Cast
*
Stop movement
*
Stop HP/MP/CP Regeneration task
*
Stop all active skills effects in progress on the Creature
*
Send the Server->Client packet StatusUpdate with current HP and MP to all other PlayerInstance to inform
- *
Notify Creature AI
- *
- * Overriden in :
- *
- *
Attackable
- *
+ *
Notify Creature AI
+ *
+ * Overriden in:
+ *
+ *
Attackable
* @param killer The Creature who killed it
* @return true, if successful
*/
@@ -2953,17 +2894,14 @@ public class NpcInstance extends Creature
}
/**
- * Remove the NpcInstance from the world and update its spawn object (for a complete removal use the deleteMe method).
- *
- * Actions :
- *
+ * Remove the NpcInstance from the world and update its spawn object (for a complete removal use the deleteMe method).
+ *
+ * Actions:
*
Remove the NpcInstance from the world when the decay task is launched
*
Decrease its spawn counter
- *
Manage Siege task (killFlag, killCT)
- *
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
- *
+ *
Manage Siege task (killFlag, killCT)
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
@Override
public void onDecay()
@@ -2994,16 +2932,13 @@ public class NpcInstance extends Creature
}
/**
- * Remove PROPERLY the NpcInstance from the world.
- *
- * Actions :
- *
+ * Remove PROPERLY the NpcInstance from the world.
+ *
+ * Actions:
*
Remove the NpcInstance from the world and update its spawn object
*
Remove all WorldObject from _knownObjects and _knownPlayer of the NpcInstance then cancel Attak or Cast and notify AI
- *
Remove WorldObject object from _allObjects of World
- *
- * Caution : This method DOESN'T SEND Server->Client packets to players
- *
+ *
Remove WorldObject object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
public void deleteMe()
{
@@ -3037,8 +2972,7 @@ public class NpcInstance extends Creature
}
/**
- * Return the Spawn object that manage this NpcInstance.
- *
+ * Return the Spawn object that manage this NpcInstance.
* @return the spawn
*/
public Spawn getSpawn()
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/NpcWalkerInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/NpcWalkerInstance.java
index 21848ed4cd..12aa3a2936 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/NpcWalkerInstance.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/NpcWalkerInstance.java
@@ -26,8 +26,8 @@ import org.l2jmobius.gameserver.model.actor.templates.NpcTemplate;
import org.l2jmobius.gameserver.network.serverpackets.CreatureSay;
/**
- * This class manages some npcs can walk in the city.
- * It inherits all methods from NpcInstance.
+ * This class manages some npcs can walk in the city.
+ * It inherits all methods from NpcInstance.
*
* @original author Rayan RPG
* @since 819
@@ -35,8 +35,7 @@ import org.l2jmobius.gameserver.network.serverpackets.CreatureSay;
public class NpcWalkerInstance extends NpcInstance
{
/**
- * Constructor of NpcWalkerInstance (use Creature and NpcInstance constructor).
- *
+ * Constructor of NpcWalkerInstance (use Creature and NpcInstance constructor).
* @param objectId the object id
* @param template the template
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
index 1586d306ee..4d03b0fa4e 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
@@ -96,13 +96,12 @@ public class PetInstance extends Summon
}
/**
- * Manage Feeding Task.
- *
- * Actions :
+ * Manage Feeding Task.
+ *
+ * Actions:
*
Feed or kill the pet depending on hunger level
*
If pet has food in inventory and feed level drops below 55% then consume food from inventory
- *
Send a broadcastStatusUpdate packet for this PetInstance
- *
+ *
Send a broadcastStatusUpdate packet for this PetInstance
*/
class FeedTask implements Runnable
@@ -178,7 +177,7 @@ public class PetInstance extends Summon
* @param template the template
* @param owner the owner
* @param control the control
- * @return the l2 pet instance
+ * @return the pet instance
*/
public static synchronized PetInstance spawnPet(NpcTemplate template, PlayerInstance owner, ItemInstance control)
{
@@ -415,7 +414,7 @@ public class PetInstance extends Summon
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -820,7 +819,7 @@ public class PetInstance extends Summon
* @param control the control
* @param template the template
* @param owner the owner
- * @return the l2 pet instance
+ * @return the pet instance
*/
private static PetInstance restore(ItemInstance control, NpcTemplate template, PlayerInstance owner)
{
@@ -980,8 +979,7 @@ public class PetInstance extends Summon
}
/**
- * Restore the specified % of experience this PetInstance has lost.
- *
+ * Restore the specified % of experience this PetInstance has lost.
* @param restorePercent the restore percent
*/
public void restoreExp(double restorePercent)
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
index bbfe950daa..76f6180e22 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
@@ -564,14 +564,12 @@ public class PlayerInstance extends Playable
private final Map _scripts = new ConcurrentHashMap<>();
/**
- * Create a new PlayerInstance and add it in the characters table of the database.
- *
- * Actions :
- *
+ * Create a new PlayerInstance and add it in the characters table of the database.
+ *
+ * Actions:
*
Create a new PlayerInstance with an account name
*
Set the name, the Hair Style, the Hair Color and the Face type of the PlayerInstance
- *
Add the player in the characters table of the database
- *
+ *
Add the player in the characters table of the database
* @param objectId Identifier of the object to initialized
* @param template The PlayerTemplate to apply to the PlayerInstance
* @param accountName The name of the PlayerInstance
@@ -1015,15 +1013,13 @@ public class PlayerInstance extends Playable
}
/**
- * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the World (call restore method).
- *
- * Actions :
- *
+ * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the World (call restore method).
+ *
+ * Actions:
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
*
Set the x,y,z position of the PlayerInstance and make it invisible
- *
Update the overloaded status of the PlayerInstance
- *
+ *
Update the overloaded status of the PlayerInstance
* @param objectId Identifier of the object to initialized
* @return The PlayerInstance loaded from the database
*/
@@ -1046,15 +1042,12 @@ public class PlayerInstance extends Playable
}
/**
- * Constructor of PlayerInstance (use Creature constructor).
- *
- * Actions :
- *
+ * Constructor of PlayerInstance (use Creature constructor).
+ *
+ * Actions:
*
Call the Creature constructor to create an empty _skills slot and copy basic Calculator set to this PlayerInstance
- *
Set the name of the PlayerInstance
- *
- * Caution : This method SET the level of the PlayerInstance to 1
- *
+ *
Set the name of the PlayerInstance
+ * Caution: This method SET the level of the PlayerInstance to 1
* @param objectId Identifier of the object to initialized
* @param template The PlayerTemplate to apply to the PlayerInstance
* @param accountName The name of the account including this PlayerInstance
@@ -1146,8 +1139,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the base PlayerTemplate link to the PlayerInstance.
- *
+ * Return the base PlayerTemplate link to the PlayerInstance.
* @return the base template
*/
public PlayerTemplate getBaseTemplate()
@@ -1185,8 +1177,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the AI of the PlayerInstance (create it if necessary).
- *
+ * Return the AI of the PlayerInstance (create it if necessary).
* @return the aI
*/
@Override
@@ -1228,8 +1219,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the _newbie state of the PlayerInstance.
- *
+ * Return the _newbie state of the PlayerInstance.
* @return true, if is newbie
*/
public boolean isNewbie()
@@ -1238,10 +1228,8 @@ public class PlayerInstance extends Playable
}
/**
- * Set the _newbie state of the PlayerInstance.
- *
- * @param isNewbie The Identifier of the _newbie state
- *
+ * Set the _newbie state of the PlayerInstance.
+ * @param isNewbie The Identifier of the _newbie state
*/
public void setNewbie(boolean isNewbie)
{
@@ -1297,8 +1285,7 @@ public class PlayerInstance extends Playable
private boolean _kicked = false;
/**
- * Manage Logout Task.
- *
+ * Manage Logout Task.
* @param kicked the kicked
*/
public void logout(boolean kicked)
@@ -1333,8 +1320,7 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Logout Task.
- *
+ * Manage Logout Task.
*/
public void logout()
{
@@ -1342,8 +1328,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return a table containing all Common RecipeList of the PlayerInstance.
- *
+ * Return a table containing all Common RecipeList of the PlayerInstance.
* @return the common recipe book
*/
public RecipeList[] getCommonRecipeBook()
@@ -1352,8 +1337,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return a table containing all Dwarf RecipeList of the PlayerInstance.
- *
+ * Return a table containing all Dwarf RecipeList of the PlayerInstance.
* @return the dwarven recipe book
*/
public RecipeList[] getDwarvenRecipeBook()
@@ -1362,9 +1346,7 @@ public class PlayerInstance extends Playable
}
/**
- * Add a new RecipList to the table _commonrecipebook containing all RecipeList of the PlayerInstance
- *
- * .
+ * Add a new RecipList to the table _commonrecipebook containing all RecipeList of the PlayerInstance.
* @param recipe The RecipeList to add to the _recipebook
*/
public void registerCommonRecipeList(RecipeList recipe)
@@ -1373,9 +1355,7 @@ public class PlayerInstance extends Playable
}
/**
- * Add a new RecipList to the table _recipebook containing all RecipeList of the PlayerInstance
- *
- * .
+ * Add a new RecipList to the table _recipebook containing all RecipeList of the PlayerInstance.
* @param recipe The RecipeList to add to the _recipebook
*/
public void registerDwarvenRecipeList(RecipeList recipe)
@@ -1394,9 +1374,7 @@ public class PlayerInstance extends Playable
}
/**
- * Tries to remove a RecipList from the table _DwarvenRecipeBook or from table _CommonRecipeBook, those table contain all RecipeList of the PlayerInstance
- *
- * .
+ * Tries to remove a RecipList from the table _DwarvenRecipeBook or from table _CommonRecipeBook, those table contain all RecipeList of the PlayerInstance.
* @param recipeId the recipe id
*/
public void unregisterRecipeList(int recipeId)
@@ -1436,8 +1414,7 @@ public class PlayerInstance extends Playable
}
/**
- * Returns the Id for the last talked quest NPC.
- *
+ * Returns the Id for the last talked quest NPC.
* @return the last quest npc object
*/
public int getLastQuestNpcObject()
@@ -1455,8 +1432,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the QuestState object corresponding to the quest name.
- *
+ * Return the QuestState object corresponding to the quest name.
* @param quest The name of the quest
* @return the quest state
*/
@@ -1466,8 +1442,7 @@ public class PlayerInstance extends Playable
}
/**
- * Add a QuestState to the table _quest containing all quests began by the PlayerInstance.
- *
+ * Add a QuestState to the table _quest containing all quests began by the PlayerInstance.
* @param qs The QuestState to add to _quest
*/
public void setQuestState(QuestState qs)
@@ -1476,8 +1451,7 @@ public class PlayerInstance extends Playable
}
/**
- * Remove a QuestState from the table _quest containing all quests began by the PlayerInstance.
- *
+ * Remove a QuestState from the table _quest containing all quests began by the PlayerInstance.
* @param quest The name of the quest
*/
public void delQuestState(String quest)
@@ -1680,8 +1654,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return a table containing all ShortCut of the PlayerInstance.
- *
+ * Return a table containing all ShortCut of the PlayerInstance.
* @return the all short cuts
*/
public ShortCut[] getAllShortCuts()
@@ -1690,8 +1663,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the ShortCut of the PlayerInstance corresponding to the position (page-slot).
- *
+ * Return the ShortCut of the PlayerInstance corresponding to the position (page-slot).
* @param slot The slot in wich the shortCuts is equiped
* @param page The page of shortCuts containing the slot
* @return the short cut
@@ -1702,9 +1674,7 @@ public class PlayerInstance extends Playable
}
/**
- * Add a L2shortCut to the PlayerInstance _shortCuts
- *
- * .
+ * Add a L2shortCut to the PlayerInstance _shortCuts.
* @param shortcut the shortcut
*/
public void registerShortCut(ShortCut shortcut)
@@ -1713,8 +1683,7 @@ public class PlayerInstance extends Playable
}
/**
- * Delete the ShortCut corresponding to the position (page-slot) from the PlayerInstance _shortCuts.
- *
+ * Delete the ShortCut corresponding to the position (page-slot) from the PlayerInstance _shortCuts.
* @param slot the slot
* @param page the page
*/
@@ -1724,9 +1693,7 @@ public class PlayerInstance extends Playable
}
/**
- * Add a Macro to the PlayerInstance _macroses
- *
- * .
+ * Add a Macro to the PlayerInstance _macroses.
* @param macro the macro
*/
public void registerMacro(Macro macro)
@@ -1735,8 +1702,7 @@ public class PlayerInstance extends Playable
}
/**
- * Delete the Macro corresponding to the Identifier from the PlayerInstance _macroses.
- *
+ * Delete the Macro corresponding to the Identifier from the PlayerInstance _macroses.
* @param id the id
*/
public void deleteMacro(int id)
@@ -1745,8 +1711,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return all Macro of the PlayerInstance.
- *
+ * Return all Macro of the PlayerInstance.
* @return the macroses
*/
public MacroList getMacroses()
@@ -1755,8 +1720,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set the siege state of the PlayerInstance.
- *
+ * Set the siege state of the PlayerInstance.
* 1 = attacker, 2 = defender, 0 = not involved
* @param siegeState the new siege state
*/
@@ -1766,8 +1730,7 @@ public class PlayerInstance extends Playable
}
/**
- * Get the siege state of the PlayerInstance.
- *
+ * Get the siege state of the PlayerInstance.
* 1 = attacker, 2 = defender, 0 = not involved
* @return the siege state
*/
@@ -1777,8 +1740,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set the PvP Flag of the PlayerInstance.
- *
+ * Set the PvP Flag of the PlayerInstance.
* @param pvpFlag the new pvp flag
*/
public void setPvpFlag(int pvpFlag)
@@ -1913,8 +1875,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return True if the PlayerInstance can Craft Dwarven Recipes.
- *
+ * Return True if the PlayerInstance can Craft Dwarven Recipes.
* @return true, if successful
*/
public boolean hasDwarvenCraft()
@@ -1932,8 +1893,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return True if the PlayerInstance can Craft Dwarven Recipes.
- *
+ * Return True if the PlayerInstance can Craft Dwarven Recipes.
* @return true, if successful
*/
public boolean hasCommonCraft()
@@ -1951,8 +1911,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the PK counter of the PlayerInstance.
- *
+ * Return the PK counter of the PlayerInstance.
* @return the pk kills
*/
public int getPkKills()
@@ -1961,8 +1920,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set the PK counter of the PlayerInstance.
- *
+ * Set the PK counter of the PlayerInstance.
* @param pkKills the new pk kills
*/
public void setPkKills(int pkKills)
@@ -1971,8 +1929,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the _deleteTimer of the PlayerInstance.
- *
+ * Return the _deleteTimer of the PlayerInstance.
* @return the delete timer
*/
public long getDeleteTimer()
@@ -1981,8 +1938,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set the _deleteTimer of the PlayerInstance.
- *
+ * Set the _deleteTimer of the PlayerInstance.
* @param deleteTimer the new delete timer
*/
public void setDeleteTimer(long deleteTimer)
@@ -1991,8 +1947,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the current weight of the PlayerInstance.
- *
+ * Return the current weight of the PlayerInstance.
* @return the current load
*/
public int getCurrentLoad()
@@ -2019,8 +1974,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the number of recommandation obtained by the PlayerInstance.
- *
+ * Return the number of recommandation obtained by the PlayerInstance.
* @return the recom have
*/
public int getRecomHave()
@@ -2029,8 +1983,7 @@ public class PlayerInstance extends Playable
}
/**
- * Increment the number of recommandation obtained by the PlayerInstance (Max : 255).
- *
+ * Increment the number of recommandation obtained by the PlayerInstance (Max : 255).
*/
protected void incRecomHave()
{
@@ -2041,8 +1994,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set the number of recommandation obtained by the PlayerInstance (Max : 255).
- *
+ * Set the number of recommandation obtained by the PlayerInstance (Max : 255).
* @param value the new recom have
*/
public void setRecomHave(int value)
@@ -2062,8 +2014,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the number of recommandation that the PlayerInstance can give.
- *
+ * Return the number of recommandation that the PlayerInstance can give.
* @return the recom left
*/
public int getRecomLeft()
@@ -2072,8 +2023,7 @@ public class PlayerInstance extends Playable
}
/**
- * Increment the number of recommandation that the PlayerInstance can give.
- *
+ * Increment the number of recommandation that the PlayerInstance can give.
*/
protected void decRecomLeft()
{
@@ -2138,8 +2088,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the Karma of the PlayerInstance.
- *
+ * Return the Karma of the PlayerInstance.
* @return the karma
*/
public int getKarma()
@@ -2148,8 +2097,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set the Karma of the PlayerInstance and send a Server->Client packet StatusUpdate (broadcast).
- *
+ * Set the Karma of the PlayerInstance and send a Server->Client packet StatusUpdate (broadcast).
* @param karma the new karma
*/
public void setKarma(int karma)
@@ -2185,8 +2133,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the max weight that the PlayerInstance can load.
- *
+ * Return the max weight that the PlayerInstance can load.
* @return the max load
*/
public int getMaxLoad()
@@ -2250,8 +2197,7 @@ public class PlayerInstance extends Playable
}
/**
- * Update the overloaded status of the PlayerInstance.
- *
+ * Update the overloaded status of the PlayerInstance.
*/
public void refreshOverloaded()
{
@@ -2630,7 +2576,7 @@ public class PlayerInstance extends Playable
{
intensityW = crystaltype - getExpertiseIndex();
}
- // Checks if equiped armor, accesories are above character level and adds each armor penalty.
+ // Checks if equipped armor, accesories are above character level and adds each armor penalty.
if ((crystaltype > getExpertiseIndex()) && !item.isWeapon())
{
intensityA += crystaltype - getExpertiseIndex();
@@ -2727,8 +2673,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the the PvP Kills of the PlayerInstance (Number of player killed during a PvP).
- *
+ * Return the the PvP Kills of the PlayerInstance (Number of player killed during a PvP).
* @return the pvp kills
*/
public int getPvpKills()
@@ -2737,8 +2682,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set the the PvP Kills of the PlayerInstance (Number of player killed during a PvP).
- *
+ * Set the the PvP Kills of the PlayerInstance (Number of player killed during a PvP).
* @param pvpKills the new pvp kills
*/
public void setPvpKills(int pvpKills)
@@ -2747,8 +2691,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the ClassId object of the PlayerInstance contained in PlayerTemplate.
- *
+ * Return the ClassId object of the PlayerInstance contained in PlayerTemplate.
* @return the class id
*/
public ClassId getClassId()
@@ -2757,8 +2700,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set the template of the PlayerInstance.
- *
+ * Set the template of the PlayerInstance.
* @param id The Identifier of the PlayerTemplate to set to the PlayerInstance
*/
public void setClassId(int id)
@@ -2828,8 +2770,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set the fists weapon of the PlayerInstance (used when no weapon is equiped).
- *
+ * Set the fists weapon of the PlayerInstance (used when no weapon is equiped).
* @param weaponItem The fists Weapon to set to the PlayerInstance
*/
public void setFistsWeaponItem(Weapon weaponItem)
@@ -2838,8 +2779,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the fists weapon of the PlayerInstance (used when no weapon is equiped).
- *
+ * Return the fists weapon of the PlayerInstance (used when no weapon is equiped).
* @return the fists weapon item
*/
public Weapon getFistsWeaponItem()
@@ -2848,10 +2788,9 @@ public class PlayerInstance extends Playable
}
/**
- * Return the fists weapon of the PlayerInstance Class (used when no weapon is equiped).
- *
+ * Return the fists weapon of the PlayerInstance Class (used when no weapon is equiped).
* @param classId the class id
- * @return the l2 weapon
+ * @return the weapon
*/
public Weapon findFistsWeaponItem(int classId)
{
@@ -2914,17 +2853,14 @@ public class PlayerInstance extends Playable
}
/**
- * Give Expertise skill of this level and remove beginner Lucky skill.
- *
- * Actions :
- *
+ * Give Expertise skill of this level and remove beginner Lucky skill.
+ *
+ * Actions:
*
Get the Level of the PlayerInstance
*
If PlayerInstance Level is 5, remove beginner Lucky skill
*
Add the Expertise skill corresponding to its Expertise level
- *
Update the overloaded status of the PlayerInstance
- *
- * Caution : This method DOESN'T give other free skills (SP needed = 0)
- *
+ *
Update the overloaded status of the PlayerInstance
+ * Caution: This method DOESN'T give other free skills (SP needed = 0)
*/
public synchronized void rewardSkills()
{
@@ -3038,8 +2974,7 @@ public class PlayerInstance extends Playable
}
/**
- * Give all available skills to the player.
- *
+ * Give all available skills to the player.
*/
public void giveAvailableSkills()
{
@@ -3087,8 +3022,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the Race object of the PlayerInstance.
- *
+ * Return the Race object of the PlayerInstance.
* @return the race
*/
public Race getRace()
@@ -3150,8 +3084,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the Clan Identifier of the PlayerInstance.
- *
+ * Return the Clan Identifier of the PlayerInstance.
* @return the clan id
*/
public int getClanId()
@@ -3160,8 +3093,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the Clan Crest Identifier of the PlayerInstance or 0.
- *
+ * Return the Clan Crest Identifier of the PlayerInstance or 0.
* @return the clan crest id
*/
public int getClanCrestId()
@@ -3238,8 +3170,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the PcInventory Inventory of the PlayerInstance contained in _inventory.
- *
+ * Return the PcInventory Inventory of the PlayerInstance contained in _inventory.
* @return the inventory
*/
public PlayerInventory getInventory()
@@ -3248,8 +3179,7 @@ public class PlayerInstance extends Playable
}
/**
- * Delete a ShortCut of the PlayerInstance _shortCuts.
- *
+ * Delete a ShortCut of the PlayerInstance _shortCuts.
* @param objectId the object id
*/
public void removeItemFromShortCut(int objectId)
@@ -3258,8 +3188,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return True if the PlayerInstance is sitting.
- *
+ * Return True if the PlayerInstance is sitting.
* @return true, if is sitting
*/
public boolean isSitting()
@@ -3277,7 +3206,7 @@ public class PlayerInstance extends Playable
}
/**
- * Sit down the PlayerInstance, set the AI Intention to AI_INTENTION_REST and send a Server->Client ChangeWaitType packet (broadcast)
+ * Sit down the PlayerInstance, set the AI Intention to AI_INTENTION_REST and send a Server->Client ChangeWaitType packet (broadcast)
*/
public void sitDown()
{
@@ -3389,8 +3318,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the PcWarehouse object of the PlayerInstance.
- *
+ * Return the PcWarehouse object of the PlayerInstance.
* @return the warehouse
*/
public PlayerWarehouse getWarehouse()
@@ -3420,8 +3348,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the PcFreight object of the PlayerInstance.
- *
+ * Return the PcFreight object of the PlayerInstance.
* @return the freight
*/
public PlayerFreight getFreight()
@@ -3430,8 +3357,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the Adena amount of the PlayerInstance.
- *
+ * Return the Adena amount of the PlayerInstance.
* @return the adena
*/
public int getAdena()
@@ -3440,8 +3366,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the Item amount of the PlayerInstance.
- *
+ * Return the Item amount of the PlayerInstance.
* @param itemId the item id
* @param enchantLevel the enchant level
* @return the item count
@@ -3452,8 +3377,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the Ancient Adena amount of the PlayerInstance.
- *
+ * Return the Ancient Adena amount of the PlayerInstance.
* @return the ancient adena
*/
public int getAncientAdena()
@@ -4017,7 +3941,7 @@ public class PlayerInstance extends Playable
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -4303,7 +4227,7 @@ public class PlayerInstance extends Playable
}
/**
- * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
@@ -4389,7 +4313,7 @@ public class PlayerInstance extends Playable
* @param objectId the object id
* @param count the count
* @param action the action
- * @return the l2 item instance
+ * @return the item instance
*/
public ItemInstance checkItemManipulation(int objectId, int count, String action)
{
@@ -4527,8 +4451,7 @@ public class PlayerInstance extends Playable
}
/**
- * Get the client owner of this char.
- *
+ * Get the client owner of this char.
* @return the client
*/
public GameClient getClient()
@@ -4546,8 +4469,7 @@ public class PlayerInstance extends Playable
}
/**
- * Close the active connection with the client.
- *
+ * Close the active connection with the client.
*/
public void closeNetConnection()
{
@@ -4559,25 +4481,20 @@ public class PlayerInstance extends Playable
}
/**
- * Manage actions when a player click on this PlayerInstance.
- *
- * Actions on first click on the PlayerInstance (Select it) :
- *
+ * Manage actions when a player click on this PlayerInstance.
+ *
+ * Actions on first click on the PlayerInstance (Select it):
*
Set the target of the player
- *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
- *
- * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
+ *
+ * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the player (display the select window)
*
If this PlayerInstance has a Private Store, notify the player AI with AI_INTENTION_INTERACT
- *
If this PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
- *
- *
If this PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If this PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
+ *
If this PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The player that start an action on this PlayerInstance
*/
@Override
@@ -5109,15 +5026,12 @@ public class PlayerInstance extends Playable
}
/**
- * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party.
- *
- * Actions :
- *
- *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
- *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
- *
- * Caution : This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
- *
+ * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party.
+ *
+ * Actions:
+ *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
+ *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
+ * Caution: This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
*/
@Override
public void broadcastStatusUpdate()
@@ -5258,19 +5172,16 @@ public class PlayerInstance extends Playable
}
/**
- * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers.
- *
- * Concept :
- *
- * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet
- *
- * Actions :
- *
+ * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers.
+ *
+ * Concept:
+ *
+ * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet
+ *
+ * Actions:
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
- *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
- *
- * Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
- *
+ *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
+ * Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
*/
public void broadcastUserInfo()
{
@@ -5303,14 +5214,12 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Interact Task with another PlayerInstance.
- *
- * Actions :
- *
+ * Manage Interact Task with another PlayerInstance.
+ *
+ * Actions:
*
If the private store is a STORE_PRIVATE_SELL, send a Server->Client PrivateBuyListSell packet to the PlayerInstance
*
If the private store is a STORE_PRIVATE_BUY, send a Server->Client PrivateBuyListBuy packet to the PlayerInstance
- *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
- *
+ *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
Send a System Message to the PlayerInstance : YOU_PICKED_UP_S1_ADENA or YOU_PICKED_UP_S1_S2
*
Add the Item to the PlayerInstance inventory
*
Send a Server->Client packet InventoryUpdate to this PlayerInstance with NewItem (use a new slot) or ModifiedItem (increase amount)
- *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
- *
- * Caution : If a Party is in progress, distribute Items between party members
- *
+ *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
+ * Caution: If a Party is in progress, distribute Items between party members
* @param target The ItemInstance dropped
* @param item the item
*/
@@ -5371,19 +5277,16 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Pickup Task.
- *
- * Actions :
- *
+ * Manage Pickup Task.
+ *
+ * Actions:
*
Send a Server->Client packet StopMove to this PlayerInstance
*
Remove the ItemInstance from the world and send server->client GetItem packets
*
Send a System Message to the PlayerInstance : YOU_PICKED_UP_S1_ADENA or YOU_PICKED_UP_S1_S2
*
Add the Item to the PlayerInstance inventory
*
Send a Server->Client packet InventoryUpdate to this PlayerInstance with NewItem (use a new slot) or ModifiedItem (increase amount)
- *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
- *
- * Caution : If a Party is in progress, distribute Items between party members
- *
+ *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
+ * Caution: If a Party is in progress, distribute Items between party members
* @param object The ItemInstance to pick up
*/
protected void doPickupItem(WorldObject object)
@@ -5574,14 +5477,12 @@ public class PlayerInstance extends Playable
}
/**
- * Set a target.
- *
- * Actions :
- *
+ * Set a target.
+ *
+ * Actions:
*
Remove the PlayerInstance from the _statusListener of the old target if it was a Creature
*
Add the PlayerInstance to the _statusListener of the new target if it's a Creature
- *
Target the new WorldObject (add the target to the PlayerInstance _target, _knownObject and PlayerInstance to _KnownObject of the WorldObject)
- *
+ *
Target the new WorldObject (add the target to the PlayerInstance _target, _knownObject and PlayerInstance to _KnownObject of the WorldObject)
* @param newTarget The WorldObject to target
*/
@Override
@@ -5655,8 +5556,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon instance (always equiped in the right hand).
- *
+ * Return the active weapon instance (always equipped in the right hand).
* @return the active weapon instance
*/
@Override
@@ -5666,8 +5566,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon item (always equiped in the right hand).
- *
+ * Return the active weapon item (always equipped in the right hand).
* @return the active weapon item
*/
@Override
@@ -5967,8 +5866,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary weapon instance (always equiped in the left hand).
- *
+ * Return the secondary weapon instance (always equipped in the left hand).
* @return the secondary weapon instance
*/
@Override
@@ -5978,8 +5876,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary weapon item (always equiped in the left hand) or the fists weapon.
- *
+ * Return the secondary weapon item (always equipped in the left hand) or the fists weapon.
* @return the secondary weapon item
*/
@Override
@@ -6001,16 +5898,14 @@ public class PlayerInstance extends Playable
}
/**
- * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop.
- *
- * Actions :
- *
+ * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop.
+ *
+ * Actions:
*
Reduce the Experience of the PlayerInstance in function of the calculated Death Penalty
*
If necessary, unsummon the Pet of the killed PlayerInstance
*
Manage Karma gain for attacker and Karam loss for the killed PlayerInstance
*
If the killed PlayerInstance has Karma, manage Drop Item
- *
Kill the PlayerInstance
- *
+ *
Kill the PlayerInstance
* @param killer the killer
* @return true, if successful
*/
@@ -6565,7 +6460,7 @@ public class PlayerInstance extends Playable
// Anti FARM Clan - Ally
if ((Config.ANTI_FARM_CLAN_ALLY_ENABLED && ((getClanId() > 0) && (targetPlayer.getClanId() > 0) && (getClanId() == targetPlayer.getClanId()))) || ((getAllyId() > 0) && (targetPlayer.getAllyId() > 0) && (getAllyId() == targetPlayer.getAllyId())))
{
- sendMessage("Farm is punishable with Ban! Gm informed.");
+ sendMessage("Farm is punishable with Ban! GM informed.");
LOGGER.info("PVP POINT FARM ATTEMPT, " + getName() + " and " + targetPlayer.getName() + ". CLAN or ALLY.");
return false;
}
@@ -6573,7 +6468,7 @@ public class PlayerInstance extends Playable
// Anti FARM level player < 40
if (Config.ANTI_FARM_LVL_DIFF_ENABLED && (targetPlayer.getLevel() < Config.ANTI_FARM_MAX_LVL_DIFF))
{
- sendMessage("Farm is punishable with Ban! Don't kill new players! Gm informed.");
+ sendMessage("Farm is punishable with Ban! Don't kill new players! GM informed.");
LOGGER.info("PVP POINT FARM ATTEMPT, " + getName() + " and " + targetPlayer.getName() + ". LVL DIFF.");
return false;
}
@@ -6581,7 +6476,7 @@ public class PlayerInstance extends Playable
// Anti FARM pdef < 300
if (Config.ANTI_FARM_PDEF_DIFF_ENABLED && (targetPlayer.getPDef(targetPlayer) < Config.ANTI_FARM_MAX_PDEF_DIFF))
{
- sendMessage("Farm is punishable with Ban! Gm informed.");
+ sendMessage("Farm is punishable with Ban! GM informed.");
LOGGER.info("PVP POINT FARM ATTEMPT, " + getName() + " and " + targetPlayer.getName() + ". MAX PDEF DIFF.");
return false;
}
@@ -6589,7 +6484,7 @@ public class PlayerInstance extends Playable
// Anti FARM p atk < 300
if (Config.ANTI_FARM_PATK_DIFF_ENABLED && (targetPlayer.getPAtk(targetPlayer) < Config.ANTI_FARM_MAX_PATK_DIFF))
{
- sendMessage("Farm is punishable with Ban! Gm informed.");
+ sendMessage("Farm is punishable with Ban! GM informed.");
LOGGER.info("PVP POINT FARM ATTEMPT, " + getName() + " and " + targetPlayer.getName() + ". MAX PATK DIFF.");
return false;
}
@@ -6597,7 +6492,7 @@ public class PlayerInstance extends Playable
// Anti FARM Party
if (Config.ANTI_FARM_PARTY_ENABLED && (getParty() != null) && (targetPlayer.getParty() != null) && getParty().equals(targetPlayer.getParty()))
{
- sendMessage("Farm is punishable with Ban! Gm informed.");
+ sendMessage("Farm is punishable with Ban! GM informed.");
LOGGER.info("PVP POINT FARM ATTEMPT, " + getName() + " and " + targetPlayer.getName() + ". SAME PARTY.");
return false;
}
@@ -6609,7 +6504,7 @@ public class PlayerInstance extends Playable
final String ip2 = targetPlayer.getClient().getConnection().getInetAddress().getHostAddress();
if (ip1.equals(ip2))
{
- sendMessage("Farm is punishable with Ban! Gm informed.");
+ sendMessage("Farm is punishable with Ban! GM informed.");
LOGGER.info("PVP POINT FARM ATTEMPT: " + getName() + " and " + targetPlayer.getName() + ". SAME IP.");
return false;
}
@@ -7160,8 +7055,7 @@ public class PlayerInstance extends Playable
}
/**
- * Restore the specified % of experience this PlayerInstance has lost and sends a Server->Client StatusUpdate packet.
- *
+ * Restore the specified % of experience this PlayerInstance has lost and sends a Server->Client StatusUpdate packet.
* @param restorePercent the restore percent
*/
public void restoreExp(double restorePercent)
@@ -7175,15 +7069,13 @@ public class PlayerInstance extends Playable
}
/**
- * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
- *
- * Actions :
- *
+ * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
+ *
+ * Actions:
*
Calculate the Experience loss
*
Set the value of _expBeforeDeath
*
Set the new Experience value of the PlayerInstance and Decrease its level if necessary
- *
Send a Server->Client StatusUpdate packet with its new Experience
- *
+ *
Send a Server->Client StatusUpdate packet with its new Experience
* @param atwar the atwar
*/
public void deathPenalty(boolean atwar)
@@ -7251,17 +7143,15 @@ public class PlayerInstance extends Playable
}
/**
- * Manage the increase level task of a PlayerInstance (Max MP, Max MP, Recommandation, Expertise and beginner skills...).
- *
- * Actions :
- *
+ * Manage the increase level task of a PlayerInstance (Max MP, Max MP, Recommandation, Expertise and beginner skills...).
+ *
+ * Actions:
*
Send a Server->Client System Message to the PlayerInstance : YOU_INCREASED_YOUR_LEVEL
*
Send a Server->Client packet StatusUpdate to the PlayerInstance with new LEVEL, MAX_HP and MAX_MP
*
Set the current HP and MP of the PlayerInstance, Launch/Stop a HP/MP/CP Regeneration Task and send StatusUpdate packet to all other PlayerInstance to inform (exclusive broadcast)
*
Recalculate the party level
*
Recalculate the number of Recommandation that the PlayerInstance can give
- *
Give Expertise skill of this level and remove beginner Lucky skill
- *
+ *
Give Expertise skill of this level and remove beginner Lucky skill
*/
public void increaseLevel()
{
@@ -7271,13 +7161,11 @@ public class PlayerInstance extends Playable
}
/**
- * Stop the HP/MP/CP Regeneration task.
- *
- * Actions :
- *
+ * Stop the HP/MP/CP Regeneration task.
+ *
+ * Actions:
*
Set the RegenActive flag to False
- *
Stop the HP/MP/CP Regeneration task
- *
+ *
Stop the HP/MP/CP Regeneration task
*/
public void stopAllTimers()
{
@@ -7291,8 +7179,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the Summon of the PlayerInstance or null.
- *
+ * Return the Summon of the PlayerInstance or null.
* @return the pet
*/
@Override
@@ -7302,8 +7189,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set the Summon of the PlayerInstance.
- *
+ * Set the Summon of the PlayerInstance.
* @param summon the new pet
*/
public void setPet(Summon summon)
@@ -7312,8 +7198,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the Summon of the PlayerInstance or null.
- *
+ * Return the Summon of the PlayerInstance or null.
* @return the trained beast
*/
public TamedBeastInstance getTrainedBeast()
@@ -7322,8 +7207,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set the Summon of the PlayerInstance.
- *
+ * Set the Summon of the PlayerInstance.
* @param tamedBeast the new trained beast
*/
public void setTrainedBeast(TamedBeastInstance tamedBeast)
@@ -7332,8 +7216,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the PlayerInstance requester of a transaction (ex : FriendInvite, JoinAlly, JoinParty...).
- *
+ * Return the PlayerInstance requester of a transaction (ex : FriendInvite, JoinAlly, JoinParty...).
* @return the request
*/
public Request getRequest()
@@ -7342,8 +7225,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set the PlayerInstance requester of a transaction (ex : FriendInvite, JoinAlly, JoinParty...).
- *
+ * Set the PlayerInstance requester of a transaction (ex : FriendInvite, JoinAlly, JoinParty...).
* @param requester the new active requester
*/
public synchronized void setActiveRequester(PlayerInstance requester)
@@ -7352,8 +7234,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the PlayerInstance requester of a transaction (ex : FriendInvite, JoinAlly, JoinParty...).
- *
+ * Return the PlayerInstance requester of a transaction (ex : FriendInvite, JoinAlly, JoinParty...).
* @return the active requester
*/
public synchronized PlayerInstance getActiveRequester()
@@ -7367,8 +7248,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return True if a transaction is in progress.
- *
+ * Return True if a transaction is in progress.
* @return true, if is processing request
*/
public boolean isProcessingRequest()
@@ -7377,8 +7257,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return True if a transaction is in progress.
- *
+ * Return True if a transaction is in progress.
* @return true, if is processing transaction
*/
public boolean isProcessingTransaction()
@@ -7387,8 +7266,7 @@ public class PlayerInstance extends Playable
}
/**
- * Select the Warehouse to be used in next activity.
- *
+ * Select the Warehouse to be used in next activity.
* @param partner the partner
*/
public void onTransactionRequest(PlayerInstance partner)
@@ -7401,8 +7279,7 @@ public class PlayerInstance extends Playable
}
/**
- * Select the Warehouse to be used in next activity.
- *
+ * Select the Warehouse to be used in next activity.
*/
public void onTransactionResponse()
{
@@ -7410,8 +7287,7 @@ public class PlayerInstance extends Playable
}
/**
- * Select the Warehouse to be used in next activity.
- *
+ * Select the Warehouse to be used in next activity.
* @param warehouse the new active warehouse
*/
public void setActiveWarehouse(ItemContainer warehouse)
@@ -7420,8 +7296,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return active Warehouse.
- *
+ * Return active Warehouse.
* @return the active warehouse
*/
public ItemContainer getActiveWarehouse()
@@ -7430,8 +7305,7 @@ public class PlayerInstance extends Playable
}
/**
- * Select the TradeList to be used in next activity.
- *
+ * Select the TradeList to be used in next activity.
* @param tradeList the new active trade list
*/
public void setActiveTradeList(TradeList tradeList)
@@ -7440,8 +7314,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return active TradeList.
- *
+ * Return active TradeList.
* @return the active trade list
*/
public TradeList getActiveTradeList()
@@ -7539,8 +7412,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the _createList object of the PlayerInstance.
- *
+ * Return the _createList object of the PlayerInstance.
* @return the creates the list
*/
public ManufactureList getCreateList()
@@ -7549,8 +7421,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set the _createList object of the PlayerInstance.
- *
+ * Set the _createList object of the PlayerInstance.
* @param x the new creates the list
*/
public void setCreateList(ManufactureList x)
@@ -7559,8 +7430,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the _sellList object of the PlayerInstance.
- *
+ * Return the _sellList object of the PlayerInstance.
* @return the sell list
*/
public TradeList getSellList()
@@ -7573,7 +7443,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the _buyList object of the PlayerInstance.
+ * Return the _buyList object of the PlayerInstance.
* @return the buy list
*/
public TradeList getBuyList()
@@ -7586,15 +7456,15 @@ public class PlayerInstance extends Playable
}
/**
- * Set the Private Store type of the PlayerInstance.
- *
- * Values :
+ * Set the Private Store type of the PlayerInstance.
+ *
+ * Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
*
2 : sellmanage
*
3 : STORE_PRIVATE_BUY
*
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @param type the new private store type
*/
public void setPrivateStoreType(int type)
@@ -7617,9 +7487,9 @@ public class PlayerInstance extends Playable
}
/**
- * Return the Private Store type of the PlayerInstance.
- *
- * Values :
+ * Return the Private Store type of the PlayerInstance.
+ *
+ * Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
*
2 : sellmanage
@@ -7634,8 +7504,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set the _skillLearningClassId object of the PlayerInstance.
- *
+ * Set the _skillLearningClassId object of the PlayerInstance.
* @param classId the new skill learning class id
*/
public void setSkillLearningClassId(ClassId classId)
@@ -7644,8 +7513,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the _skillLearningClassId object of the PlayerInstance.
- *
+ * Return the _skillLearningClassId object of the PlayerInstance.
* @return the skill learning class id
*/
public ClassId getSkillLearningClassId()
@@ -7654,8 +7522,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set the _clan object, _clanId, _clanLeader Flag and title of the PlayerInstance.
- *
+ * Set the _clan object, _clanId, _clanLeader Flag and title of the PlayerInstance.
* @param clan the new clan
*/
public void setClan(Clan clan)
@@ -7689,8 +7556,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the _clan object of the PlayerInstance.
- *
+ * Return the _clan object of the PlayerInstance.
* @return the clan
*/
public Clan getClan()
@@ -7699,8 +7565,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return True if the PlayerInstance is the leader of its clan.
- *
+ * Return True if the PlayerInstance is the leader of its clan.
* @return true, if is clan leader
*/
public boolean isClanLeader()
@@ -7713,8 +7578,7 @@ public class PlayerInstance extends Playable
}
/**
- * Reduce the number of arrows owned by the PlayerInstance and send it Server->Client Packet InventoryUpdate or ItemList (to unequip if the last arrow was consummed).
- *
+ * Reduce the number of arrows owned by the PlayerInstance and send it Server->Client Packet InventoryUpdate or ItemList (to unequip if the last arrow was consummed).
*/
@Override
protected void reduceArrowCount()
@@ -7739,14 +7603,13 @@ public class PlayerInstance extends Playable
}
/**
- * Equip arrows needed in left hand and send a Server->Client packet ItemList to the PlayerInstance then return True.
- *
+ * Equip arrows needed in left hand and send a Server->Client packet ItemList to the PlayerInstance then return True.
* @return true, if successful
*/
@Override
protected boolean checkAndEquipArrows()
{
- // Check if nothing is equiped in left hand
+ // Check if nothing is equipped in left hand
if ((getInventory().getPaperdollItem(Inventory.PAPERDOLL_LHAND) == null) //
// Mobius: Fix for pickup/equip arrows on dual weapons.
&& (getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND).getItemType() == WeaponType.BOW))
@@ -7764,15 +7627,14 @@ public class PlayerInstance extends Playable
}
else
{
- // Get the ItemInstance of arrows equiped in left hand
+ // Get the ItemInstance of arrows equipped in left hand
_arrowItem = getInventory().getPaperdollItem(Inventory.PAPERDOLL_LHAND);
}
return _arrowItem != null;
}
/**
- * Disarm the player's weapon and shield.
- *
+ * Disarm the player's weapon and shield.
* @return true, if successful
*/
public boolean disarmWeapons()
@@ -7875,8 +7737,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return True if the PlayerInstance use a dual weapon.
- *
+ * Return True if the PlayerInstance use a dual weapon.
* @return true, if is using dual weapon
*/
@Override
@@ -7929,8 +7790,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return True if the PlayerInstance is invulnerable.
- *
+ * Return True if the PlayerInstance is invulnerable.
* @return true, if is invul
*/
@Override
@@ -7940,8 +7800,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return True if the PlayerInstance has a Party in progress.
- *
+ * Return True if the PlayerInstance has a Party in progress.
* @return true, if is in party
*/
@Override
@@ -7951,8 +7810,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set the _party object of the PlayerInstance (without joining it).
- *
+ * Set the _party object of the PlayerInstance (without joining it).
* @param party the new party
*/
public void setParty(Party party)
@@ -7961,8 +7819,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set the _party object of the PlayerInstance AND join it.
- *
+ * Set the _party object of the PlayerInstance AND join it.
* @param party the party
*/
public void joinParty(Party party)
@@ -8052,14 +7909,12 @@ public class PlayerInstance extends Playable
}
/**
- * Manage a cancel cast task for the PlayerInstance.
- *
- * Actions :
- *
+ * Manage a cancel cast task for the PlayerInstance.
+ *
+ * Actions:
*
Set the Intention of the AI to AI_INTENTION_IDLE
*
Enable all skills (set _allSkillsDisabled to False)
- *
Send a Server->Client Packet MagicSkillCanceld to the PlayerInstance and all PlayerInstance in the _KnownPlayers of the Creature (broadcast)
- *
+ *
Send a Server->Client Packet MagicSkillCanceld to the PlayerInstance and all PlayerInstance in the _KnownPlayers of the Creature (broadcast)
*/
public void cancelCastMagic()
{
@@ -8076,8 +7931,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set the _accessLevel of the PlayerInstance.
- *
+ * Set the _accessLevel of the PlayerInstance.
* @param level the new access level
*/
public void setAccessLevel(int level)
@@ -8130,8 +7984,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the _accessLevel of the PlayerInstance.
- *
+ * Return the _accessLevel of the PlayerInstance.
* @return the access level
*/
public AccessLevel getAccessLevel()
@@ -8154,8 +8007,7 @@ public class PlayerInstance extends Playable
}
/**
- * Update Stats of the PlayerInstance client side by sending Server->Client packet UserInfo/StatusUpdate to this PlayerInstance and CharInfo/StatusUpdate to all PlayerInstance in its _KnownPlayers (broadcast).
- *
+ * Update Stats of the PlayerInstance client side by sending Server->Client packet UserInfo/StatusUpdate to this PlayerInstance and CharInfo/StatusUpdate to all PlayerInstance in its _KnownPlayers (broadcast).
* @param broadcastType the broadcast type
*/
public void updateAndBroadcastStatus(int broadcastType)
@@ -8175,8 +8027,7 @@ public class PlayerInstance extends Playable
}
/**
- * Send a Server->Client StatusUpdate packet with Karma and PvP Flag to the PlayerInstance and all PlayerInstance to inform (broadcast).
- *
+ * Send a Server->Client StatusUpdate packet with Karma and PvP Flag to the PlayerInstance and all PlayerInstance to inform (broadcast).
* @param flag the new karma flag
*/
public void setKarmaFlag(int flag)
@@ -8193,8 +8044,7 @@ public class PlayerInstance extends Playable
}
/**
- * Send a Server->Client StatusUpdate packet with Karma to the PlayerInstance and all PlayerInstance to inform (broadcast).
- *
+ * Send a Server->Client StatusUpdate packet with Karma to the PlayerInstance and all PlayerInstance to inform (broadcast).
*/
public void broadcastKarma()
{
@@ -8215,8 +8065,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set the online Flag to True or False and update the characters table of the database with online status and lastAccess (called when login and logout).
- *
+ * Set the online Flag to True or False and update the characters table of the database with online status and lastAccess (called when login and logout).
* @param isOnline the new online status
*/
public void setOnlineStatus(boolean isOnline)
@@ -8245,8 +8094,7 @@ public class PlayerInstance extends Playable
}
/**
- * Update the characters table of the database with online status and lastAccess of this PlayerInstance (called when login and logout).
- *
+ * Update the characters table of the database with online status and lastAccess of this PlayerInstance (called when login and logout).
*/
public void updateOnlineStatus()
{
@@ -8404,15 +8252,13 @@ public class PlayerInstance extends Playable
}
/**
- * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the World.
- *
- * Actions :
- *
+ * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the World.
+ *
+ * Actions:
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
*
Set the x,y,z position of the PlayerInstance and make it invisible
- *
Update the overloaded status of the PlayerInstance
- *
+ *
Update the overloaded status of the PlayerInstance
* @param objectId Identifier of the object to initialized
* @return The PlayerInstance loaded from the database
*/
@@ -9184,7 +9030,7 @@ public class PlayerInstance extends Playable
* Adds the skill.
* @param newSkill the new skill
* @param store the store
- * @return the l2 skill
+ * @return the skill
*/
public synchronized Skill addSkill(Skill newSkill, boolean store)
{
@@ -9215,7 +9061,7 @@ public class PlayerInstance extends Playable
* Removes the skill.
* @param skill the skill
* @param store the store
- * @return the l2 skill
+ * @return the skill
*/
public Skill removeSkill(Skill skill, boolean store)
{
@@ -9227,21 +9073,19 @@ public class PlayerInstance extends Playable
}
/**
- * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database.
- *
- * Concept :
- *
- * All skills own by a Creature are identified in _skills
- *
- * Actions :
- *
+ * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database.
+ *
+ * Concept:
+ *
+ * All skills own by a Creature are identified in _skills
+ *
+ * Actions:
*
Remove the skill from the Creature _skills
- *
Remove all its Func objects from the Creature calculator set
- *
- * Overriden in :
- *
- *
PlayerInstance : Save update in the character_skills table of the database
- *
+ *
Remove all its Func objects from the Creature calculator set
+ *
+ * Overriden in:
+ *
+ *
PlayerInstance : Save update in the character_skills table of the database
* @param skill The Skill to remove from the Creature
* @return The Skill removed
*/
@@ -9282,8 +9126,7 @@ public class PlayerInstance extends Playable
}
/**
- * Add or update a PlayerInstance skill in the character_skills table of the database.
- *
+ * Add or update a PlayerInstance skill in the character_skills table of the database.
* If newClassIndex > -1, the skill will be stored with that class index, not the current one.
* @param newSkill the new skill
* @param oldSkill the old skill
@@ -9441,8 +9284,7 @@ public class PlayerInstance extends Playable
}
/**
- * Retrieve from the database all skills of this PlayerInstance and add them to _skills.
- *
+ * Retrieve from the database all skills of this PlayerInstance and add them to _skills.
*/
public synchronized void restoreSkills()
{
@@ -9514,8 +9356,7 @@ public class PlayerInstance extends Playable
}
/**
- * Retrieve from the database all skill effects of this PlayerInstance and add them to the player.
- *
+ * Retrieve from the database all skill effects of this PlayerInstance and add them to the player.
* @param activateEffects
*/
public void restoreEffects(boolean activateEffects)
@@ -9622,8 +9463,7 @@ public class PlayerInstance extends Playable
}
/**
- * Retrieve from the database all Recommendation data of this PlayerInstance, add to _recomChars and calculate stats of the PlayerInstance.
- *
+ * Retrieve from the database all Recommendation data of this PlayerInstance, add to _recomChars and calculate stats of the PlayerInstance.
*/
private void restoreRecom()
{
@@ -9943,16 +9783,14 @@ public class PlayerInstance extends Playable
}
/**
- * Return True if the PlayerInstance is autoAttackable.
- *
- * Actions :
- *
+ * Return True if the PlayerInstance is autoAttackable.
+ *
+ * Actions:
*
Check if the attacker isn't the PlayerInstance Pet
*
Check if the attacker is MonsterInstance
*
If the attacker is a PlayerInstance, check if it is not in the same party
*
Check if the PlayerInstance has Karma
- *
If the attacker is a PlayerInstance, check if it is not in the same siege clan (Attacker, Defender)
- *
+ *
If the attacker is a PlayerInstance, check if it is not in the same siege clan (Attacker, Defender)
* @param attacker the attacker
* @return true, if is auto attackable
*/
@@ -10122,25 +9960,19 @@ public class PlayerInstance extends Playable
}
/**
- * Check if the active Skill can be casted.
- *
- * Actions :
- *
+ * Check if the active Skill can be casted.
+ *
+ * Actions:
*
Check if the skill isn't toggle and is offensive
*
Check if the target is in the skill cast range
*
Check if the skill is Spoil type and if the target isn't already spoiled
*
Check if the caster owns enought consummed Item, enough HP and MP to cast the skill
*
Check if the caster isn't sitting
- *
Check if all skills are enabled and this skill is enabled
- *
- *
Check if the caster own the weapon needed
- *
- *
Check if the skill is active
- *
- *
Check if all casting conditions are completed
- *
- *
Notify the AI with AI_INTENTION_CAST and target
- *
+ *
Check if all skills are enabled and this skill is enabled
+ *
Check if the caster own the weapon needed
+ *
Check if the skill is active
+ *
Check if all casting conditions are completed
+ *
Notify the AI with AI_INTENTION_CAST and target
* @param skill The Skill to use
* @param forceUse used to force ATTACK on players
* @param dontMove used to prevent movement, if not in range
@@ -10838,8 +10670,7 @@ public class PlayerInstance extends Playable
}
/**
- * Reduce Item quantity of the PlayerInstance Inventory and send it a Server->Client packet InventoryUpdate.
- *
+ * Reduce Item quantity of the PlayerInstance Inventory and send it a Server->Client packet InventoryUpdate.
* @param itemConsumeId the item consume id
* @param itemCount the item count
*/
@@ -10853,8 +10684,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return True if the PlayerInstance is a Mage.
- *
+ * Return True if the PlayerInstance is a Mage.
* @return true, if is mage class
*/
public boolean isMageClass()
@@ -10872,8 +10702,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set the type of Pet mounted (0 : none, 1 : Stridder, 2 : Wyvern) and send a Server->Client packet InventoryUpdate to the PlayerInstance.
- *
+ * Set the type of Pet mounted (0 : none, 1 : Stridder, 2 : Wyvern) and send a Server->Client packet InventoryUpdate to the PlayerInstance.
* @return true, if successful
*/
public boolean checkLandingState()
@@ -10938,8 +10767,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the type of Pet mounted (0 : none, 1 : Stridder, 2 : Wyvern).
- *
+ * Return the type of Pet mounted (0 : none, 1 : Stridder, 2 : Wyvern).
* @return the mount type
*/
public int getMountType()
@@ -10948,19 +10776,16 @@ public class PlayerInstance extends Playable
}
/**
- * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers.
- *
- * Concept :
- *
- * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet
- *
- * Actions :
- *
+ * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers.
+ *
+ * Concept:
+ *
+ * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet
+ *
+ * Actions:
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
- *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
- *
- * Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
- *
+ *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
+ * Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
*/
@Override
public void updateAbnormalEffect()
@@ -10969,8 +10794,7 @@ public class PlayerInstance extends Playable
}
/**
- * Disable the Inventory and create a new task to enable it after 1.5s.
- *
+ * Disable the Inventory and create a new task to enable it after 1.5s.
*/
public void tempInvetoryDisable()
{
@@ -10979,8 +10803,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return True if the Inventory is disabled.
- *
+ * Return True if the Inventory is disabled.
* @return true, if is invetory disabled
*/
public boolean isInvetoryDisabled()
@@ -11023,8 +10846,7 @@ public class PlayerInstance extends Playable
}
/**
- * Add a CubicInstance to the PlayerInstance _cubics.
- *
+ * Add a CubicInstance to the PlayerInstance _cubics.
* @param id the id
* @param level the level
* @param matk the matk
@@ -11040,8 +10862,7 @@ public class PlayerInstance extends Playable
}
/**
- * Remove a CubicInstance from the PlayerInstance _cubics.
- *
+ * Remove a CubicInstance from the PlayerInstance _cubics.
* @param id the id
*/
public void delCubic(int id)
@@ -11050,8 +10871,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the CubicInstance corresponding to the Identifier of the PlayerInstance _cubics.
- *
+ * Return the CubicInstance corresponding to the Identifier of the PlayerInstance _cubics.
* @param id the id
* @return the cubic
*/
@@ -11082,8 +10902,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the modifier corresponding to the Enchant Effect of the Active Weapon (Min : 127).
- *
+ * Return the modifier corresponding to the Enchant Effect of the Active Weapon (Min : 127).
* @return the enchant effect
*/
public int getEnchantEffect()
@@ -11097,8 +10916,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set the _lastFolkNpc of the PlayerInstance corresponding to the last Folk wich one the player talked.
- *
+ * Set the _lastFolkNpc of the PlayerInstance corresponding to the last Folk wich one the player talked.
* @param folkNpc the new last folk npc
*/
public void setLastFolkNPC(FolkInstance folkNpc)
@@ -11107,8 +10925,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the _lastFolkNpc of the PlayerInstance corresponding to the last Folk wich one the player talked.
- *
+ * Return the _lastFolkNpc of the PlayerInstance corresponding to the last Folk wich one the player talked.
* @return the last folk npc
*/
public FolkInstance getLastFolkNPC()
@@ -11117,8 +10934,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set the Silent Moving mode Flag.
- *
+ * Set the Silent Moving mode Flag.
* @param flag the new silent moving
*/
public void setSilentMoving(boolean flag)
@@ -11134,8 +10950,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return True if the Silent Moving mode is active.
- *
+ * Return True if the Silent Moving mode is active.
* @return true, if is silent moving
*/
public boolean isSilentMoving()
@@ -11144,8 +10959,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return True if PlayerInstance is a participant in the Festival of Darkness.
- *
+ * Return True if PlayerInstance is a participant in the Festival of Darkness.
* @return true, if is festival participant
*/
public boolean isFestivalParticipant()
@@ -11762,8 +11576,7 @@ public class PlayerInstance extends Playable
}
/**
- * Send a Server->Client packet StatusUpdate to the PlayerInstance.
- *
+ * Send a Server->Client packet StatusUpdate to the PlayerInstance.
*/
@Override
public void sendPacket(GameServerPacket packet)
@@ -11775,8 +11588,7 @@ public class PlayerInstance extends Playable
}
/**
- * Send SystemMessage packet.
- *
+ * Send SystemMessage packet.
* @param id
*/
public void sendPacket(SystemMessageId id)
@@ -12364,7 +12176,7 @@ public class PlayerInstance extends Playable
}
/**
- * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
+ * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
* 2. This method no longer changes the active _classIndex of the player. This is only done by the calling of setActiveClass() method as that should be the only way to do so.
* @param classId the class id
* @param classIndex the class index
@@ -12494,9 +12306,9 @@ public class PlayerInstance extends Playable
}
/**
- * 1. Completely erase all existance of the subClass linked to the classIndex.
- * 2. Send over the newClassId to addSubClass()to create a new instance on this classIndex.
- * 3. Upon Exception, revert the player to their BaseClass to avoid further problems.
+ * 1. Completely erase all existance of the subClass linked to the classIndex.
+ * 2. Send over the newClassId to addSubClass()to create a new instance on this classIndex.
+ * 3. Upon Exception, revert the player to their BaseClass to avoid further problems.
* @param classIndex the class index
* @param newClassId the new class id
* @return boolean subclassAdded
@@ -12634,7 +12446,7 @@ public class PlayerInstance extends Playable
}
/**
- * Changes the character's class based on the given class index.
+ * Changes the character's class based on the given class index.
* An index of zero specifies the character's original (base) class, while indexes 1-3 specifies the character's sub-classes respectively.
* @param classIndex the class index
*/
@@ -14018,10 +13830,9 @@ public class PlayerInstance extends Playable
}
/**
- * Manage the delete task of a PlayerInstance (Leave Party, Unsummon pet, Save its inventory in the database, Remove it from the world...).
- *
- * Actions :
- *
+ * Manage the delete task of a PlayerInstance (Leave Party, Unsummon pet, Save its inventory in the database, Remove it from the world...).
+ *
+ * Actions:
*
If the PlayerInstance is in observer mode, set its position to its position before entering in observer mode
*
Set the online Flag to True or False and update the characters table of the database with online status and lastAccess
*
Stop the HP/MP/CP Regeneration task
@@ -14030,8 +13841,7 @@ public class PlayerInstance extends Playable
*
Stop Party and Unsummon Pet
*
Update database with items in its inventory and remove them from the world
*
Remove all WorldObject from _knownObjects and _knownPlayer of the Creature then cancel Attak or Cast and notify AI
- *
Close the connection with the client
- *
+ *
Close the connection with the client
*/
public synchronized void deleteMe()
{
@@ -15022,8 +14832,7 @@ public class PlayerInstance extends Playable
}
/**
- * Create a new SkillDat object and queue it in the player _queuedSkill.
- *
+ * Create a new SkillDat object and queue it in the player _queuedSkill.
* @param queuedSkill the queued skill
* @param ctrlPressed the ctrl pressed
* @param shiftPressed the shift pressed
@@ -15066,8 +14875,8 @@ public class PlayerInstance extends Playable
}
/**
- * Sets the cursed weapon equiped id.
- * @param value the new cursed weapon equiped id
+ * Sets the cursed weapon equipped id.
+ * @param value the new cursed weapon equipped id
*/
public void setCursedWeaponEquipedId(int value)
{
@@ -15075,8 +14884,8 @@ public class PlayerInstance extends Playable
}
/**
- * Gets the cursed weapon equiped id.
- * @return the cursed weapon equiped id
+ * Gets the cursed weapon equipped id.
+ * @return the cursed weapon equipped id
*/
public int getCursedWeaponEquipedId()
{
@@ -15377,8 +15186,8 @@ public class PlayerInstance extends Playable
}
/**
- * Sets the gm status active.
- * @param value the new gm status active
+ * Sets the GM status active.
+ * @param value the new GM status active
*/
public void setGmStatusActive(boolean value)
{
@@ -15386,7 +15195,7 @@ public class PlayerInstance extends Playable
}
/**
- * Checks for gm status active.
+ * Checks for GM status active.
* @return true, if successful
*/
public boolean hasGmStatusActive()
@@ -16934,7 +16743,6 @@ public class PlayerInstance extends Playable
/**
* Get the current pet skill in use or return null.
- *
* @return
*/
public SkillDat getCurrentPetSkill()
@@ -16943,8 +16751,7 @@ public class PlayerInstance extends Playable
}
/**
- * Create a new SkillDat object and set the player _currentPetSkill.
- *
+ * Create a new SkillDat object and set the player _currentPetSkill.
* @param currentSkill
* @param ctrlPressed
* @param shiftPressed
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
index 486ab62341..fe918ebaf6 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
@@ -38,14 +38,12 @@ public class RaidBossInstance extends MonsterInstance
private RaidBossStatus _raidStatus;
/**
- * Constructor of RaidBossInstance (use Creature and NpcInstance constructor).
- *
- * Actions :
- *
+ * Constructor of RaidBossInstance (use Creature and NpcInstance constructor).
+ *
+ * Actions:
*
Call the Creature constructor to set the _template of the RaidBossInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the RaidBossInstance
- *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
- *
+ *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
* @param objectId Identifier of the object to initialized
* @param template the template
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/RecipeInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/RecipeInstance.java
index 130d1cfdda..f5fa7f0039 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/RecipeInstance.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/RecipeInstance.java
@@ -25,8 +25,7 @@ public class RecipeInstance
private final int _quantity;
/**
- * Constructor of RecipeInstance (create a new line in a RecipeList).
- *
+ * Constructor of RecipeInstance (create a new line in a RecipeList).
* @param itemId the item id
* @param quantity the quantity
*/
@@ -37,8 +36,7 @@ public class RecipeInstance
}
/**
- * Return the Identifier of the RecipeInstance Item needed.
- *
+ * Return the Identifier of the RecipeInstance Item needed.
* @return the item id
*/
public int getItemId()
@@ -47,8 +45,7 @@ public class RecipeInstance
}
/**
- * Return the Item quantity needed of the RecipeInstance.
- *
+ * Return the Item quantity needed of the RecipeInstance.
* @return the quantity
*/
public int getQuantity()
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/SiegeGuardInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/SiegeGuardInstance.java
index 98b65493f2..d6b15d9461 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/SiegeGuardInstance.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/SiegeGuardInstance.java
@@ -72,8 +72,7 @@ public class SiegeGuardInstance extends Attackable
}
/**
- * Return True if a siege is in progress and the Creature attacker isn't a Defender.
- *
+ * Return True if a siege is in progress and the Creature attacker isn't a Defender.
* @param attacker The Creature that the SiegeGuardInstance try to attack
*/
@Override
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/SiegeNpcInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/SiegeNpcInstance.java
index 110bad4db7..cb3c0c5370 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/SiegeNpcInstance.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/SiegeNpcInstance.java
@@ -67,7 +67,7 @@ public class SiegeNpcInstance extends FolkInstance
}
/**
- * If siege is in progress shows the Busy HTML
+ * If siege is in progress shows the Busy HTML
* else Shows the SiegeInfo window
* @param player
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/knownlist/PlayerKnownList.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/knownlist/PlayerKnownList.java
index d896175dee..d18885d501 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/knownlist/PlayerKnownList.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/knownlist/PlayerKnownList.java
@@ -58,33 +58,27 @@ public class PlayerKnownList extends PlayableKnownList
}
/**
- * Add a visible WorldObject to PlayerInstance _knownObjects and _knownPlayer (if necessary) and send Server-Client Packets needed to inform the PlayerInstance of its state and actions in progress.
- *
- * object is a ItemInstance :
- *
- *
Send Server-Client Packet DropItem/SpawnItem to the PlayerInstance
- *
- * object is a DoorInstance :
- *
+ * Add a visible WorldObject to PlayerInstance _knownObjects and _knownPlayer (if necessary) and send Server-Client Packets needed to inform the PlayerInstance of its state and actions in progress.
+ *
+ * object is a ItemInstance:
+ *
Send Server-Client Packet DropItem/SpawnItem to the PlayerInstance
+ *
+ * object is a DoorInstance:
*
Send Server-Client Packets DoorInfo and DoorStatusUpdate to the PlayerInstance
- *
Send Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
- *
- * object is a NpcInstance :
- *
+ *
Send Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
+ *
+ * object is a NpcInstance:
*
Send Server-Client Packet NpcInfo to the PlayerInstance
- *
Send Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
- *
- * object is a Summon :
- *
+ *
Send Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
+ *
+ * object is a Summon:
*
Send Server-Client Packet NpcInfo/PetItemList (if the PlayerInstance is the owner) to the PlayerInstance
- *
Send Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
- *
- * object is a PlayerInstance :
- *
+ *
Send Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
+ *
+ * object is a PlayerInstance:
*
Send Server-Client Packet CharInfo to the PlayerInstance
*
If the object has a private store, Send Server-Client Packet PrivateStoreMsgSell to the PlayerInstance
- *
Send Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
- *
+ *
Send Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
* @param object The WorldObject to add to _knownObjects and _knownPlayer
*/
@Override
@@ -252,8 +246,7 @@ public class PlayerKnownList extends PlayableKnownList
}
/**
- * Remove a WorldObject from PlayerInstance _knownObjects and _knownPlayer (if necessary) and send Server-Client Packet DeleteObject to the PlayerInstance.
- *
+ * Remove a WorldObject from PlayerInstance _knownObjects and _knownPlayer (if necessary) and send Server-Client Packet DeleteObject to the PlayerInstance.
* @param object The WorldObject to remove from _knownObjects and _knownPlayer
*/
@Override
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/knownlist/WorldObjectKnownList.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/knownlist/WorldObjectKnownList.java
index 2acbf9d470..70b8009c00 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/knownlist/WorldObjectKnownList.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/knownlist/WorldObjectKnownList.java
@@ -92,14 +92,12 @@ public class WorldObjectKnownList
}
/**
- * Update the _knownObject and _knowPlayers of the Creature and of its already known WorldObject.
- *
- * Actions :
- *
+ * Update the _knownObject and _knowPlayers of the Creature and of its already known WorldObject.
+ *
+ * Actions:
*
Remove invisible and too far WorldObject from _knowObject and if necessary from _knownPlayers of the Creature
*
Add visible WorldObject near the Creature to _knowObject and if necessary to _knownPlayers of the Creature
- *
Add Creature to _knowObject and if necessary to _knownPlayers of WorldObject alreday known by the Creature
- *
+ *
Add Creature to _knowObject and if necessary to _knownPlayers of WorldObject alreday known by the Creature
*/
public synchronized void updateKnownObjects()
{
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
index 1417c95128..abf1882120 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
@@ -44,17 +44,14 @@ public class CreatureStat
}
/**
- * Calculate the new value of the state with modifiers that will be applied on the targeted Creature.
- *
- * Concept :
- *
- * A Creature owns a table of Calculators called _calculators. Each Calculator (a calculator per state) own a table of Func object. A Func object is a mathematic function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...) :
- *
- * FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- *
- * When the calc method of a calculator is launched, each mathematic function is called according to its priority _order. Indeed, Func with lowest priority order is executed firsta and Funcs with the same order are executed in unspecified order. The result of the calculation is stored in
- * the value property of an Env class instance.
- *
+ * Calculate the new value of the state with modifiers that will be applied on the targeted Creature.
+ *
+ * Concept:
+ *
+ * A Creature owns a table of Calculators called _calculators. Each Calculator (a calculator per state) own a table of Func object. A Func object is a mathematic function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...) :
+ * FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
+ * When the calc method of a calculator is launched, each mathematic function is called according to its priority _order. Indeed, Func with lowest priority order is executed firsta and Funcs with the same order are executed in unspecified order. The result of the calculation is stored in
+ * the value property of an Env class instance.
* @param stat The stat to calculate the new value with modifiers
* @param init The initial value of the stat before applying modifiers
* @param target The Creature whose properties will be used in the calculation (ex : CON, INT...)
@@ -154,7 +151,7 @@ public class CreatureStat
/**
* Return the CON of the Creature (base+modifier).
- * @return the cON
+ * @return the CON
*/
public int getCON()
{
@@ -203,7 +200,7 @@ public class CreatureStat
/**
* Return the DEX of the Creature (base+modifier).
- * @return the dEX
+ * @return the DEX
*/
public int getDEX()
{
@@ -248,7 +245,7 @@ public class CreatureStat
/**
* Return the INT of the Creature (base+modifier).
- * @return the iNT
+ * @return the INT
*/
public int getINT()
{
@@ -337,12 +334,10 @@ public class CreatureStat
}
/**
- * Return the MAtk (base+modifier) of the Creature for a skill used in function of abnormal effects in progress.
- *
- * Example of use :
- *
- *
Calculate Magic damage
- *
+ * Return the MAtk (base+modifier) of the Creature for a skill used in function of abnormal effects in progress.
+ *
+ * Example of use:
+ *
Calculate Magic damage
* @param target The Creature targeted by the skill
* @param skill The Skill used against the target
* @return the m atk
@@ -501,11 +496,10 @@ public class CreatureStat
}
/**
- * Return the MDef (base+modifier) of the Creature against a skill in function of abnormal effects in progress.
- *
- * Example of use :
- *
- *
Calculate Magic damage
+ * Return the MDef (base+modifier) of the Creature against a skill in function of abnormal effects in progress.
+ *
+ * Example of use:
+ *
Calculate Magic damage
* @param target The Creature targeted by the skill
* @param skill The Skill used against the target
* @return the m def
@@ -532,7 +526,7 @@ public class CreatureStat
/**
* Return the MEN of the Creature (base+modifier).
- * @return the mEN
+ * @return the MEN
*/
public int getMEN()
{
@@ -912,7 +906,7 @@ public class CreatureStat
/**
* Return the STR of the Creature (base+modifier).
- * @return the sTR
+ * @return the STR
*/
public int getSTR()
{
@@ -943,7 +937,7 @@ public class CreatureStat
/**
* Return the WIT of the Creature (base+modifier).
- * @return the wIT
+ * @return the WIT
*/
public int getWIT()
{
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/stat/PlayerStat.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/stat/PlayerStat.java
index e0e07f5881..701fa05e32 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/stat/PlayerStat.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/stat/PlayerStat.java
@@ -52,7 +52,7 @@ public class PlayerStat extends PlayableStat
{
final PlayerInstance player = getActiveChar();
- // Player is Gm and access level is below or equal to canGainExp and is in party, don't give XP
+ // Player is GM and access level is below or equal to canGainExp and is in party, don't give XP
if (!getActiveChar().getAccessLevel().canGainExp() && getActiveChar().isInParty())
{
return false;
@@ -78,17 +78,15 @@ public class PlayerStat extends PlayableStat
}
/**
- * Add Experience and SP rewards to the PlayerInstance, remove its Karma (if necessary) and Launch increase level task.
- *
- * Actions :
- *
+ * Add Experience and SP rewards to the PlayerInstance, remove its Karma (if necessary) and Launch increase level task.
+ *
+ * Actions:
*
Remove Karma when the player kills MonsterInstance
*
Send a Server->Client packet StatusUpdate to the PlayerInstance
*
Send a Server->Client System Message to the PlayerInstance
*
If the PlayerInstance increases it's level, send a Server->Client packet SocialAction (broadcast)
*
If the PlayerInstance increases it's level, manage the increase level task (Max MP, Max MP, Recommendation, Expertise and beginner skills...)
- *
If the PlayerInstance increases it's level, send a Server->Client packet UserInfo to the PlayerInstance
- *
+ *
If the PlayerInstance increases it's level, send a Server->Client packet UserInfo to the PlayerInstance
* @param addToExp The Experience value to add
* @param addToSp The SP value to add
*/
@@ -97,7 +95,7 @@ public class PlayerStat extends PlayableStat
{
float ratioTakenByPet = 0;
- // Player is Gm and acces level is below or equal to GM_DONT_TAKE_EXPSP and is in party, don't give Xp/Sp
+ // Player is GM and access level is below or equal to GM_DONT_TAKE_EXPSP and is in party, don't give Xp/Sp
final PlayerInstance player = getActiveChar();
if (!player.getAccessLevel().canGainExp() && player.isInParty())
{
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
index 48de471706..8db4fd446d 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
@@ -60,17 +60,15 @@ public class CreatureStatus
}
/**
- * Add the object to the list of Creature that must be informed of HP/MP updates of this Creature.
- *
- * Concept :
- *
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates. Players who must be informed are players that target this Creature. When a RegenTask is in progress sever just need to go through this list to send Server->Client packet
- * StatusUpdate.
- *
- * Example of use :
- *
- *
Target a PC or NPC
- *
+ * Add the object to the list of Creature that must be informed of HP/MP updates of this Creature.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates. Players who must be informed are players that target this Creature. When a RegenTask is in progress sever just need to go through this list to send Server->Client packet
+ * StatusUpdate.
+ *
+ * Example of use:
+ *
Target a PC or NPC
* @param object Creature to add to the listener
*/
public void addStatusListener(Creature object)
@@ -103,12 +101,11 @@ public class CreatureStatus
}
/**
- * Reduce the current HP of the Creature and launch the doDie Task if necessary.
- *
- * Overriden in :
- *
- *
Attackable : Update the attacker AggroInfo of the Attackable _aggroList
- *
+ * Reduce the current HP of the Creature and launch the doDie Task if necessary.
+ *
+ * Overriden in:
+ *
+ *
Attackable : Update the attacker AggroInfo of the Attackable _aggroList
* @param value the value
* @param attacker The Creature who attacks
*/
@@ -273,17 +270,15 @@ public class CreatureStatus
}
/**
- * Remove the object from the list of Creature that must be informed of HP/MP updates of this Creature.
- *
- * Concept :
- *
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates. Players who must be informed are players that target this Creature. When a RegenTask is in progress sever just need to go through this list to send Server->Client packet
- * StatusUpdate.
- *
- * Example of use :
- *
- *
Untarget a PC or NPC
- *
+ * Remove the object from the list of Creature that must be informed of HP/MP updates of this Creature.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates. Players who must be informed are players that target this Creature. When a RegenTask is in progress sever just need to go through this list to send Server->Client packet
+ * StatusUpdate.
+ *
+ * Example of use:
+ *
Untarget a PC or NPC
* @param object Creature to add to the listener
*/
public void removeStatusListener(Creature object)
@@ -295,13 +290,11 @@ public class CreatureStatus
}
/**
- * Start the HP/MP/CP Regeneration task.
- *
- * Actions :
- *
+ * Start the HP/MP/CP Regeneration task.
+ *
+ * Actions:
*
Calculate the regen task period
- *
Launch the HP/MP/CP Regeneration task with Medium priority
- *
+ *
Launch the HP/MP/CP Regeneration task with Medium priority
*/
public synchronized void startHpMpRegeneration()
{
@@ -316,13 +309,11 @@ public class CreatureStatus
}
/**
- * Stop the HP/MP/CP Regeneration task.
- *
- * Actions :
- *
+ * Stop the HP/MP/CP Regeneration task.
+ *
+ * Actions:
*
Set the RegenActive flag to False
- *
Stop the HP/MP/CP Regeneration task
- *
+ *
Stop the HP/MP/CP Regeneration task
*/
public synchronized void stopHpMpRegeneration()
{
@@ -605,13 +596,12 @@ public class CreatureStatus
}
/**
- * Return the list of Creature that must be informed of HP/MP updates of this Creature.
- *
- * Concept :
- *
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates. Players who must be informed are players that target this Creature. When a RegenTask is in progress sever just need to go through this list to send Server->Client packet
- * StatusUpdate.
- *
+ * Return the list of Creature that must be informed of HP/MP updates of this Creature.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates. Players who must be informed are players that target this Creature. When a RegenTask is in progress sever just need to go through this list to send Server->Client packet
+ * StatusUpdate.
* @return The list of Creature to inform or null if empty
*/
public Set getStatusListener()
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/templates/NpcTemplate.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/templates/NpcTemplate.java
index 52ba331471..02e1d6315f 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/templates/NpcTemplate.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/templates/NpcTemplate.java
@@ -35,10 +35,9 @@ import org.l2jmobius.gameserver.model.quest.Quest;
import org.l2jmobius.gameserver.model.skills.Stat;
/**
- * This cl contains all generic data of a Spawn object.
- *
- * Data :
- *
+ * This cl contains all generic data of a Spawn object.
+ *
+ * Data:
*
+ *
* @version $Revision: 1.1.2.4 $ $Date: 2005/04/02 15:57:51 $
*/
public class NpcTemplate extends CreatureTemplate
@@ -257,8 +256,8 @@ public class NpcTemplate extends CreatureTemplate
}
/**
- * Return the list of all possible item drops of this NpcTemplate.
- * (ie full drops and part drops, mats, miscellaneous & UNCATEGORIZED)
+ * Return the list of all possible item drops of this NpcTemplate.
+ * (ie full drops and part drops, mats, miscellaneous & UNCATEGORIZED)
* @return
*/
public List getAllDropData()
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/event/TvT.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/event/TvT.java
index 9528da61e0..925e399e53 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/event/TvT.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/event/TvT.java
@@ -2609,7 +2609,7 @@ public class TvT implements EventTask
/**
* Find best killer.
* @param players the players
- * @return the l2 pc instance
+ * @return the pc instance
*/
public static PlayerInstance findBestKiller(List players)
{
@@ -2631,7 +2631,7 @@ public class TvT implements EventTask
/**
* Find looser.
* @param players the players
- * @return the l2 pc instance
+ * @return the pc instance
*/
public static PlayerInstance findLooser(List players)
{
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/event/VIP.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/event/VIP.java
index 770f8e7f35..646b20e43d 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/event/VIP.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/event/VIP.java
@@ -429,7 +429,7 @@ public class VIP
try
{
final NpcHtmlMessage adminReply = new NpcHtmlMessage(5);
- final StringBuilder replyMSG = new StringBuilder("");
+ final StringBuilder replyMSG = new StringBuilder("");
replyMSG.append("VIP (End NPC)
");
@@ -449,7 +449,7 @@ public class VIP
replyMSG.append("I am the character the VIP has to reach in order to win the event. ");
}
- replyMSG.append("");
+ replyMSG.append("");
adminReply.setHtml(replyMSG.toString());
eventPlayer.sendPacket(adminReply);
}
@@ -514,7 +514,7 @@ public class VIP
final NpcHtmlMessage nhm = new NpcHtmlMessage(5);
final StringBuilder replyMSG = new StringBuilder("");
- replyMSG.append("Your team has won the event. Your inventory now contains your reward.");
+ replyMSG.append("Your team has won the event. Your inventory now contains your reward.");
nhm.setHtml(replyMSG.toString());
player.sendPacket(nhm);
}
@@ -561,7 +561,7 @@ public class VIP
final NpcHtmlMessage nhm = new NpcHtmlMessage(5);
final StringBuilder replyMSG = new StringBuilder("");
- replyMSG.append("Your team has won the event. Your inventory now contains your reward.");
+ replyMSG.append("Your team has won the event. Your inventory now contains your reward.");
nhm.setHtml(replyMSG.toString());
player.sendPacket(nhm);
}
@@ -601,7 +601,7 @@ public class VIP
final NpcHtmlMessage nhm = new NpcHtmlMessage(5);
final StringBuilder replyMSG = new StringBuilder("");
- replyMSG.append("You team have won the event. Your inventory now contains your reward.");
+ replyMSG.append("You team have won the event. Your inventory now contains your reward.");
nhm.setHtml(replyMSG.toString());
player.sendPacket(nhm);
}
@@ -783,7 +783,7 @@ public class VIP
try
{
final NpcHtmlMessage adminReply = new NpcHtmlMessage(5);
- final StringBuilder replyMSG = new StringBuilder("");
+ final StringBuilder replyMSG = new StringBuilder("");
replyMSG.append("VIP (Join NPC)
");
@@ -858,7 +858,7 @@ public class VIP
replyMSG.append("
The event is already taking place. Please sign up for the next event.
");
}
- replyMSG.append("");
+ replyMSG.append("");
adminReply.setHtml(replyMSG.toString());
eventPlayer.sendPacket(adminReply);
}
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/sevensigns/SevenSigns.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/sevensigns/SevenSigns.java
index 6386762474..ee2aed18bc 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/sevensigns/SevenSigns.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/sevensigns/SevenSigns.java
@@ -910,7 +910,7 @@ public class SevenSigns
}
/**
- * Saves all Seven Signs data, both to the database and properties file (if updateSettings = True). Often called to preserve data integrity and synchronization with DB, in case of errors.
+ * Saves all Seven Signs data, both to the database and properties file (if updateSettings = True). Often called to preserve data integrity and synchronization with DB, in case of errors.
* If player != null, just that player's data is updated in the database, otherwise all player's data is sequentially updated.
* @param player the player
* @param updateSettings the update settings
@@ -986,7 +986,7 @@ public class SevenSigns
}
/**
- * Used to reset the cabal details of all players, and update the database.
+ * Used to reset the cabal details of all players, and update the database.
* Primarily used when beginning a new cycle, and should otherwise never be called.
*/
protected void resetPlayerData()
@@ -1015,7 +1015,7 @@ public class SevenSigns
}
/**
- * Used to specify cabal-related details for the specified player. This method checks to see if the player has registered before and will update the database if necessary.
+ * Used to specify cabal-related details for the specified player. This method checks to see if the player has registered before and will update the database if necessary.
* Returns the cabal ID the player has joined.
* @param player the player
* @param chosenCabal the chosen cabal
@@ -1078,7 +1078,7 @@ public class SevenSigns
}
/**
- * Returns the amount of ancient adena the specified player can claim, if any.
+ * Returns the amount of ancient adena the specified player can claim, if any.
* If removeReward = True, all the ancient adena owed to them is removed, then DB is updated.
* @param player the player
* @param removeReward the remove reward
@@ -1101,7 +1101,7 @@ public class SevenSigns
}
/**
- * Used to add the specified player's seal stone contribution points to the current total for their cabal. Returns the point score the contribution was worth. Each stone count must be broken down and specified by the stone's color.
+ * Used to add the specified player's seal stone contribution points to the current total for their cabal. Returns the point score the contribution was worth. Each stone count must be broken down and specified by the stone's color.
* @param player the player
* @param blueCount the blue count
* @param greenCount the green count
@@ -1145,7 +1145,7 @@ public class SevenSigns
}
/**
- * Adds the specified number of festival points to the specified cabal. Remember, the same number of points are deducted from the rival cabal to maintain proportionality.
+ * Adds the specified number of festival points to the specified cabal. Remember, the same number of points are deducted from the rival cabal to maintain proportionality.
* @param cabal the cabal
* @param amount the amount
*/
@@ -1220,7 +1220,7 @@ public class SevenSigns
}
/**
- * Used to initialize the seals for each cabal. (Used at startup or at beginning of a new cycle). This method should be called after resetSeals() and calcNewSealOwners() on a new cycle.
+ * Used to initialize the seals for each cabal. (Used at startup or at beginning of a new cycle). This method should be called after resetSeals() and calcNewSealOwners() on a new cycle.
*/
protected void initializeSeals()
{
@@ -1260,8 +1260,7 @@ public class SevenSigns
}
/**
- * Calculates the ownership of the three Seals of the Seven Signs, based on various criterion.
- *
+ * Calculates the ownership of the three Seals of the Seven Signs, based on various criterion.
* Should only ever called at the beginning of a new cycle.
*/
protected void calcNewSealOwners()
@@ -1460,8 +1459,7 @@ public class SevenSigns
}
/**
- * This method is called to remove all players from catacombs and necropolises, who belong to the losing cabal.
- *
+ * This method is called to remove all players from catacombs and necropolises, who belong to the losing cabal.
* Should only ever called at the beginning of Seal Validation.
* @param compWinner the comp winner
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/sevensigns/SevenSignsFestival.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/sevensigns/SevenSignsFestival.java
index fe4c9045e9..134571e380 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/sevensigns/SevenSignsFestival.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/sevensigns/SevenSignsFestival.java
@@ -4384,8 +4384,8 @@ public class SevenSignsFestival implements SpawnListener
}
/**
- * Returns the running instance of a festival for the given Oracle and festivalID.
- * A null value is returned if there are no participants in that festival.
+ * Returns the running instance of a festival for the given Oracle and festivalID.
+ * A null value is returned if there are no participants in that festival.
* @param oracle the oracle
* @param festivalId the festival id
* @return DarknessFestival festivalInst
@@ -4584,11 +4584,11 @@ public class SevenSignsFestival implements SpawnListener
}
/**
- * Used to spawn monsters unique to the festival.
- * Valid SpawnTypes:
- * 0 - All Primary Monsters (starting monsters)
- * 1 - Same as 0, but without archers/marksmen. (used for challenge increase)
- * 2 - Secondary Monsters (archers)
+ * Used to spawn monsters unique to the festival.
+ * Valid SpawnTypes:
+ * 0 - All Primary Monsters (starting monsters)
+ * 1 - Same as 0, but without archers/marksmen. (used for challenge increase)
+ * 2 - Secondary Monsters (archers)
* 3 - Festival Chests
* @param respawnDelay the respawn delay
* @param spawnType the spawn type
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/siege/Castle.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/siege/Castle.java
index c81fe2baa0..46cedba6aa 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/siege/Castle.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/siege/Castle.java
@@ -222,8 +222,7 @@ public class Castle
}
/**
- * Move non clan members off castle area and to nearest town.
- *
+ * Move non clan members off castle area and to nearest town.
*/
public void banishForeigners()
{
@@ -425,8 +424,7 @@ public class Castle
}
/**
- * Respawn all doors on castle grounds
- *
+ * Respawn all doors on castle grounds.
*/
public void spawnDoor()
{
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/siege/Fort.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/siege/Fort.java
index 052aab78e0..bc6923e455 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/siege/Fort.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/siege/Fort.java
@@ -97,8 +97,7 @@ public class Fort
}
/**
- * Move non clan members off fort area and to nearest town.
- *
+ * Move non clan members off fort area and to nearest town.
*/
public void banishForeigners()
{
@@ -262,8 +261,7 @@ public class Fort
}
/**
- * Respawn all doors on fort grounds
- *
+ * Respawn all doors on fort grounds.
*/
public void spawnDoor()
{
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/siege/FortSiege.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/siege/FortSiege.java
index f77db56b1c..35fbe2bb0f 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/siege/FortSiege.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/siege/FortSiege.java
@@ -235,9 +235,7 @@ public class FortSiege
}
/**
- * When siege ends
- *
- * .
+ * When siege ends
*/
public void endSiege()
{
@@ -343,9 +341,7 @@ public class FortSiege
}
/**
- * When control of fort changed during siege
- *
- * .
+ * When control of fort changed during siege
*/
public void midVictory()
{
@@ -370,9 +366,7 @@ public class FortSiege
}
/**
- * When siege starts
- *
- * .
+ * When siege starts
*/
public void startSiege()
{
@@ -433,8 +427,7 @@ public class FortSiege
}
/**
- * Announce to player.
- *
+ * Announce to player.
* @param message The String of the message to send to player
* @param inAreaOnly The boolean flag to show message to players in area only.
*/
@@ -506,9 +499,7 @@ public class FortSiege
}
/**
- * Approve clan as defender for siege
- *
- * .
+ * Approve clan as defender for siege.
* @param clanId The int of player's clan id
*/
public void approveSiegeDefenderClan(int clanId)
@@ -797,9 +788,7 @@ public class FortSiege
}
/**
- * Register clan as attacker
- *
- * .
+ * Register clan as attacker.
* @param player The PlayerInstance of the player trying to register
*/
public void registerAttacker(PlayerInstance player)
@@ -853,9 +842,7 @@ public class FortSiege
}
/**
- * Register clan as defender
- *
- * .
+ * Register clan as defender.
* @param player The PlayerInstance of the player trying to register
*/
public void registerDefender(PlayerInstance player)
@@ -881,9 +868,7 @@ public class FortSiege
}
/**
- * Remove clan from siege
- *
- * .
+ * Remove clan from siege.
* @param clanId The int of player's clan id
*/
public void removeSiegeClan(int clanId)
@@ -918,9 +903,7 @@ public class FortSiege
}
/**
- * Remove clan from siege
- *
- * .
+ * Remove clan from siege.
* @param clan the clan
*/
public void removeSiegeClan(Clan clan)
@@ -934,9 +917,7 @@ public class FortSiege
}
/**
- * Remove clan from siege
- *
- * .
+ * Remove clan from siege.
* @param player The PlayerInstance of player/clan being removed
*/
public void removeSiegeClan(PlayerInstance player)
@@ -945,9 +926,7 @@ public class FortSiege
}
/**
- * Start the auto tasks
- *
- * .
+ * Start the auto tasks
*/
public void checkAutoTask()
{
@@ -963,9 +942,7 @@ public class FortSiege
}
/**
- * Start the auto tasks
- *
- * .
+ * Start the auto tasks.
* @param setTime the set time
*/
public void startAutoTask(boolean setTime)
@@ -1036,9 +1013,7 @@ public class FortSiege
}
/**
- * Add clan as attacker
- *
- * .
+ * Add clan as attacker.
* @param clanId The int of clan's id
*/
private void addAttacker(int clanId)
@@ -1047,9 +1022,7 @@ public class FortSiege
}
/**
- * Add clan as defender
- *
- * .
+ * Add clan as defender.
* @param clanId The int of clan's id
*/
private void addDefender(int clanId)
@@ -1071,9 +1044,7 @@ public class FortSiege
}
/**
- * Add clan as defender waiting approval
- *
- * .
+ * Add clan as defender waiting approval.
* @param clanId The int of clan's id
*/
private void addDefenderWaiting(int clanId)
@@ -1082,8 +1053,7 @@ public class FortSiege
}
/**
- * Return true if the player can register.
- *
+ * Return true if the player can register.
* @param player The PlayerInstance of the player trying to register
* @return true, if successful
*/
@@ -1246,8 +1216,7 @@ public class FortSiege
}
/**
- * Save registration to database.
- *
+ * Save registration to database.
* @param clan The Clan of player
* @param typeId -1 = owner 0 = defender, 1 = attacker, 2 = defender waiting
* @param isUpdateRegistration the is update registration
@@ -1380,8 +1349,7 @@ public class FortSiege
}
/**
- * Spawn siege guard.
- *
+ * Spawn siege guard.
*/
private void spawnSiegeGuard()
{
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/siege/Siege.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/siege/Siege.java
index 9bd41b055e..94e49ca4ae 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/siege/Siege.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/entity/siege/Siege.java
@@ -297,9 +297,7 @@ public class Siege
}
/**
- * When siege ends
- *
- * .
+ * When siege ends
*/
public void endSiege()
{
@@ -418,9 +416,7 @@ public class Siege
}
/**
- * When control of castle changed during siege
- *
- * .
+ * When control of castle changed during siege
*/
public void midVictory()
{
@@ -526,9 +522,7 @@ public class Siege
}
/**
- * When siege starts
- *
- * .
+ * When siege starts
*/
public void startSiege()
{
@@ -603,8 +597,7 @@ public class Siege
}
/**
- * Announce to player.
- *
+ * Announce to player.
* @param message The String of the message to send to player
* @param inAreaOnly The boolean flag to show message to players in area only.
*/
@@ -675,9 +668,7 @@ public class Siege
}
/**
- * Approve clan as defender for siege
- *
- * .
+ * Approve clan as defender for siege.
* @param clanId The int of player's clan id
*/
public void approveSiegeDefenderClan(int clanId)
@@ -714,9 +705,7 @@ public class Siege
}
/**
- * Return true if clan is attacker
- *
- * .
+ * Return true if clan is attacker.
* @param clan The Clan of the player
* @return true, if successful
*/
@@ -726,9 +715,7 @@ public class Siege
}
/**
- * Return true if clan is defender
- *
- * .
+ * Return true if clan is defender.
* @param clan The Clan of the player
* @return true, if successful
*/
@@ -738,9 +725,7 @@ public class Siege
}
/**
- * Return true if clan is defender waiting approval
- *
- * .
+ * Return true if clan is defender waiting approval.
* @param clan The Clan of the player
* @return true, if successful
*/
@@ -965,9 +950,7 @@ public class Siege
}
/**
- * Register clan as attacker
- *
- * .
+ * Register clan as attacker.
* @param player The PlayerInstance of the player trying to register
*/
public void registerAttacker(PlayerInstance player)
@@ -1006,9 +989,7 @@ public class Siege
}
/**
- * Register clan as defender
- *
- * .
+ * Register clan as defender.
* @param player The PlayerInstance of the player trying to register
*/
public void registerDefender(PlayerInstance player)
@@ -1034,9 +1015,7 @@ public class Siege
}
/**
- * Remove clan from siege
- *
- * .
+ * Remove clan from siege.
* @param clanId The int of player's clan id
*/
public void removeSiegeClan(int clanId)
@@ -1063,9 +1042,7 @@ public class Siege
}
/**
- * Remove clan from siege
- *
- * .
+ * Remove clan from siege.
* @param clan the clan
*/
public void removeSiegeClan(Clan clan)
@@ -1079,9 +1056,7 @@ public class Siege
}
/**
- * Remove clan from siege
- *
- * .
+ * Remove clan from siege.
* @param player The PlayerInstance of player/clan being removed
*/
public void removeSiegeClan(PlayerInstance player)
@@ -1090,9 +1065,7 @@ public class Siege
}
/**
- * Start the auto tasks
- *
- * .
+ * Start the auto tasks
*/
public void startAutoTask()
{
@@ -1158,9 +1131,7 @@ public class Siege
}
/**
- * Add clan as attacker
- *
- * .
+ * Add clan as attacker.
* @param clanId The int of clan's id
*/
private void addAttacker(int clanId)
@@ -1170,9 +1141,7 @@ public class Siege
}
/**
- * Add clan as defender
- *
- * .
+ * Add clan as defender.
* @param clanId The int of clan's id
*/
private void addDefender(int clanId)
@@ -1195,9 +1164,7 @@ public class Siege
}
/**
- * Add clan as defender waiting approval
- *
- * .
+ * Add clan as defender waiting approval.
* @param clanId The int of clan's id
*/
private void addDefenderWaiting(int clanId)
@@ -1207,8 +1174,7 @@ public class Siege
}
/**
- * Return true if the player can register.
- *
+ * Return true if the player can register.
* @param player The PlayerInstance of the player trying to register
* @return true, if successful
*/
@@ -1254,8 +1220,7 @@ public class Siege
}
/**
- * Return true if the clan has already registered to a siege for the same day.
- *
+ * Return true if the clan has already registered to a siege for the same day.
* @param clan The Clan of the player trying to register
* @return true, if successful
*/
@@ -1284,8 +1249,7 @@ public class Siege
}
/**
- * Return the correct siege date as Calendar.
- *
+ * Return the correct siege date as Calendar.
*/
private void correctSiegeDateTime()
{
@@ -1457,8 +1421,7 @@ public class Siege
}
/**
- * Save registration to database.
- *
+ * Save registration to database.
* @param clan The Clan of player
* @param typeId -1 = owner 0 = defender, 1 = attacker, 2 = defender waiting
* @param isUpdateRegistration the is update registration
@@ -1591,8 +1554,7 @@ public class Siege
}
/**
- * Spawn siege guard.
- *
+ * Spawn siege guard.
*/
private void spawnSiegeGuard()
{
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/holders/HelperBuffHolder.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/holders/HelperBuffHolder.java
index 9bd1518c95..0d1e3694e9 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/holders/HelperBuffHolder.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/holders/HelperBuffHolder.java
@@ -36,14 +36,13 @@ public class HelperBuffHolder
private int _skillLevel;
/**
- * If True only Magus class will obtain this Buff
+ * If True only Magus class will obtain this Buff
* If False only Fighter class will obtain this Buff
*/
private boolean _isMagicClass;
/**
- * Constructor of HelperBuff.
- *
+ * Constructor of HelperBuff.
* @param set
*/
public HelperBuffHolder(StatSet set)
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/items/Armor.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/items/Armor.java
index f720d6b7d0..565f8244c7 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/items/Armor.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/items/Armor.java
@@ -43,12 +43,11 @@ public class Armor extends Item
private Skill _itemSkill = null; // for passive skill
/**
- * Constructor for Armor.
- *
- * Variables filled :
- *
* @param type : ArmorType designating the type of armor
* @param set : StatSet designating the set of couples (key,value) caracterizing the armor
* @see Item constructor
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/items/Item.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/items/Item.java
index 7457d45bff..d0c52ea60f 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/items/Item.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/items/Item.java
@@ -32,11 +32,11 @@ import org.l2jmobius.gameserver.model.skills.funcs.Func;
import org.l2jmobius.gameserver.model.skills.funcs.FuncTemplate;
/**
- * This class contains all informations concerning the item (weapon, armor, etc).
+ * This class contains all informations concerning the item (weapon, armor, etc).
* Mother class of :
- *
Armor
- *
EtcItem
- *
Weapon
+ *
Armor
+ *
EtcItem
+ *
Weapon
* @version $Revision: 1.7.2.2.2.5 $ $Date: 2005/04/06 18:25:18 $
*/
public abstract class Item
@@ -143,21 +143,20 @@ public abstract class Item
protected static final Effect[] _emptyEffectSet = new Effect[0];
/**
- * Constructor of the Item that fill class variables.
- *
- * Variables filled :
- *
type
- *
_itemId
- *
_name
- *
_type1 & _type2
- *
_weight
- *
_crystallizable
- *
_stackable
- *
_crystalType & _crystlaCount
- *
_duration
- *
_bodypart
- *
_referencePrice
- *
_sellable
+ * Constructor of the Item that fill class variables.
+ * Variables filled :
+ *
type
+ *
_itemId
+ *
_name
+ *
_type1 & _type2
+ *
_weight
+ *
_crystallizable
+ *
_stackable
+ *
_crystalType & _crystlaCount
+ *
_duration
+ *
_bodypart
+ *
_referencePrice
+ *
_sellable
* @param type : Enum designating the type of the item
* @param set : StatSet corresponding to a set of couples (key,value) for description of the item
*/
@@ -414,9 +413,8 @@ public abstract class Item
}
/**
- * Returns the grade of the item.
- *
- * Concept :
+ * Returns the grade of the item.
+ * Concept :
* In fact, this fucntion returns the type of crystal of the item.
* @return int
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/items/Weapon.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/items/Weapon.java
index ed86e49452..973224f70e 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/items/Weapon.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/items/Weapon.java
@@ -66,17 +66,16 @@ public class Weapon extends Item
protected Skill[] _skillsOnCrit;
/**
- * Constructor for Weapon.
- *
- * Variables filled :
- *
* @param type : ArmorType designating the type of armor
* @param set : StatSet designating the set of couples (key,value) caracterizing the armor
* @see Item constructor
@@ -199,8 +198,7 @@ public class Weapon extends Item
}
/**
- * Return the Attack Reuse Delay of the Weapon.
- *
+ * Return the Attack Reuse Delay of the Weapon.
* @return int
*/
public int getAttackReuseDelay()
@@ -281,7 +279,7 @@ public class Weapon extends Item
}
/**
- * Returns skill that player get when has equiped weapon +4 or more (for duals SA)
+ * Returns skill that player get when has equipped weapon +4 or more (for duals SA)
* @return
*/
public Skill getEnchant4Skill()
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
index 59deb09d3b..6d9fffd12f 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
@@ -195,9 +195,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the location of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the location of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param loc : ItemLocation (enumeration)
* @param locData : int designating the slot where the item is stored or the village for freights
*/
@@ -236,9 +235,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the quantity of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param process : String Identifier of process triggering this action
* @param count : int
* @param creator : PlayerInstance Player requesting the item creation
@@ -312,9 +310,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the quantity of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param count : int
*/
public void setCount(int count)
@@ -500,7 +497,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the price of the item for selling Remark : If loc and loc_data different from database, say datas not up-to-date.
+ * Sets the price of the item for selling Remark : If loc and loc_data different from database, say datas not up-to-date.
* @param price : int designating the price
*/
public void setPriceToSell(int price)
@@ -965,18 +962,17 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates database.
- *
- * Concept :
- * IF the item exists in database :
- *
- *
IF the item has no owner, or has no location, or has a null quantity : remove item from database
- *
ELSE : update item in database
- *
- * Otherwise :
- *
- *
IF the item hasn't a null quantity, and has a correct location, and has a correct owner : insert item in database
- *
+ * Updates database.
+ * Concept:
+ * IF the item exists in database :
+ *
+ *
IF the item has no owner, or has no location, or has a null quantity : remove item from database
+ *
ELSE : update item in database
+ *
+ * Otherwise :
+ *
+ *
IF the item hasn't a null quantity, and has a correct location, and has a correct owner : insert item in database
+ *
*/
public void updateDatabase()
{
@@ -1117,24 +1113,20 @@ public class ItemInstance extends WorldObject
}
/**
- * Init a dropped ItemInstance and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a dropped ItemInstance and add it in the world as a visible object.
+ *
+ * Actions:
*
Set the x,y,z position of the ItemInstance dropped and update its _worldregion
*
Add the ItemInstance dropped to _visibleObjects of its WorldRegion
- *
Add the ItemInstance dropped in the world as a visible object
- *
- * Caution : This method DOESN'T ADD the object to _allObjects of World
- *
- * Assert :
- *
- *
_worldRegion == null (WorldObject is invisible at the beginning)
- *
- * Example of use :
- *
+ *
Add the ItemInstance dropped in the world as a visible object
+ * Caution: This method DOESN'T ADD the object to _allObjects of World
+ *
+ * Assert:
+ *
_worldRegion == null (WorldObject is invisible at the beginning)
+ *
+ * Example of use:
*
Drop item
- *
Call Pet
+ *
Call Pet
* @param dropper the dropper
* @param x the x
* @param y the y
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/quest/Quest.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/quest/Quest.java
index a8f307c828..4ccc009d04 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/quest/Quest.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/quest/Quest.java
@@ -767,13 +767,12 @@ public class Quest extends ManagedScript
}
/**
- * Show a message to player.
- *
- * Concept :
- * 3 cases are managed according to the value of the parameter "res" :
- *
"res" ends with string ".html" : an HTML is opened in order to be shown in a dialog box
- *
"res" starts with "" : the message hold in "res" is shown in a dialog box
- *
otherwise : the message hold in "res" is shown in chat box
+ * Show a message to player.
+ * Concept:
+ * 3 cases are managed according to the value of the parameter "res" :
+ *
"res" ends with string ".html" : an HTML is opened in order to be shown in a dialog box
+ *
"res" starts with "" : the message hold in "res" is shown in a dialog box
+ *
otherwise : the message hold in "res" is shown in chat box
* @param object
* @param res : String pointing out the message to show at the player
* @return boolean
@@ -845,8 +844,7 @@ public class Quest extends ManagedScript
}
/**
- * Add this quest to the list of quests that the passed mob will respond to for Attack Events.
- *
+ * Add this quest to the list of quests that the passed mob will respond to for Attack Events.
* @param attackId
* @return int : attackId
*/
@@ -864,8 +862,7 @@ public class Quest extends ManagedScript
}
/**
- * Add this quest to the list of quests that the passed mob will respond to for Kill Events.
- *
+ * Add this quest to the list of quests that the passed mob will respond to for Kill Events.
* @param killId
* @return int : killId
*/
@@ -887,8 +884,7 @@ public class Quest extends ManagedScript
}
/**
- * Add this quest to the list of quests that the passed npc will respond to for Talk Events.
- *
+ * Add this quest to the list of quests that the passed npc will respond to for Talk Events.
* @param talkId : ID of the NPC
* @return int : ID of the NPC
*/
@@ -915,8 +911,7 @@ public class Quest extends ManagedScript
}
/**
- * Add this quest to the list of quests that the passed npc will respond to for Skill-Use Events.
- *
+ * Add this quest to the list of quests that the passed npc will respond to for Skill-Use Events.
* @param npcId : ID of the NPC
* @return int : ID of the NPC
*/
@@ -939,8 +934,7 @@ public class Quest extends ManagedScript
}
/**
- * Add this quest to the list of quests that the passed npc will respond to for Character See Events.
- *
+ * Add this quest to the list of quests that the passed npc will respond to for Character See Events.
* @param npcId ID of the NPC
* @return int ID of the NPC
*/
@@ -987,8 +981,7 @@ public class Quest extends ManagedScript
}
/**
- * Add this quest to the list of quests that the passed mob will respond to for the specified Event type.
- *
+ * Add this quest to the list of quests that the passed mob will respond to for the specified Event type.
* @param npcId : id of the NPC to register
* @param eventType : type of event being registered
* @return NpcTemplate : Npc Template corresponding to the npcId, or null if the id is invalid
@@ -1012,9 +1005,8 @@ public class Quest extends ManagedScript
}
/**
- * Add quests to the PlayerInstance of the player.
- *
- * Action :
+ * Add quests to the PlayerInstance of the player.
+ * Action :
* Add state of quests, drops and variables for quests in the HashMap _quest of PlayerInstance
* @param player : Player who is entering the world
*/
@@ -1136,16 +1128,14 @@ public class Quest extends ManagedScript
}
/**
- * Update the value of the variable "var" for the quest.
- *
- * Actions :
+ * Update the value of the variable "var" for the quest.
+ * Actions :
* The selection of the right record is made with :
- *
char_id = qs.getPlayer().getObjectID()
- *
name = qs.getQuest().getName()
- *
var = var
- *
+ *
char_id = qs.getPlayer().getObjectID()
+ *
name = qs.getQuest().getName()
+ *
var = var
* The modification made is :
- *
value = parameter value
+ *
value = parameter value
* @param qs : Quest State
* @param var : String designating the name of the variable for quest
* @param value : String designating the value of the variable for quest
@@ -1214,18 +1204,17 @@ public class Quest extends ManagedScript
}
/**
- * Create a record in database for quest.
- *
- * Actions :
- * Use fucntion createQuestVarInDb() with following parameters :
- *
QuestState : parameter sq that puts in fields of database :
+ * Create a record in database for quest.
+ * Actions :
+ * Use fucntion createQuestVarInDb() with following parameters :
+ *
QuestState : parameter sq that puts in fields of database :
*
- *
char_id : ID of the player
- *
name : name of the quest
- *
- *
- *
var : string "<state>" as the name of the variable for the quest
- *
val : string corresponding at the ID of the state (in fact, initial state)
+ *
char_id : ID of the player
+ *
name : name of the quest
+ *
+ *
+ *
var : string "<state>" as the name of the variable for the quest
+ *
val : string corresponding at the ID of the state (in fact, initial state)
* @param qs : QuestState
*/
public static void createQuestInDb(QuestState qs)
@@ -1234,11 +1223,11 @@ public class Quest extends ManagedScript
}
/**
- * Update informations regarding quest in database.
- * Actions :
- *
Get ID state of the quest recorded in object qs
- *
Test if quest is completed. If true, add a star (*) before the ID state
- *
Save in database the ID state (with or without the star) for the variable called "<state>" of the quest
Test if quest is completed. If true, add a star (*) before the ID state
+ *
Save in database the ID state (with or without the star) for the variable called "<state>" of the quest
* @param qs : QuestState
*/
public static void updateQuestInDb(QuestState qs)
@@ -1704,9 +1693,9 @@ public class Quest extends ManagedScript
}
/**
- * This is used to register all monsters contained in mobs for a particular script
- * Caution : This method register ID for all EventTypes
- * Do not use for group_template AIs
+ * This is used to register all monsters contained in mobs for a particular script
+ * Caution: This method register ID for all EventTypes
+ * Do not use for group_template AIs
* @param mobs
* @see #registerMobs(int[], EventType...)
*/
@@ -1885,7 +1874,7 @@ public class Quest extends ManagedScript
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param array of values.
* @return one value from array.
@@ -1901,7 +1890,7 @@ public class Quest extends ManagedScript
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param list of values.
* @return one value from list.
@@ -1916,7 +1905,7 @@ public class Quest extends ManagedScript
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param array of Integers.
* @return one Integer from array.
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/quest/QuestState.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/quest/QuestState.java
index 4451f98e95..a3b2865749 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/quest/QuestState.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/quest/QuestState.java
@@ -78,10 +78,10 @@ public class QuestState
/**
* Constructor of the QuestState : save the quest in the list of quests of the player.
*
- * Actions :
- *
Save informations in the object QuestState created (Quest, Player, Completion, State)
- *
Add the QuestState in the player's list of quests by using setQuestState()
- *
Add drops gotten by the quest
+ * Actions :
+ *
Save informations in the object QuestState created (Quest, Player, Completion, State)
+ *
Add the QuestState in the player's list of quests by using setQuestState()
+ *
Add drops gotten by the quest
* @param quest the {@link Quest} object associated with the QuestState
* @param player the owner of this {@link QuestState} object
* @param state the initial state of the quest
@@ -155,13 +155,13 @@ public class QuestState
}
/**
- * Return state of the quest after its initialization.
- * Actions :
- *
Remove drops from previous state
- *
Set new state of the quest
- *
Add drop for new state
- *
Update information in database
- *
Send packet QuestList to client
+ * Return state of the quest after its initialization.
+ * Actions :
+ *
Remove drops from previous state
+ *
Set new state of the quest
+ *
Add drop for new state
+ *
Update information in database
+ *
Send packet QuestList to client
* @param state
*/
public void setState(byte state)
@@ -242,14 +242,13 @@ public class QuestState
}
/**
- * Return value of parameter "value" after adding the couple (var,value) in class variable "vars".
- *
- * Actions :
- *
Initialize class variable "vars" if is null
- *
Initialize parameter "value" if is null
- *
Add/Update couple (var,value) in class variable Map "vars"
- *
If the key represented by "var" exists in Map "vars", the couple (var,value) is updated in the database. The key is known as existing if the preceding value of the key (given as result of function put()) is not null.
- * If the key doesn't exist, the couple is added/created in the database
+ * Return value of parameter "value" after adding the couple (var,value) in class variable "vars".
+ * Actions :
+ *
Initialize class variable "vars" if is null
+ *
Initialize parameter "value" if is null
+ *
Add/Update couple (var,value) in class variable Map "vars"
+ *
If the key represented by "var" exists in Map "vars", the couple (var,value) is updated in the database. The key is known as existing if the preceding value of the key (given as result of function put()) is not null.
+ * If the key doesn't exist, the couple is added/created in the database
* @param var : String indicating the name of the variable for quest
* @param value : String indicating the value of the variable for quest
*/
@@ -298,14 +297,13 @@ public class QuestState
}
/**
- * Internally handles the progression of the quest so that it is ready for sending appropriate packets to the client
- *
- * Actions :
- *
Check if the new progress number resets the quest to a previous (smaller) step
- *
If not, check if quest progress steps have been skipped
- *
If skipped, prepare the variable completedStateFlags appropriately to be ready for sending to clients
- *
If no steps were skipped, flags do not need to be prepared...
- *
If the passed step resets the quest to a previous step, reset such that steps after the parameter are not considered, while skipped steps before the parameter, if any, maintain their info
+ * Internally handles the progression of the quest so that it is ready for sending appropriate packets to the client
+ * Actions :
+ *
Check if the new progress number resets the quest to a previous (smaller) step
+ *
If not, check if quest progress steps have been skipped
+ *
If skipped, prepare the variable completedStateFlags appropriately to be ready for sending to clients
+ *
If no steps were skipped, flags do not need to be prepared...
+ *
If the passed step resets the quest to a previous step, reset such that steps after the parameter are not considered, while skipped steps before the parameter, if any, maintain their info
* @param cond : int indicating the step number for the current quest progress (as will be shown to the client)
* @param old : int indicating the previously noted step For more info on the variable communicating the progress steps to the client, please see
*/
@@ -606,11 +604,10 @@ public class QuestState
}
/**
- * Remove items from player's inventory when talking to NPC in order to have rewards.
- *
- * Actions :
- *
Destroy quantity of items wanted
- *
Send new inventory list to player
+ * Remove items from player's inventory when talking to NPC in order to have rewards.
+ * Actions :
+ *
Destroy quantity of items wanted
+ *
Send new inventory list to player
* @param itemId : Identifier of the item
* @param count : Quantity of items to destroy
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/skills/Calculator.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/skills/Calculator.java
index ee4df5c549..aa732e08eb 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/skills/Calculator.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/skills/Calculator.java
@@ -23,15 +23,14 @@ import java.util.List;
import org.l2jmobius.gameserver.model.skills.funcs.Func;
/**
- * A calculator is created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...). In fact, each calculator is a table of Func object in which each Func represents a mathematic function :
- *
- * FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- *
- * When the calc method of a calculator is launched, each mathematic function is called according to its priority _order. Indeed, Func with lowest priority order is executed first and Funcs with the same order are executed in unspecified order. The result of the calculation is stored in the
- * value property of an Env class instance.
- *
- * Method addFunc and removeFunc permit to add and remove a Func object from a Calculator.
- *
+ * A calculator is created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...). In fact, each calculator is a table of Func object in which each Func represents a mathematic function:
+ *
+ * FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
+ *
+ * When the calc method of a calculator is launched, each mathematic function is called according to its priority _order. Indeed, Func with lowest priority order is executed first and Funcs with the same order are executed in unspecified order. The result of the calculation is stored in the
+ * value property of an Env class instance.
+ *
+ * Method addFunc and removeFunc permit to add and remove a Func object from a Calculator.
*/
public class Calculator
{
@@ -42,8 +41,7 @@ public class Calculator
private Func[] _functions;
/**
- * Constructor of Calculator (Init value : emptyFuncs).
- *
+ * Constructor of Calculator (Init value : emptyFuncs).
*/
public Calculator()
{
@@ -51,8 +49,7 @@ public class Calculator
}
/**
- * Constructor of Calculator (Init value : Calculator c).
- *
+ * Constructor of Calculator (Init value : Calculator c).
* @param c
*/
public Calculator(Calculator c)
@@ -61,8 +58,7 @@ public class Calculator
}
/**
- * Check if 2 calculators are equals.
- *
+ * Check if 2 calculators are equals.
* @param c1
* @param c2
* @return
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/skills/Formulas.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/skills/Formulas.java
index c1f665587e..49fd0dc04f 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/skills/Formulas.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/skills/Formulas.java
@@ -138,8 +138,7 @@ public class Formulas
}
/**
- * Constructor of the FuncMultRegenResting.
- *
+ * Constructor of the FuncMultRegenResting.
* @param pStat
*/
private FuncMultRegenResting(Stat pStat)
@@ -149,8 +148,7 @@ public class Formulas
}
/**
- * Calculate the modifier of the state concerned.
- *
+ * Calculate the modifier of the state concerned.
*/
@Override
public void calc(Env env)
@@ -857,14 +855,11 @@ public class Formulas
}
/**
- * Concept :
- *
- * A calculator is created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...). In fact, each calculator is a table of Func object in which each Func represents a Mathematics function :
- *
- * FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- *
- * To reduce cache memory use, NPCInstances who don't have skills share the same Calculator set called NPC_STD_CALCULATOR.
- *
+ * Concept:
+ *
+ * A calculator is created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...). In fact, each calculator is a table of Func object in which each Func represents a Mathematics function :
+ * FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
+ * To reduce cache memory use, NPCInstances who don't have skills share the same Calculator set called NPC_STD_CALCULATOR.
* @return the standard NPC Calculator set containing ACCURACY_COMBAT and EVASION_RATE.
*/
public Calculator[] getStdNPCCalculators()
@@ -913,14 +908,12 @@ public class Formulas
}
/**
- * Add basics Func objects to PlayerInstance and Summon.
- *
- * Concept :
- *
- * A calculator is created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...). In fact, each calculator is a table of Func object in which each Func represents a mathematic function :
- *
- * FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- *
+ * Add basics Func objects to PlayerInstance and Summon.
+ *
+ * Concept:
+ *
+ * A calculator is created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...). In fact, each calculator is a table of Func object in which each Func represents a mathematic function :
+ * FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
* @param creature PlayerInstance or Summon that must obtain basic Func objects
*/
public void addFuncsToNewCharacter(Creature creature)
@@ -986,8 +979,7 @@ public class Formulas
}
/**
- * Calculate the HP regen rate (base + modifiers).
- *
+ * Calculate the HP regen rate (base + modifiers).
* @param creature
* @return
*/
@@ -1068,8 +1060,7 @@ public class Formulas
}
/**
- * Calculate the MP regen rate (base + modifiers).
- *
+ * Calculate the MP regen rate (base + modifiers).
* @param creature
* @return
*/
@@ -1137,8 +1128,7 @@ public class Formulas
}
/**
- * Calculate the CP regen rate (base + modifiers).
- *
+ * Calculate the CP regen rate (base + modifiers).
* @param creature
* @return
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/skills/funcs/Func.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/skills/funcs/Func.java
index c2e5d102fc..d5a62e3f9a 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/skills/funcs/Func.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/skills/funcs/Func.java
@@ -21,13 +21,12 @@ import org.l2jmobius.gameserver.model.skills.Stat;
import org.l2jmobius.gameserver.model.skills.conditions.Condition;
/**
- * A Func object is a component of a Calculator created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...). In fact, each calculator is a table of Func object in which each Func represents a mathematics function :
- *
- * FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- *
- * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order. Indeed, Func with lowest priority order is executed first and Funcs with the same order are executed in unspecified order. The result of the calculation is stored in the
- * value property of an Env class instance.
- *
+ * A Func object is a component of a Calculator created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...). In fact, each calculator is a table of Func object in which each Func represents a mathematics function:
+ *
+ * FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
+ *
+ * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order. Indeed, Func with lowest priority order is executed first and Funcs with the same order are executed in unspecified order. The result of the calculation is stored in the
+ * value property of an Env class instance.
*/
public abstract class Func
{
@@ -49,8 +48,7 @@ public abstract class Func
public Condition cond;
/**
- * Constructor of Func.
- *
+ * Constructor of Func.
* @param pStat
* @param pOrder
* @param owner
@@ -63,8 +61,7 @@ public abstract class Func
}
/**
- * Add a condition to the Func.
- *
+ * Add a condition to the Func.
* @param pCond
*/
public void setCondition(Condition pCond)
@@ -73,8 +70,7 @@ public abstract class Func
}
/**
- * Run the mathematics function of the Func.
- *
+ * Run the mathematics function of the Func.
* @param env
*/
public abstract void calc(Env env);
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/skills/holders/PlayerSkillHolder.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/skills/holders/PlayerSkillHolder.java
index 8a6c40cd51..24cdeb4d08 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/skills/holders/PlayerSkillHolder.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/skills/holders/PlayerSkillHolder.java
@@ -43,7 +43,7 @@ public class PlayerSkillHolder implements ISkillsHolder
}
/**
- * Add a skill to the skills map.
+ * Add a skill to the skills map.
* @param skill
*/
@Override
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/spawn/AutoSpawn.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/spawn/AutoSpawn.java
index dc1611b7e7..6e22cfdf60 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/spawn/AutoSpawn.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/spawn/AutoSpawn.java
@@ -168,8 +168,8 @@ public class AutoSpawn
}
/**
- * Registers a spawn with the given parameters with the spawner, and marks it as active. Returns a AutoSpawnInstance containing info about the spawn.
- * Warning: Spawn locations must be specified separately using addSpawnLocation().
+ * Registers a spawn with the given parameters with the spawner, and marks it as active. Returns a AutoSpawnInstance containing info about the spawn.
+ * Warning: Spawn locations must be specified separately using addSpawnLocation().
* @param npcId
* @param initialDelay (If < 0 = default value)
* @param respawnDelay (If < 0 = default value)
@@ -337,7 +337,7 @@ public class AutoSpawn
}
/**
- * Attempts to return the AutoSpawnInstance associated with the given NPC or Object ID type.
+ * Attempts to return the AutoSpawnInstance associated with the given NPC or Object ID type.
* Note: If isObjectId == false, returns first instance for the specified NPC ID.
* @param id
* @param isObjectId
@@ -413,8 +413,7 @@ public class AutoSpawn
}
/**
- * AutoSpawner Class
- *
+ * AutoSpawner Class
* This handles the main spawn task for an auto spawn instance, and initializes a despawner if required.
* @author Tempy
*/
@@ -549,8 +548,7 @@ public class AutoSpawn
}
/**
- * AutoDespawner Class
- *
+ * AutoDespawner Class
* Simply used as a secondary class for despawning an auto spawn instance.
* @author Tempy
*/
@@ -606,8 +604,7 @@ public class AutoSpawn
}
/**
- * AutoSpawnInstance Class
- *
+ * AutoSpawnInstance Class
* Stores information about a registered auto spawn.
* @author Tempy
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/spawn/Spawn.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/spawn/Spawn.java
index d3621fb507..1d81374706 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/spawn/Spawn.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/spawn/Spawn.java
@@ -34,10 +34,10 @@ import org.l2jmobius.gameserver.taskmanager.RespawnTaskManager;
import org.l2jmobius.gameserver.util.Util;
/**
- * This class manages the spawn and respawn of a group of NpcInstance that are in the same are and have the same type. Concept :
- *
- * NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position. The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
- *
+ * This class manages the spawn and respawn of a group of NpcInstance that are in the same are and have the same type. Concept:
+ *
+ * NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position. The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
+ *
* @author Nightmare
* @version $Revision: 1.9.2.3.2.8 $ $Date: 2005/03/27 15:29:32 $
*/
@@ -65,21 +65,18 @@ public class Spawn
private static List _spawnListeners = new ArrayList<>();
/**
- * Constructor of Spawn.
- *
- * Concept :
- *
+ * Constructor of Spawn.
+ *
+ * Concept:
+ *
* Each Spawn owns generic and static properties (ex : RewardExp, RewardSP, AggroRange...). All of those properties are stored in a different NpcTemplate for each type of Spawn. Each template is loaded once in the server cache memory (reduce memory use). When a new instance of Spawn is created,
- * server just create a link between the instance and the template. This link is stored in _template
- *
- * Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...). This link is stored in _spawn of the NpcInstance
- *
- * Actions :
- *
+ * server just create a link between the instance and the template. This link is stored in _template
+ * Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...). This link is stored in _spawn of the NpcInstance
+ *
+ * Actions:
*
Set the _template of the Spawn
*
Calculate the implementationName used to generate the generic constructor of NpcInstance managed by this Spawn
- *
Create the generic constructor of NpcInstance managed by this Spawn
- *
+ *
Create the generic constructor of NpcInstance managed by this Spawn
* @param mobTemplate The NpcTemplate to link to this Spawn
* @throws ClassNotFoundException
* @throws NoSuchMethodException
@@ -296,16 +293,14 @@ public class Spawn
}
/**
- * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay.
- *
- * Actions :
- *
+ * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay.
+ *
+ * Actions:
*
Decrease the current number of NpcInstance of this Spawn
*
Check if respawn is possible to prevent multiple respawning caused by lag
*
Update the current number of SpawnTask in progress or stand by of this Spawn
- *
Create a new SpawnTask to launch after the respawn Delay
- *
- * Caution : A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
+ *
Create a new SpawnTask to launch after the respawn Delay
+ * Caution: A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
* @param oldNpc
*/
public void decreaseCount(NpcInstance oldNpc)
@@ -325,8 +320,7 @@ public class Spawn
}
/**
- * Create the initial spawning and set _doRespawn to True.
- *
+ * Create the initial spawning and set _doRespawn to True.
* @return The number of NpcInstance that were spawned
*/
public int init()
@@ -356,14 +350,13 @@ public class Spawn
}
/**
- * Create the NpcInstance, add it to the world and launch its OnSpawn action.
- *
- * Concept :
- *
- * NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position. The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
- *
- * Actions for an random spawn into location area : (if Locx=0 and Locy=0)
- *
+ * Create the NpcInstance, add it to the world and launch its OnSpawn action.
+ *
+ * Concept:
+ *
+ * NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position. The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
+ *
+ * Actions for an random spawn into location area : (if Locx=0 and Locy=0)
*
Get NpcInstance Init parameters and its generate an Identifier
*
Call the constructor of the NpcInstance
*
Calculate the random position in the location area (if Locx=0 and Locy=0) or get its exact position from the Spawn
@@ -372,10 +365,8 @@ public class Spawn
*
Set the heading of the NpcInstance (random heading if not defined : value=-1)
*
Link the NpcInstance to this Spawn
*
Init other values of the NpcInstance (ex : from its CreatureTemplate for INT, STR, DEX...) and add it in the world
- *
Lauch the action OnSpawn fo the NpcInstance
- *
- *
Increase the current number of NpcInstance managed by this Spawn
- *
+ *
Lauch the action OnSpawn fo the NpcInstance
+ *
Increase the current number of NpcInstance managed by this Spawn
* @return
*/
public NpcInstance doSpawn()
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
index 870497465c..e56aa3d661 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
@@ -55,8 +55,8 @@ public class BlowFishKeygen
}
/**
- * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
- * Thus when getting a key with interests other then read-only a copy must be performed.
+ * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
+ * Thus when getting a key with interests other then read-only a copy must be performed.
* @return A key from this keygen pool.
*/
public static byte[] getRandomKey()
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/GamePacketHandler.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/GamePacketHandler.java
index 5a890a8333..3e853a5034 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/GamePacketHandler.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/GamePacketHandler.java
@@ -31,11 +31,11 @@ import org.l2jmobius.gameserver.network.clientpackets.*;
import org.l2jmobius.gameserver.network.serverpackets.ActionFailed;
/**
- * Stateful Packet Handler
- * The Stateful approach prevents the server from handling inconsistent packets, examples:
+ * Stateful Packet Handler
+ * The Stateful approach prevents the server from handling inconsistent packets, examples:
*
Clients sends a MoveToLocation packet without having a character attached. (Potential errors handling the packet).
- *
Clients sends a RequestAuthLogin being already authed. (Potential exploit).
- *
+ *
Clients sends a RequestAuthLogin being already authed. (Potential exploit).
+ *
* Note: If for a given exception a packet needs to be handled on more then one state, then it should be added to all these states.
*/
public class GamePacketHandler implements IPacketHandler, IClientFactory, IMMOExecutor
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestDropItem.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestDropItem.java
index ae3334412e..2890fedf55 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestDropItem.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestDropItem.java
@@ -64,7 +64,7 @@ public class RequestDropItem extends GameClientPacket
}
if (player.isGM() && (player.getAccessLevel().getLevel() < 80))
- { // just head gm and admin can drop items on the ground
+ { // just head GM and admin can drop items on the ground
sendPacket(SystemMessage.sendString("You have not right to discard anything from inventory."));
return;
}
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
index e36eaca171..9bd053cc02 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
@@ -48,7 +48,7 @@ public class RequestGMCommand extends GameClientPacket
{
final PlayerInstance player = World.getInstance().getPlayer(_targetName);
- // prevent non gm or low level GMs from vieweing player stuff
+ // prevent non GM or low level GMs from vieweing player stuff
if ((player == null) || !getClient().getPlayer().getAccessLevel().allowAltG())
{
return;
@@ -88,7 +88,7 @@ public class RequestGMCommand extends GameClientPacket
}
case 6: // player warehouse
{
- // gm warehouse view to be implemented
+ // GM warehouse view to be implemented
sendPacket(new GMViewWarehouseWithdrawList(player));
break;
}
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestPetUseItem.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestPetUseItem.java
index 7783e67970..185d1b32af 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestPetUseItem.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestPetUseItem.java
@@ -193,10 +193,8 @@ public class RequestPetUseItem extends GameClientPacket
}
/**
- * When fed by owner double click on food from pet inventory.
- *
- * Caution : 1 food = 100 points of currentFed
- *
+ * When fed by owner double click on food from pet inventory.
+ * Caution: 1 food = 100 points of currentFed
* @param pet
* @param item
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestWearItem.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestWearItem.java
index 71703053f8..5b26fd95ff 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestWearItem.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestWearItem.java
@@ -76,8 +76,7 @@ public class RequestWearItem extends GameClientPacket
}
/**
- * Decrypt the RequestWearItem Client->Server Packet and Create _items table containing all ItemID to Wear.
- *
+ * Decrypt the RequestWearItem Client->Server Packet and Create _items table containing all ItemID to Wear.
*/
@Override
protected void readImpl()
@@ -109,8 +108,7 @@ public class RequestWearItem extends GameClientPacket
}
/**
- * Launch Wear action.
- *
+ * Launch Wear action.
*/
@Override
protected void runImpl()
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/FortSiegeAttackerList.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/FortSiegeAttackerList.java
index 8628e61ee5..4d807bc182 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/FortSiegeAttackerList.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/FortSiegeAttackerList.java
@@ -25,28 +25,28 @@ import org.l2jmobius.gameserver.model.clan.Clan;
import org.l2jmobius.gameserver.model.entity.siege.Fort;
/**
- * Populates the Siege Attacker List in the SiegeInfo Window
- *
- * packet type id 0xca
- * format: cddddddd + dSSdddSSd
- *
- * c = ca
- * d = FortID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Attackers Clans?
- * d = Number of Attackers Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Attacker List in the SiegeInfo Window
+ *
+ * packet type id 0xca
+ * format: cddddddd + dSSdddSSd
+ *
+ * c = ca
+ * d = FortID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Attackers Clans?
+ * d = Number of Attackers Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author programmos, scoria dev
*/
public class FortSiegeAttackerList extends GameServerPacket
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/FortSiegeDefenderList.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/FortSiegeDefenderList.java
index dc38885e80..f6a7302501 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/FortSiegeDefenderList.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/FortSiegeDefenderList.java
@@ -25,29 +25,29 @@ import org.l2jmobius.gameserver.model.clan.Clan;
import org.l2jmobius.gameserver.model.entity.siege.Fort;
/**
- * Populates the Siege Defender List in the SiegeInfo Window
- *
- * packet type id 0xcb
- * format: cddddddd + dSSdddSSd
- *
- * c = 0xcb
- * d = FortID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Defending Clans?
- * d = Number of Defending Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Defender List in the SiegeInfo Window
+ *
+ * packet type id 0xcb
+ * format: cddddddd + dSSdddSSd
+ *
+ * c = 0xcb
+ * d = FortID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Defending Clans?
+ * d = Number of Defending Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author programmos
*/
public class FortSiegeDefenderList extends GameServerPacket
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/FortressSiegeInfo.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/FortressSiegeInfo.java
index 9ff7002928..f704d10852 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/FortressSiegeInfo.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/FortressSiegeInfo.java
@@ -25,21 +25,21 @@ import org.l2jmobius.gameserver.model.clan.Clan;
import org.l2jmobius.gameserver.model.entity.siege.Fort;
/**
- * Shows the Siege Info
- *
- * packet type id 0xc9
- * format: cdddSSdSdd
- *
- * c = c9
- * d = FortID
- * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
- * d = Owner ClanID
- * S = Owner ClanName
- * S = Owner Clan LeaderName
- * d = Owner AllyID
- * S = Owner AllyName
- * d = current time (seconds)
- * d = Siege time (seconds) (0 for selectable)
+ * Shows the Siege Info
+ *
+ * packet type id 0xc9
+ * format: cdddSSdSdd
+ *
+ * c = c9
+ * d = FortID
+ * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
+ * d = Owner ClanID
+ * S = Owner ClanName
+ * S = Owner Clan LeaderName
+ * d = Owner AllyID
+ * S = Owner AllyName
+ * d = current time (seconds)
+ * d = Siege time (seconds) (0 for selectable)
* d = (UNKNOW) Siege Time Select Related?
* @author programmos
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/GMViewCharacterInfo.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/GMViewCharacterInfo.java
index b543563182..44ddfd1942 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/GMViewCharacterInfo.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/GMViewCharacterInfo.java
@@ -30,7 +30,7 @@ public class GMViewCharacterInfo extends GameServerPacket
private final PlayerInstance _player;
/**
- * Instantiates a new gM view character info.
+ * Instantiates a new GM view character info.
* @param player the player
*/
public GMViewCharacterInfo(PlayerInstance player)
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/InventoryUpdate.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/InventoryUpdate.java
index 57cda50dc0..dee6f94803 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/InventoryUpdate.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/InventoryUpdate.java
@@ -23,25 +23,25 @@ import org.l2jmobius.gameserver.model.ItemInfo;
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
/**
- * 37 // Packet Identifier
- * 01 00 // Number of ItemInfo Trame of the Packet
- *
- * 03 00 // Update type : 01-add, 02-modify, 03-remove
- * 04 00 // Item Type 1 : 00-weapon/ring/earring/necklace, 01-armor/shield, 04-item/questitem/adena
- * c6 37 50 40 // ObjectId
- * cd 09 00 00 // ItemId
- * 05 00 00 00 // Quantity
- * 05 00 // Item Type 2 : 00-weapon, 01-shield/armor, 02-ring/earring/necklace, 03-questitem, 04-adena, 05-item
- * 00 00 // Filler (always 0)
- * 00 00 // Equipped : 00-No, 01-yes
- * 00 00 // Slot : 0006-lr.ear, 0008-neck, 0030-lr.finger, 0040-head, 0100-l.hand, 0200-gloves, 0400-chest, 0800-pants, 1000-feet, 4000-r.hand, 8000-r.hand
- * 00 00 // Enchant level (pet level shown in control item)
- * 00 00 // Pet name exists or not shown in control item
- *
- *
- * format h (hh dddhhhh hh) revision 377
- * format h (hh dddhhhd hh) revision 415
- *
+ * 37 // Packet Identifier
+ * 01 00 // Number of ItemInfo Trame of the Packet
+ *
+ * 03 00 // Update type : 01-add, 02-modify, 03-remove
+ * 04 00 // Item Type 1 : 00-weapon/ring/earring/necklace, 01-armor/shield, 04-item/questitem/adena
+ * c6 37 50 40 // ObjectId
+ * cd 09 00 00 // ItemId
+ * 05 00 00 00 // Quantity
+ * 05 00 // Item Type 2 : 00-weapon, 01-shield/armor, 02-ring/earring/necklace, 03-questitem, 04-adena, 05-item
+ * 00 00 // Filler (always 0)
+ * 00 00 // Equipped : 00-No, 01-yes
+ * 00 00 // Slot : 0006-lr.ear, 0008-neck, 0030-lr.finger, 0040-head, 0100-l.hand, 0200-gloves, 0400-chest, 0800-pants, 1000-feet, 4000-r.hand, 8000-r.hand
+ * 00 00 // Enchant level (pet level shown in control item)
+ * 00 00 // Pet name exists or not shown in control item
+ *
+ *
+ * format h (hh dddhhhh hh) revision 377
+ * format h (hh dddhhhd hh) revision 415
+ *
* @version $Revision: 1.3.2.2.2.4 $ $Date: 2005/03/27 15:29:39 $ Rebuild 23.2.2006 by Advi
*/
public class InventoryUpdate extends GameServerPacket
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/NpcHtmlMessage.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/NpcHtmlMessage.java
index a02e5a2e58..ee936db5ca 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/NpcHtmlMessage.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/NpcHtmlMessage.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.util.BuilderUtil;
*
MIN
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
index df9fb21559..65dade86e7 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
@@ -22,28 +22,28 @@ import org.l2jmobius.gameserver.model.clan.Clan;
import org.l2jmobius.gameserver.model.entity.siege.Castle;
/**
- * Populates the Siege Attacker List in the SiegeInfo Window
- *
- * packet type id 0xca
- * format: cddddddd + dSSdddSSd
- *
- * c = ca
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Attackers Clans?
- * d = Number of Attackers Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Attacker List in the SiegeInfo Window
+ *
+ * packet type id 0xca
+ * format: cddddddd + dSSdddSSd
+ *
+ * c = ca
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Attackers Clans?
+ * d = Number of Attackers Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeAttackerList extends GameServerPacket
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
index 0345f0c7b1..da07750cb9 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
@@ -22,29 +22,29 @@ import org.l2jmobius.gameserver.model.clan.Clan;
import org.l2jmobius.gameserver.model.entity.siege.Castle;
/**
- * Populates the Siege Defender List in the SiegeInfo Window
- *
- * packet type id 0xcb
- * format: cddddddd + dSSdddSSd
- *
- * c = 0xcb
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Defending Clans?
- * d = Number of Defending Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Defender List in the SiegeInfo Window
+ *
+ * packet type id 0xcb
+ * format: cddddddd + dSSdddSSd
+ *
+ * c = 0xcb
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Defending Clans?
+ * d = Number of Defending Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeDefenderList extends GameServerPacket
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
index f212e073f7..e2db08ec2e 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
@@ -25,21 +25,21 @@ import org.l2jmobius.gameserver.model.clan.Clan;
import org.l2jmobius.gameserver.model.entity.siege.Castle;
/**
- * Shows the Siege Info
- *
- * packet type id 0xc9
- * format: cdddSSdSdd
- *
- * c = c9
- * d = CastleID
- * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
- * d = Owner ClanID
- * S = Owner ClanName
- * S = Owner Clan LeaderName
- * d = Owner AllyID
- * S = Owner AllyName
- * d = current time (seconds)
- * d = Siege time (seconds) (0 for selectable)
+ * Shows the Siege Info
+ *
+ * packet type id 0xc9
+ * format: cdddSSdSdd
+ *
+ * c = c9
+ * d = CastleID
+ * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
+ * d = Owner ClanID
+ * S = Owner ClanName
+ * S = Owner Clan LeaderName
+ * d = Owner AllyID
+ * S = Owner AllyName
+ * d = current time (seconds)
+ * d = Siege time (seconds) (0 for selectable)
* d = (UNKNOW) Siege Time Select Related?
* @author KenM
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/StatusUpdate.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/StatusUpdate.java
index 320f4d3fcd..f45a6a2019 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/StatusUpdate.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/StatusUpdate.java
@@ -22,13 +22,13 @@ import java.util.List;
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
/**
- * 01 // Packet Identifier
- * c6 37 50 40 // ObjectId
- *
- * 01 00 // Number of Attribute Trame of the Packet
- *
- * c6 37 50 40 // Attribute Identifier : 01-Level, 02-Experience, 03-STR, 04-DEX, 05-CON, 06-INT, 07-WIT, 08-MEN, 09-Current HP, 0a, Max HP...
- * cd 09 00 00 // Attribute Value
+ * 01 // Packet Identifier
+ * c6 37 50 40 // ObjectId
+ *
+ * 01 00 // Number of Attribute Trame of the Packet
+ *
+ * c6 37 50 40 // Attribute Identifier : 01-Level, 02-Experience, 03-STR, 04-DEX, 05-CON, 06-INT, 07-WIT, 08-MEN, 09-Current HP, 0a, Max HP...
+ * cd 09 00 00 // Attribute Value
* format d d(dd)
* @version $Revision: 1.3.2.1.2.5 $ $Date: 2005/03/27 15:29:39 $
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/script/EventDroplist.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/script/EventDroplist.java
index e262d4e704..5aeb746e95 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/script/EventDroplist.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/script/EventDroplist.java
@@ -21,8 +21,7 @@ import java.util.Date;
import java.util.List;
/**
- * This class manage drop of Special Events created by GM for a defined period. During a Special Event all Attackable can drop extra Items. Those extra Items are defined in the table allNpcDateDrops. Each Special Event has a start and end date to stop to drop extra Items automaticaly.
- *
+ * This class manage drop of Special Events created by GM for a defined period. During a Special Event all Attackable can drop extra Items. Those extra Items are defined in the table allNpcDateDrops. Each Special Event has a start and end date to stop to drop extra Items automaticaly.
*/
public class EventDroplist
{
@@ -48,8 +47,7 @@ public class EventDroplist
}
/**
- * Constructor of EventDroplist.
- *
+ * Constructor of EventDroplist.
*/
private EventDroplist()
{
@@ -57,8 +55,7 @@ public class EventDroplist
}
/**
- * Create and Init a new DateDrop then add it to the allNpcDateDrops of EventDroplist .
- *
+ * Create and Init a new DateDrop then add it to the allNpcDateDrops of EventDroplist .
* @param items The table containing all item identifier of this DateDrop
* @param count The table containing min and max value of this DateDrop
* @param chance The chance to obtain this drop
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/scripting/ManagedScript.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
index 2f969750bf..eb835c98b2 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
@@ -21,7 +21,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
/**
- * Abstract class for classes that are meant to be implemented by scripts.
+ * Abstract class for classes that are meant to be implemented by scripts.
* @author KenM
*/
public abstract class ManagedScript
@@ -41,7 +41,7 @@ public abstract class ManagedScript
public abstract Path getScriptPath();
/**
- * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
+ * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
* Subclasses of this class should override this method to properly refresh their bindings when necessary.
* @return true if and only if the script was reloaded, false otherwise.
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ui/frmAbout.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ui/frmAbout.java
index 51b3baf93d..649603c6af 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ui/frmAbout.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/ui/frmAbout.java
@@ -83,7 +83,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblProtocols);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 128, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/util/Broadcast.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/util/Broadcast.java
index 97af4ea24c..40c71bd9f8 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/util/Broadcast.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/util/Broadcast.java
@@ -28,11 +28,13 @@ import org.l2jmobius.gameserver.network.serverpackets.RelationChanged;
public class Broadcast
{
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -50,11 +52,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -92,11 +96,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
* @param radius
@@ -123,10 +129,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param creature
* @param mov
*/
@@ -163,10 +171,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance present in the world.
- * Concept :
- * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance present in the world.
+ *
+ * Concept:
+ *
+ * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param packet
*/
public static void toAllOnlinePlayers(GameServerPacket packet)
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/util/MinionList.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/util/MinionList.java
index cf2f26f013..5c5e2bb319 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/util/MinionList.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/util/MinionList.java
@@ -141,8 +141,7 @@ public class MinionList
}
/**
- * Manage respawning of minions for this RaidBoss.
- *
+ * Manage respawning of minions for this RaidBoss.
*/
public void maintainMinions()
{
@@ -168,12 +167,11 @@ public class MinionList
}
/**
- * Manage the spawn of all Minions of this RaidBoss.
- *
- * Actions :
- *
+ * Manage the spawn of all Minions of this RaidBoss.
+ *
+ * Actions:
*
Get the Minion data of all Minions that must be spawn
- *
For each Minion type, spawn the amount of Minion needed
+ *
For each Minion type, spawn the amount of Minion needed
*/
public void spawnMinions()
{
@@ -203,16 +201,14 @@ public class MinionList
}
/**
- * Init a Minion and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a Minion and add it in the world as a visible object.
+ *
+ * Actions:
*
Get the template of the Minion to spawn
*
Create and Init the Minion and generate its Identifier
*
Set the Minion HP, MP and Heading
*
Set the Minion leader to this RaidBoss
- *
Init the position of the Minion and add it in the world as a visible object
- *
+ *
Init the position of the Minion and add it in the world as a visible object
* @param minionid The I2NpcTemplate Identifier of the Minion to spawn
*/
public void spawnSingleMinion(int minionid)
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/util/PrimeFinder.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/util/PrimeFinder.java
index c9532000c8..20016811a1 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/util/PrimeFinder.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/util/PrimeFinder.java
@@ -33,7 +33,7 @@ import java.util.Arrays;
public class PrimeFinder
{
/**
- * The largest prime this class can generate; currently equal to Integer.MAX_VALUE.
+ * The largest prime this class can generate; currently equal to Integer.MAX_VALUE
*/
public static final int LARGEST_PRIME = Integer.MAX_VALUE; // yes, it is prime.
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
index 2e46e0a048..0a81e323a3 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
@@ -67,8 +67,7 @@ public class TimeAmountInterpreter
}
/**
- * Appends an user-friendly description of the given amount of time to the specified text builder.
- *
+ * Appends an user-friendly description of the given amount of time to the specified text builder.
* Please keep in mind, that this method is primarily designed to be used with heap text builders. Therefore, if the given text builder throws an {@link IOException}, this exception will be wrapped in a {@link RuntimeException} and returned to the caller as an unchecked exception.
* @param
* @param textBuilder a character sequence builder
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/util/Util.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/util/Util.java
index 920d35bf9f..c4dcd15e72 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/util/Util.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/util/Util.java
@@ -118,7 +118,7 @@ public class Util
}
/**
- * Capitalizes the first letter of a string, and returns the result.
+ * Capitalizes the first letter of a string, and returns the result.
* (Based on ucfirst() function of PHP)
* @param str
* @return String containing the modified string.
@@ -134,7 +134,7 @@ public class Util
}
/**
- * Capitalizes the first letter of every "word" in a string.
+ * Capitalizes the first letter of every "word" in a string.
* (Based on ucwords() function of PHP)
* @param str
* @return String containing the modified string.
@@ -210,7 +210,7 @@ public class Util
}
/**
- * Returns a delimited string for an given array of string elements.
+ * Returns a delimited string for an given array of string elements.
* (Based on implode() in PHP)
* @param strArray
* @param strDelim
@@ -227,7 +227,7 @@ public class Util
}
/**
- * Returns a delimited string for an given collection of string elements.
+ * Returns a delimited string for an given collection of string elements.
* (Based on implode() in PHP)
* @param strCollection
* @param strDelim
@@ -239,7 +239,7 @@ public class Util
}
/**
- * Returns the rounded value of val to specified number of digits after the decimal point.
+ * Returns the rounded value of val to specified number of digits after the decimal point.
* (Based on round() in PHP)
* @param value
* @param numPlaces
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/loginserver/GameServerThread.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/loginserver/GameServerThread.java
index acd58aada5..4ef8370011 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/loginserver/GameServerThread.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/loginserver/GameServerThread.java
@@ -393,7 +393,7 @@ public class GameServerThread extends Thread
/**
* Attachs a GameServerInfo to this Thread
*
Updates the GameServerInfo values based on GameServerAuth packet
- *
Sets the GameServerInfo as Authed
+ *
Sets the GameServerInfo as Authed
* @param gsi The GameServerInfo to be attached.
* @param gameServerAuth The server info.
*/
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/loginserver/LoginController.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/loginserver/LoginController.java
index 1a96dea1d5..55232a2055 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/loginserver/LoginController.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/loginserver/LoginController.java
@@ -153,7 +153,7 @@ public class LoginController
}
/**
- * This is mostly to force the initialization of the Crypto Implementation, avoiding it being done on runtime when its first needed.
+ * This is mostly to force the initialization of the Crypto Implementation, avoiding it being done on runtime when its first needed.
* In short it avoids the worst-case execution time on runtime by doing it on loading.
* @param key Any private RSA Key just for testing purposes.
* @throws GeneralSecurityException if a underlying exception was thrown by the Cipher
@@ -516,7 +516,7 @@ public class LoginController
}
catch (Exception e)
{
- LOGGER.warning("could not check gm state:" + e);
+ LOGGER.warning("could not check GM state:" + e);
ok = false;
}
return ok;
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/loginserver/ui/frmAbout.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/loginserver/ui/frmAbout.java
index 8488868090..06a5d95539 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/loginserver/ui/frmAbout.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/loginserver/ui/frmAbout.java
@@ -75,7 +75,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblLoginServer);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 148, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/NpcBuffers/impl/CabaleBuffer.java b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/NpcBuffers/impl/CabaleBuffer.java
index 7438010058..e2733b5bc4 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/NpcBuffers/impl/CabaleBuffer.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/ai/others/NpcBuffers/impl/CabaleBuffer.java
@@ -223,17 +223,17 @@ public class CabaleBuffer extends AbstractNpcAI
}
/**
- * For each known player in range, cast either the positive or negative buff.
- * The stats affected depend on the player type, either a fighter or a mystic.
- *
- * Curse of Destruction (Loser)
- * - Fighters: -25% Accuracy, -25% Effect Resistance
- * - Mystics: -25% Casting Speed, -25% Effect Resistance
- *
- *
+ * For each known player in range, cast either the positive or negative buff.
+ * The stats affected depend on the player type, either a fighter or a mystic.
+ *
+ * Curse of Destruction (Loser)
+ * - Fighters: -25% Accuracy, -25% Effect Resistance
+ * - Mystics: -25% Casting Speed, -25% Effect Resistance
+ *
+ *
* Blessing of Prophecy (Winner)
- * - Fighters: +25% Max Load, +25% Effect Resistance
- * - Mystics: +25% Magic Cancel Resist, +25% Effect Resistance
+ * - Fighters: +25% Max Load, +25% Effect Resistance
+ * - Mystics: +25% Magic Cancel Resist, +25% Effect Resistance
* @param player
* @param skillId
* @return
diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
index 1541ea5821..a002271c2d 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
@@ -26,18 +26,15 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
public class ArtefactInstanceAction implements IActionHandler
{
/**
- * Manage actions when a player click on the ArtefactInstance.
- *
- * Actions :
- *
+ * Manage actions when a player click on the ArtefactInstance.
+ *
+ * Actions:
*
Set the NpcInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
- *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
*/
@Override
public boolean action(PlayerInstance player, WorldObject target, boolean interact)
diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
index 05ec2e82c8..ff6c71df8d 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
@@ -36,27 +36,22 @@ import org.l2jmobius.gameserver.network.serverpackets.MoveToPawn;
public class NpcAction implements IActionHandler
{
/**
- * Manage actions when a player click on the Npc.
- *
- * Actions on first click on the Npc (Select it) :
- *
+ * Manage actions when a player click on the Npc.
+ *
+ * Actions on first click on the Npc (Select it):
*
Set the Npc as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, send a Server->Client packet StatusUpdate to the PlayerInstance in order to update Npc HP bar
- *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
- *
- * Actions on second click on the Npc (Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
+ *
+ * Actions on second click on the Npc (Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, notify the PlayerInstance AI with AI_INTENTION_ATTACK (after a height verification)
- *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
- *
- * Caution : Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
+ * Caution: Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The PlayerInstance that start an action on the Npc
*/
@Override
diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
index f4741cd352..e0c0d3c47d 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
@@ -32,25 +32,20 @@ public class PlayerInstanceAction implements IActionHandler
private static final int CURSED_WEAPON_VICTIM_MIN_LEVEL = 21;
/**
- * Manage actions when a player click on this PlayerInstance.
- *
- * Actions on first click on the PlayerInstance (Select it) :
- *
+ * Manage actions when a player click on this PlayerInstance.
+ *
+ * Actions on first click on the PlayerInstance (Select it):
*
Set the target of the player
- *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
- *
- * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
+ *
+ * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the player (display the select window)
*
If target PlayerInstance has a Private Store, notify the player AI with AI_INTENTION_INTERACT
- *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
- *
- *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
+ *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The player that start an action on target PlayerInstance
*/
@Override
diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java
index d5ad70b65d..0898eb9b36 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java
@@ -38,21 +38,17 @@ import handlers.bypasshandlers.NpcViewMod;
public class NpcActionShift implements IActionShiftHandler
{
/**
- * Manage and Display the GM console to modify the NpcInstance (GM only).
- *
- * Actions (If the PlayerInstance is a GM only) :
- *
+ * Manage and Display the GM console to modify the NpcInstance (GM only).
+ *
+ * Actions (If the PlayerInstance is a GM only):
*
Set the NpcInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If NpcInstance is autoAttackable, send a Server->Client packet StatusUpdate to the PlayerInstance in order to update NpcInstance HP bar
- *
Send a Server->Client NpcHtmlMessage() containing the GM console about this NpcInstance
- *
- * Caution : Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
- *
- * Example of use :
- *
- *
Client packet : Action
- *
+ *
Send a Server->Client NpcHtmlMessage() containing the GM console about this NpcInstance
+ * Caution: Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
+ *
+ * Example of use:
+ *
Client packet : Action
*/
@Override
public boolean action(PlayerInstance player, WorldObject target, boolean interact)
diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
index 20a4e8f57c..6da5c01385 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
@@ -29,7 +29,7 @@ public class PlayerInstanceActionShift implements IActionShiftHandler
{
if (player.isGM())
{
- // Check if the gm already target this l2pcinstance
+ // Check if the GM already target this l2pcinstance
if (player.getTarget() != target)
{
// Set the target of the PlayerInstance player
diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
index dc7b4fe9a5..4cf8d0d42f 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
@@ -78,13 +78,13 @@ public class AdminAdmin implements IAdminCommandHandler
else if (command.startsWith("admin_gmliston"))
{
AdminData.getInstance().showGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Registered into gm list");
+ BuilderUtil.sendSysMessage(activeChar, "Registered into GM list");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_gmlistoff"))
{
AdminData.getInstance().hideGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Removed from gm list");
+ BuilderUtil.sendSysMessage(activeChar, "Removed from GM list");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_silence"))
diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
index d4c4889883..c0e7a17440 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
@@ -494,7 +494,7 @@ public class AdminEventEngine implements IAdminCommandHandler
sb.append("
");
sb.append("
");
sb.append("
");
- sb.append("
");
+ sb.append("
");
sb.append("Teams' names:
");
for (int i = 1; (i - 1) < teamnumbers; i++) // Team names params
{
diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
index 01d9f7fe58..bd1d70c6e0 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
@@ -30,7 +30,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
/**
- * This class handles following admin commands: - gm = turns gm mode on/off
+ * This class handles following admin commands: - GM = turns GM mode on/off
* @version $Revision: 1.1.2.1 $ $Date: 2005/03/15 21:32:48 $
*/
public class AdminFightCalculator implements IAdminCommandHandler
diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
index 0efe2036ad..472d025a4e 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
@@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles following admin commands: - gm = turns gm mode off
+ * This class handles following admin commands: - GM = turns GM mode off
* @version $Revision: 1.2.4.4 $ $Date: 2005/04/11 10:06:06 $
*/
public class AdminGm implements IAdminCommandHandler
diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
index 9fcd884019..2c2ae086cf 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
@@ -34,7 +34,7 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles commands for gm to forge packets
+ * This class handles commands for GM to forge packets
* @author Maktakien, HorridoJoho
*/
public class AdminPForge implements IAdminCommandHandler
diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
index 85b06b3195..b04c49a735 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
@@ -30,14 +30,14 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * Pledge Manipulation:
- *
With target in a character without clan:
+ * Pledge Manipulation:
+ *
With target in a character without clan:
* //pledge create clanname
- *
With target in a clan leader:
- * //pledge info
- * //pledge dismiss
- * //pledge setlevel level
- * //pledge rep reputation_points
+ *
With target in a clan leader:
+ * //pledge info
+ * //pledge dismiss
+ * //pledge setlevel level
+ * //pledge rep reputation_points
*/
public class AdminPledge implements IAdminCommandHandler
{
diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/bypasshandlers/Loto.java b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/bypasshandlers/Loto.java
index f154550d23..b18cb6e400 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/bypasshandlers/Loto.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/bypasshandlers/Loto.java
@@ -71,13 +71,12 @@ public class Loto implements IBypassHandler
}
/**
- * Open a Loto window on client with the text of the NpcInstance.
- *
- * Actions :
- *
+ * Open a Loto window on client with the text of the NpcInstance.
+ *
+ * Actions:
*
Get the text of the selected HTML file in function of the npcId and of the page number
*
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
- *
Send a Server->Client ActionFailed to the PlayerInstance in order to avoid that the client wait another packet
+ *
Send a Server->Client ActionFailed to the PlayerInstance in order to avoid that the client wait another packet
* @param player The PlayerInstance that talk with the NpcInstance
* @param npc Npc loto instance
* @param value The number of the page of the NpcInstance to display
diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
index 3f31426a3c..1a586a5a39 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
@@ -84,8 +84,9 @@ public class QuestLink implements IBypassHandler
/**
* Open a choose quest window on client with all quests available of the NpcInstance.
+ *
* Actions:
- *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
+ *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
* @param player The PlayerInstance that talk with the NpcInstance
* @param npc The table containing quests of the NpcInstance
* @param quests
@@ -202,6 +203,7 @@ public class QuestLink implements IBypassHandler
/**
* Open a quest window on client with the text of the NpcInstance.
+ *
* Actions:
*
*
Get the text of the quest state in the folder data/scripts/quests/questId/stateId.htm
Fly Radius means the distance between starting point and final point, it must be an integer.
*
Fly Course means the movement direction: imagine a compass above player's head, making north player's heading. So if fly course is 180, player will go backwards (good for blink, e.g.).
*
- * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
+ * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
* If target is effector, put in XML self="1", this will make _actor = getEffector(). This, combined with target type, allows more complex actions like flying target's backwards or player's backwards.
* @author DrHouse
*/
diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/effecthandlers/Fishing.java b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/effecthandlers/Fishing.java
index ae316bb36e..3b9a284fbd 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/effecthandlers/Fishing.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/handlers/effecthandlers/Fishing.java
@@ -98,7 +98,7 @@ public class Fishing extends AbstractEffect
return;
}
- // check for equiped fishing rod
+ // check for equipped fishing rod
final Weapon equipedWeapon = player.getActiveWeaponItem();
if (((equipedWeapon == null) || (equipedWeapon.getItemType() != WeaponType.FISHINGROD)))
{
@@ -106,7 +106,7 @@ public class Fishing extends AbstractEffect
return;
}
- // check for equiped lure
+ // check for equipped lure
final ItemInstance equipedLeftHand = player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_LHAND);
if ((equipedLeftHand == null) || (equipedLeftHand.getItemType() != EtcItemType.LURE))
{
diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/instances/CrystalCaverns/CrystalCaverns.java b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/instances/CrystalCaverns/CrystalCaverns.java
index e333f52d20..bfdac7c0b7 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/instances/CrystalCaverns/CrystalCaverns.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/instances/CrystalCaverns/CrystalCaverns.java
@@ -691,7 +691,7 @@ public class CrystalCaverns extends AbstractInstance
{
if (player.getParty() == null)
{
- // This can happen only if gm enters solo.
+ // This can happen only if GM enters solo.
player.sendMessage("Welcome to Crystal Caverns.");
teleportPlayer(player, START_LOC, world.getInstanceId());
world.addAllowed(player);
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
index 93028744ee..aa8ac8f064 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
@@ -1232,8 +1232,7 @@ public class BlowfishEngine
/**
* Method to encrypt the block at the given index.
- * The encrypted block goes to the destination array at the given index.
- *
+ * The encrypted block goes to the destination array at the given index.
* @param src source array with the plain data
* @param srcIndex index where the block to encrypt is located
* @param dst destination array the encryption will go to
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/GameTimeController.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/GameTimeController.java
index 1a9571ab27..156c71f789 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/GameTimeController.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/GameTimeController.java
@@ -114,10 +114,13 @@ public class GameTimeController extends Thread
}
/**
- * Move all Creatures contained in movingObjects of GameTimeController.
- * Concept :
- * All Creature in movement are identified in movingObjects of GameTimeController.
- * Actions :
+ * Move all Creatures contained in movingObjects of GameTimeController.
+ *
+ * Concept:
+ *
+ * All Creature in movement are identified in movingObjects of GameTimeController.
+ *
+ * Actions:
*
*
Update the position of each Creature
*
If movement is finished, the Creature is removed from movingObjects
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/LoginServerThread.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/LoginServerThread.java
index 64c5be7e76..20758d4eb2 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/LoginServerThread.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/LoginServerThread.java
@@ -95,7 +95,6 @@ public class LoginServerThread extends Thread
* The BlowFish engine used to encrypt packets
* It is first initialized with a unified key:
* "_;v.]05-31!|+-%xT!^[$\00"
- *
* and then after handshake, with a new key sent by
* login server during the handshake. This new key is stored
* in blowfishKey
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/SevenSigns.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/SevenSigns.java
index 3d79dfe606..29349fe23c 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/SevenSigns.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/SevenSigns.java
@@ -979,7 +979,7 @@ public class SevenSigns
}
/**
- * Used to reset the cabal details of all players, and update the database.
+ * Used to reset the cabal details of all players, and update the database.
* Primarily used when beginning a new cycle, and should otherwise never be called.
*/
protected void resetPlayerData()
@@ -1060,7 +1060,7 @@ public class SevenSigns
}
/**
- * Returns the amount of ancient adena the specified player can claim, if any.
+ * Returns the amount of ancient adena the specified player can claim, if any.
* If removeReward = True, all the ancient adena owed to them is removed, then DB is updated.
* @param objectId
* @param removeReward
@@ -1089,7 +1089,7 @@ public class SevenSigns
/**
* Used to add the specified player's seal stone contribution points to the current total for their cabal.
* Returns the point score the contribution was worth.
- * Each stone count must be broken down and specified by the stone's color.
+ * Each stone count must be broken down and specified by the stone's color.
* @param objectId
* @param blueCount
* @param greenCount
@@ -1210,7 +1210,7 @@ public class SevenSigns
}
/**
- * Used to initialize the seals for each cabal.
+ * Used to initialize the seals for each cabal.
* (Used at startup or at beginning of a new cycle).
* This method should be called after resetSeals() and calcNewSealOwners() on a new cycle.
*/
@@ -1250,8 +1250,7 @@ public class SevenSigns
}
/**
- * Calculates the ownership of the three Seals of the Seven Signs, based on various criterion.
- *
+ * Calculates the ownership of the three Seals of the Seven Signs, based on various criterion.
* Should only ever called at the beginning of a new cycle.
*/
protected void calcNewSealOwners()
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/SevenSignsFestival.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/SevenSignsFestival.java
index 4e5f5561d7..1a67dc0bf9 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/SevenSignsFestival.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/SevenSignsFestival.java
@@ -122,7 +122,7 @@ public class SevenSignsFestival implements SpawnListener
*
Chests
*
* All data is given by: X, Y, Z (coords), Heading, NPC ID (if necessary).
- * This may be moved externally in time, but the data should not change.
+ * This may be moved externally in time, but the data should not change.
*/
// @formatter:off
public static final int[][] FESTIVAL_DAWN_PLAYER_SPAWNS =
@@ -1977,8 +1977,8 @@ public class SevenSignsFestival implements SpawnListener
}
/**
- * Returns the running instance of a festival for the given Oracle and festivalID.
- * A null value is returned if there are no participants in that festival.
+ * Returns the running instance of a festival for the given Oracle and festivalID.
+ * A null value is returned if there are no participants in that festival.
* @param oracle
* @param festivalId
* @return DarknessFestival festivalInst
@@ -2171,11 +2171,11 @@ public class SevenSignsFestival implements SpawnListener
}
/**
- * Used to spawn monsters unique to the festival.
- * Valid SpawnTypes:
- * 0 - All Primary Monsters (starting monsters)
- * 1 - Same as 0, but without archers/marksmen. (used for challenge increase)
- * 2 - Secondary Monsters (archers)
+ * Used to spawn monsters unique to the festival.
+ * Valid SpawnTypes:
+ * 0 - All Primary Monsters (starting monsters)
+ * 1 - Same as 0, but without archers/marksmen. (used for challenge increase)
+ * 2 - Secondary Monsters (archers)
* 3 - Festival Chests
* @param respawnDelay
* @param spawnType
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/Shutdown.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/Shutdown.java
index db5355cfd6..79aa571e91 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/Shutdown.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/Shutdown.java
@@ -234,7 +234,7 @@ public class Shutdown extends Thread
}
else
{
- // gm shutdown: send warnings and then call exit to start shutdown sequence
+ // GM shutdown: send warnings and then call exit to start shutdown sequence
countdown();
// last point where logging is operational :(
LOGGER.warning("GM shutdown countdown is over. " + MODE_TEXT[_shutdownMode] + " NOW!");
@@ -563,7 +563,7 @@ public class Shutdown extends Thread
}
/**
- * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
+ * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
* @return instance of Shutdown, to be used as shutdown hook
*/
public static Shutdown getInstance()
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ai/AbstractAI.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ai/AbstractAI.java
index eda63b08ad..c4f8bdd8e7 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ai/AbstractAI.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ai/AbstractAI.java
@@ -44,7 +44,7 @@ import org.l2jmobius.gameserver.taskmanager.AttackStanceTaskManager;
/**
* Mother class of all objects AI in the world.
- * AbastractAI :
+ * AbastractAI:
*
CreatureAI
*/
public abstract class AbstractAI implements Ctrl
@@ -212,10 +212,10 @@ public abstract class AbstractAI implements Ctrl
/**
* Set the Intention of this AbstractAI.
- * Caution : This method is USED by AI classes
- * Overridden in :
- * AttackableAI : Create an AI Task executed every 1s (if necessary)
- * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
+ * Caution: This method is USED by AI classes
+ * Overridden in:
+ * AttackableAI : Create an AI Task executed every 1s (if necessary)
+ * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
* @param intention The new Intention to set to the AI
* @param arg0 The first parameter of the Intention
* @param arg1 The second parameter of the Intention
@@ -229,7 +229,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
*/
@Override
@@ -240,7 +240,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
* @param arg0 The first parameter of the Intention (optional target)
*/
@@ -318,7 +318,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onEvt method corresponding to the Event.
- * Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
*/
@Override
@@ -328,7 +328,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
*/
@@ -339,7 +339,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
*/
@Override
@@ -538,7 +538,7 @@ public abstract class AbstractAI implements Ctrl
protected abstract void onEvtAfraid(Creature effector, boolean start);
/**
- * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution : Low level function, used by AI subclasses
+ * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution: Low level function, used by AI subclasses
*/
protected void clientActionFailed()
{
@@ -549,8 +549,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param pawn
* @param offset
*/
@@ -634,8 +634,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param x
* @param y
* @param z
@@ -662,8 +662,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param loc
*/
protected void clientStopMoving(Location loc)
@@ -726,8 +726,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
public void clientStartAutoAttack()
{
@@ -754,8 +754,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
public void clientStopAutoAttack()
{
@@ -783,8 +783,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
protected void clientNotifyDead()
{
@@ -803,7 +803,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Update the state of this actor client side by sending Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance player.
- * Caution : Low level function, used by AI subclasses
+ * Caution: Low level function, used by AI subclasses
* @param player The PlayerIstance to notify with state of this Creature
*/
public void describeStateToPlayer(PlayerInstance player)
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ai/AttackableAI.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ai/AttackableAI.java
index 19b65ab510..92374af181 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ai/AttackableAI.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ai/AttackableAI.java
@@ -133,7 +133,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Actor is a GuardInstance :
+ * Actor is a GuardInstance:
*
*
The target isn't a Folk or a Door
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
@@ -141,7 +141,8 @@ public class AttackableAI extends CreatureAI
*
The PlayerInstance target has karma (=PK)
*
The MonsterInstance target is aggressive
*
- * Actor is a SiegeGuardInstance :
+ *
+ * Actor is a SiegeGuardInstance:
*
*
The target isn't a Folk or a Door
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
@@ -149,14 +150,16 @@ public class AttackableAI extends CreatureAI
*
A siege is in progress
*
The PlayerInstance target isn't a Defender
*
- * Actor is a FriendlyMobInstance :
+ *
+ * Actor is a FriendlyMobInstance:
*
*
The target isn't a Folk, a Door or another Npc
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
*
The target is in the actor Aggro range and is at the same height
*
The PlayerInstance target has karma (=PK)
*
- * Actor is a MonsterInstance :
+ *
+ * Actor is a MonsterInstance:
*
*
The target isn't a Folk, a Door or another Npc
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
@@ -333,7 +336,7 @@ public class AttackableAI extends CreatureAI
/**
* Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
- * Caution : If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
+ * Caution: If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
* @param intention The new Intention to set to the AI
* @param arg0 The first parameter of the Intention
* @param arg1 The second parameter of the Intention
@@ -449,7 +452,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update every 1s the _globalAggro counter to come close to 0
*
If the actor is Aggressive and can attack, add all autoAttackable Creature in its Aggro Range to its _aggroList, chose a target and order to attack it
@@ -743,6 +746,7 @@ public class AttackableAI extends CreatureAI
/**
* Manage AI attack thinks of a Attackable (called by onEvtThink).
+ *
* Actions:
*
*
Update the attack timeout if actor is running
@@ -2277,7 +2281,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Attacked.
- * Actions :
+ *
+ * Actions:
*
*
Init the attack : Calculate the attack timeout, Set the _globalAggro to 0, Add the attacker to the actor _aggroList
*
Set the Creature movement type to run and send Server->Client packet ChangeMoveType to all others PlayerInstance
@@ -2338,7 +2343,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Aggression.
- * Actions :
+ *
+ * Actions:
*
*
Add the target to the actor _aggroList or update hate if already present
*
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ai/CreatureAI.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ai/CreatureAI.java
index a6df8d7c5e..23a8475bdd 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ai/CreatureAI.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ai/CreatureAI.java
@@ -145,7 +145,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Idle Intention : Stop Attack, Movement and Stand Up the actor.
- * Actions :
+ *
+ * Actions:
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
Init cast and attack target
@@ -173,7 +174,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Active Intention : Stop Attack, Movement and Launch Think Event.
- * Actions : if the Intention is not already Active
+ *
+ * Actions : if the Intention is not already Active
*
*
Set the AI Intention to AI_INTENTION_ACTIVE
*
Init cast and attack target
@@ -209,7 +211,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Rest Intention.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
@@ -223,7 +226,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Attack Intention : Stop current Attack (if necessary), Start a new Attack and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_ATTACK
@@ -231,7 +235,8 @@ public class CreatureAI extends AbstractAI
*
Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast)
*
Launch the Think Event
*
- * Overridden in :
+ *
+ * Overridden in:
*
*
AttackableAI : Calculate attack timeout
*
@@ -282,7 +287,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Cast Intention : Stop current Attack, Init the AI in order to cast and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI cast target
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
@@ -327,7 +333,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
@@ -359,7 +366,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Follow Intention : Stop current Attack and Launch a Follow Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_FOLLOW
@@ -387,7 +395,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the PickUp Intention : Set the pick up target and Launch a Move To Pawn Task (offset=20).
- * Actions :
+ *
+ * Actions :
*
*
Set the AI pick up target
*
Set the Intention of this AI to AI_INTENTION_PICK_UP
@@ -429,7 +438,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Interact Intention : Set the interact target and Launch a Move To Pawn Task (offset=60).
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the AI interact target
@@ -485,7 +495,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Stunned then onAttacked Event.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
@@ -536,7 +547,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Sleeping.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
@@ -563,7 +575,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Rooted.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -586,7 +599,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Confused.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -604,7 +618,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Muted.
- * Actions :
+ *
+ * Actions:
*
*
Break a cast and send Server->Client ActionFailed packet and a System Message to the Creature
*
@@ -627,7 +642,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -650,7 +666,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Arrived.
- * Actions :
+ *
+ * Actions:
*
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
*
Launch actions corresponding to the Event Think
@@ -693,7 +710,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedRevalidate.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -707,7 +725,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedBlocked.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
@@ -732,7 +751,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ForgetObject.
- * Actions :
+ *
+ * Actions:
*
*
If the object was targeted and the Intention was AI_INTENTION_INTERACT or AI_INTENTION_PICK_UP, set the Intention to AI_INTENTION_ACTIVE
*
If the object was targeted to attack, stop the auto-attack, cancel target and set the Intention to AI_INTENTION_ACTIVE
@@ -811,7 +831,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -836,7 +857,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Dead.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast)
@@ -859,7 +881,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Fake Death.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
@@ -958,13 +981,15 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move to Pawn action in function of the distance and of the Interact area.
- * Actions :
+ *
+ * Actions:
*
*
Get the distance between the current position of the Creature and the target (x,y)
*
If the distance > offset+20, move the actor (by running) to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast)
*
If the distance <= offset+20, Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1065,13 +1090,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost or dead.
- * Actions : If the target is lost or dead
+ *
+ * Actions : If the target is lost or dead
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1098,13 +1125,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost.
- * Actions : If the target is lost
+ *
+ * Actions : If the target is lost
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ai/FortSiegeGuardAI.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ai/FortSiegeGuardAI.java
index 757ab046f2..e0a2a2ca40 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ai/FortSiegeGuardAI.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ai/FortSiegeGuardAI.java
@@ -86,7 +86,7 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
}
/**
- * Actor is a GuardInstance :
+ * Actor is a GuardInstance:
*
*
The target isn't a Folk or a Door
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
@@ -94,7 +94,8 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
*
The PlayerInstance target has karma (=PK)
*
The MonsterInstance target is aggressive
*
- * Actor is a SiegeGuardInstance :
+ *
+ * Actor is a SiegeGuardInstance:
*
*
The target isn't a Folk or a Door
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
@@ -102,14 +103,16 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
*
A siege is in progress
*
The PlayerInstance target isn't a Defender
*
- * Actor is a FriendlyMobInstance :
+ *
+ * Actor is a FriendlyMobInstance:
*
*
The target isn't a Folk, a Door or another NpcInstance
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
*
The target is in the actor Aggro range and is at the same height
*
The PlayerInstance target has karma (=PK)
*
- * Actor is a MonsterInstance :
+ *
+ * Actor is a MonsterInstance:
*
*
The target isn't a Folk, a Door or another NpcInstance
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
@@ -162,7 +165,7 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
/**
* Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
- * Caution : If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
+ * Caution: If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
* @param intention The new Intention to set to the AI
* @param arg0 The first parameter of the Intention
* @param arg1 The second parameter of the Intention
@@ -234,7 +237,8 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
/**
* Manage AI standard thinks of a Attackable (called by onEvtThink).
- * Actions :
+ *
+ * Actions:
*
*
Update every 1s the _globalAggro counter to come close to 0
*
If the actor is Aggressive and can attack, add all autoAttackable Creature in its Aggro Range to its _aggroList, chose a target and order to attack it
@@ -302,7 +306,8 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
/**
* Manage AI attack thinks of a Attackable (called by onEvtThink).
- * Actions :
+ *
+ * Actions:
*
*
Update the attack timeout if actor is running
*
If target is dead or timeout is expired, stop this attack and set the Intention to AI_INTENTION_ACTIVE
@@ -660,7 +665,8 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
/**
* Launch actions corresponding to the Event Attacked.
- * Actions :
+ *
+ * Actions:
*
*
Init the attack : Calculate the attack timeout, Set the _globalAggro to 0, Add the attacker to the actor _aggroList
*
Set the Creature movement type to run and send Server->Client packet ChangeMoveType to all others PlayerInstance
@@ -700,7 +706,8 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
/**
* Launch actions corresponding to the Event Aggression.
- * Actions :
+ *
+ * Actions:
*
*
Add the target to the actor _aggroList or update hate if already present
*
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ai/PlayerAI.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ai/PlayerAI.java
index a6151b8cf2..9c04c1a935 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ai/PlayerAI.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ai/PlayerAI.java
@@ -88,7 +88,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -118,7 +119,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -133,7 +135,7 @@ public class PlayerAI extends PlayableAI
/**
* Finalize the casting of a skill. This method overrides CreatureAI method.
- * What it does:
+ * What it does:
* Check if actual intention is set to CAST and, if so, retrieves latest intention before the actual CAST and set it as the current intention for the player.
*/
@Override
@@ -185,7 +187,8 @@ public class PlayerAI extends PlayableAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ai/SiegeGuardAI.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ai/SiegeGuardAI.java
index 3e6f0a4964..6ccc374eb9 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ai/SiegeGuardAI.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ai/SiegeGuardAI.java
@@ -86,7 +86,7 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
}
/**
- * Actor is a GuardInstance :
+ * Actor is a GuardInstance:
*
*
The target isn't a Folk or a Door
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
@@ -94,7 +94,8 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
*
The PlayerInstance target has karma (=PK)
*
The MonsterInstance target is aggressive
*
- * Actor is a SiegeGuardInstance :
+ *
+ * Actor is a SiegeGuardInstance:
*
*
The target isn't a Folk or a Door
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
@@ -102,14 +103,16 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
*
A siege is in progress
*
The PlayerInstance target isn't a Defender
*
- * Actor is a FriendlyMobInstance :
+ *
+ * Actor is a FriendlyMobInstance:
*
*
The target isn't a Folk, a Door or another NpcInstance
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
*
The target is in the actor Aggro range and is at the same height
*
The PlayerInstance target has karma (=PK)
*
- * Actor is a MonsterInstance :
+ *
+ * Actor is a MonsterInstance:
*
*
The target isn't a Folk, a Door or another NpcInstance
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
@@ -155,7 +158,7 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
/**
* Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
- * Caution : If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
+ * Caution: If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
* @param intention The new Intention to set to the AI
* @param arg0 The first parameter of the Intention
* @param arg1 The second parameter of the Intention
@@ -227,7 +230,8 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
/**
* Manage AI standard thinks of a Attackable (called by onEvtThink).
- * Actions :
+ *
+ * Actions:
*
*
Update every 1s the _globalAggro counter to come close to 0
*
If the actor is Aggressive and can attack, add all autoAttackable Creature in its Aggro Range to its _aggroList, chose a target and order to attack it
@@ -292,7 +296,8 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
/**
* Manage AI attack thinks of a Attackable (called by onEvtThink).
- * Actions :
+ *
+ * Actions:
*
*
Update the attack timeout if actor is running
*
If target is dead or timeout is expired, stop this attack and set the Intention to AI_INTENTION_ACTIVE
@@ -663,7 +668,8 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
/**
* Launch actions corresponding to the Event Attacked.
- * Actions :
+ *
+ * Actions:
*
*
Init the attack : Calculate the attack timeout, Set the _globalAggro to 0, Add the attacker to the actor _aggroList
*
Set the Creature movement type to run and send Server->Client packet ChangeMoveType to all others PlayerInstance
@@ -703,7 +709,8 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
/**
* Launch actions corresponding to the Event Aggression.
- * Actions :
+ *
+ * Actions:
*
*
Add the target to the actor _aggroList or update hate if already present
*
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
index b933332550..5dd34b01ca 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
@@ -158,7 +158,7 @@ public class AdminData implements IXmlReader
AdminCommandAccessRight acar = _adminCommandAccessRights.get(adminCommand);
if (acar == null)
{
- // Trying to avoid the spam for next time when the gm would try to use the same command
+ // Trying to avoid the spam for next time when the GM would try to use the same command
if ((accessLevel.getLevel() > 0) && (accessLevel.getLevel() == _highestLevel))
{
acar = new AdminCommandAccessRight(adminCommand, true, accessLevel.getLevel());
@@ -339,7 +339,7 @@ public class AdminData implements IXmlReader
/**
* Gets the single instance of AdminTable.
- * @return AccessLevels: the one and only instance of this class
+ * @return AccessLevels: the one and only instance of this class
*/
public static AdminData getInstance()
{
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
index e0c1385ac4..e86ae2263b 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
@@ -57,7 +57,7 @@ import org.l2jmobius.gameserver.model.skills.Skill;
* Here can be found the following skill trees:
*
*
Class skill trees: player skill trees for each class.
- *
Transfer skill trees: player skill trees for each healer class.
+ *
Transfer skill trees: player skill trees for each healer class.
*
Collect skill tree: player skill tree for Gracia related skills.
*
Fishing skill tree: player skill tree for fishing related skills.
*
Transform skill tree: player skill tree for transformation related skills.
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/datatables/BotReportTable.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
index eda76d4918..8ae1fc2350 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
@@ -207,7 +207,7 @@ public class BotReportTable
}
/**
- * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
+ * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
* @param reporter (PlayerInstance who issued the report)
* @return True, if the report was registered, False otherwise
*/
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/datatables/ItemTable.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/datatables/ItemTable.java
index af5585d8e6..833c82a740 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/datatables/ItemTable.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/datatables/ItemTable.java
@@ -190,10 +190,10 @@ public class ItemTable
}
/**
- * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions :
+ * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions:
*
Create and Init the ItemInstance corresponding to the Item Identifier and quantity
*
Add the ItemInstance object to _allObjects of L2world
- *
Logs Item creation according to log settings
+ *
Logs Item creation according to log settings
* @param process : String Identifier of process triggering this action
* @param itemId : int Item Identifier of the item to be created
* @param count : int Quantity of items to be created for stackable items
@@ -296,7 +296,8 @@ public class ItemTable
/**
* Destroys the ItemInstance.
- * Actions :
+ *
+ * Actions:
*
*
Sets ItemInstance parameters to be unusable
*
Removes the ItemInstance object to _allObjects of L2world
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/handler/ItemHandler.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/handler/ItemHandler.java
index 939d8263da..a815f2646e 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/handler/ItemHandler.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/handler/ItemHandler.java
@@ -38,10 +38,9 @@ public class ItemHandler implements IHandler
}
/**
- * Adds handler of item type in datatable.
- *
- * Concept :
- * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
+ * Adds handler of item type in datatable.
+ * Concept :
+ * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
* @param handler (IItemHandler)
*/
@Override
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/AccessLevel.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/AccessLevel.java
index ced434ddda..2dac00e406 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/AccessLevel.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/AccessLevel.java
@@ -87,9 +87,8 @@ public class AccessLevel
}
/**
- * Returns the access level
- *
- * @return int: access level
+ * Returns the access level
+ * @return int: access level
*/
public int getLevel()
{
@@ -97,9 +96,8 @@ public class AccessLevel
}
/**
- * Returns the access level name
- *
- * @return String: access level name
+ * Returns the access level name
+ * @return String: access level name
*/
public String getName()
{
@@ -107,9 +105,8 @@ public class AccessLevel
}
/**
- * Returns the name color of the access level
- *
- * @return int: the name color for the access level
+ * Returns the name color of the access level
+ * @return int: the name color for the access level
*/
public int getNameColor()
{
@@ -117,9 +114,8 @@ public class AccessLevel
}
/**
- * Returns the title color color of the access level
- *
- * @return int: the title color for the access level
+ * Returns the title color color of the access level
+ * @return int: the title color for the access level
*/
public int getTitleColor()
{
@@ -127,9 +123,8 @@ public class AccessLevel
}
/**
- * Retuns if the access level has gm access or not
- *
- * @return boolean: true if access level have gm access, otherwise false
+ * Retuns if the access level has GM access or not
+ * @return boolean: true if access level have GM access, otherwise false
*/
public boolean isGm()
{
@@ -137,9 +132,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to attack in peace zone or not
- *
- * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
+ * Returns if the access level is allowed to attack in peace zone or not
+ * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
*/
public boolean allowPeaceAttack()
{
@@ -147,9 +141,8 @@ public class AccessLevel
}
/**
- * Retruns if the access level is allowed to use fixed res or not
- *
- * @return true if the access level is allowed to use fixed res, otherwise false
+ * Retruns if the access level is allowed to use fixed res or not
+ * @return true if the access level is allowed to use fixed res, otherwise false
*/
public boolean allowFixedRes()
{
@@ -157,9 +150,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to perform transactions or not
- *
- * @return boolean: true if access level is allowed to perform transactions, otherwise false
+ * Returns if the access level is allowed to perform transactions or not
+ * @return boolean: true if access level is allowed to perform transactions, otherwise false
*/
public boolean allowTransaction()
{
@@ -167,9 +159,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to use AltG commands or not
- *
- * @return boolean: true if access level is allowed to use AltG commands, otherwise false
+ * Returns if the access level is allowed to use AltG commands or not
+ * @return boolean: true if access level is allowed to use AltG commands, otherwise false
*/
public boolean allowAltG()
{
@@ -177,9 +168,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can give damage or not
- *
- * @return boolean: true if the access level can give damage, otherwise false
+ * Returns if the access level can give damage or not
+ * @return boolean: true if the access level can give damage, otherwise false
*/
public boolean canGiveDamage()
{
@@ -187,9 +177,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can take aggro or not
- *
- * @return boolean: true if the access level can take aggro, otherwise false
+ * Returns if the access level can take aggro or not
+ * @return boolean: true if the access level can take aggro, otherwise false
*/
public boolean canTakeAggro()
{
@@ -197,9 +186,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can gain exp or not
- *
- * @return boolean: true if the access level can gain exp, otherwise false
+ * Returns if the access level can gain exp or not
+ * @return boolean: true if the access level can gain exp, otherwise false
*/
public boolean canGainExp()
{
@@ -207,9 +195,9 @@ public class AccessLevel
}
/**
- * Returns if the access level contains allowedAccess as child
- * @param accessLevel as AccessLevel
- * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
+ * Returns if the access level contains allowedAccess as child
+ * @param accessLevel as AccessLevel
+ * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
*/
public boolean hasChildAccess(AccessLevel accessLevel)
{
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/AutoSpawnHandler.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/AutoSpawnHandler.java
index 0201721338..f9d9eb88e0 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/AutoSpawnHandler.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/AutoSpawnHandler.java
@@ -203,7 +203,7 @@ public class AutoSpawnHandler
/**
* Registers a spawn with the given parameters with the spawner, and marks it as active.
* Returns a AutoSpawnInstance containing info about the spawn.
- * Warning: Spawn locations must be specified separately using addSpawnLocation().
+ * Warning: Spawn locations must be specified separately using addSpawnLocation().
* @param npcId
* @param initialDelay (If < 0 = default value)
* @param respawnDelay (If < 0 = default value)
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/Party.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/Party.java
index 5290f626d2..1e7fc19517 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/Party.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/Party.java
@@ -120,7 +120,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Set invitation process flag and store time for expiration.
+ * Set invitation process flag and store time for expiration.
* Happens when a player joins party or declines to join.
* @param value the pending invitation state to set
*/
@@ -251,8 +251,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Send a Server->Client packet to all other PlayerInstance of the Party.
- *
+ * Send a Server->Client packet to all other PlayerInstance of the Party.
* @param player
* @param msg
*/
@@ -702,12 +701,12 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
- *
- * Actions :
+ * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
+ *
+ * Actions:
*
Get the PlayerInstance owner of the ServitorInstance (if necessary)
*
Calculate the Experience and SP reward distribution rate
- *
Add Experience and SP to the PlayerInstance
+ *
Add Experience and SP to the PlayerInstance
* @param xpReward The Experience reward to distribute
* @param spReward The SP reward to distribute
* @param rewardedMembers The list of PlayerInstance to reward
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/Spawn.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/Spawn.java
index 1ee7fb4294..3c13ccf7bf 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/Spawn.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/Spawn.java
@@ -43,7 +43,7 @@ import org.l2jmobius.gameserver.util.Util;
/**
* This class manages the spawn and respawn of a group of NpcInstance that are in the same are and have the same type.
- * Concept:
+ * Concept:
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
* @author Nightmare
@@ -81,13 +81,16 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Constructor of Spawn.
- * Concept:
+ *
+ * Concept:
+ *
* Each Spawn owns generic and static properties (ex : RewardExp, RewardSP, AggroRange...).
* All of those properties are stored in a different NpcTemplate for each type of Spawn. Each template is loaded once in the server cache memory (reduce memory use).
* When a new instance of Spawn is created, server just create a link between the instance and the template.
- * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
- * This link is stored in _spawn of the NpcInstance.
- * Actions:
+ * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
+ * This link is stored in _spawn of the NpcInstance.
+ *
+ * Actions:
*
*
Set the _template of the Spawn
*
Calculate the implementationName used to generate the generic constructor of NpcInstance managed by this Spawn
@@ -221,11 +224,11 @@ public class Spawn extends Location implements IIdentifiable, INamable
}
/**
- * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions :
+ * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions:
*
Decrease the current number of NpcInstance of this Spawn
*
Check if respawn is possible to prevent multiple respawning caused by lag
*
Update the current number of SpawnTask in progress or stand by of this Spawn
- *
Create a new SpawnTask to launch after the respawn Delay
Caution : A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
+ *
Create a new SpawnTask to launch after the respawn Delay
Caution: A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
* @param oldNpc
*/
public void decreaseCount(Npc oldNpc)
@@ -299,10 +302,13 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Create the NpcInstance, add it to the world and lauch its OnSpawn action.
- * Concept:
+ *
+ * Concept:
+ *
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
- * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
+ *
+ * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
*
*
Get NpcInstance Init parameters and its generate an Identifier
*
Call the constructor of the NpcInstance
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/World.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/World.java
index c500ebdfb2..9c7460d3ba 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/World.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/World.java
@@ -128,7 +128,8 @@ public class World
/**
* Adds an object to the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Withdraw an item from the warehouse, create an item
*
Spawn a Creature (PC, NPC, Pet)
@@ -168,7 +169,8 @@ public class World
/**
* Removes an object from the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Delete item from inventory, transfer Item from inventory to warehouse
*
Crystallize item
@@ -205,7 +207,7 @@ public class World
}
/**
- * Example of use:
+ * Example of use:
*
@@ -247,7 +249,7 @@ public class World
}
/**
- * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
+ * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
* @param name Name of the player to get Instance
* @return the player instance corresponding to the given name.
*/
@@ -295,18 +297,18 @@ public class World
}
/**
- * Add a WorldObject in the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Add a WorldObject in the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Add the WorldObject object in _allPlayers* of World
*
Add the WorldObject object in _gmList** of GmListTable
- *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
- * * only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstanceCaution : This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
- * Caution : This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use :
+ *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
+ * * only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstanceCaution: This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
+ * Caution: This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use:
*
Drop an Item
*
Spawn a Creature
- *
Apply Death Penalty of a PlayerInstance
+ *
Apply Death Penalty of a PlayerInstance
* @param object L2object to add in the world
* @param newRegion WorldRegion in wich the object will be add (not used)
*/
@@ -378,16 +380,16 @@ public class World
}
/**
- * Remove a WorldObject from the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Remove a WorldObject from the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Remove the WorldObject object from _allPlayers* of World
*
Remove the WorldObject object from _visibleObjects and _allPlayers* of WorldRegion
*
Remove the WorldObject object from _gmList** of GmListTable
- *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution : This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstance Example of use :
+ *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution: This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstance Example of use:
*
Pickup an Item
- *
Decay a Creature
+ *
Decay a Creature
* @param object L2object to remove from the world
* @param oldRegion WorldRegion in which the object was before removing
*/
@@ -686,9 +688,9 @@ public class World
}
/**
- * Calculate the current WorldRegions of the object according to its position (x,y). Example of use :
+ * Calculate the current WorldRegions of the object according to its position (x,y). Example of use:
*
Set position of a new WorldObject (drop, spawn...)
- *
Update position of a WorldObject after a movement
+ *
Update position of a WorldObject after a movement
* @param object the object
* @return
*/
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/WorldObject.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/WorldObject.java
index b5466887a0..45fea8fce1 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/WorldObject.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/WorldObject.java
@@ -666,7 +666,7 @@ public abstract class WorldObject extends ListenersContainer implements IIdentif
/**
* Sets the instance ID of object.
- * 0 - Global
+ * 0 - Global
* @param instanceId the ID of the instance
*/
@Override
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/WorldRegion.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/WorldRegion.java
index 4a166d2b8a..25ada44e59 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/WorldRegion.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/WorldRegion.java
@@ -195,8 +195,8 @@ public class WorldRegion
}
/**
- * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
- * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
+ * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
+ * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
* @param object
*/
public void addVisibleObject(WorldObject object)
@@ -216,7 +216,7 @@ public class WorldRegion
}
/**
- * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
+ * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
* @param object
*/
public void removeVisibleObject(WorldObject object)
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/Attackable.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/Attackable.java
index 3ead259a8d..2a69979c47 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/Attackable.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/Attackable.java
@@ -1027,7 +1027,7 @@ public class Attackable extends Npc
* During a Special Event all Attackable can drop extra Items.
* Those extra Items are defined in the table allNpcDateDrops of the EventDroplist.
* Each Special Event has a start and end date to stop to drop extra Items automatically.
- * Actions: If an extra drop must be generated
+ * Actions: If an extra drop must be generated
* Get an Item Identifier (random) from the DateDrop Item table of this Event.
* Get the Item quantity dropped (random).
* Create this or these ItemInstance corresponding to this Item Identifier.
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/Creature.java
index 380477e3c9..0714931340 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/Creature.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/Creature.java
@@ -168,7 +168,6 @@ import org.l2jmobius.gameserver.util.Util;
*
Trap
*
Vehicle
*
- *
* Concept of CreatureTemplate:
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
@@ -294,11 +293,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Constructor of Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature. Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
- * Actions:
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
+ *
+ * Actions:
*
*
Set the _template of the Creature
*
Set _overloaded to false (the character can take more items)
@@ -489,8 +491,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Remove the Creature from the world when the decay task is launched.
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
public void onDecay()
{
@@ -531,8 +533,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
*/
@@ -549,8 +553,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the radius (max knownlist radius) from the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
* @param radiusInKnownlist
@@ -601,12 +607,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send the Server->Client packet StatusUpdate with current HP and MP to all other PlayerInstance to inform.
- * Actions:
+ *
+ * Actions:
*
*
Create the Server->Client packet StatusUpdate with current HP and MP
*
Send the Server->Client packet StatusUpdate with current HP and MP to all Creature called _statusListener that must be informed of HP/MP updates of this Creature
*
- * Caution: This method DOESN'T SEND CP information
+ * Caution: This method DOESN'T SEND CP information
*/
public void broadcastStatusUpdate()
{
@@ -641,7 +648,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Teleport a Creature and its pet if necessary.
- * Actions:
+ *
+ * Actions:
*
*
Stop the movement of the Creature
*
Set the x,y,z position of the WorldObject and if necessary modify its _worldRegion
@@ -834,7 +842,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a physical attack against a target (Simple, Bow, Pole or Dual).
- * Actions:
+ *
+ * Actions:
*
*
Get the active weapon (always equipped in the right hand)
*
If weapon is a bow, check for arrows, MP and bow re-use delay (if necessary, equip the PlayerInstance with arrows in left hand)
@@ -1104,7 +1113,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a Bow attack.
- * Actions:
+ *
+ * Actions:
*
*
Calculate if hit is missed or not
*
Consume arrows
@@ -1174,7 +1184,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a CrossBow attack.
- * Actions:
+ *
+ * Actions:
*
*
Calculate if hit is missed or not
*
Consume bolts
@@ -1184,7 +1195,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
*
If the Creature is a PlayerInstance, Send a Server->Client packet SetupGauge
*
Create a new hit task with Medium priority
*
Calculate and set the disable delay of the crossbow in function of the Attack Speed
- *
Add this hit to the Server-Client packet Attack
+ *
Add this hit to the Server-Client packet Attack
* @param attack Server->Client packet Attack in which the hit will be added
* @param target The Creature targeted
* @param sAtk The Attack Speed of the attacker
@@ -1243,7 +1254,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a Dual attack.
- * Actions:
+ *
+ * Actions:
*
*
Calculate if hits are missed or not
*
If hits aren't missed, calculate if shield defense is efficient
@@ -1314,7 +1326,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a Pole attack.
- * Actions:
+ *
+ * Actions:
*
*
Get all visible objects in a spherical area near the Creature to obtain possible targets
*
If possible target is the Creature targeted, launch a simple attack against it
@@ -1395,7 +1408,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a simple attack.
- * Actions:
+ *
+ * Actions:
*
*
Calculate if hit is missed or not
*
If hit isn't missed, calculate if shield defense is efficient
@@ -1452,7 +1466,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Manage the casting task (casting and interrupt time, re-use delay...) and display the casting bar and animation on client.
- * Actions:
+ *
+ * Actions:
*
*
Verify the possibility of the the cast : skill is a spell, caster isn't muted...
*
Get the list of all targets (ex : area effects) and define the Creature targeted (its stats will be used in calculation)
@@ -2305,7 +2320,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Kill the Creature.
- * Actions:
+ *
+ * Actions:
*
*
Set target to null and cancel Attack or Cast
*
Stop movement
@@ -2924,11 +2940,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Set the template of the Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
* Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
* @param template
*/
protected final void setTemplate(CreatureTemplate template)
@@ -3104,7 +3122,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a Stun Abnormal Effect on the Creature.
- * Actions:
+ *
+ * Actions:
*
*
Calculate the success rate of the Stun Abnormal Effect on this Creature
*
If Stun succeed, active the abnormal effect Stun flag, notify the Creature AI and send Server->Client UserInfo/CharInfo packet
@@ -3186,7 +3205,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop a specified/all Fake Death abnormal Effect.
- * Actions:
+ *
+ * Actions:
*
*
Delete a specified/all (if effect=null) Fake Death abnormal Effect from Creature and update client magic icon
*
Set the abnormal effect flag _fake_death to False
@@ -3216,7 +3236,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop a specified/all Stun abnormal Effect.
- * Actions:
+ *
+ * Actions:
*
*
Delete a specified/all (if effect=null) Stun abnormal Effect from Creature and update client magic icon
*
Set the abnormal effect flag _stuned to False
@@ -3241,7 +3262,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop Effect: Transformation.
- * Actions:
+ *
+ * Actions:
*
*
Remove Transformation Effect
*
Notify the Creature AI
@@ -3273,9 +3295,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update active skills in progress (In Use and Not In Use because stacked) icons on client.
- * Concept:
+ *
+ * Concept:
+ *
* All active skills effects in progress (In Use and Not In Use because stacked) are represented by an icon on the client.
- * Caution : This method ONLY UPDATE the client of the player and not clients of all players in the party.
+ * Caution: This method ONLY UPDATE the client of the player and not clients of all players in the party.
*/
public void updateEffectIcons()
{
@@ -3298,7 +3322,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* This class group all movement data.
- * Data :
+ *
+ * Data:
*
*
_moveTimestamp : Last time position update
*
_xDestination, _yDestination, _zDestination : Position of the destination
@@ -3334,11 +3359,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add a Func to the Calculator set of the Creature.
+ *
* Concept: A Creature owns a table of Calculators called _calculators.
* Each Calculator (a calculator per state) own a table of Func object.
* A Func object is a mathematical function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...).
* To reduce cache memory use, NPCInstances who don't have skills share the same Calculator set called NPC_STD_CALCULATOR.
* That's why, if a NPCInstance is under a skill/spell effect that modify one of its state, a copy of the NPC_STD_CALCULATOR must be create in its _calculators before adding new Func object.
+ *
* Actions:
*
*
If _calculators is linked to NPC_STD_CALCULATOR, create a copy of NPC_STD_CALCULATOR in _calculators
@@ -3383,12 +3410,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add a list of Funcs to the Calculator set of the Creature.
- * Concept:
- * A Creature owns a table of Calculators called _calculators.
+ *
+ * Concept:
+ *
+ * A Creature owns a table of Calculators called _calculators.
* Each Calculator (a calculator per state) own a table of Func object.
* A Func object is a mathematic function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...).
- * Caution : This method is ONLY for PlayerInstance
- * Example of use:
+ * Caution: This method is ONLY for PlayerInstance
+ *
+ * Example of use:
*
*
Equip an item from inventory
*
Learn a new passive skill
@@ -3409,13 +3439,16 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Remove a Func from the Calculator set of the Creature.
- * Concept:
- * A Creature owns a table of Calculators called _calculators.
+ *
+ * Concept:
+ *
+ * A Creature owns a table of Calculators called _calculators.
* Each Calculator (a calculator per state) own a table of Func object.
* A Func object is a mathematic function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...).
- * To reduce cache memory use, NPCInstances who don't have skills share the same Calculator set called NPC_STD_CALCULATOR.
+ * To reduce cache memory use, NPCInstances who don't have skills share the same Calculator set called NPC_STD_CALCULATOR.
* That's why, if a NPCInstance is under a skill/spell effect that modify one of its state, a copy of the NPC_STD_CALCULATOR must be create in its _calculators before addind new Func object.
- * Actions:
+ *
+ * Actions:
*
*
Remove the Func object from _calculators
*
If Creature is a NPCInstance and _calculators is equal to NPC_STD_CALCULATOR, free cache memory and just create a link on NPC_STD_CALCULATOR in _calculators
@@ -3469,12 +3502,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Remove a list of Funcs from the Calculator set of the PlayerInstance.
- * Concept:
- * A Creature owns a table of Calculators called _calculators.
+ *
+ * Concept:
+ *
+ * A Creature owns a table of Calculators called _calculators.
* Each Calculator (a calculator per state) own a table of Func object.
* A Func object is a mathematic function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...).
- * Caution : This method is ONLY for PlayerInstance
- * Example of use:
+ * Caution: This method is ONLY for PlayerInstance
+ *
+ * Example of use:
*
*
Unequip an item from inventory
*
Stop an active skill
@@ -3495,18 +3531,22 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Remove all Func objects with the selected owner from the Calculator set of the Creature.
- * Concept:
- * A Creature owns a table of Calculators called _calculators.
+ *
+ * Concept:
+ *
+ * A Creature owns a table of Calculators called _calculators.
* Each Calculator (a calculator per state) own a table of Func object.
* A Func object is a mathematic function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...).
- * To reduce cache memory use, NPCInstances who don't have skills share the same Calculator set called NPC_STD_CALCULATOR.
+ * To reduce cache memory use, NPCInstances who don't have skills share the same Calculator set called NPC_STD_CALCULATOR.
* That's why, if a NPCInstance is under a skill/spell effect that modify one of its state, a copy of the NPC_STD_CALCULATOR must be create in its _calculators before addind new Func object.
- * Actions:
+ *
+ * Actions:
*
*
Remove all Func objects of the selected owner from _calculators
*
If Creature is a NPCInstance and _calculators is equal to NPC_STD_CALCULATOR, free cache memory and just create a link on NPC_STD_CALCULATOR in _calculators
*
- * Example of use:
+ *
+ * Example of use:
*
*
Unequip an item from inventory
*
Stop an active skill
@@ -3713,7 +3753,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * @return True if the Creature is travelling a calculated path.
+ * @return True if the Creature is traveling a calculated path.
*/
public boolean isOnGeodataPath()
{
@@ -3835,16 +3875,18 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update the position of the Creature during a movement and return True if the movement is finished.
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
* When the movement is started (ex : by MovetoLocation), this method will be called each 0.1 sec to estimate and update the Creature position on the server.
* Note, that the current server position can differe from the current client position even if each movement is straight foward.
* That's why, client send regularly a Client->Server ValidatePosition packet to eventually correct the gap on the server.
* But, it's always the server position that is used in range calculation. At the end of the estimated movement time,
* the Creature position is automatically set to the destination position even if the movement is not finished.
- * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
- * But x and y positions must be calculated to avoid that players try to modify their movement speed.
+ * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
+ * But x and y positions must be calculated to avoid that players try to modify their movement speed.
* @return True if the movement is finished
*/
public boolean updatePosition()
@@ -4012,14 +4054,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop movement of the Creature (Called by AI Accessor only).
- * Actions:
+ *
+ * Actions:
*
*
Delete movement data of the Creature
*
Set the current position (x,y,z), its current WorldRegion if necessary and its heading
*
Remove the WorldObject object from _gmList of GmListTable
*
Remove object from _knownObjects and _knownPlayer of all surrounding WorldRegion Creatures
*
- * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
+ * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
* @param loc
*/
public void stopMove(Location loc)
@@ -4056,9 +4099,12 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Target a WorldObject (add the target to the Creature _target, _knownObject and Creature to _KnownObject of the WorldObject).
- * Concept:
- * The WorldObject (including Creature) targeted is identified in _target of the Creature.
- * Actions:
+ *
+ * Concept:
+ *
+ * The WorldObject (including Creature) targeted is identified in _target of the Creature.
+ *
+ * Actions:
*
*
Set the _target of Creature to WorldObject
*
If necessary, add WorldObject to _knownObject of the Creature
@@ -4099,11 +4145,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Calculate movement data for a move to location action and add the Creature to movingObjects of GameTimeController (only called by AI Accessor).
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
- * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
- * Actions:
+ * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
+ *
+ * Actions:
*
*
Get current position of the Creature
*
Calculate distance (dx,dy) between current position and destination including offset
@@ -4112,8 +4161,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
*
Add the Creature to movingObjects of the GameTimeController
*
Create a task to notify the AI that Creature arrives at a check point of the movement
*
- * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
- * Example of use:
+ * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
+ *
+ * Example of use:
*
*
AI : onIntentionMoveTo(Location), onIntentionPickUp(WorldObject), onIntentionInteract(WorldObject)
*
FollowTask
@@ -4517,7 +4567,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
* @return True if arrows are available.
*/
@@ -4527,7 +4577,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
* @return True if bolts are available.
*/
@@ -4538,9 +4588,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add Exp and Sp to the Creature.
- * Overridden in :
+ *
+ * Overridden in:
*
PlayerInstance
- *
PetInstance
+ *
PetInstance
* @param addToExp
* @param addToSp
*/
@@ -4550,36 +4601,37 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon instance (always equiped in the right hand).
+ * @return the active weapon instance (always equipped in the right hand).
*/
public abstract ItemInstance getActiveWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon item (always equiped in the right hand).
+ * @return the active weapon item (always equipped in the right hand).
*/
public abstract Weapon getActiveWeaponItem();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary weapon instance (always equiped in the left hand).
+ * @return the secondary weapon instance (always equipped in the left hand).
*/
public abstract ItemInstance getSecondaryWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary {@link Item} item (always equiped in the left hand).
+ * @return the secondary {@link Item} item (always equipped in the left hand).
*/
public abstract Item getSecondaryWeaponItem();
/**
* Manage hit process (called by Hit Task).
- * Actions:
+ *
+ * Actions:
*
*
If the attacker/target is dead or use fake death, notify the AI with EVT_CANCEL and send a Server->Client packet ActionFailed (if attacker is a PlayerInstance)
*
If attack isn't aborted, send a message system (critical hit, missed...) to attacker/target if they are PlayerInstance
@@ -4812,8 +4864,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Reduce the arrow number of the Creature.
- * Overridden in :
- *
If Creature or target is in a town area, send a system message TARGET_IN_PEACEZONE a Server->Client packet ActionFailed
*
If target is confused, send a Server->Client packet ActionFailed
@@ -4996,15 +5050,19 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add a skill to the Creature _skills and its Func objects to the calculator set of the Creature.
- * Concept:
- * All skills own by a Creature are identified in _skills
- * Actions:
+ *
+ * Concept:
+ *
+ * All skills own by a Creature are identified in _skills
+ *
+ * Actions:
*
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
*
Add Func objects of newSkill to the calculator set of the Creature
*
- * Overridden in:
+ *
+ * Overridden in:
*
*
PlayerInstance : Save update in the character_skills table of the database
*
@@ -5078,8 +5136,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Concept:
- * All skills own by a Creature are identified in _skills the Creature
+ * Concept:
+ *
+ * All skills own by a Creature are identified in _skills the Creature
* @return all skills own by the Creature in a table of Skill.
*/
public Collection getAllSkills()
@@ -5134,7 +5193,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Manage the magic skill launching task (MP, HP, Item consumation...) and display the magic skill animation on client.
- * Actions:
+ *
+ * Actions:
*
*
Send a Server->Client packet MagicSkillLaunched (to display magic skill animation) to all PlayerInstance of Creature _knownPlayers
*
Consumme MP, HP and Item if necessary
@@ -5143,7 +5203,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
*
If the skill type is PDAM, notify the AI of the target with AI_INTENTION_ATTACK
*
Notify the AI of the Creature with EVT_FINISH_CASTING
*
- * Caution: A magic skill casting MUST BE in progress
+ * Caution: A magic skill casting MUST BE in progress
* @param mut
*/
public void onMagicLaunchedTimer(MagicUseTask mut)
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/Npc.java
index 3bfe1133d9..1652490f97 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/Npc.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/Npc.java
@@ -656,7 +656,8 @@ public class Npc extends Creature
/**
* Open a quest or chat window on client with the text of the NpcInstance in function of the command.
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : RequestBypassToServer
*
@@ -770,11 +771,11 @@ public class Npc extends Creature
}
/**
- * :
+ * :
*
- *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
- *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
- *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
+ *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
+ *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
+ *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -835,7 +836,8 @@ public class Npc extends Creature
/**
* Open a chat window on client with the text of the NpcInstance.
- * Actions:
+ *
+ * Actions:
*
*
Get the text of the selected HTML file in function of the npcId and of the page number
*
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
@@ -1144,7 +1146,8 @@ public class Npc extends Creature
/**
* Kill the NpcInstance (the corpse disappeared after 7 seconds).
- * Actions:
+ *
+ * Actions:
*
*
Create a DecayTask to remove the corpse of the NpcInstance after 7 seconds
*
Set target to null and cancel Attack or Cast
@@ -1282,14 +1285,15 @@ public class Npc extends Creature
/**
* Remove the NpcInstance from the world and update its spawn object (for a complete removal use the deleteMe method).
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world when the decay task is launched
*
Decrease its spawn counter
*
Manage Siege task (killFlag, killCT)
*
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
@Override
public void onDecay()
@@ -1325,13 +1329,14 @@ public class Npc extends Creature
/**
* Remove PROPERLY the NpcInstance from the world.
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world and update its spawn object
*
Remove all WorldObject from _knownObjects and _knownPlayer of the NpcInstance then cancel Attack or Cast and notify AI
*
Remove WorldObject object from _allObjects of World
*
- * Caution: This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T SEND Server->Client packets to players
* UnAfraid: TODO: Add Listener here
*/
@Override
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/Summon.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/Summon.java
index 7c3d4fec36..fd6f28781f 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/Summon.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/Summon.java
@@ -546,7 +546,8 @@ public abstract class Summon extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the target is correct
*
Check if the target is in the skill cast range
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java
index ca07bbdd9f..6d70f70cba 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java
@@ -95,10 +95,11 @@ public class GuardInstance extends Attackable
/**
* Return the pathfile of the selected HTML file in function of the GuardInstance Identifier and of the page number.
- * Format of the pathfile :
+ *
+ * Format of the pathfile:
*
- *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
- *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
+ *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
+ *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -120,19 +121,22 @@ public class GuardInstance extends Attackable
/**
* Manage actions when a player click on the GuardInstance.
- * Actions on first click on the GuardInstance (Select it) :
+ *
+ * Actions on first click on the GuardInstance (Select it):
*
*
Set the GuardInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
Set the PlayerInstance Intention to AI_INTENTION_IDLE
*
Send a Server->Client packet ValidateLocation to correct the GuardInstance position and heading on the client
*
- * Actions on second click on the GuardInstance (Attack it/Interact with it) :
+ *
+ * Actions on second click on the GuardInstance (Attack it/Interact with it):
*
*
If PlayerInstance is in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_ATTACK
*
If PlayerInstance is NOT in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_INTERACT (after a distance verification) and show message
*
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : Action, AttackRequest
*
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
index 94fe8b37aa..b3a54d3198 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
@@ -150,7 +150,7 @@ public class PetInstance extends Summon
}
/**
- * Manage Feeding Task.
+ * Manage Feeding Task.
* Feed or kill the pet depending on hunger level.
* If pet has food in inventory and feed level drops below 55% then consume food from inventory.
* Send a broadcastStatusUpdate packet for this PetInstance
@@ -395,7 +395,7 @@ public class PetInstance extends Summon
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -1106,8 +1106,7 @@ public class PetInstance extends Summon
}
/**
- * Restore the specified % of experience this PetInstance has lost.
- *
+ * Restore the specified % of experience this PetInstance has lost.
* @param restorePercent
*/
public void restoreExp(double restorePercent)
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
index b24807ed05..b9cae57ae2 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
@@ -930,7 +930,8 @@ public class PlayerInstance extends Playable
/**
* Create a new PlayerInstance and add it in the characters table of the database.
- * Actions :
+ *
+ * Actions:
*
*
Create a new PlayerInstance with an account name
*
Set the name, the Hair Style, the Hair Color and the Face type of the PlayerInstance
@@ -1104,7 +1105,8 @@ public class PlayerInstance extends Playable
/**
* Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world (call restore method).
- * Actions :
+ *
+ * Actions:
*
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
@@ -2618,7 +2620,7 @@ public class PlayerInstance extends Playable
}
/**
- * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
+ * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
*/
public void regiveTemporarySkills()
{
@@ -3532,7 +3534,7 @@ public class PlayerInstance extends Playable
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -3803,7 +3805,7 @@ public class PlayerInstance extends Playable
}
/**
- * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : long Quantity of items to be dropped
@@ -4105,9 +4107,9 @@ public class PlayerInstance extends Playable
}
/**
- * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions :
- *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
- *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution : This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
+ * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions:
+ *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
+ *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution: This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
*/
@Override
public void broadcastStatusUpdate()
@@ -4174,11 +4176,11 @@ public class PlayerInstance extends Playable
}
/**
- * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept : Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
- * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions :
+ * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept: Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
+ * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions:
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
- *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as
- * MaxHP, STR, DEX...
+ *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP,
+ * STR, DEX...
*/
public void broadcastUserInfo()
{
@@ -4326,10 +4328,10 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Interact Task with another PlayerInstance. Actions :
+ * Manage Interact Task with another PlayerInstance. Actions:
*
If the private store is a STORE_PRIVATE_SELL, send a Server->Client PrivateBuyListSell packet to the PlayerInstance
*
If the private store is a STORE_PRIVATE_BUY, send a Server->Client PrivateBuyListBuy packet to the PlayerInstance
- *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
+ *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
* @param target The Creature targeted
*/
public void doInteract(Creature target)
@@ -4371,7 +4373,7 @@ public class PlayerInstance extends Playable
*
Send a Server->Client packet InventoryUpdate to this player with NewItem (use a new slot) or ModifiedItem (increase amount).
*
Send a Server->Client packet StatusUpdate to this player with current weight.
*
- * Caution: If a party is in progress, distribute the items between the party members!
+ * Caution: If a party is in progress, distribute the items between the party members!
* @param target the NPC dropping the item
* @param itemId the item ID
* @param itemCount the item count
@@ -4403,13 +4405,13 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Pickup Task. Actions :
+ * Manage Pickup Task. Actions:
*
Send a Server->Client packet StopMove to this PlayerInstance
*
Remove the ItemInstance from the world and send server->client GetItem packets
*
Send a System Message to the PlayerInstance : YOU_PICKED_UP_S1_ADENA or YOU_PICKED_UP_S1_S2
*
Add the Item to the PlayerInstance inventory
*
Send a Server->Client packet InventoryUpdate to this PlayerInstance with NewItem (use a new slot) or ModifiedItem (increase amount)
- *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution : If a Party is in progress, distribute Items between party members
+ *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution: If a Party is in progress, distribute Items between party members
* @param object The ItemInstance to pick up
*/
@Override
@@ -4793,7 +4795,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set a target. Actions :
+ * Set a target. Actions:
*
*
Remove the PlayerInstance from the _statusListener of the old target if it was a Creature
*
Add the PlayerInstance to the _statusListener of the new target if it's a Creature
@@ -4882,7 +4884,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon instance (always equiped in the right hand).
+ * Return the active weapon instance (always equipped in the right hand).
*/
@Override
public ItemInstance getActiveWeaponInstance()
@@ -4891,7 +4893,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon item (always equiped in the right hand).
+ * Return the active weapon item (always equipped in the right hand).
*/
@Override
public Weapon getActiveWeaponItem()
@@ -5057,7 +5059,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary weapon instance (always equiped in the left hand).
+ * Return the secondary weapon instance (always equipped in the left hand).
*/
@Override
public ItemInstance getSecondaryWeaponInstance()
@@ -5066,8 +5068,8 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary Item item (always equiped in the left hand).
- * Arrows, Shield..
+ * Return the secondary Item item (always equipped in the left hand).
+ * Arrows, Shield..
*/
@Override
public Item getSecondaryWeaponItem()
@@ -5077,12 +5079,12 @@ public class PlayerInstance extends Playable
}
/**
- * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions :
+ * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions:
*
Reduce the Experience of the PlayerInstance in function of the calculated Death Penalty
*
If necessary, unsummon the Pet of the killed PlayerInstance
*
Manage Karma gain for attacker and Karam loss for the killed PlayerInstance
*
If the killed PlayerInstance has Karma, manage Drop Item
- *
Kill the PlayerInstance
+ *
Kill the PlayerInstance
* @param killer
*/
@Override
@@ -5624,12 +5626,13 @@ public class PlayerInstance extends Playable
}
/**
- * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
- * Actions :
+ * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
+ *
+ * Actions:
*
Calculate the Experience loss
*
Set the value of _expBeforeDeath
*
Set the new Experience value of the PlayerInstance and Decrease its level if necessary
- *
Send a Server->Client StatusUpdate packet with its new Experience
+ *
Send a Server->Client StatusUpdate packet with its new Experience
* @param killer
* @param atWar
*/
@@ -5703,7 +5706,7 @@ public class PlayerInstance extends Playable
}
/**
- * Stop the HP/MP/CP Regeneration task. Actions :
+ * Stop the HP/MP/CP Regeneration task. Actions:
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
*/
@@ -6028,13 +6031,13 @@ public class PlayerInstance extends Playable
}
/**
- * Set the Private Store type of the PlayerInstance. Values :
+ * Set the Private Store type of the PlayerInstance. Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @param privateStoreType
*/
public void setPrivateStoreType(PrivateStoreType privateStoreType)
@@ -6047,13 +6050,13 @@ public class PlayerInstance extends Playable
}
/**
- * Values :
+ * Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @return the Private Store type of the PlayerInstance.
*/
public PrivateStoreType getPrivateStoreType()
@@ -6183,7 +6186,7 @@ public class PlayerInstance extends Playable
@Override
protected boolean checkAndEquipArrows()
{
- // Check if nothing is equiped in left hand
+ // Check if nothing is equipped in left hand
if (_inventory.getPaperdollItem(Inventory.PAPERDOLL_LHAND) == null)
{
// Get the ItemInstance of the arrows needed for this bow
@@ -6199,7 +6202,7 @@ public class PlayerInstance extends Playable
}
else
{
- // Get the ItemInstance of arrows equiped in left hand
+ // Get the ItemInstance of arrows equipped in left hand
_arrowItem = _inventory.getPaperdollItem(Inventory.PAPERDOLL_LHAND);
}
return _arrowItem != null;
@@ -6211,7 +6214,7 @@ public class PlayerInstance extends Playable
@Override
protected boolean checkAndEquipBolts()
{
- // Check if nothing is equiped in left hand
+ // Check if nothing is equipped in left hand
if (_inventory.getPaperdollItem(Inventory.PAPERDOLL_LHAND) == null)
{
// Get the ItemInstance of the arrows needed for this bow
@@ -6227,7 +6230,7 @@ public class PlayerInstance extends Playable
}
else
{
- // Get the ItemInstance of arrows equiped in left hand
+ // Get the ItemInstance of arrows equipped in left hand
_boltItem = _inventory.getPaperdollItem(Inventory.PAPERDOLL_LHAND);
}
return _boltItem != null;
@@ -6829,11 +6832,11 @@ public class PlayerInstance extends Playable
}
/**
- * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions :
+ * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions:
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
*
Set the x,y,z position of the PlayerInstance and make it invisible
- *
Update the overloaded status of the PlayerInstance
+ *
Update the overloaded status of the PlayerInstance
* @param objectId Identifier of the object to initialized
* @return The PlayerInstance loaded from the database
*/
@@ -7690,10 +7693,10 @@ public class PlayerInstance extends Playable
}
/**
- * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept : All skills own by a PlayerInstance are identified in _skills Actions :
+ * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept: All skills own by a PlayerInstance are identified in _skills Actions:
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
- *
Add Func objects of newSkill to the calculator set of the Creature
+ *
Add Func objects of newSkill to the calculator set of the Creature
* @param newSkill The Skill to add to the Creature
* @param store
* @return The Skill replaced or null if just added a new Skill
@@ -7724,10 +7727,10 @@ public class PlayerInstance extends Playable
}
/**
- * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept : All skills own by a Creature are identified in _skills Actions :
+ * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept: All skills own by a Creature are identified in _skills Actions:
*
Remove the skill from the Creature _skills
- *
Remove all its Func objects from the Creature calculator set
Overridden in :
- *
PlayerInstance : Save update in the character_skills table of the database
+ *
Remove all its Func objects from the Creature calculator set
Overridden in:
+ *
PlayerInstance : Save update in the character_skills table of the database
* @param skill The Skill to remove from the Creature
* @return The Skill removed
*/
@@ -8381,7 +8384,8 @@ public class PlayerInstance extends Playable
/**
* Return True if the PlayerInstance is autoAttackable.
- * Actions:
+ *
+ * Actions:
*
*
Check if the attacker isn't the PlayerInstance Pet
*
Check if the attacker is MonsterInstance
@@ -8532,7 +8536,8 @@ public class PlayerInstance extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the skill isn't toggle and is offensive
*
Check if the target is in the skill cast range
@@ -9237,15 +9242,18 @@ public class PlayerInstance extends Playable
/**
* Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers.
- * Concept:
- * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
* In order to inform other players of this PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet
- * Actions:
+ *
+ * Actions:
*
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
*
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
*
- * Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
+ * Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
*/
@Override
public void updateAbnormalEffect()
@@ -10068,7 +10076,7 @@ public class PlayerInstance extends Playable
}
/**
- * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
+ * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
* 2. This method no longer changes the active _classIndex of the player. This is only done by the calling of setActiveClass() method as that should be the only way to do so.
* @param classId
* @param classIndex
@@ -11159,7 +11167,8 @@ public class PlayerInstance extends Playable
/**
* Manage the delete task of a PlayerInstance (Leave Party, Unsummon pet, Save its inventory in the database, Remove it from the world...).
- * Actions:
+ *
+ * Actions:
*
*
If the PlayerInstance is in observer mode, set its position to its position before entering in observer mode
*
Set the online Flag to True or False and update the characters table of the database with online status and lastAccess
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
index 332829e6eb..6cf378b20d 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
@@ -153,7 +153,8 @@ public class StaticObjectInstance extends Creature
/**
* Set the meshIndex of the object.
- * Values :
+ *
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
@@ -167,7 +168,7 @@ public class StaticObjectInstance extends Creature
}
/**
- * Values :
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
index 6b62efa27f..808f9c9814 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
@@ -63,12 +63,14 @@ public class CreatureStat
}
/**
- * Calculate the new value of the state with modifiers that will be applied on the targeted Creature.
- * Concept : _calculators
. Each Calculator (a calculator per state) own a table of Func object. A Func object is a mathematic function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...) :
- * FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- * When the calc method of a calculator is launched, each mathematical function is called according to its priority _order.
+ * Calculate the new value of the state with modifiers that will be applied on the targeted Creature.
+ *
+ * Concept:
+ * A Creature owns a table of Calculators called _calculators. Each Calculator (a calculator per state) own a table of Func object. A Func object is a mathematic function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...) :
+ * FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
+ * When the calc method of a calculator is launched, each mathematical function is called according to its priority _order.
* Indeed, Func with lowest priority order is executed firsta and Funcs with the same order are executed in unspecified order.
- * The result of the calculation is stored in the value property of an Env class instance.
+ * The result of the calculation is stored in the value property of an Env class instance.
* @param stat The stat to calculate the new value with modifiers
* @param initVal The initial value of the stat before applying modifiers
* @param target The Creature whose properties will be used in the calculation (ex : CON, INT...)
@@ -270,7 +272,8 @@ public class CreatureStat
/**
* Return the MAtk (base+modifier) of the Creature.
- * Example of use: Calculate Magic damage
+ *
+ * Example of use: Calculate Magic damage
* @param target The Creature targeted by the skill
* @param skill The Skill used against the target
* @return
@@ -327,7 +330,7 @@ public class CreatureStat
}
/**
- * Example of use : Calculate Magic damage.
+ * Example of use : Calculate Magic damage.
* @param target The Creature targeted by the skill
* @param skill The Skill used against the target
* @return the MDef (base+modifier) of the Creature against a skill in function of abnormal effects in progress.
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
index 6d790e4d66..fdcf1213cc 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
@@ -54,11 +54,14 @@ public class CreatureStatus
/**
* Add the object to the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use:
+ *
+ * Example of use:
*
*
Target a PC or NPC
*
@@ -76,11 +79,14 @@ public class CreatureStatus
/**
* Remove the object from the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use :
+ *
+ * Example of use :
*
*
Untarget a PC or NPC
*
@@ -93,8 +99,10 @@ public class CreatureStatus
/**
* Return the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
* @return The list of Creature to inform or null if empty
@@ -180,7 +188,8 @@ public class CreatureStatus
/**
* Start the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Calculate the regen task period
*
Launch the HP/MP/CP Regeneration task with Medium priority
@@ -200,7 +209,8 @@ public class CreatureStatus
/**
* Stop the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
If the attacker/target is dead or use fake death, notify the AI with EVT_CANCEL and send a Server->Client packet ActionFailed (if attacker is a PlayerInstance)
*
If attack isn't aborted, send a message system (critical hit, missed...) to attacker/target if they are PlayerInstance
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/base/SubClass.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/base/SubClass.java
index 91d2212937..55c4b7f8c7 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/base/SubClass.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/base/SubClass.java
@@ -20,7 +20,7 @@ import org.l2jmobius.Config;
import org.l2jmobius.gameserver.data.xml.impl.ExperienceData;
/**
- * Character Sub-Class Definition
+ * Character Sub-Class Definition
* Used to store key information about a character's sub-class.
* @author Tempy
*/
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
index 1e0ab77670..6d6ffd3934 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
@@ -159,7 +159,7 @@ public abstract class AbstractEffect
/**
* Calculates whether this effects land or not.
* If it lands will be scheduled and added to the character effect list.
- * Override in effect implementation to change behavior.
+ * Override in effect implementation to change behavior.
* Warning: Must be used only for instant effects continuous effects will not call this they have their success handled by activate_rate.
* @param info the buff info
* @return {@code true} if this effect land, {@code false} otherwise
@@ -170,7 +170,7 @@ public abstract class AbstractEffect
}
/**
- * Get this effect's type.
+ * Get this effect's type.
* @return the effect type
*/
public EffectType getEffectType()
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/Castle.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/Castle.java
index 0af70e9687..9190fc1f00 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/Castle.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/Castle.java
@@ -597,8 +597,7 @@ public class Castle extends AbstractResidence
}
/**
- * Respawn all doors on castle grounds
- *
+ * Respawn all doors on castle grounds
* @param isDoorWeak
*/
public void spawnDoor(boolean isDoorWeak)
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/Fort.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/Fort.java
index bc18460793..da1a88a1c0 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/Fort.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/Fort.java
@@ -273,8 +273,7 @@ public class Fort extends AbstractResidence
}
/**
- * Move non clan members off fort area and to nearest town.
- *
+ * Move non clan members off fort area and to nearest town.
*/
public void banishForeigners()
{
@@ -516,8 +515,7 @@ public class Fort extends AbstractResidence
}
/**
- * Respawn all doors on fort grounds
- *
+ * Respawn all doors on fort grounds.
*/
public void resetDoors()
{
@@ -968,11 +966,10 @@ public class Fort extends AbstractResidence
}
/**
- * @return Returns state of fortress.
- *
- * 0 - not decided yet
- * 1 - independent
- * 2 - contracted with castle
+ * @return Returns state of fortress.
+ * 0 - not decided yet
+ * 1 - independent
+ * 2 - contracted with castle
*/
public int getFortState()
{
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/FortSiege.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
index e8b96570d3..893a5f448a 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
@@ -690,14 +690,14 @@ public class FortSiege implements Siegable
}
/**
- * Register clan as attacker.
+ * Register clan as attacker.
* @param player The PlayerInstance of the player trying to register.
* @param checkConditions True if should be checked conditions, false otherwise
- * @return Number that defines what happened.
- * 0 - Player don't have clan.
- * 1 - Player don't have enough adena to register.
- * 2 - Is not right time to register Fortress now.
- * 3 - Players clan is already registered to siege.
+ * @return Number that defines what happened.
+ * 0 - Player don't have clan.
+ * 1 - Player don't have enough adena to register.
+ * 2 - Is not right time to register Fortress now.
+ * 3 - Players clan is already registered to siege.
* 4 - Players clan is successfully registered to siege.
*/
public int addAttacker(PlayerInstance player, boolean checkConditions)
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/Hero.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/Hero.java
index fb65038bd2..a26cfc3f94 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/Hero.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/Hero.java
@@ -865,7 +865,7 @@ public class Hero
}
/**
- * Saving task for {@link Hero}
+ * Saving task for {@link Hero}
* Save all hero messages to DB.
*/
public void shutdown()
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/Siege.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/Siege.java
index 9a621d06ea..d69714a187 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/Siege.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/Siege.java
@@ -374,8 +374,7 @@ public class Siege implements Siegable
}
/**
- * When control of castle changed during siege
- *
+ * When control of castle changed during siege.
*/
public void midVictory()
{
@@ -461,8 +460,7 @@ public class Siege implements Siegable
}
/**
- * When siege starts
- *
+ * When siege starts.
*/
@Override
public void startSiege()
@@ -520,8 +518,7 @@ public class Siege implements Siegable
}
/**
- * Announce to player.
- *
+ * Announce to player.
* @param message The SystemMessage to send to player
* @param bothSides True - broadcast to both attackers and defenders. False - only to defenders.
*/
@@ -648,8 +645,7 @@ public class Siege implements Siegable
}
/**
- * Approve clan as defender for siege
- *
+ * Approve clan as defender for siege
* @param clanId The int of player's clan id
*/
public void approveSiegeDefenderClan(int clanId)
@@ -683,8 +679,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is attacker
- *
+ * Return true if clan is attacker
* @param clan The Clan of the player
*/
@Override
@@ -694,8 +689,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is defender
- *
+ * Return true if clan is defender
* @param clan The Clan of the player
*/
@Override
@@ -873,8 +867,7 @@ public class Siege implements Siegable
}
/**
- * Register clan as attacker
- *
+ * Register clan as attacker
* @param player The PlayerInstance of the player trying to register
*/
public void registerAttacker(PlayerInstance player)
@@ -951,8 +944,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clanId The int of player's clan id
*/
public void removeSiegeClan(int clanId)
@@ -978,8 +970,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clan clan being removed
*/
public void removeSiegeClan(Clan clan)
@@ -992,8 +983,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param player The PlayerInstance of player/clan being removed
*/
public void removeSiegeClan(PlayerInstance player)
@@ -1002,8 +992,7 @@ public class Siege implements Siegable
}
/**
- * Start the auto tasks
- *
+ * Start the auto tasks.
*/
public void startAutoTask()
{
@@ -1076,8 +1065,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as attacker
- *
+ * Add clan as attacker
* @param clanId The int of clan's id
*/
private void addAttacker(int clanId)
@@ -1086,8 +1074,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender
- *
+ * Add clan as defender
* @param clanId The int of clan's id
*/
private void addDefender(int clanId)
@@ -1108,8 +1095,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender waiting approval
- *
+ * Add clan as defender waiting approval
* @param clanId The int of clan's id
*/
private void addDefenderWaiting(int clanId)
@@ -1201,8 +1187,7 @@ public class Siege implements Siegable
}
/**
- * Return the correct siege date as Calendar.
- *
+ * Return the correct siege date as Calendar.
*/
public void correctSiegeDateTime()
{
@@ -1351,8 +1336,7 @@ public class Siege implements Siegable
}
/**
- * Save registration to database.
- *
+ * Save registration to database.
* @param clan The Clan of player
* @param typeId -1 = owner 0 = defender, 1 = attacker, 2 = defender waiting
* @param isUpdateRegistration
@@ -1497,8 +1481,7 @@ public class Siege implements Siegable
}
/**
- * Spawn siege guard.
- *
+ * Spawn siege guard.
*/
private void spawnSiegeGuard()
{
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/TvTEvent.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/TvTEvent.java
index bb6130a9b7..4d4ca5e296 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/TvTEvent.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/TvTEvent.java
@@ -86,7 +86,7 @@ public class TvTEvent
}
/**
- * Teams initializing
+ * Teams initializing
*/
public static void init()
{
@@ -98,9 +98,8 @@ public class TvTEvent
/**
* Starts the participation of the TvTEvent
* 1. Get NpcTemplate by Config.TVT_EVENT_PARTICIPATION_NPC_ID
- * 2. Try to spawn a new npc of it
- *
- * @return boolean: true if success, otherwise false
+ * 2. Try to spawn a new npc of it
+ * @return boolean: true if success, otherwise false
*/
public static boolean startParticipation()
{
@@ -154,9 +153,8 @@ public class TvTEvent
* 2. Close doors specified in configs
* 3. Abort if not enough participants(return false)
* 4. Set state EventState.STARTED
- * 5. Teleport all participants to team spot
- *
- * @return boolean: true if success, otherwise false
+ * 5. Teleport all participants to team spot
+ * @return boolean: true if success, otherwise false
*/
public static boolean startFight()
{
@@ -297,9 +295,8 @@ public class TvTEvent
* 2. Wait till teams are not at a tie anymore
* 3. Set state EvcentState.REWARDING
* 4. Reward team with more points
- * 5. Show win html to wining team participants
- *
- * @return String: winning team name
+ * 5. Show win html to wining team participants
+ * @return String: winning team name
*/
public static String calculateRewards()
{
@@ -401,7 +398,7 @@ public class TvTEvent
* 3. Open doors specified in configs
* 4. Teleport all participants back to participation npc location
* 5. Teams cleaning
- * 6. Set state EventState.INACTIVE
+ * 6. Set state EventState.INACTIVE
*/
public static void stopFight()
{
@@ -441,10 +438,9 @@ public class TvTEvent
/**
* Adds a player to a TvTEvent team
* 1. Calculate the id of the team in which the player should be added
- * 2. Add the player to the calculated team
- *
- * @param playerInstance as PlayerInstance
- * @return boolean: true if success, otherwise false
+ * 2. Add the player to the calculated team
+ * @param playerInstance as PlayerInstance
+ * @return boolean: true if success, otherwise false
*/
public static synchronized boolean addParticipant(PlayerInstance playerInstance)
{
@@ -472,8 +468,7 @@ public class TvTEvent
/**
* Removes a TvTEvent player from it's team
* 1. Get team id of the player
- * 2. Remove player from it's team
- *
+ * 2. Remove player from it's team
* @param playerObjectId
* @return boolean: true if success, otherwise false
*/
@@ -527,9 +522,8 @@ public class TvTEvent
/**
* Send a SystemMessage to all participated players
* 1. Send the message to all players of team number one
- * 2. Send the message to all players of team number two
- *
- * @param message as String
+ * 2. Send the message to all players of team number two
+ * @param message as String
*/
public static void sysMsgToAllParticipants(String message)
{
@@ -615,9 +609,8 @@ public class TvTEvent
}
/**
- * Called when a player logs in
- *
- * @param playerInstance as PlayerInstance
+ * Called when a player logs in
+ * @param playerInstance as PlayerInstance
*/
public static void onLogin(PlayerInstance playerInstance)
{
@@ -637,9 +630,8 @@ public class TvTEvent
}
/**
- * Called when a player logs out
- *
- * @param playerInstance as PlayerInstance
+ * Called when a player logs out
+ * @param playerInstance as PlayerInstance
*/
public static void onLogout(PlayerInstance playerInstance)
{
@@ -650,8 +642,7 @@ public class TvTEvent
}
/**
- * Called on every onAction in PlayerIstance
- *
+ * Called on every onAction in PlayerIstance
* @param playerInstance
* @param targetedPlayerObjectId
* @return boolean: true if player is allowed to target, otherwise false
@@ -684,8 +675,7 @@ public class TvTEvent
}
/**
- * Called on every scroll use
- *
+ * Called on every scroll use
* @param playerObjectId
* @return boolean: true if player is allowed to use scroll, otherwise false
*/
@@ -765,10 +755,9 @@ public class TvTEvent
}
/**
- * Is called when a player is killed
- *
- * @param killerCharacter as Creature
- * @param killedPlayerInstance as PlayerInstance
+ * Is called when a player is killed
+ * @param killerCharacter as Creature
+ * @param killedPlayerInstance as PlayerInstance
*/
public static void onKill(Creature killerCharacter, PlayerInstance killedPlayerInstance)
{
@@ -902,9 +891,8 @@ public class TvTEvent
}
/**
- * Sets the TvTEvent state
- *
- * @param state as EventState
+ * Sets the TvTEvent state
+ * @param state as EventState
*/
private static void setState(EventState state)
{
@@ -915,9 +903,8 @@ public class TvTEvent
}
/**
- * Is TvTEvent inactive?
- *
- * @return boolean: true if event is inactive(waiting for next event cycle), otherwise false
+ * Is TvTEvent inactive?
+ * @return boolean: true if event is inactive(waiting for next event cycle), otherwise false
*/
public static boolean isInactive()
{
@@ -931,9 +918,8 @@ public class TvTEvent
}
/**
- * Is TvTEvent in inactivating?
- *
- * @return boolean: true if event is in inactivating progress, otherwise false
+ * Is TvTEvent in inactivating?
+ * @return boolean: true if event is in inactivating progress, otherwise false
*/
public static boolean isInactivating()
{
@@ -947,9 +933,8 @@ public class TvTEvent
}
/**
- * Is TvTEvent in participation?
- *
- * @return boolean: true if event is in participation progress, otherwise false
+ * Is TvTEvent in participation?
+ * @return boolean: true if event is in participation progress, otherwise false
*/
public static boolean isParticipating()
{
@@ -963,9 +948,8 @@ public class TvTEvent
}
/**
- * Is TvTEvent starting?
- *
- * @return boolean: true if event is starting up(setting up fighting spot, teleport players etc.), otherwise false
+ * Is TvTEvent starting?
+ * @return boolean: true if event is starting up(setting up fighting spot, teleport players etc.), otherwise false
*/
public static boolean isStarting()
{
@@ -979,9 +963,8 @@ public class TvTEvent
}
/**
- * Is TvTEvent started?
- *
- * @return boolean: true if event is started, otherwise false
+ * Is TvTEvent started?
+ * @return boolean: true if event is started, otherwise false
*/
public static boolean isStarted()
{
@@ -995,9 +978,8 @@ public class TvTEvent
}
/**
- * Is TvTEvent rewarding?
- *
- * @return boolean: true if event is currently rewarding, otherwise false
+ * Is TvTEvent rewarding?
+ * @return boolean: true if event is currently rewarding, otherwise false
*/
public static boolean isRewarding()
{
@@ -1061,9 +1043,8 @@ public class TvTEvent
}
/**
- * Returns participated player count
- *
- * @return int: amount of players registered in the event
+ * Returns participated player count
+ * @return int: amount of players registered in the event
*/
public static int getParticipatedPlayersCount()
{
@@ -1071,9 +1052,8 @@ public class TvTEvent
}
/**
- * Returns teams names
- *
- * @return String[]: names of teams, 2 elements, index 0 for team 1 and index 1 for team 2
+ * Returns teams names
+ * @return String[]: names of teams, 2 elements, index 0 for team 1 and index 1 for team 2
*/
public static String[] getTeamNames()
{
@@ -1085,9 +1065,8 @@ public class TvTEvent
}
/**
- * Returns player count of both teams
- *
- * @return int[]: player count of teams, 2 elements, index 0 for team 1 and index 1 for team 2
+ * Returns player count of both teams
+ * @return int[]: player count of teams, 2 elements, index 0 for team 1 and index 1 for team 2
*/
public static int[] getTeamsPlayerCounts()
{
@@ -1100,7 +1079,7 @@ public class TvTEvent
/**
* Returns points count of both teams
- * @return int[]: points of teams, 2 elements, index 0 for team 1 and index 1 for team 2
+ * @return int[]: points of teams, 2 elements, index 0 for team 1 and index 1 for team 2
*/
public static int[] getTeamsPoints()
{
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/TvTEventTeam.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/TvTEventTeam.java
index 05a001c1e0..78374bca82 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/TvTEventTeam.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/TvTEventTeam.java
@@ -27,25 +27,24 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
public class TvTEventTeam
{
/**
- * The name of the team
+ * The name of the team
*/
private final String _name;
/**
- * The team spot coordinated
+ * The team spot coordinated
*/
private int[] _coordinates = new int[3];
/**
- * The points of the team
+ * The points of the team
*/
private short _points;
/** Name and instance of all participated players in map. */
private final Map _participatedPlayers = new ConcurrentHashMap<>();
/**
- * C'tor initialize the team
- *
- * @param name as String
- * @param coordinates as int[]
+ * C'tor initialize the team
+ * @param name as String
+ * @param coordinates as int[]
*/
public TvTEventTeam(String name, int[] coordinates)
{
@@ -55,10 +54,9 @@ public class TvTEventTeam
}
/**
- * Adds a player to the team
- *
- * @param playerInstance as PlayerInstance
- * @return boolean: true if success, otherwise false
+ * Adds a player to the team
+ * @param playerInstance as PlayerInstance
+ * @return boolean: true if success, otherwise false
*/
public boolean addPlayer(PlayerInstance playerInstance)
{
@@ -82,7 +80,7 @@ public class TvTEventTeam
}
/**
- * Increases the points of the team
+ * Increases the points of the team
*/
public void increasePoints()
{
@@ -90,7 +88,7 @@ public class TvTEventTeam
}
/**
- * Cleanup the team and make it ready for adding players again
+ * Cleanup the team and make it ready for adding players again
*/
public void cleanMe()
{
@@ -109,9 +107,8 @@ public class TvTEventTeam
}
/**
- * Returns the name of the team
- *
- * @return String: name of the team
+ * Returns the name of the team
+ * @return String: name of the team
*/
public String getName()
{
@@ -119,9 +116,8 @@ public class TvTEventTeam
}
/**
- * Returns the coordinates of the team spot
- *
- * @return int[]: team coordinates
+ * Returns the coordinates of the team spot
+ * @return int[]: team coordinates
*/
public int[] getCoordinates()
{
@@ -129,9 +125,8 @@ public class TvTEventTeam
}
/**
- * Returns the points of the team
- *
- * @return short: team points
+ * Returns the points of the team
+ * @return short: team points
*/
public short getPoints()
{
@@ -139,9 +134,8 @@ public class TvTEventTeam
}
/**
- * Returns name and instance of all participated players in Map
- *
- * @return Map: map of players in this team
+ * Returns name and instance of all participated players in Map
+ * @return Map: map of players in this team
*/
public Map getParticipatedPlayers()
{
@@ -149,9 +143,8 @@ public class TvTEventTeam
}
/**
- * Returns player count of this team
- *
- * @return int: number of players in team
+ * Returns player count of this team
+ * @return int: number of players in team
*/
public int getParticipatedPlayerCount()
{
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/TvTManager.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/TvTManager.java
index 7872565ae3..3e22cf3089 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/TvTManager.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/entity/TvTManager.java
@@ -32,12 +32,12 @@ public class TvTManager
protected static final Logger LOGGER = Logger.getLogger(TvTManager.class.getName());
/**
- * Task for event cycles
+ * Task for event cycles
*/
private TvTStartTask _task;
/**
- * New instance only by getInstance()
+ * New instance only by getInstance()
*/
protected TvTManager()
{
@@ -55,9 +55,8 @@ public class TvTManager
}
/**
- * Initialize new/Returns the one and only instance
- *
- * @return TvTManager
+ * Initialize new/Returns the one and only instance
+ * @return TvTManager
*/
public static TvTManager getInstance()
{
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/events/AbstractScript.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
index 41d2024921..2af56576fe 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
@@ -2620,7 +2620,7 @@ public abstract class AbstractScript extends ManagedScript
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param array of values.
* @return one value from array.
@@ -2636,7 +2636,7 @@ public abstract class AbstractScript extends ManagedScript
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param list of values.
* @return one value from list.
@@ -2651,7 +2651,7 @@ public abstract class AbstractScript extends ManagedScript
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param array of Integers.
* @return one Integer from array.
*/
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
index 2c99360464..2047823cc1 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
@@ -53,7 +53,7 @@ public class PlayerSkillHolder implements ISkillsHolder
}
/**
- * Add a skill to the skills map.
+ * Add a skill to the skills map.
* @param skill
*/
@Override
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
index 0c5c4778d5..57c565eb20 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
@@ -792,7 +792,7 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Drop item from inventory by using its objectID and updates database
+ * Drop item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
@@ -1057,7 +1057,7 @@ public abstract class Inventory extends ItemContainer
/**
* Equips an item in the given slot of the paperdoll.
- * Remark : The item must be in the inventory already.
+ * Remark : The item must be in the inventory already.
* @param slot : int pointing out the slot of the paperdoll
* @param item : ItemInstance pointing out the item to add in slot
* @return ItemInstance designating the item placed in the slot before
@@ -1242,8 +1242,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in body slot and returns alterations.
- * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(int)} instead
+ * Unequips item in body slot and returns alterations.
+ * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(int)} instead
* @param slot : int designating the slot of the paperdoll
* @return ItemInstance[] : list of changes
*/
@@ -1273,8 +1273,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in slot and returns alterations
- * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
+ * Unequips item in slot and returns alterations
+ * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
* @param slot : int designating the slot
* @return ItemInstance[] : list of items altered
*/
@@ -1436,8 +1436,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Equips item and returns list of alterations
- * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
+ * Equips item and returns list of alterations
+ * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
* @param item : ItemInstance corresponding to the item
* @return ItemInstance[] : list of alterations
*/
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
index 27d4c54120..c1f10242b0 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
@@ -498,7 +498,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its objectID and updates database
+ * Destroy item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -513,7 +513,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its itemId and updates database
+ * Destroy item from inventory by using its itemId and updates database
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
index 67267331cb..b4901e731d 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
@@ -113,7 +113,7 @@ public class PetInventory extends Inventory
public void restore()
{
super.restore();
- // check for equiped items from other pets
+ // check for equipped items from other pets
for (ItemInstance item : _items)
{
if (item.isEquipped() && !item.getItem().checkCondition(_owner, _owner, false))
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
index 3e2ee234cd..c6e4115d4d 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
@@ -57,11 +57,11 @@ public class PlayerInventory extends Inventory
/**
* Block modes:
- *
- *
-1 - no block
- *
0 - block items from _invItems, allow usage of other items
- *
1 - allow usage of items from _invItems, block other items
- *
+ *
+ *
-1 - no block
+ *
0 - block items from _invItems, allow usage of other items
+ *
1 - allow usage of items from _invItems, block other items
+ *
*/
private int _blockMode = -1;
@@ -608,7 +608,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
+ * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -655,7 +655,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
+ * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/items/Item.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/items/Item.java
index 9f577aa355..5dd50c3836 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/items/Item.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/items/Item.java
@@ -47,7 +47,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
/**
- * This class contains all informations concerning the item (weapon, armor, etc).
+ * This class contains all informations concerning the item (weapon, armor, etc).
* Mother class of :
*
*
Armor
@@ -153,8 +153,7 @@ public abstract class Item extends ListenersContainer implements IIdentifiable
private int _sharedReuseGroup;
/**
- * Constructor of the Item that fill class variables.
- *
+ * Constructor of the Item that fill class variables.
* @param set : StatSet corresponding to a set of couples (key,value) for description of the item
*/
protected Item(StatSet set)
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
index 647c61ea2c..4239dd6e14 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
@@ -21,7 +21,7 @@ import org.l2jmobius.gameserver.model.items.type.CrystalType;
import org.l2jmobius.gameserver.model.items.type.ItemType;
/**
- * This class contains ItemInstance
+ * This class contains ItemInstance
* Use to sort ItemInstance of :
*
*
Armor
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
index 3282c1f548..bf383abcaa 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
@@ -225,19 +225,15 @@ public class ItemInstance extends WorldObject
}
/**
- * Remove a ItemInstance from the world and send server->client GetItem packets.
- *
- * Actions :
- *
+ * Remove a ItemInstance from the world and send server->client GetItem packets.
+ *
+ * Actions:
*
Send a Server->Client Packet GetItem to player that pick up and its _knowPlayers member
- *
Remove the WorldObject from the world
- *
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- *
- * Example of use :
- *
- *
Do Pickup Item : PCInstance and Pet
- *
+ *
Remove the WorldObject from the world
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ *
+ * Example of use:
+ *
Do Pickup Item : PCInstance and Pet
* @param creature Character that pick up the item
*/
public void pickupMe(Creature creature)
@@ -382,9 +378,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the location of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the location of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param loc : ItemLocation (enumeration)
* @param locData : int designating the slot where the item is stored or the village for freights
*/
@@ -413,8 +408,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
+ * Sets the quantity of the item.
* @param count the new count to set
*/
public void setCount(long count)
@@ -437,9 +431,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the quantity of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param process : String Identifier of process triggering this action
* @param count : int
* @param creator : PlayerInstance Player requesting the item creation
@@ -1420,7 +1413,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
*/
public void updateDatabase()
{
@@ -1428,7 +1421,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
* @param force if the update should necessarily be done.
*/
public void updateDatabase(boolean force)
@@ -1531,20 +1524,17 @@ public class ItemInstance extends WorldObject
}
/**
- * Init a dropped ItemInstance and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a dropped ItemInstance and add it in the world as a visible object.
+ *
+ * Actions:
*
Set the x,y,z position of the ItemInstance dropped and update its _worldregion
*
Add the ItemInstance dropped to _visibleObjects of its WorldRegion
- *
Add the ItemInstance dropped in the world as a visible object
- *
- * Caution : This method DOESN'T ADD the object to _allObjects of World
- *
- * Example of use :
- *
+ *
Add the ItemInstance dropped in the world as a visible object
+ * Caution: This method DOESN'T ADD the object to _allObjects of World
+ *
+ * Example of use:
*
Drop item
- *
Call Pet
+ *
Call Pet
*/
public class ItemDropTask implements Runnable
{
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/quest/Quest.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/quest/Quest.java
index 6411b0fb24..4682d14b20 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/quest/Quest.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/quest/Quest.java
@@ -946,7 +946,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever a player attacks an NPC that is registered for the quest.
- * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
+ * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
* @param npc this parameter contains a reference to the exact instance of the NPC that got attacked.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked the NPC.
* @param damage this parameter represents the total damage that this attack has inflicted to the NPC.
@@ -1061,7 +1061,7 @@ public class Quest extends AbstractScript implements IIdentifiable
* The coder of the script may need to create a new quest state (if necessary).
* Note 3:
* The returned value of onFirstTalk replaces the default HTML that would have otherwise been loaded from a sub-folder of DatapackRoot/game/data/html/.
- * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
+ * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
* @param npc this parameter contains a reference to the exact instance of the NPC that the player is talking with.
* @param player this parameter contains a reference to the exact instance of the player who is talking to the NPC.
* @return the text returned by the event (may be {@code null}, a filename or just text)
@@ -1188,7 +1188,7 @@ public class Quest extends AbstractScript implements IIdentifiable
}
/**
- * This function is called whenever an NPC is teleport.
+ * This function is called whenever an NPC is teleport.
* @param npc this parameter contains a reference to the exact instance of the NPC who just teleport.
*/
protected void onTeleport(Npc npc)
@@ -1198,7 +1198,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever an NPC is called by another NPC in the same faction.
* @param npc this parameter contains a reference to the exact instance of the NPC who is being asked for help.
- * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
+ * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked.
* @param isSummon this parameter if it's {@code false} it denotes that the attacker was indeed the player, else it specifies that the attacker was the player's summon.
* @return
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/skills/BuffInfo.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/skills/BuffInfo.java
index 1ff4ab56fd..dbaf4aaa57 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/skills/BuffInfo.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/skills/BuffInfo.java
@@ -97,7 +97,7 @@ public class BuffInfo
}
/**
- * Adds an effect task to this buff info.
+ * Adds an effect task to this buff info.
* @param effect the effect that owns the task
* @param effectTaskInfo the task info
*/
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/skills/Skill.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/skills/Skill.java
index 0cdcb7247e..f1c216fd7f 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/skills/Skill.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/skills/Skill.java
@@ -1018,7 +1018,8 @@ public class Skill implements IIdentifiable
/**
* Return all targets of the skill in a table in function a the skill type.
- * Values of skill type:
+ *
+ * Values of skill type:
*
*
ONE : The skill can only be used on the PlayerInstance targeted, or on the caster if it's a PlayerInstance and no PlayerInstance targeted
*
SELF
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/stats/Calculator.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/stats/Calculator.java
index 4220970585..f7ae2cd985 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/stats/Calculator.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/stats/Calculator.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.stats.functions.AbstractFunction;
* A calculator is created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...).
* In fact, each calculator is a table of Func object in which each Func represents a mathematical function:
* FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- * When the calc method of a calculator is launched, each mathematical function is called according to its priority _order.
+ * When the calc method of a calculator is launched, each mathematical function is called according to its priority _order.
* Indeed, Func with lowest priority order is executed first and Funcs with the same order are executed in unspecified order.
* The result of the calculation is stored in the value property of an Env class instance.
* Method addFunc and removeFunc permit to add and remove a Func object from a Calculator.
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/stats/Formulas.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/stats/Formulas.java
index 814ccd5698..2d6ec47674 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/stats/Formulas.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/stats/Formulas.java
@@ -103,10 +103,12 @@ public class Formulas
/**
* Return the standard NPC Calculator set containing ACCURACY_COMBAT and EVASION_RATE.
- * Concept:
- * A calculator is created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...). In fact, each calculator is a table of Func object in which each Func represents a mathematic function :
+ *
+ * Concept:
+ *
+ * A calculator is created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...). In fact, each calculator is a table of Func object in which each Func represents a mathematic function :
* FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- * To reduce cache memory use, NPCInstances who don't have skills share the same Calculator set called NPC_STD_CALCULATOR.
+ * To reduce cache memory use, NPCInstances who don't have skills share the same Calculator set called NPC_STD_CALCULATOR.
* @return
*/
public static Calculator[] getStdNPCCalculators()
@@ -180,9 +182,11 @@ public class Formulas
/**
* Add basics Func objects to PlayerInstance and Summon.
- * Concept:
- * A calculator is created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...). In fact, each calculator is a table of Func object in which each Func represents a mathematic function :
- * FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
+ *
+ * Concept:
+ *
+ * A calculator is created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...). In fact, each calculator is a table of Func object in which each Func represents a mathematic function :
+ * FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
* @param creature PlayerInstance or Summon that must obtain basic Func objects
*/
public static void addFuncsToNewCharacter(Creature creature)
@@ -1152,7 +1156,7 @@ public class Formulas
* Returns:
* 0 = shield defense doesn't succeed
* 1 = shield defense succeed
- * 2 = perfect block
+ * 2 = perfect block
* @param attacker
* @param target
* @param skill
@@ -1266,7 +1270,7 @@ public class Formulas
}
/**
- * Calculates the effect landing success.
+ * Calculates the effect landing success.
* @param attacker the attacker
* @param target the target
* @param skill the skill
@@ -1969,7 +1973,7 @@ public class Formulas
* RandomizeHate,
* DeleteHateOfMe,
* TransferHate,
- * Confuse
+ * Confuse
* @param baseChance chance from effect parameter
* @param attacker
* @param target
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
index 2988807295..c621fab8f6 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
* A Function object is a component of a Calculator created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...).
* In fact, each calculator is a table of functions object in which each function represents a mathematics function:
* FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
+ * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
* Indeed, functions with lowest priority order is executed first and functions with the same order are executed in unspecified order.
* @author Zoey76
*/
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
index ca7f8d6d99..dee0ea769d 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
@@ -55,8 +55,8 @@ public class BlowFishKeygen
}
/**
- * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
- * Thus when getting a key with interests other then read-only a copy must be performed.
+ * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
+ * Thus when getting a key with interests other then read-only a copy must be performed.
* @return A key from this keygen pool.
*/
public static byte[] getRandomKey()
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
index 3e9c924051..b670c68ef0 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
@@ -405,7 +405,7 @@ public class RequestAcquireSkill implements IClientIncomingPacket
/**
* Perform a simple check for current player and skill.
* Takes the needed SP if the skill require it and all requirements are meet.
- * Consume required items if the skill require it and all requirements are meet.
+ * Consume required items if the skill require it and all requirements are meet.
* @param player the skill learning player.
* @param trainer the skills teaching Npc.
* @param skillLearn the skill to be learn.
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
index 206640aad7..eb85f84823 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
@@ -50,7 +50,7 @@ public class RequestGMCommand implements IClientIncomingPacket
@Override
public void run(GameClient client)
{
- // prevent non gm or low level GMs from vieweing player stuff
+ // prevent non GM or low level GMs from vieweing player stuff
if (!client.getPlayer().isGM() || !client.getPlayer().getAccessLevel().allowAltG())
{
return;
@@ -99,7 +99,7 @@ public class RequestGMCommand implements IClientIncomingPacket
}
case 6: // player warehouse
{
- // gm warehouse view to be implemented
+ // GM warehouse view to be implemented
if (player != null)
{
client.sendPacket(new GMViewWarehouseWithdrawList(player));
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
index d19f06f141..f4f0c5ca81 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.network.OutgoingPackets;
import org.l2jmobius.gameserver.network.clientpackets.RequestAllyInfo;
/**
- * Sent in response to {@link RequestAllyInfo}, if applicable.
+ * Sent in response to {@link RequestAllyInfo}, if applicable.
* @author afk5min
*/
public class AllianceInfo implements IClientOutgoingPacket
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
index a2546d02d0..c0683c8797 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
@@ -20,9 +20,9 @@ import org.l2jmobius.commons.network.PacketWriter;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Eva's Inferno event packet. info params:
- * type (1 - %, 2 - npcId),
- * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
+ * Eva's Inferno event packet. info params:
+ * type (1 - %, 2 - npcId),
+ * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
* state (0-1), endtime (only when type 2)
*/
public class ExBrBuffEventState implements IClientOutgoingPacket
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
index b2abb46ddb..55778961b5 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
@@ -66,7 +66,7 @@ public interface IClientOutgoingPacket extends IOutgoingPacket
}
/**
- * Sends this packet to the target player, useful for lambda operations like
+ * Sends this packet to the target player, useful for lambda operations like
* {@code World.getInstance().getPlayers().forEach(packet::sendTo)}
* @param player
*/
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
index 1b9baf9f3f..277e29610b 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
@@ -27,25 +27,25 @@ import org.l2jmobius.gameserver.model.entity.clanhall.SiegableHall;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Attacker List in the SiegeInfo Window
- *
- * c = ca
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Attackers Clans?
- * d = Number of Attackers Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Attacker List in the SiegeInfo Window
+ *
+ * c = ca
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Attackers Clans?
+ * d = Number of Attackers Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeAttackerList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
index bba120fe24..53388dfdbc 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
@@ -24,26 +24,26 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Defender List in the SiegeInfo Window
- *
- * c = 0xcb
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Defending Clans?
- * d = Number of Defending Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Defender List in the SiegeInfo Window
+ *
+ * c = 0xcb
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Defending Clans?
+ * d = Number of Defending Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeDefenderList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
index 6cde8e8804..b79f1109e3 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
@@ -29,18 +29,18 @@ import org.l2jmobius.gameserver.model.entity.ClanHall;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Shows the Siege Info
- *
- * c = c9
- * d = CastleID
- * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
- * d = Owner ClanID
- * S = Owner ClanName
- * S = Owner Clan LeaderName
- * d = Owner AllyID
- * S = Owner AllyName
- * d = current time (seconds)
- * d = Siege time (seconds) (0 for selectable)
+ * Shows the Siege Info
+ *
+ * c = c9
+ * d = CastleID
+ * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
+ * d = Owner ClanID
+ * S = Owner ClanName
+ * S = Owner Clan LeaderName
+ * d = Owner AllyID
+ * S = Owner AllyName
+ * d = current time (seconds)
+ * d = Siege time (seconds) (0 for selectable)
* d = (UNKNOW) Siege Time Select Related?
* @author KenM
*/
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/SortedWareHouseWithdrawalList.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/SortedWareHouseWithdrawalList.java
index 97a121573e..572a50e4b3 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/SortedWareHouseWithdrawalList.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/network/serverpackets/SortedWareHouseWithdrawalList.java
@@ -450,7 +450,7 @@ public class SortedWareHouseWithdrawalList implements IClientOutgoingPacket
* This method is used to limit the given Warehouse List to:
*
Weapon
*
Arrow
- *
Money
+ *
Money
* @param items complete Warehouse List
* @return limited Item List
*/
@@ -470,7 +470,7 @@ public class SortedWareHouseWithdrawalList implements IClientOutgoingPacket
/**
* This method is used to limit the given Warehouse List to:
*
Armor
- *
Money
+ *
Money
* @param items complete Warehouse List
* @return limited Item List
*/
@@ -490,7 +490,7 @@ public class SortedWareHouseWithdrawalList implements IClientOutgoingPacket
/**
* This method is used to limit the given Warehouse List to:
*
Everything which is no Weapon/Armor
- *
Money
+ *
Money
* @param items complete Warehouse List
* @return limited Item List
*/
@@ -510,7 +510,7 @@ public class SortedWareHouseWithdrawalList implements IClientOutgoingPacket
/**
* This method is used to limit the given Warehouse List to:
*
Materials
- *
Money
+ *
Money
* @param items complete Warehouse List
* @return limited Item List
*/
@@ -530,7 +530,7 @@ public class SortedWareHouseWithdrawalList implements IClientOutgoingPacket
/**
* This method is used to limit the given Warehouse List to:
*
Recipes
- *
Money
+ *
Money
* @param items complete Warehouse List
* @return limited Item List
*/
@@ -550,7 +550,7 @@ public class SortedWareHouseWithdrawalList implements IClientOutgoingPacket
/**
* This method is used to limit the given Warehouse List to:
*
Amulett
- *
Money
+ *
Money
* @param items complete Warehouse List
* @return limited Item List
*/
@@ -570,7 +570,7 @@ public class SortedWareHouseWithdrawalList implements IClientOutgoingPacket
/**
* This method is used to limit the given Warehouse List to:
*
Spellbook & Dwarven Drafts
- *
Money
+ *
Money
* @param items complete Warehouse List
* @return limited Item List
*/
@@ -590,7 +590,7 @@ public class SortedWareHouseWithdrawalList implements IClientOutgoingPacket
/**
* This method is used to limit the given Warehouse List to:
*
Consumables (Potions, Shots, ...)
- *
Money
+ *
Money
* @param items complete Warehouse List
* @return limited Item List
*/
@@ -610,7 +610,7 @@ public class SortedWareHouseWithdrawalList implements IClientOutgoingPacket
/**
* This method is used to limit the given Warehouse List to:
*
Shots
- *
Money
+ *
Money
* @param items complete Warehouse List
* @return limited Item List
*/
@@ -630,7 +630,7 @@ public class SortedWareHouseWithdrawalList implements IClientOutgoingPacket
/**
* This method is used to limit the given Warehouse List to:
*
Scrolls/Potions
- *
Money
+ *
Money
* @param items complete Warehouse List
* @return limited Item List
*/
@@ -650,7 +650,7 @@ public class SortedWareHouseWithdrawalList implements IClientOutgoingPacket
/**
* This method is used to limit the given Warehouse List to:
*
Seeds
- *
Money
+ *
Money
* @param items complete Warehouse List
* @return limited Item List
*/
@@ -670,7 +670,7 @@ public class SortedWareHouseWithdrawalList implements IClientOutgoingPacket
/**
* This method is used to limit the given Warehouse List to:
*
Everything which is no Weapon/Armor, Material, Recipe, Spellbook, Scroll or Shot
- *
Money
+ *
Money
* @param items complete Warehouse List
* @return limited Item List
*/
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/scripting/ManagedScript.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
index f2b91791ab..00235baa25 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
@@ -21,7 +21,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
/**
- * Abstract class for classes that are meant to be implemented by scripts.
+ * Abstract class for classes that are meant to be implemented by scripts.
* @author KenM
*/
public abstract class ManagedScript
@@ -41,7 +41,7 @@ public abstract class ManagedScript
public abstract Path getScriptPath();
/**
- * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
+ * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
* Subclasses of this class should override this method to properly refresh their bindings when necessary.
* @return true if and only if the script was reloaded, false otherwise.
*/
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
index 5be1894c50..0afed0a829 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
@@ -88,7 +88,7 @@ public class AttackStanceTaskManager
}
/**
- * Checks for attack stance task.
+ * Checks for attack stance task.
* @param actor the actor
* @return {@code true} if the character has an attack stance task, {@code false} otherwise
*/
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ui/frmAbout.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ui/frmAbout.java
index a3e5c2cc67..4d161afb73 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ui/frmAbout.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/ui/frmAbout.java
@@ -83,7 +83,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblProtocols);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 128, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/util/Broadcast.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/util/Broadcast.java
index eaf0c4afb8..6dbb62c92e 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/util/Broadcast.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/util/Broadcast.java
@@ -40,11 +40,13 @@ public class Broadcast
private static final Logger LOGGER = Logger.getLogger(Broadcast.class.getName());
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -60,11 +62,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -99,11 +103,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
* @param radius
@@ -119,10 +125,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param creature
* @param mov
*/
@@ -153,10 +161,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance present in the world.
- * Concept :
- * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance present in the world.
+ *
+ * Concept:
+ *
+ * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param packet
*/
public static void toAllOnlinePlayers(IClientOutgoingPacket packet)
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/util/MinionList.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/util/MinionList.java
index 310ca00268..0c47a4f067 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/util/MinionList.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/util/MinionList.java
@@ -58,13 +58,11 @@ public class MinionList
}
/**
- * Manage the spawn of Minions.
- *
- * Actions :
- *
+ * Manage the spawn of Minions.
+ *
+ * Actions:
*
Get the Minion data of all Minions that must be spawn
- *
For each Minion type, spawn the amount of Minion needed
- *
+ *
For each Minion type, spawn the amount of Minion needed
* @param minions
*/
public void spawnMinions(List minions)
@@ -260,16 +258,14 @@ public class MinionList
}
/**
- * Init a Minion and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a Minion and add it in the world as a visible object.
+ *
+ * Actions:
*
Get the template of the Minion to spawn
*
Create and Init the Minion and generate its Identifier
*
Set the Minion HP, MP and Heading
*
Set the Minion leader to this RaidBoss
- *
Init the position of the Minion and add it in the world as a visible object
- *
+ *
Init the position of the Minion and add it in the world as a visible object
* @param master MonsterInstance used as master for this minion
* @param minionId The NpcTemplate Identifier of the Minion to spawn
* @return
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/util/PrimeFinder.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/util/PrimeFinder.java
index c9532000c8..20016811a1 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/util/PrimeFinder.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/util/PrimeFinder.java
@@ -33,7 +33,7 @@ import java.util.Arrays;
public class PrimeFinder
{
/**
- * The largest prime this class can generate; currently equal to Integer.MAX_VALUE.
+ * The largest prime this class can generate; currently equal to Integer.MAX_VALUE
*/
public static final int LARGEST_PRIME = Integer.MAX_VALUE; // yes, it is prime.
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
index 2e46e0a048..0a81e323a3 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
@@ -67,8 +67,7 @@ public class TimeAmountInterpreter
}
/**
- * Appends an user-friendly description of the given amount of time to the specified text builder.
- *
+ * Appends an user-friendly description of the given amount of time to the specified text builder.
* Please keep in mind, that this method is primarily designed to be used with heap text builders. Therefore, if the given text builder throws an {@link IOException}, this exception will be wrapped in a {@link RuntimeException} and returned to the caller as an unchecked exception.
* @param
* @param textBuilder a character sequence builder
diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/loginserver/ui/frmAbout.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/loginserver/ui/frmAbout.java
index 8488868090..06a5d95539 100644
--- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/loginserver/ui/frmAbout.java
+++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/loginserver/ui/frmAbout.java
@@ -75,7 +75,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblLoginServer);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 148, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/NpcBuffers/impl/CabaleBuffer.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/NpcBuffers/impl/CabaleBuffer.java
index 7438010058..e2733b5bc4 100644
--- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/NpcBuffers/impl/CabaleBuffer.java
+++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/ai/others/NpcBuffers/impl/CabaleBuffer.java
@@ -223,17 +223,17 @@ public class CabaleBuffer extends AbstractNpcAI
}
/**
- * For each known player in range, cast either the positive or negative buff.
- * The stats affected depend on the player type, either a fighter or a mystic.
- *
- * Curse of Destruction (Loser)
- * - Fighters: -25% Accuracy, -25% Effect Resistance
- * - Mystics: -25% Casting Speed, -25% Effect Resistance
- *
- *
+ * For each known player in range, cast either the positive or negative buff.
+ * The stats affected depend on the player type, either a fighter or a mystic.
+ *
+ * Curse of Destruction (Loser)
+ * - Fighters: -25% Accuracy, -25% Effect Resistance
+ * - Mystics: -25% Casting Speed, -25% Effect Resistance
+ *
+ *
* Blessing of Prophecy (Winner)
- * - Fighters: +25% Max Load, +25% Effect Resistance
- * - Mystics: +25% Magic Cancel Resist, +25% Effect Resistance
+ * - Fighters: +25% Max Load, +25% Effect Resistance
+ * - Mystics: +25% Magic Cancel Resist, +25% Effect Resistance
* @param player
* @param skillId
* @return
diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
index 1541ea5821..a002271c2d 100644
--- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
+++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
@@ -26,18 +26,15 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
public class ArtefactInstanceAction implements IActionHandler
{
/**
- * Manage actions when a player click on the ArtefactInstance.
- *
- * Actions :
- *
+ * Manage actions when a player click on the ArtefactInstance.
+ *
+ * Actions:
*
Set the NpcInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
- *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
*/
@Override
public boolean action(PlayerInstance player, WorldObject target, boolean interact)
diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
index 05ec2e82c8..ff6c71df8d 100644
--- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
+++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
@@ -36,27 +36,22 @@ import org.l2jmobius.gameserver.network.serverpackets.MoveToPawn;
public class NpcAction implements IActionHandler
{
/**
- * Manage actions when a player click on the Npc.
- *
- * Actions on first click on the Npc (Select it) :
- *
+ * Manage actions when a player click on the Npc.
+ *
+ * Actions on first click on the Npc (Select it):
*
Set the Npc as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, send a Server->Client packet StatusUpdate to the PlayerInstance in order to update Npc HP bar
- *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
- *
- * Actions on second click on the Npc (Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
+ *
+ * Actions on second click on the Npc (Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, notify the PlayerInstance AI with AI_INTENTION_ATTACK (after a height verification)
- *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
- *
- * Caution : Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
+ * Caution: Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The PlayerInstance that start an action on the Npc
*/
@Override
diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
index f4741cd352..e0c0d3c47d 100644
--- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
+++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
@@ -32,25 +32,20 @@ public class PlayerInstanceAction implements IActionHandler
private static final int CURSED_WEAPON_VICTIM_MIN_LEVEL = 21;
/**
- * Manage actions when a player click on this PlayerInstance.
- *
- * Actions on first click on the PlayerInstance (Select it) :
- *
+ * Manage actions when a player click on this PlayerInstance.
+ *
+ * Actions on first click on the PlayerInstance (Select it):
*
Set the target of the player
- *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
- *
- * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
+ *
+ * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the player (display the select window)
*
If target PlayerInstance has a Private Store, notify the player AI with AI_INTENTION_INTERACT
- *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
- *
- *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
+ *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The player that start an action on target PlayerInstance
*/
@Override
diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java
index d5ad70b65d..0898eb9b36 100644
--- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java
+++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java
@@ -38,21 +38,17 @@ import handlers.bypasshandlers.NpcViewMod;
public class NpcActionShift implements IActionShiftHandler
{
/**
- * Manage and Display the GM console to modify the NpcInstance (GM only).
- *
- * Actions (If the PlayerInstance is a GM only) :
- *
+ * Manage and Display the GM console to modify the NpcInstance (GM only).
+ *
+ * Actions (If the PlayerInstance is a GM only):
*
Set the NpcInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If NpcInstance is autoAttackable, send a Server->Client packet StatusUpdate to the PlayerInstance in order to update NpcInstance HP bar
- *
Send a Server->Client NpcHtmlMessage() containing the GM console about this NpcInstance
- *
- * Caution : Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
- *
- * Example of use :
- *
- *
Client packet : Action
- *
+ *
Send a Server->Client NpcHtmlMessage() containing the GM console about this NpcInstance
+ * Caution: Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
+ *
+ * Example of use:
+ *
Client packet : Action
*/
@Override
public boolean action(PlayerInstance player, WorldObject target, boolean interact)
diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
index 20a4e8f57c..6da5c01385 100644
--- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
+++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
@@ -29,7 +29,7 @@ public class PlayerInstanceActionShift implements IActionShiftHandler
{
if (player.isGM())
{
- // Check if the gm already target this l2pcinstance
+ // Check if the GM already target this l2pcinstance
if (player.getTarget() != target)
{
// Set the target of the PlayerInstance player
diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
index dc7b4fe9a5..4cf8d0d42f 100644
--- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
+++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
@@ -78,13 +78,13 @@ public class AdminAdmin implements IAdminCommandHandler
else if (command.startsWith("admin_gmliston"))
{
AdminData.getInstance().showGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Registered into gm list");
+ BuilderUtil.sendSysMessage(activeChar, "Registered into GM list");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_gmlistoff"))
{
AdminData.getInstance().hideGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Removed from gm list");
+ BuilderUtil.sendSysMessage(activeChar, "Removed from GM list");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_silence"))
diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
index d4c4889883..c0e7a17440 100644
--- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
+++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
@@ -494,7 +494,7 @@ public class AdminEventEngine implements IAdminCommandHandler
sb.append("
");
sb.append("
");
sb.append("
");
- sb.append("
");
+ sb.append("
");
sb.append("Teams' names:
");
for (int i = 1; (i - 1) < teamnumbers; i++) // Team names params
{
diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
index 01d9f7fe58..bd1d70c6e0 100644
--- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
+++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
@@ -30,7 +30,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
/**
- * This class handles following admin commands: - gm = turns gm mode on/off
+ * This class handles following admin commands: - GM = turns GM mode on/off
* @version $Revision: 1.1.2.1 $ $Date: 2005/03/15 21:32:48 $
*/
public class AdminFightCalculator implements IAdminCommandHandler
diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
index 0efe2036ad..472d025a4e 100644
--- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
+++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
@@ -24,7 +24,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles following admin commands: - gm = turns gm mode off
+ * This class handles following admin commands: - GM = turns GM mode off
* @version $Revision: 1.2.4.4 $ $Date: 2005/04/11 10:06:06 $
*/
public class AdminGm implements IAdminCommandHandler
diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
index 9fcd884019..2c2ae086cf 100644
--- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
+++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
@@ -34,7 +34,7 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles commands for gm to forge packets
+ * This class handles commands for GM to forge packets
* @author Maktakien, HorridoJoho
*/
public class AdminPForge implements IAdminCommandHandler
diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
index 85b06b3195..b04c49a735 100644
--- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
+++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
@@ -30,14 +30,14 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * Pledge Manipulation:
- *
With target in a character without clan:
+ * Pledge Manipulation:
+ *
With target in a character without clan:
* //pledge create clanname
- *
With target in a clan leader:
- * //pledge info
- * //pledge dismiss
- * //pledge setlevel level
- * //pledge rep reputation_points
+ *
With target in a clan leader:
+ * //pledge info
+ * //pledge dismiss
+ * //pledge setlevel level
+ * //pledge rep reputation_points
*/
public class AdminPledge implements IAdminCommandHandler
{
diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/bypasshandlers/Loto.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/bypasshandlers/Loto.java
index f154550d23..b18cb6e400 100644
--- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/bypasshandlers/Loto.java
+++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/bypasshandlers/Loto.java
@@ -71,13 +71,12 @@ public class Loto implements IBypassHandler
}
/**
- * Open a Loto window on client with the text of the NpcInstance.
- *
- * Actions :
- *
+ * Open a Loto window on client with the text of the NpcInstance.
+ *
+ * Actions:
*
Get the text of the selected HTML file in function of the npcId and of the page number
*
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
- *
Send a Server->Client ActionFailed to the PlayerInstance in order to avoid that the client wait another packet
+ *
Send a Server->Client ActionFailed to the PlayerInstance in order to avoid that the client wait another packet
* @param player The PlayerInstance that talk with the NpcInstance
* @param npc Npc loto instance
* @param value The number of the page of the NpcInstance to display
diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
index 2958f6e492..6ef50374f2 100644
--- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
+++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
@@ -84,8 +84,9 @@ public class QuestLink implements IBypassHandler
/**
* Open a choose quest window on client with all quests available of the NpcInstance.
+ *
* Actions:
- *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
+ *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
* @param player The PlayerInstance that talk with the NpcInstance
* @param npc The table containing quests of the NpcInstance
* @param quests
@@ -202,6 +203,7 @@ public class QuestLink implements IBypassHandler
/**
* Open a quest window on client with the text of the NpcInstance.
+ *
* Actions:
*
*
Get the text of the quest state in the folder data/scripts/quests/questId/stateId.htm
Fly Radius means the distance between starting point and final point, it must be an integer.
*
Fly Course means the movement direction: imagine a compass above player's head, making north player's heading. So if fly course is 180, player will go backwards (good for blink, e.g.).
*
- * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
+ * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
* If target is effector, put in XML self="1", this will make _actor = getEffector(). This, combined with target type, allows more complex actions like flying target's backwards or player's backwards.
* @author DrHouse
*/
diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/effecthandlers/Fishing.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/effecthandlers/Fishing.java
index ae316bb36e..3b9a284fbd 100644
--- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/effecthandlers/Fishing.java
+++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/effecthandlers/Fishing.java
@@ -98,7 +98,7 @@ public class Fishing extends AbstractEffect
return;
}
- // check for equiped fishing rod
+ // check for equipped fishing rod
final Weapon equipedWeapon = player.getActiveWeaponItem();
if (((equipedWeapon == null) || (equipedWeapon.getItemType() != WeaponType.FISHINGROD)))
{
@@ -106,7 +106,7 @@ public class Fishing extends AbstractEffect
return;
}
- // check for equiped lure
+ // check for equipped lure
final ItemInstance equipedLeftHand = player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_LHAND);
if ((equipedLeftHand == null) || (equipedLeftHand.getItemType() != EtcItemType.LURE))
{
diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/instances/CrystalCaverns/CrystalCaverns.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/instances/CrystalCaverns/CrystalCaverns.java
index e333f52d20..bfdac7c0b7 100644
--- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/instances/CrystalCaverns/CrystalCaverns.java
+++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/instances/CrystalCaverns/CrystalCaverns.java
@@ -691,7 +691,7 @@ public class CrystalCaverns extends AbstractInstance
{
if (player.getParty() == null)
{
- // This can happen only if gm enters solo.
+ // This can happen only if GM enters solo.
player.sendMessage("Welcome to Crystal Caverns.");
teleportPlayer(player, START_LOC, world.getInstanceId());
world.addAllowed(player);
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
index 93028744ee..aa8ac8f064 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
@@ -1232,8 +1232,7 @@ public class BlowfishEngine
/**
* Method to encrypt the block at the given index.
- * The encrypted block goes to the destination array at the given index.
- *
+ * The encrypted block goes to the destination array at the given index.
* @param src source array with the plain data
* @param srcIndex index where the block to encrypt is located
* @param dst destination array the encryption will go to
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/GameTimeController.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/GameTimeController.java
index 1a9571ab27..156c71f789 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/GameTimeController.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/GameTimeController.java
@@ -114,10 +114,13 @@ public class GameTimeController extends Thread
}
/**
- * Move all Creatures contained in movingObjects of GameTimeController.
- * Concept :
- * All Creature in movement are identified in movingObjects of GameTimeController.
- * Actions :
+ * Move all Creatures contained in movingObjects of GameTimeController.
+ *
+ * Concept:
+ *
+ * All Creature in movement are identified in movingObjects of GameTimeController.
+ *
+ * Actions:
*
*
Update the position of each Creature
*
If movement is finished, the Creature is removed from movingObjects
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/LoginServerThread.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/LoginServerThread.java
index 64c5be7e76..20758d4eb2 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/LoginServerThread.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/LoginServerThread.java
@@ -95,7 +95,6 @@ public class LoginServerThread extends Thread
* The BlowFish engine used to encrypt packets
* It is first initialized with a unified key:
* "_;v.]05-31!|+-%xT!^[$\00"
- *
* and then after handshake, with a new key sent by
* login server during the handshake. This new key is stored
* in blowfishKey
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/SevenSigns.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/SevenSigns.java
index 3d79dfe606..29349fe23c 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/SevenSigns.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/SevenSigns.java
@@ -979,7 +979,7 @@ public class SevenSigns
}
/**
- * Used to reset the cabal details of all players, and update the database.
+ * Used to reset the cabal details of all players, and update the database.
* Primarily used when beginning a new cycle, and should otherwise never be called.
*/
protected void resetPlayerData()
@@ -1060,7 +1060,7 @@ public class SevenSigns
}
/**
- * Returns the amount of ancient adena the specified player can claim, if any.
+ * Returns the amount of ancient adena the specified player can claim, if any.
* If removeReward = True, all the ancient adena owed to them is removed, then DB is updated.
* @param objectId
* @param removeReward
@@ -1089,7 +1089,7 @@ public class SevenSigns
/**
* Used to add the specified player's seal stone contribution points to the current total for their cabal.
* Returns the point score the contribution was worth.
- * Each stone count must be broken down and specified by the stone's color.
+ * Each stone count must be broken down and specified by the stone's color.
* @param objectId
* @param blueCount
* @param greenCount
@@ -1210,7 +1210,7 @@ public class SevenSigns
}
/**
- * Used to initialize the seals for each cabal.
+ * Used to initialize the seals for each cabal.
* (Used at startup or at beginning of a new cycle).
* This method should be called after resetSeals() and calcNewSealOwners() on a new cycle.
*/
@@ -1250,8 +1250,7 @@ public class SevenSigns
}
/**
- * Calculates the ownership of the three Seals of the Seven Signs, based on various criterion.
- *
+ * Calculates the ownership of the three Seals of the Seven Signs, based on various criterion.
* Should only ever called at the beginning of a new cycle.
*/
protected void calcNewSealOwners()
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/SevenSignsFestival.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/SevenSignsFestival.java
index 4e5f5561d7..1a67dc0bf9 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/SevenSignsFestival.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/SevenSignsFestival.java
@@ -122,7 +122,7 @@ public class SevenSignsFestival implements SpawnListener
*
Chests
*
* All data is given by: X, Y, Z (coords), Heading, NPC ID (if necessary).
- * This may be moved externally in time, but the data should not change.
+ * This may be moved externally in time, but the data should not change.
*/
// @formatter:off
public static final int[][] FESTIVAL_DAWN_PLAYER_SPAWNS =
@@ -1977,8 +1977,8 @@ public class SevenSignsFestival implements SpawnListener
}
/**
- * Returns the running instance of a festival for the given Oracle and festivalID.
- * A null value is returned if there are no participants in that festival.
+ * Returns the running instance of a festival for the given Oracle and festivalID.
+ * A null value is returned if there are no participants in that festival.
* @param oracle
* @param festivalId
* @return DarknessFestival festivalInst
@@ -2171,11 +2171,11 @@ public class SevenSignsFestival implements SpawnListener
}
/**
- * Used to spawn monsters unique to the festival.
- * Valid SpawnTypes:
- * 0 - All Primary Monsters (starting monsters)
- * 1 - Same as 0, but without archers/marksmen. (used for challenge increase)
- * 2 - Secondary Monsters (archers)
+ * Used to spawn monsters unique to the festival.
+ * Valid SpawnTypes:
+ * 0 - All Primary Monsters (starting monsters)
+ * 1 - Same as 0, but without archers/marksmen. (used for challenge increase)
+ * 2 - Secondary Monsters (archers)
* 3 - Festival Chests
* @param respawnDelay
* @param spawnType
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/Shutdown.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/Shutdown.java
index db5355cfd6..79aa571e91 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/Shutdown.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/Shutdown.java
@@ -234,7 +234,7 @@ public class Shutdown extends Thread
}
else
{
- // gm shutdown: send warnings and then call exit to start shutdown sequence
+ // GM shutdown: send warnings and then call exit to start shutdown sequence
countdown();
// last point where logging is operational :(
LOGGER.warning("GM shutdown countdown is over. " + MODE_TEXT[_shutdownMode] + " NOW!");
@@ -563,7 +563,7 @@ public class Shutdown extends Thread
}
/**
- * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
+ * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
* @return instance of Shutdown, to be used as shutdown hook
*/
public static Shutdown getInstance()
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ai/AbstractAI.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ai/AbstractAI.java
index eda63b08ad..c4f8bdd8e7 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ai/AbstractAI.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ai/AbstractAI.java
@@ -44,7 +44,7 @@ import org.l2jmobius.gameserver.taskmanager.AttackStanceTaskManager;
/**
* Mother class of all objects AI in the world.
- * AbastractAI :
+ * AbastractAI:
*
CreatureAI
*/
public abstract class AbstractAI implements Ctrl
@@ -212,10 +212,10 @@ public abstract class AbstractAI implements Ctrl
/**
* Set the Intention of this AbstractAI.
- * Caution : This method is USED by AI classes
- * Overridden in :
- * AttackableAI : Create an AI Task executed every 1s (if necessary)
- * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
+ * Caution: This method is USED by AI classes
+ * Overridden in:
+ * AttackableAI : Create an AI Task executed every 1s (if necessary)
+ * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
* @param intention The new Intention to set to the AI
* @param arg0 The first parameter of the Intention
* @param arg1 The second parameter of the Intention
@@ -229,7 +229,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
*/
@Override
@@ -240,7 +240,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
* @param arg0 The first parameter of the Intention (optional target)
*/
@@ -318,7 +318,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onEvt method corresponding to the Event.
- * Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
*/
@Override
@@ -328,7 +328,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
*/
@@ -339,7 +339,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
*/
@Override
@@ -538,7 +538,7 @@ public abstract class AbstractAI implements Ctrl
protected abstract void onEvtAfraid(Creature effector, boolean start);
/**
- * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution : Low level function, used by AI subclasses
+ * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution: Low level function, used by AI subclasses
*/
protected void clientActionFailed()
{
@@ -549,8 +549,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param pawn
* @param offset
*/
@@ -634,8 +634,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param x
* @param y
* @param z
@@ -662,8 +662,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param loc
*/
protected void clientStopMoving(Location loc)
@@ -726,8 +726,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
public void clientStartAutoAttack()
{
@@ -754,8 +754,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
public void clientStopAutoAttack()
{
@@ -783,8 +783,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
protected void clientNotifyDead()
{
@@ -803,7 +803,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Update the state of this actor client side by sending Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance player.
- * Caution : Low level function, used by AI subclasses
+ * Caution: Low level function, used by AI subclasses
* @param player The PlayerIstance to notify with state of this Creature
*/
public void describeStateToPlayer(PlayerInstance player)
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ai/AttackableAI.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ai/AttackableAI.java
index 19b65ab510..92374af181 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ai/AttackableAI.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ai/AttackableAI.java
@@ -133,7 +133,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Actor is a GuardInstance :
+ * Actor is a GuardInstance:
*
*
The target isn't a Folk or a Door
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
@@ -141,7 +141,8 @@ public class AttackableAI extends CreatureAI
*
The PlayerInstance target has karma (=PK)
*
The MonsterInstance target is aggressive
*
- * Actor is a SiegeGuardInstance :
+ *
+ * Actor is a SiegeGuardInstance:
*
*
The target isn't a Folk or a Door
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
@@ -149,14 +150,16 @@ public class AttackableAI extends CreatureAI
*
A siege is in progress
*
The PlayerInstance target isn't a Defender
*
- * Actor is a FriendlyMobInstance :
+ *
+ * Actor is a FriendlyMobInstance:
*
*
The target isn't a Folk, a Door or another Npc
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
*
The target is in the actor Aggro range and is at the same height
*
The PlayerInstance target has karma (=PK)
*
- * Actor is a MonsterInstance :
+ *
+ * Actor is a MonsterInstance:
*
*
The target isn't a Folk, a Door or another Npc
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
@@ -333,7 +336,7 @@ public class AttackableAI extends CreatureAI
/**
* Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
- * Caution : If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
+ * Caution: If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
* @param intention The new Intention to set to the AI
* @param arg0 The first parameter of the Intention
* @param arg1 The second parameter of the Intention
@@ -449,7 +452,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update every 1s the _globalAggro counter to come close to 0
*
If the actor is Aggressive and can attack, add all autoAttackable Creature in its Aggro Range to its _aggroList, chose a target and order to attack it
@@ -743,6 +746,7 @@ public class AttackableAI extends CreatureAI
/**
* Manage AI attack thinks of a Attackable (called by onEvtThink).
+ *
* Actions:
*
*
Update the attack timeout if actor is running
@@ -2277,7 +2281,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Attacked.
- * Actions :
+ *
+ * Actions:
*
*
Init the attack : Calculate the attack timeout, Set the _globalAggro to 0, Add the attacker to the actor _aggroList
*
Set the Creature movement type to run and send Server->Client packet ChangeMoveType to all others PlayerInstance
@@ -2338,7 +2343,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Aggression.
- * Actions :
+ *
+ * Actions:
*
*
Add the target to the actor _aggroList or update hate if already present
*
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ai/CreatureAI.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ai/CreatureAI.java
index a6df8d7c5e..23a8475bdd 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ai/CreatureAI.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ai/CreatureAI.java
@@ -145,7 +145,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Idle Intention : Stop Attack, Movement and Stand Up the actor.
- * Actions :
+ *
+ * Actions:
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
Init cast and attack target
@@ -173,7 +174,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Active Intention : Stop Attack, Movement and Launch Think Event.
- * Actions : if the Intention is not already Active
+ *
+ * Actions : if the Intention is not already Active
*
*
Set the AI Intention to AI_INTENTION_ACTIVE
*
Init cast and attack target
@@ -209,7 +211,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Rest Intention.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
@@ -223,7 +226,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Attack Intention : Stop current Attack (if necessary), Start a new Attack and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_ATTACK
@@ -231,7 +235,8 @@ public class CreatureAI extends AbstractAI
*
Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast)
*
Launch the Think Event
*
- * Overridden in :
+ *
+ * Overridden in:
*
*
AttackableAI : Calculate attack timeout
*
@@ -282,7 +287,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Cast Intention : Stop current Attack, Init the AI in order to cast and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI cast target
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
@@ -327,7 +333,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
@@ -359,7 +366,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Follow Intention : Stop current Attack and Launch a Follow Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_FOLLOW
@@ -387,7 +395,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the PickUp Intention : Set the pick up target and Launch a Move To Pawn Task (offset=20).
- * Actions :
+ *
+ * Actions :
*
*
Set the AI pick up target
*
Set the Intention of this AI to AI_INTENTION_PICK_UP
@@ -429,7 +438,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Interact Intention : Set the interact target and Launch a Move To Pawn Task (offset=60).
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the AI interact target
@@ -485,7 +495,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Stunned then onAttacked Event.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
@@ -536,7 +547,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Sleeping.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
@@ -563,7 +575,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Rooted.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -586,7 +599,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Confused.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -604,7 +618,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Muted.
- * Actions :
+ *
+ * Actions:
*
*
Break a cast and send Server->Client ActionFailed packet and a System Message to the Creature
*
@@ -627,7 +642,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -650,7 +666,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Arrived.
- * Actions :
+ *
+ * Actions:
*
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
*
Launch actions corresponding to the Event Think
@@ -693,7 +710,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedRevalidate.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -707,7 +725,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedBlocked.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
@@ -732,7 +751,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ForgetObject.
- * Actions :
+ *
+ * Actions:
*
*
If the object was targeted and the Intention was AI_INTENTION_INTERACT or AI_INTENTION_PICK_UP, set the Intention to AI_INTENTION_ACTIVE
*
If the object was targeted to attack, stop the auto-attack, cancel target and set the Intention to AI_INTENTION_ACTIVE
@@ -811,7 +831,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -836,7 +857,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Dead.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast)
@@ -859,7 +881,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Fake Death.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
@@ -958,13 +981,15 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move to Pawn action in function of the distance and of the Interact area.
- * Actions :
+ *
+ * Actions:
*
*
Get the distance between the current position of the Creature and the target (x,y)
*
If the distance > offset+20, move the actor (by running) to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast)
*
If the distance <= offset+20, Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1065,13 +1090,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost or dead.
- * Actions : If the target is lost or dead
+ *
+ * Actions : If the target is lost or dead
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1098,13 +1125,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost.
- * Actions : If the target is lost
+ *
+ * Actions : If the target is lost
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ai/FortSiegeGuardAI.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ai/FortSiegeGuardAI.java
index 757ab046f2..e0a2a2ca40 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ai/FortSiegeGuardAI.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ai/FortSiegeGuardAI.java
@@ -86,7 +86,7 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
}
/**
- * Actor is a GuardInstance :
+ * Actor is a GuardInstance:
*
*
The target isn't a Folk or a Door
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
@@ -94,7 +94,8 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
*
The PlayerInstance target has karma (=PK)
*
The MonsterInstance target is aggressive
*
- * Actor is a SiegeGuardInstance :
+ *
+ * Actor is a SiegeGuardInstance:
*
*
The target isn't a Folk or a Door
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
@@ -102,14 +103,16 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
*
A siege is in progress
*
The PlayerInstance target isn't a Defender
*
- * Actor is a FriendlyMobInstance :
+ *
+ * Actor is a FriendlyMobInstance:
*
*
The target isn't a Folk, a Door or another NpcInstance
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
*
The target is in the actor Aggro range and is at the same height
*
The PlayerInstance target has karma (=PK)
*
- * Actor is a MonsterInstance :
+ *
+ * Actor is a MonsterInstance:
*
*
The target isn't a Folk, a Door or another NpcInstance
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
@@ -162,7 +165,7 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
/**
* Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
- * Caution : If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
+ * Caution: If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
* @param intention The new Intention to set to the AI
* @param arg0 The first parameter of the Intention
* @param arg1 The second parameter of the Intention
@@ -234,7 +237,8 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
/**
* Manage AI standard thinks of a Attackable (called by onEvtThink).
- * Actions :
+ *
+ * Actions:
*
*
Update every 1s the _globalAggro counter to come close to 0
*
If the actor is Aggressive and can attack, add all autoAttackable Creature in its Aggro Range to its _aggroList, chose a target and order to attack it
@@ -302,7 +306,8 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
/**
* Manage AI attack thinks of a Attackable (called by onEvtThink).
- * Actions :
+ *
+ * Actions:
*
*
Update the attack timeout if actor is running
*
If target is dead or timeout is expired, stop this attack and set the Intention to AI_INTENTION_ACTIVE
@@ -660,7 +665,8 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
/**
* Launch actions corresponding to the Event Attacked.
- * Actions :
+ *
+ * Actions:
*
*
Init the attack : Calculate the attack timeout, Set the _globalAggro to 0, Add the attacker to the actor _aggroList
*
Set the Creature movement type to run and send Server->Client packet ChangeMoveType to all others PlayerInstance
@@ -700,7 +706,8 @@ public class FortSiegeGuardAI extends CreatureAI implements Runnable
/**
* Launch actions corresponding to the Event Aggression.
- * Actions :
+ *
+ * Actions:
*
*
Add the target to the actor _aggroList or update hate if already present
*
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ai/PlayerAI.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ai/PlayerAI.java
index a6151b8cf2..9c04c1a935 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ai/PlayerAI.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ai/PlayerAI.java
@@ -88,7 +88,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -118,7 +119,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -133,7 +135,7 @@ public class PlayerAI extends PlayableAI
/**
* Finalize the casting of a skill. This method overrides CreatureAI method.
- * What it does:
+ * What it does:
* Check if actual intention is set to CAST and, if so, retrieves latest intention before the actual CAST and set it as the current intention for the player.
*/
@Override
@@ -185,7 +187,8 @@ public class PlayerAI extends PlayableAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ai/SiegeGuardAI.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ai/SiegeGuardAI.java
index 3e6f0a4964..6ccc374eb9 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ai/SiegeGuardAI.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ai/SiegeGuardAI.java
@@ -86,7 +86,7 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
}
/**
- * Actor is a GuardInstance :
+ * Actor is a GuardInstance:
*
*
The target isn't a Folk or a Door
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
@@ -94,7 +94,8 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
*
The PlayerInstance target has karma (=PK)
*
The MonsterInstance target is aggressive
*
- * Actor is a SiegeGuardInstance :
+ *
+ * Actor is a SiegeGuardInstance:
*
*
The target isn't a Folk or a Door
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
@@ -102,14 +103,16 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
*
A siege is in progress
*
The PlayerInstance target isn't a Defender
*
- * Actor is a FriendlyMobInstance :
+ *
+ * Actor is a FriendlyMobInstance:
*
*
The target isn't a Folk, a Door or another NpcInstance
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
*
The target is in the actor Aggro range and is at the same height
*
The PlayerInstance target has karma (=PK)
*
- * Actor is a MonsterInstance :
+ *
+ * Actor is a MonsterInstance:
*
*
The target isn't a Folk, a Door or another NpcInstance
*
The target isn't dead, isn't invulnerable, isn't in silent moving mode AND too far (>100)
@@ -155,7 +158,7 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
/**
* Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
- * Caution : If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
+ * Caution: If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
* @param intention The new Intention to set to the AI
* @param arg0 The first parameter of the Intention
* @param arg1 The second parameter of the Intention
@@ -227,7 +230,8 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
/**
* Manage AI standard thinks of a Attackable (called by onEvtThink).
- * Actions :
+ *
+ * Actions:
*
*
Update every 1s the _globalAggro counter to come close to 0
*
If the actor is Aggressive and can attack, add all autoAttackable Creature in its Aggro Range to its _aggroList, chose a target and order to attack it
@@ -292,7 +296,8 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
/**
* Manage AI attack thinks of a Attackable (called by onEvtThink).
- * Actions :
+ *
+ * Actions:
*
*
Update the attack timeout if actor is running
*
If target is dead or timeout is expired, stop this attack and set the Intention to AI_INTENTION_ACTIVE
@@ -663,7 +668,8 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
/**
* Launch actions corresponding to the Event Attacked.
- * Actions :
+ *
+ * Actions:
*
*
Init the attack : Calculate the attack timeout, Set the _globalAggro to 0, Add the attacker to the actor _aggroList
*
Set the Creature movement type to run and send Server->Client packet ChangeMoveType to all others PlayerInstance
@@ -703,7 +709,8 @@ public class SiegeGuardAI extends CreatureAI implements Runnable
/**
* Launch actions corresponding to the Event Aggression.
- * Actions :
+ *
+ * Actions:
*
*
Add the target to the actor _aggroList or update hate if already present
*
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
index b933332550..5dd34b01ca 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
@@ -158,7 +158,7 @@ public class AdminData implements IXmlReader
AdminCommandAccessRight acar = _adminCommandAccessRights.get(adminCommand);
if (acar == null)
{
- // Trying to avoid the spam for next time when the gm would try to use the same command
+ // Trying to avoid the spam for next time when the GM would try to use the same command
if ((accessLevel.getLevel() > 0) && (accessLevel.getLevel() == _highestLevel))
{
acar = new AdminCommandAccessRight(adminCommand, true, accessLevel.getLevel());
@@ -339,7 +339,7 @@ public class AdminData implements IXmlReader
/**
* Gets the single instance of AdminTable.
- * @return AccessLevels: the one and only instance of this class
+ * @return AccessLevels: the one and only instance of this class
*/
public static AdminData getInstance()
{
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
index e0c1385ac4..e86ae2263b 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
@@ -57,7 +57,7 @@ import org.l2jmobius.gameserver.model.skills.Skill;
* Here can be found the following skill trees:
*
*
Class skill trees: player skill trees for each class.
- *
Transfer skill trees: player skill trees for each healer class.
+ *
Transfer skill trees: player skill trees for each healer class.
*
Collect skill tree: player skill tree for Gracia related skills.
*
Fishing skill tree: player skill tree for fishing related skills.
*
Transform skill tree: player skill tree for transformation related skills.
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/datatables/BotReportTable.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
index eda76d4918..8ae1fc2350 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
@@ -207,7 +207,7 @@ public class BotReportTable
}
/**
- * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
+ * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
* @param reporter (PlayerInstance who issued the report)
* @return True, if the report was registered, False otherwise
*/
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/datatables/ItemTable.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/datatables/ItemTable.java
index af5585d8e6..833c82a740 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/datatables/ItemTable.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/datatables/ItemTable.java
@@ -190,10 +190,10 @@ public class ItemTable
}
/**
- * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions :
+ * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions:
*
Create and Init the ItemInstance corresponding to the Item Identifier and quantity
*
Add the ItemInstance object to _allObjects of L2world
- *
Logs Item creation according to log settings
+ *
Logs Item creation according to log settings
* @param process : String Identifier of process triggering this action
* @param itemId : int Item Identifier of the item to be created
* @param count : int Quantity of items to be created for stackable items
@@ -296,7 +296,8 @@ public class ItemTable
/**
* Destroys the ItemInstance.
- * Actions :
+ *
+ * Actions:
*
*
Sets ItemInstance parameters to be unusable
*
Removes the ItemInstance object to _allObjects of L2world
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/handler/ItemHandler.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/handler/ItemHandler.java
index 939d8263da..a815f2646e 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/handler/ItemHandler.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/handler/ItemHandler.java
@@ -38,10 +38,9 @@ public class ItemHandler implements IHandler
}
/**
- * Adds handler of item type in datatable.
- *
- * Concept :
- * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
+ * Adds handler of item type in datatable.
+ * Concept :
+ * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
* @param handler (IItemHandler)
*/
@Override
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/AccessLevel.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/AccessLevel.java
index ced434ddda..2dac00e406 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/AccessLevel.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/AccessLevel.java
@@ -87,9 +87,8 @@ public class AccessLevel
}
/**
- * Returns the access level
- *
- * @return int: access level
+ * Returns the access level
+ * @return int: access level
*/
public int getLevel()
{
@@ -97,9 +96,8 @@ public class AccessLevel
}
/**
- * Returns the access level name
- *
- * @return String: access level name
+ * Returns the access level name
+ * @return String: access level name
*/
public String getName()
{
@@ -107,9 +105,8 @@ public class AccessLevel
}
/**
- * Returns the name color of the access level
- *
- * @return int: the name color for the access level
+ * Returns the name color of the access level
+ * @return int: the name color for the access level
*/
public int getNameColor()
{
@@ -117,9 +114,8 @@ public class AccessLevel
}
/**
- * Returns the title color color of the access level
- *
- * @return int: the title color for the access level
+ * Returns the title color color of the access level
+ * @return int: the title color for the access level
*/
public int getTitleColor()
{
@@ -127,9 +123,8 @@ public class AccessLevel
}
/**
- * Retuns if the access level has gm access or not
- *
- * @return boolean: true if access level have gm access, otherwise false
+ * Retuns if the access level has GM access or not
+ * @return boolean: true if access level have GM access, otherwise false
*/
public boolean isGm()
{
@@ -137,9 +132,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to attack in peace zone or not
- *
- * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
+ * Returns if the access level is allowed to attack in peace zone or not
+ * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
*/
public boolean allowPeaceAttack()
{
@@ -147,9 +141,8 @@ public class AccessLevel
}
/**
- * Retruns if the access level is allowed to use fixed res or not
- *
- * @return true if the access level is allowed to use fixed res, otherwise false
+ * Retruns if the access level is allowed to use fixed res or not
+ * @return true if the access level is allowed to use fixed res, otherwise false
*/
public boolean allowFixedRes()
{
@@ -157,9 +150,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to perform transactions or not
- *
- * @return boolean: true if access level is allowed to perform transactions, otherwise false
+ * Returns if the access level is allowed to perform transactions or not
+ * @return boolean: true if access level is allowed to perform transactions, otherwise false
*/
public boolean allowTransaction()
{
@@ -167,9 +159,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to use AltG commands or not
- *
- * @return boolean: true if access level is allowed to use AltG commands, otherwise false
+ * Returns if the access level is allowed to use AltG commands or not
+ * @return boolean: true if access level is allowed to use AltG commands, otherwise false
*/
public boolean allowAltG()
{
@@ -177,9 +168,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can give damage or not
- *
- * @return boolean: true if the access level can give damage, otherwise false
+ * Returns if the access level can give damage or not
+ * @return boolean: true if the access level can give damage, otherwise false
*/
public boolean canGiveDamage()
{
@@ -187,9 +177,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can take aggro or not
- *
- * @return boolean: true if the access level can take aggro, otherwise false
+ * Returns if the access level can take aggro or not
+ * @return boolean: true if the access level can take aggro, otherwise false
*/
public boolean canTakeAggro()
{
@@ -197,9 +186,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can gain exp or not
- *
- * @return boolean: true if the access level can gain exp, otherwise false
+ * Returns if the access level can gain exp or not
+ * @return boolean: true if the access level can gain exp, otherwise false
*/
public boolean canGainExp()
{
@@ -207,9 +195,9 @@ public class AccessLevel
}
/**
- * Returns if the access level contains allowedAccess as child
- * @param accessLevel as AccessLevel
- * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
+ * Returns if the access level contains allowedAccess as child
+ * @param accessLevel as AccessLevel
+ * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
*/
public boolean hasChildAccess(AccessLevel accessLevel)
{
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/AutoSpawnHandler.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/AutoSpawnHandler.java
index 0201721338..f9d9eb88e0 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/AutoSpawnHandler.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/AutoSpawnHandler.java
@@ -203,7 +203,7 @@ public class AutoSpawnHandler
/**
* Registers a spawn with the given parameters with the spawner, and marks it as active.
* Returns a AutoSpawnInstance containing info about the spawn.
- * Warning: Spawn locations must be specified separately using addSpawnLocation().
+ * Warning: Spawn locations must be specified separately using addSpawnLocation().
* @param npcId
* @param initialDelay (If < 0 = default value)
* @param respawnDelay (If < 0 = default value)
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/Party.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/Party.java
index ae3473ae70..6a3acef21b 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/Party.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/Party.java
@@ -128,7 +128,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Set invitation process flag and store time for expiration.
+ * Set invitation process flag and store time for expiration.
* Happens when a player joins party or declines to join.
* @param value the pending invitation state to set
*/
@@ -259,8 +259,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Send a Server->Client packet to all other PlayerInstance of the Party.
- *
+ * Send a Server->Client packet to all other PlayerInstance of the Party.
* @param player
* @param msg
*/
@@ -720,12 +719,12 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
- *
- * Actions :
+ * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
+ *
+ * Actions:
*
Get the PlayerInstance owner of the ServitorInstance (if necessary)
*
Calculate the Experience and SP reward distribution rate
- *
Add Experience and SP to the PlayerInstance
+ *
Add Experience and SP to the PlayerInstance
* @param xpReward The Experience reward to distribute
* @param spReward The SP reward to distribute
* @param rewardedMembers The list of PlayerInstance to reward
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/Spawn.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/Spawn.java
index f6aa7acc36..183c3ae482 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/Spawn.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/Spawn.java
@@ -43,7 +43,7 @@ import org.l2jmobius.gameserver.util.Util;
/**
* This class manages the spawn and respawn of a group of NpcInstance that are in the same are and have the same type.
- * Concept:
+ * Concept:
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
* @author Nightmare
@@ -81,13 +81,16 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Constructor of Spawn.
- * Concept:
+ *
+ * Concept:
+ *
* Each Spawn owns generic and static properties (ex : RewardExp, RewardSP, AggroRange...).
* All of those properties are stored in a different NpcTemplate for each type of Spawn. Each template is loaded once in the server cache memory (reduce memory use).
* When a new instance of Spawn is created, server just create a link between the instance and the template.
- * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
- * This link is stored in _spawn of the NpcInstance.
- * Actions:
+ * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
+ * This link is stored in _spawn of the NpcInstance.
+ *
+ * Actions:
*
*
Set the _template of the Spawn
*
Calculate the implementationName used to generate the generic constructor of NpcInstance managed by this Spawn
@@ -221,11 +224,11 @@ public class Spawn extends Location implements IIdentifiable, INamable
}
/**
- * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions :
+ * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions:
*
Decrease the current number of NpcInstance of this Spawn
*
Check if respawn is possible to prevent multiple respawning caused by lag
*
Update the current number of SpawnTask in progress or stand by of this Spawn
- *
Create a new SpawnTask to launch after the respawn Delay
Caution : A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
+ *
Create a new SpawnTask to launch after the respawn Delay
Caution: A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
* @param oldNpc
*/
public void decreaseCount(Npc oldNpc)
@@ -299,10 +302,13 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Create the NpcInstance, add it to the world and lauch its OnSpawn action.
- * Concept:
+ *
+ * Concept:
+ *
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
- * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
+ *
+ * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
*
*
Get NpcInstance Init parameters and its generate an Identifier
*
Call the constructor of the NpcInstance
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/World.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/World.java
index c500ebdfb2..9c7460d3ba 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/World.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/World.java
@@ -128,7 +128,8 @@ public class World
/**
* Adds an object to the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Withdraw an item from the warehouse, create an item
*
Spawn a Creature (PC, NPC, Pet)
@@ -168,7 +169,8 @@ public class World
/**
* Removes an object from the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Delete item from inventory, transfer Item from inventory to warehouse
*
Crystallize item
@@ -205,7 +207,7 @@ public class World
}
/**
- * Example of use:
+ * Example of use:
*
@@ -247,7 +249,7 @@ public class World
}
/**
- * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
+ * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
* @param name Name of the player to get Instance
* @return the player instance corresponding to the given name.
*/
@@ -295,18 +297,18 @@ public class World
}
/**
- * Add a WorldObject in the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Add a WorldObject in the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Add the WorldObject object in _allPlayers* of World
*
Add the WorldObject object in _gmList** of GmListTable
- *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
- * * only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstanceCaution : This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
- * Caution : This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use :
+ *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
+ * * only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstanceCaution: This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
+ * Caution: This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use:
*
Drop an Item
*
Spawn a Creature
- *
Apply Death Penalty of a PlayerInstance
+ *
Apply Death Penalty of a PlayerInstance
* @param object L2object to add in the world
* @param newRegion WorldRegion in wich the object will be add (not used)
*/
@@ -378,16 +380,16 @@ public class World
}
/**
- * Remove a WorldObject from the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Remove a WorldObject from the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Remove the WorldObject object from _allPlayers* of World
*
Remove the WorldObject object from _visibleObjects and _allPlayers* of WorldRegion
*
Remove the WorldObject object from _gmList** of GmListTable
- *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution : This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstance Example of use :
+ *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution: This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstance Example of use:
*
Pickup an Item
- *
Decay a Creature
+ *
Decay a Creature
* @param object L2object to remove from the world
* @param oldRegion WorldRegion in which the object was before removing
*/
@@ -686,9 +688,9 @@ public class World
}
/**
- * Calculate the current WorldRegions of the object according to its position (x,y). Example of use :
+ * Calculate the current WorldRegions of the object according to its position (x,y). Example of use:
*
Set position of a new WorldObject (drop, spawn...)
- *
Update position of a WorldObject after a movement
+ *
Update position of a WorldObject after a movement
* @param object the object
* @return
*/
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/WorldObject.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/WorldObject.java
index b5466887a0..45fea8fce1 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/WorldObject.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/WorldObject.java
@@ -666,7 +666,7 @@ public abstract class WorldObject extends ListenersContainer implements IIdentif
/**
* Sets the instance ID of object.
- * 0 - Global
+ * 0 - Global
* @param instanceId the ID of the instance
*/
@Override
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/WorldRegion.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/WorldRegion.java
index 4a166d2b8a..25ada44e59 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/WorldRegion.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/WorldRegion.java
@@ -195,8 +195,8 @@ public class WorldRegion
}
/**
- * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
- * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
+ * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
+ * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
* @param object
*/
public void addVisibleObject(WorldObject object)
@@ -216,7 +216,7 @@ public class WorldRegion
}
/**
- * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
+ * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
* @param object
*/
public void removeVisibleObject(WorldObject object)
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/Attackable.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/Attackable.java
index 3ead259a8d..2a69979c47 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/Attackable.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/Attackable.java
@@ -1027,7 +1027,7 @@ public class Attackable extends Npc
* During a Special Event all Attackable can drop extra Items.
* Those extra Items are defined in the table allNpcDateDrops of the EventDroplist.
* Each Special Event has a start and end date to stop to drop extra Items automatically.
- * Actions: If an extra drop must be generated
+ * Actions: If an extra drop must be generated
* Get an Item Identifier (random) from the DateDrop Item table of this Event.
* Get the Item quantity dropped (random).
* Create this or these ItemInstance corresponding to this Item Identifier.
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/Creature.java
index 7697a821af..4e81bc9aee 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/Creature.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/Creature.java
@@ -169,7 +169,6 @@ import org.l2jmobius.gameserver.util.Util;
*
Trap
*
Vehicle
*
- *
* Concept of CreatureTemplate:
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
@@ -295,11 +294,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Constructor of Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature. Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
- * Actions:
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
+ *
+ * Actions:
*
*
Set the _template of the Creature
*
Set _overloaded to false (the character can take more items)
@@ -490,8 +492,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Remove the Creature from the world when the decay task is launched.
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
public void onDecay()
{
@@ -532,8 +534,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
*/
@@ -550,8 +554,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the radius (max knownlist radius) from the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
* @param radiusInKnownlist
@@ -602,12 +608,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send the Server->Client packet StatusUpdate with current HP and MP to all other PlayerInstance to inform.
- * Actions:
+ *
+ * Actions:
*
*
Create the Server->Client packet StatusUpdate with current HP and MP
*
Send the Server->Client packet StatusUpdate with current HP and MP to all Creature called _statusListener that must be informed of HP/MP updates of this Creature
*
- * Caution: This method DOESN'T SEND CP information
+ * Caution: This method DOESN'T SEND CP information
*/
public void broadcastStatusUpdate()
{
@@ -642,7 +649,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Teleport a Creature and its pet if necessary.
- * Actions:
+ *
+ * Actions:
*
*
Stop the movement of the Creature
*
Set the x,y,z position of the WorldObject and if necessary modify its _worldRegion
@@ -835,7 +843,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a physical attack against a target (Simple, Bow, Pole or Dual).
- * Actions:
+ *
+ * Actions:
*
*
Get the active weapon (always equipped in the right hand)
*
If weapon is a bow, check for arrows, MP and bow re-use delay (if necessary, equip the PlayerInstance with arrows in left hand)
@@ -1105,7 +1114,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a Bow attack.
- * Actions:
+ *
+ * Actions:
*
*
Calculate if hit is missed or not
*
Consume arrows
@@ -1175,7 +1185,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a CrossBow attack.
- * Actions:
+ *
+ * Actions:
*
*
Calculate if hit is missed or not
*
Consume bolts
@@ -1185,7 +1196,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
*
If the Creature is a PlayerInstance, Send a Server->Client packet SetupGauge
*
Create a new hit task with Medium priority
*
Calculate and set the disable delay of the crossbow in function of the Attack Speed
- *
Add this hit to the Server-Client packet Attack
+ *
Add this hit to the Server-Client packet Attack
* @param attack Server->Client packet Attack in which the hit will be added
* @param target The Creature targeted
* @param sAtk The Attack Speed of the attacker
@@ -1244,7 +1255,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a Dual attack.
- * Actions:
+ *
+ * Actions:
*
*
Calculate if hits are missed or not
*
If hits aren't missed, calculate if shield defense is efficient
@@ -1315,7 +1327,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a Pole attack.
- * Actions:
+ *
+ * Actions:
*
*
Get all visible objects in a spherical area near the Creature to obtain possible targets
*
If possible target is the Creature targeted, launch a simple attack against it
@@ -1396,7 +1409,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a simple attack.
- * Actions:
+ *
+ * Actions:
*
*
Calculate if hit is missed or not
*
If hit isn't missed, calculate if shield defense is efficient
@@ -1453,7 +1467,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Manage the casting task (casting and interrupt time, re-use delay...) and display the casting bar and animation on client.
- * Actions:
+ *
+ * Actions:
*
*
Verify the possibility of the the cast : skill is a spell, caster isn't muted...
*
Get the list of all targets (ex : area effects) and define the Creature targeted (its stats will be used in calculation)
@@ -2307,7 +2322,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Kill the Creature.
- * Actions:
+ *
+ * Actions:
*
*
Set target to null and cancel Attack or Cast
*
Stop movement
@@ -2926,11 +2942,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Set the template of the Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
* Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
* @param template
*/
protected final void setTemplate(CreatureTemplate template)
@@ -3106,7 +3124,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a Stun Abnormal Effect on the Creature.
- * Actions:
+ *
+ * Actions:
*
*
Calculate the success rate of the Stun Abnormal Effect on this Creature
*
If Stun succeed, active the abnormal effect Stun flag, notify the Creature AI and send Server->Client UserInfo/CharInfo packet
@@ -3188,7 +3207,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop a specified/all Fake Death abnormal Effect.
- * Actions:
+ *
+ * Actions:
*
*
Delete a specified/all (if effect=null) Fake Death abnormal Effect from Creature and update client magic icon
*
Set the abnormal effect flag _fake_death to False
@@ -3218,7 +3238,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop a specified/all Stun abnormal Effect.
- * Actions:
+ *
+ * Actions:
*
*
Delete a specified/all (if effect=null) Stun abnormal Effect from Creature and update client magic icon
*
Set the abnormal effect flag _stuned to False
@@ -3243,7 +3264,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop Effect: Transformation.
- * Actions:
+ *
+ * Actions:
*
*
Remove Transformation Effect
*
Notify the Creature AI
@@ -3275,9 +3297,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update active skills in progress (In Use and Not In Use because stacked) icons on client.
- * Concept:
+ *
+ * Concept:
+ *
* All active skills effects in progress (In Use and Not In Use because stacked) are represented by an icon on the client.
- * Caution : This method ONLY UPDATE the client of the player and not clients of all players in the party.
+ * Caution: This method ONLY UPDATE the client of the player and not clients of all players in the party.
*/
public void updateEffectIcons()
{
@@ -3300,7 +3324,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* This class group all movement data.
- * Data :
+ *
+ * Data:
*
*
_moveTimestamp : Last time position update
*
_xDestination, _yDestination, _zDestination : Position of the destination
@@ -3336,11 +3361,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add a Func to the Calculator set of the Creature.
+ *
* Concept: A Creature owns a table of Calculators called _calculators.
* Each Calculator (a calculator per state) own a table of Func object.
* A Func object is a mathematical function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...).
* To reduce cache memory use, NPCInstances who don't have skills share the same Calculator set called NPC_STD_CALCULATOR.
* That's why, if a NPCInstance is under a skill/spell effect that modify one of its state, a copy of the NPC_STD_CALCULATOR must be create in its _calculators before adding new Func object.
+ *
* Actions:
*
*
If _calculators is linked to NPC_STD_CALCULATOR, create a copy of NPC_STD_CALCULATOR in _calculators
@@ -3385,12 +3412,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add a list of Funcs to the Calculator set of the Creature.
- * Concept:
- * A Creature owns a table of Calculators called _calculators.
+ *
+ * Concept:
+ *
+ * A Creature owns a table of Calculators called _calculators.
* Each Calculator (a calculator per state) own a table of Func object.
* A Func object is a mathematic function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...).
- * Caution : This method is ONLY for PlayerInstance
- * Example of use:
+ * Caution: This method is ONLY for PlayerInstance
+ *
+ * Example of use:
*
*
Equip an item from inventory
*
Learn a new passive skill
@@ -3411,13 +3441,16 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Remove a Func from the Calculator set of the Creature.
- * Concept:
- * A Creature owns a table of Calculators called _calculators.
+ *
+ * Concept:
+ *
+ * A Creature owns a table of Calculators called _calculators.
* Each Calculator (a calculator per state) own a table of Func object.
* A Func object is a mathematic function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...).
- * To reduce cache memory use, NPCInstances who don't have skills share the same Calculator set called NPC_STD_CALCULATOR.
+ * To reduce cache memory use, NPCInstances who don't have skills share the same Calculator set called NPC_STD_CALCULATOR.
* That's why, if a NPCInstance is under a skill/spell effect that modify one of its state, a copy of the NPC_STD_CALCULATOR must be create in its _calculators before addind new Func object.
- * Actions:
+ *
+ * Actions:
*
*
Remove the Func object from _calculators
*
If Creature is a NPCInstance and _calculators is equal to NPC_STD_CALCULATOR, free cache memory and just create a link on NPC_STD_CALCULATOR in _calculators
@@ -3471,12 +3504,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Remove a list of Funcs from the Calculator set of the PlayerInstance.
- * Concept:
- * A Creature owns a table of Calculators called _calculators.
+ *
+ * Concept:
+ *
+ * A Creature owns a table of Calculators called _calculators.
* Each Calculator (a calculator per state) own a table of Func object.
* A Func object is a mathematic function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...).
- * Caution : This method is ONLY for PlayerInstance
- * Example of use:
+ * Caution: This method is ONLY for PlayerInstance
+ *
+ * Example of use:
*
*
Unequip an item from inventory
*
Stop an active skill
@@ -3497,18 +3533,22 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Remove all Func objects with the selected owner from the Calculator set of the Creature.
- * Concept:
- * A Creature owns a table of Calculators called _calculators.
+ *
+ * Concept:
+ *
+ * A Creature owns a table of Calculators called _calculators.
* Each Calculator (a calculator per state) own a table of Func object.
* A Func object is a mathematic function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...).
- * To reduce cache memory use, NPCInstances who don't have skills share the same Calculator set called NPC_STD_CALCULATOR.
+ * To reduce cache memory use, NPCInstances who don't have skills share the same Calculator set called NPC_STD_CALCULATOR.
* That's why, if a NPCInstance is under a skill/spell effect that modify one of its state, a copy of the NPC_STD_CALCULATOR must be create in its _calculators before addind new Func object.
- * Actions:
+ *
+ * Actions:
*
*
Remove all Func objects of the selected owner from _calculators
*
If Creature is a NPCInstance and _calculators is equal to NPC_STD_CALCULATOR, free cache memory and just create a link on NPC_STD_CALCULATOR in _calculators
*
- * Example of use:
+ *
+ * Example of use:
*
*
Unequip an item from inventory
*
Stop an active skill
@@ -3715,7 +3755,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * @return True if the Creature is travelling a calculated path.
+ * @return True if the Creature is traveling a calculated path.
*/
public boolean isOnGeodataPath()
{
@@ -3837,16 +3877,18 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update the position of the Creature during a movement and return True if the movement is finished.
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
* When the movement is started (ex : by MovetoLocation), this method will be called each 0.1 sec to estimate and update the Creature position on the server.
* Note, that the current server position can differe from the current client position even if each movement is straight foward.
* That's why, client send regularly a Client->Server ValidatePosition packet to eventually correct the gap on the server.
* But, it's always the server position that is used in range calculation. At the end of the estimated movement time,
* the Creature position is automatically set to the destination position even if the movement is not finished.
- * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
- * But x and y positions must be calculated to avoid that players try to modify their movement speed.
+ * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
+ * But x and y positions must be calculated to avoid that players try to modify their movement speed.
* @return True if the movement is finished
*/
public boolean updatePosition()
@@ -4014,14 +4056,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop movement of the Creature (Called by AI Accessor only).
- * Actions:
+ *
+ * Actions:
*
*
Delete movement data of the Creature
*
Set the current position (x,y,z), its current WorldRegion if necessary and its heading
*
Remove the WorldObject object from _gmList of GmListTable
*
Remove object from _knownObjects and _knownPlayer of all surrounding WorldRegion Creatures
*
- * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
+ * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
* @param loc
*/
public void stopMove(Location loc)
@@ -4058,9 +4101,12 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Target a WorldObject (add the target to the Creature _target, _knownObject and Creature to _KnownObject of the WorldObject).
- * Concept:
- * The WorldObject (including Creature) targeted is identified in _target of the Creature.
- * Actions:
+ *
+ * Concept:
+ *
+ * The WorldObject (including Creature) targeted is identified in _target of the Creature.
+ *
+ * Actions:
*
*
Set the _target of Creature to WorldObject
*
If necessary, add WorldObject to _knownObject of the Creature
@@ -4101,11 +4147,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Calculate movement data for a move to location action and add the Creature to movingObjects of GameTimeController (only called by AI Accessor).
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
- * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
- * Actions:
+ * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
+ *
+ * Actions:
*
*
Get current position of the Creature
*
Calculate distance (dx,dy) between current position and destination including offset
@@ -4114,8 +4163,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
*
Add the Creature to movingObjects of the GameTimeController
*
Create a task to notify the AI that Creature arrives at a check point of the movement
*
- * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
- * Example of use:
+ * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
+ *
+ * Example of use:
*
*
AI : onIntentionMoveTo(Location), onIntentionPickUp(WorldObject), onIntentionInteract(WorldObject)
*
FollowTask
@@ -4519,7 +4569,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
* @return True if arrows are available.
*/
@@ -4529,7 +4579,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
* @return True if bolts are available.
*/
@@ -4540,9 +4590,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add Exp and Sp to the Creature.
- * Overridden in :
+ *
+ * Overridden in:
*
PlayerInstance
- *
PetInstance
+ *
PetInstance
* @param addToExp
* @param addToSp
*/
@@ -4552,36 +4603,37 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon instance (always equiped in the right hand).
+ * @return the active weapon instance (always equipped in the right hand).
*/
public abstract ItemInstance getActiveWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon item (always equiped in the right hand).
+ * @return the active weapon item (always equipped in the right hand).
*/
public abstract Weapon getActiveWeaponItem();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary weapon instance (always equiped in the left hand).
+ * @return the secondary weapon instance (always equipped in the left hand).
*/
public abstract ItemInstance getSecondaryWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary {@link Item} item (always equiped in the left hand).
+ * @return the secondary {@link Item} item (always equipped in the left hand).
*/
public abstract Item getSecondaryWeaponItem();
/**
* Manage hit process (called by Hit Task).
- * Actions:
+ *
+ * Actions:
*
*
If the attacker/target is dead or use fake death, notify the AI with EVT_CANCEL and send a Server->Client packet ActionFailed (if attacker is a PlayerInstance)
*
If attack isn't aborted, send a message system (critical hit, missed...) to attacker/target if they are PlayerInstance
@@ -4814,8 +4866,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Reduce the arrow number of the Creature.
- * Overridden in :
- *
If Creature or target is in a town area, send a system message TARGET_IN_PEACEZONE a Server->Client packet ActionFailed
*
If target is confused, send a Server->Client packet ActionFailed
@@ -4998,15 +5052,19 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add a skill to the Creature _skills and its Func objects to the calculator set of the Creature.
- * Concept:
- * All skills own by a Creature are identified in _skills
- * Actions:
+ *
+ * Concept:
+ *
+ * All skills own by a Creature are identified in _skills
+ *
+ * Actions:
*
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
*
Add Func objects of newSkill to the calculator set of the Creature
*
- * Overridden in:
+ *
+ * Overridden in:
*
*
PlayerInstance : Save update in the character_skills table of the database
*
@@ -5080,8 +5138,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Concept:
- * All skills own by a Creature are identified in _skills the Creature
+ * Concept:
+ *
+ * All skills own by a Creature are identified in _skills the Creature
* @return all skills own by the Creature in a table of Skill.
*/
public Collection getAllSkills()
@@ -5136,7 +5195,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Manage the magic skill launching task (MP, HP, Item consumation...) and display the magic skill animation on client.
- * Actions:
+ *
+ * Actions:
*
*
Send a Server->Client packet MagicSkillLaunched (to display magic skill animation) to all PlayerInstance of Creature _knownPlayers
*
Consumme MP, HP and Item if necessary
@@ -5145,7 +5205,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
*
If the skill type is PDAM, notify the AI of the target with AI_INTENTION_ATTACK
*
Notify the AI of the Creature with EVT_FINISH_CASTING
*
- * Caution: A magic skill casting MUST BE in progress
+ * Caution: A magic skill casting MUST BE in progress
* @param mut
*/
public void onMagicLaunchedTimer(MagicUseTask mut)
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/Npc.java
index 3bfe1133d9..1652490f97 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/Npc.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/Npc.java
@@ -656,7 +656,8 @@ public class Npc extends Creature
/**
* Open a quest or chat window on client with the text of the NpcInstance in function of the command.
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : RequestBypassToServer
*
@@ -770,11 +771,11 @@ public class Npc extends Creature
}
/**
- * :
+ * :
*
- *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
- *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
- *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
+ *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
+ *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
+ *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -835,7 +836,8 @@ public class Npc extends Creature
/**
* Open a chat window on client with the text of the NpcInstance.
- * Actions:
+ *
+ * Actions:
*
*
Get the text of the selected HTML file in function of the npcId and of the page number
*
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
@@ -1144,7 +1146,8 @@ public class Npc extends Creature
/**
* Kill the NpcInstance (the corpse disappeared after 7 seconds).
- * Actions:
+ *
+ * Actions:
*
*
Create a DecayTask to remove the corpse of the NpcInstance after 7 seconds
*
Set target to null and cancel Attack or Cast
@@ -1282,14 +1285,15 @@ public class Npc extends Creature
/**
* Remove the NpcInstance from the world and update its spawn object (for a complete removal use the deleteMe method).
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world when the decay task is launched
*
Decrease its spawn counter
*
Manage Siege task (killFlag, killCT)
*
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
@Override
public void onDecay()
@@ -1325,13 +1329,14 @@ public class Npc extends Creature
/**
* Remove PROPERLY the NpcInstance from the world.
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world and update its spawn object
*
Remove all WorldObject from _knownObjects and _knownPlayer of the NpcInstance then cancel Attack or Cast and notify AI
*
Remove WorldObject object from _allObjects of World
*
- * Caution: This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T SEND Server->Client packets to players
* UnAfraid: TODO: Add Listener here
*/
@Override
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/Summon.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/Summon.java
index ea8d13d108..3f2683d5d6 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/Summon.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/Summon.java
@@ -546,7 +546,8 @@ public abstract class Summon extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the target is correct
*
Check if the target is in the skill cast range
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java
index ca07bbdd9f..6d70f70cba 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/instance/GuardInstance.java
@@ -95,10 +95,11 @@ public class GuardInstance extends Attackable
/**
* Return the pathfile of the selected HTML file in function of the GuardInstance Identifier and of the page number.
- * Format of the pathfile :
+ *
+ * Format of the pathfile:
*
- *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
- *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
+ *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
+ *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -120,19 +121,22 @@ public class GuardInstance extends Attackable
/**
* Manage actions when a player click on the GuardInstance.
- * Actions on first click on the GuardInstance (Select it) :
+ *
+ * Actions on first click on the GuardInstance (Select it):
*
*
Set the GuardInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
Set the PlayerInstance Intention to AI_INTENTION_IDLE
*
Send a Server->Client packet ValidateLocation to correct the GuardInstance position and heading on the client
*
- * Actions on second click on the GuardInstance (Attack it/Interact with it) :
+ *
+ * Actions on second click on the GuardInstance (Attack it/Interact with it):
*
*
If PlayerInstance is in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_ATTACK
*
If PlayerInstance is NOT in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_INTERACT (after a distance verification) and show message
*
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : Action, AttackRequest
*
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
index 94fe8b37aa..b3a54d3198 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
@@ -150,7 +150,7 @@ public class PetInstance extends Summon
}
/**
- * Manage Feeding Task.
+ * Manage Feeding Task.
* Feed or kill the pet depending on hunger level.
* If pet has food in inventory and feed level drops below 55% then consume food from inventory.
* Send a broadcastStatusUpdate packet for this PetInstance
@@ -395,7 +395,7 @@ public class PetInstance extends Summon
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -1106,8 +1106,7 @@ public class PetInstance extends Summon
}
/**
- * Restore the specified % of experience this PetInstance has lost.
- *
+ * Restore the specified % of experience this PetInstance has lost.
* @param restorePercent
*/
public void restoreExp(double restorePercent)
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
index f6d3c020d6..65c9268de6 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
@@ -952,7 +952,8 @@ public class PlayerInstance extends Playable
/**
* Create a new PlayerInstance and add it in the characters table of the database.
- * Actions :
+ *
+ * Actions:
*
*
Create a new PlayerInstance with an account name
*
Set the name, the Hair Style, the Hair Color and the Face type of the PlayerInstance
@@ -1128,7 +1129,8 @@ public class PlayerInstance extends Playable
/**
* Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world (call restore method).
- * Actions :
+ *
+ * Actions:
*
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
@@ -2532,7 +2534,7 @@ public class PlayerInstance extends Playable
}
/**
- * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
+ * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
*/
public void regiveTemporarySkills()
{
@@ -3446,7 +3448,7 @@ public class PlayerInstance extends Playable
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -3717,7 +3719,7 @@ public class PlayerInstance extends Playable
}
/**
- * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : long Quantity of items to be dropped
@@ -4019,9 +4021,9 @@ public class PlayerInstance extends Playable
}
/**
- * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions :
- *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
- *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution : This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
+ * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions:
+ *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
+ *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution: This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
*/
@Override
public void broadcastStatusUpdate()
@@ -4067,11 +4069,11 @@ public class PlayerInstance extends Playable
}
/**
- * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept : Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
- * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions :
+ * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept: Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
+ * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions:
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
- *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as
- * MaxHP, STR, DEX...
+ *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP,
+ * STR, DEX...
*/
public void broadcastUserInfo()
{
@@ -4219,10 +4221,10 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Interact Task with another PlayerInstance. Actions :
+ * Manage Interact Task with another PlayerInstance. Actions:
*
If the private store is a STORE_PRIVATE_SELL, send a Server->Client PrivateBuyListSell packet to the PlayerInstance
*
If the private store is a STORE_PRIVATE_BUY, send a Server->Client PrivateBuyListBuy packet to the PlayerInstance
- *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
+ *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
* @param target The Creature targeted
*/
public void doInteract(Creature target)
@@ -4264,7 +4266,7 @@ public class PlayerInstance extends Playable
*
Send a Server->Client packet InventoryUpdate to this player with NewItem (use a new slot) or ModifiedItem (increase amount).
*
Send a Server->Client packet StatusUpdate to this player with current weight.
*
- * Caution: If a party is in progress, distribute the items between the party members!
+ * Caution: If a party is in progress, distribute the items between the party members!
* @param target the NPC dropping the item
* @param itemId the item ID
* @param itemCount the item count
@@ -4296,13 +4298,13 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Pickup Task. Actions :
+ * Manage Pickup Task. Actions:
*
Send a Server->Client packet StopMove to this PlayerInstance
*
Remove the ItemInstance from the world and send server->client GetItem packets
*
Send a System Message to the PlayerInstance : YOU_PICKED_UP_S1_ADENA or YOU_PICKED_UP_S1_S2
*
Add the Item to the PlayerInstance inventory
*
Send a Server->Client packet InventoryUpdate to this PlayerInstance with NewItem (use a new slot) or ModifiedItem (increase amount)
- *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution : If a Party is in progress, distribute Items between party members
+ *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution: If a Party is in progress, distribute Items between party members
* @param object The ItemInstance to pick up
*/
@Override
@@ -4686,7 +4688,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set a target. Actions :
+ * Set a target. Actions:
*
*
Remove the PlayerInstance from the _statusListener of the old target if it was a Creature
*
Add the PlayerInstance to the _statusListener of the new target if it's a Creature
@@ -4775,7 +4777,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon instance (always equiped in the right hand).
+ * Return the active weapon instance (always equipped in the right hand).
*/
@Override
public ItemInstance getActiveWeaponInstance()
@@ -4784,7 +4786,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon item (always equiped in the right hand).
+ * Return the active weapon item (always equipped in the right hand).
*/
@Override
public Weapon getActiveWeaponItem()
@@ -4950,7 +4952,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary weapon instance (always equiped in the left hand).
+ * Return the secondary weapon instance (always equipped in the left hand).
*/
@Override
public ItemInstance getSecondaryWeaponInstance()
@@ -4959,8 +4961,8 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary Item item (always equiped in the left hand).
- * Arrows, Shield..
+ * Return the secondary Item item (always equipped in the left hand).
+ * Arrows, Shield..
*/
@Override
public Item getSecondaryWeaponItem()
@@ -4970,12 +4972,12 @@ public class PlayerInstance extends Playable
}
/**
- * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions :
+ * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions:
*
Reduce the Experience of the PlayerInstance in function of the calculated Death Penalty
*
If necessary, unsummon the Pet of the killed PlayerInstance
*
Manage Karma gain for attacker and Karam loss for the killed PlayerInstance
*
If the killed PlayerInstance has Karma, manage Drop Item
- *
Kill the PlayerInstance
+ *
Kill the PlayerInstance
* @param killer
*/
@Override
@@ -5517,12 +5519,13 @@ public class PlayerInstance extends Playable
}
/**
- * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
- * Actions :
+ * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
+ *
+ * Actions:
*
Calculate the Experience loss
*
Set the value of _expBeforeDeath
*
Set the new Experience value of the PlayerInstance and Decrease its level if necessary
- *
Send a Server->Client StatusUpdate packet with its new Experience
+ *
Send a Server->Client StatusUpdate packet with its new Experience
* @param killer
* @param atWar
*/
@@ -5601,7 +5604,7 @@ public class PlayerInstance extends Playable
}
/**
- * Stop the HP/MP/CP Regeneration task. Actions :
+ * Stop the HP/MP/CP Regeneration task. Actions:
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
*/
@@ -5928,13 +5931,13 @@ public class PlayerInstance extends Playable
}
/**
- * Set the Private Store type of the PlayerInstance. Values :
+ * Set the Private Store type of the PlayerInstance. Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @param privateStoreType
*/
public void setPrivateStoreType(PrivateStoreType privateStoreType)
@@ -5947,13 +5950,13 @@ public class PlayerInstance extends Playable
}
/**
- * Values :
+ * Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @return the Private Store type of the PlayerInstance.
*/
public PrivateStoreType getPrivateStoreType()
@@ -6083,7 +6086,7 @@ public class PlayerInstance extends Playable
@Override
protected boolean checkAndEquipArrows()
{
- // Check if nothing is equiped in left hand
+ // Check if nothing is equipped in left hand
if (_inventory.getPaperdollItem(Inventory.PAPERDOLL_LHAND) == null)
{
// Get the ItemInstance of the arrows needed for this bow
@@ -6099,7 +6102,7 @@ public class PlayerInstance extends Playable
}
else
{
- // Get the ItemInstance of arrows equiped in left hand
+ // Get the ItemInstance of arrows equipped in left hand
_arrowItem = _inventory.getPaperdollItem(Inventory.PAPERDOLL_LHAND);
}
return _arrowItem != null;
@@ -6111,7 +6114,7 @@ public class PlayerInstance extends Playable
@Override
protected boolean checkAndEquipBolts()
{
- // Check if nothing is equiped in left hand
+ // Check if nothing is equipped in left hand
if (_inventory.getPaperdollItem(Inventory.PAPERDOLL_LHAND) == null)
{
// Get the ItemInstance of the arrows needed for this bow
@@ -6127,7 +6130,7 @@ public class PlayerInstance extends Playable
}
else
{
- // Get the ItemInstance of arrows equiped in left hand
+ // Get the ItemInstance of arrows equipped in left hand
_boltItem = _inventory.getPaperdollItem(Inventory.PAPERDOLL_LHAND);
}
return _boltItem != null;
@@ -6728,11 +6731,11 @@ public class PlayerInstance extends Playable
}
/**
- * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions :
+ * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions:
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
*
Set the x,y,z position of the PlayerInstance and make it invisible
- *
Update the overloaded status of the PlayerInstance
+ *
Update the overloaded status of the PlayerInstance
* @param objectId Identifier of the object to initialized
* @return The PlayerInstance loaded from the database
*/
@@ -7576,10 +7579,10 @@ public class PlayerInstance extends Playable
}
/**
- * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept : All skills own by a PlayerInstance are identified in _skills Actions :
+ * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept: All skills own by a PlayerInstance are identified in _skills Actions:
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
- *
Add Func objects of newSkill to the calculator set of the Creature
+ *
Add Func objects of newSkill to the calculator set of the Creature
* @param newSkill The Skill to add to the Creature
* @param store
* @return The Skill replaced or null if just added a new Skill
@@ -7610,10 +7613,10 @@ public class PlayerInstance extends Playable
}
/**
- * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept : All skills own by a Creature are identified in _skills Actions :
+ * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept: All skills own by a Creature are identified in _skills Actions:
*
Remove the skill from the Creature _skills
- *
Remove all its Func objects from the Creature calculator set
Overridden in :
- *
PlayerInstance : Save update in the character_skills table of the database
+ *
Remove all its Func objects from the Creature calculator set
Overridden in:
+ *
PlayerInstance : Save update in the character_skills table of the database
* @param skill The Skill to remove from the Creature
* @return The Skill removed
*/
@@ -8268,7 +8271,8 @@ public class PlayerInstance extends Playable
/**
* Return True if the PlayerInstance is autoAttackable.
- * Actions:
+ *
+ * Actions:
*
*
Check if the attacker isn't the PlayerInstance Pet
*
Check if the attacker is MonsterInstance
@@ -8419,7 +8423,8 @@ public class PlayerInstance extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the skill isn't toggle and is offensive
*
Check if the target is in the skill cast range
@@ -9124,15 +9129,18 @@ public class PlayerInstance extends Playable
/**
* Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers.
- * Concept:
- * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
* In order to inform other players of this PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet
- * Actions:
+ *
+ * Actions:
*
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
*
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
*
- * Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
+ * Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
*/
@Override
public void updateAbnormalEffect()
@@ -9954,7 +9962,7 @@ public class PlayerInstance extends Playable
}
/**
- * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
+ * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
* 2. This method no longer changes the active _classIndex of the player. This is only done by the calling of setActiveClass() method as that should be the only way to do so.
* @param classId
* @param classIndex
@@ -11045,7 +11053,8 @@ public class PlayerInstance extends Playable
/**
* Manage the delete task of a PlayerInstance (Leave Party, Unsummon pet, Save its inventory in the database, Remove it from the world...).
- * Actions:
+ *
+ * Actions:
*
*
If the PlayerInstance is in observer mode, set its position to its position before entering in observer mode
*
Set the online Flag to True or False and update the characters table of the database with online status and lastAccess
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
index 332829e6eb..6cf378b20d 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
@@ -153,7 +153,8 @@ public class StaticObjectInstance extends Creature
/**
* Set the meshIndex of the object.
- * Values :
+ *
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
@@ -167,7 +168,7 @@ public class StaticObjectInstance extends Creature
}
/**
- * Values :
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
index 6b62efa27f..808f9c9814 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
@@ -63,12 +63,14 @@ public class CreatureStat
}
/**
- * Calculate the new value of the state with modifiers that will be applied on the targeted Creature.
- * Concept : _calculators
. Each Calculator (a calculator per state) own a table of Func object. A Func object is a mathematic function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...) :
- * FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- * When the calc method of a calculator is launched, each mathematical function is called according to its priority _order.
+ * Calculate the new value of the state with modifiers that will be applied on the targeted Creature.
+ *
+ * Concept:
+ * A Creature owns a table of Calculators called _calculators. Each Calculator (a calculator per state) own a table of Func object. A Func object is a mathematic function that permit to calculate the modifier of a state (ex : REGENERATE_HP_RATE...) :
+ * FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
+ * When the calc method of a calculator is launched, each mathematical function is called according to its priority _order.
* Indeed, Func with lowest priority order is executed firsta and Funcs with the same order are executed in unspecified order.
- * The result of the calculation is stored in the value property of an Env class instance.
+ * The result of the calculation is stored in the value property of an Env class instance.
* @param stat The stat to calculate the new value with modifiers
* @param initVal The initial value of the stat before applying modifiers
* @param target The Creature whose properties will be used in the calculation (ex : CON, INT...)
@@ -270,7 +272,8 @@ public class CreatureStat
/**
* Return the MAtk (base+modifier) of the Creature.
- * Example of use: Calculate Magic damage
+ *
+ * Example of use: Calculate Magic damage
* @param target The Creature targeted by the skill
* @param skill The Skill used against the target
* @return
@@ -327,7 +330,7 @@ public class CreatureStat
}
/**
- * Example of use : Calculate Magic damage.
+ * Example of use : Calculate Magic damage.
* @param target The Creature targeted by the skill
* @param skill The Skill used against the target
* @return the MDef (base+modifier) of the Creature against a skill in function of abnormal effects in progress.
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
index 6d790e4d66..fdcf1213cc 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
@@ -54,11 +54,14 @@ public class CreatureStatus
/**
* Add the object to the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use:
+ *
+ * Example of use:
*
*
Target a PC or NPC
*
@@ -76,11 +79,14 @@ public class CreatureStatus
/**
* Remove the object from the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use :
+ *
+ * Example of use :
*
*
Untarget a PC or NPC
*
@@ -93,8 +99,10 @@ public class CreatureStatus
/**
* Return the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
* @return The list of Creature to inform or null if empty
@@ -180,7 +188,8 @@ public class CreatureStatus
/**
* Start the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Calculate the regen task period
*
Launch the HP/MP/CP Regeneration task with Medium priority
@@ -200,7 +209,8 @@ public class CreatureStatus
/**
* Stop the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
If the attacker/target is dead or use fake death, notify the AI with EVT_CANCEL and send a Server->Client packet ActionFailed (if attacker is a PlayerInstance)
*
If attack isn't aborted, send a message system (critical hit, missed...) to attacker/target if they are PlayerInstance
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/base/SubClass.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/base/SubClass.java
index 91d2212937..55c4b7f8c7 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/base/SubClass.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/base/SubClass.java
@@ -20,7 +20,7 @@ import org.l2jmobius.Config;
import org.l2jmobius.gameserver.data.xml.impl.ExperienceData;
/**
- * Character Sub-Class Definition
+ * Character Sub-Class Definition
* Used to store key information about a character's sub-class.
* @author Tempy
*/
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
index 1e0ab77670..6d6ffd3934 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
@@ -159,7 +159,7 @@ public abstract class AbstractEffect
/**
* Calculates whether this effects land or not.
* If it lands will be scheduled and added to the character effect list.
- * Override in effect implementation to change behavior.
+ * Override in effect implementation to change behavior.
* Warning: Must be used only for instant effects continuous effects will not call this they have their success handled by activate_rate.
* @param info the buff info
* @return {@code true} if this effect land, {@code false} otherwise
@@ -170,7 +170,7 @@ public abstract class AbstractEffect
}
/**
- * Get this effect's type.
+ * Get this effect's type.
* @return the effect type
*/
public EffectType getEffectType()
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/Castle.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/Castle.java
index 0af70e9687..9190fc1f00 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/Castle.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/Castle.java
@@ -597,8 +597,7 @@ public class Castle extends AbstractResidence
}
/**
- * Respawn all doors on castle grounds
- *
+ * Respawn all doors on castle grounds
* @param isDoorWeak
*/
public void spawnDoor(boolean isDoorWeak)
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/Fort.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/Fort.java
index bc18460793..da1a88a1c0 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/Fort.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/Fort.java
@@ -273,8 +273,7 @@ public class Fort extends AbstractResidence
}
/**
- * Move non clan members off fort area and to nearest town.
- *
+ * Move non clan members off fort area and to nearest town.
*/
public void banishForeigners()
{
@@ -516,8 +515,7 @@ public class Fort extends AbstractResidence
}
/**
- * Respawn all doors on fort grounds
- *
+ * Respawn all doors on fort grounds.
*/
public void resetDoors()
{
@@ -968,11 +966,10 @@ public class Fort extends AbstractResidence
}
/**
- * @return Returns state of fortress.
- *
- * 0 - not decided yet
- * 1 - independent
- * 2 - contracted with castle
+ * @return Returns state of fortress.
+ * 0 - not decided yet
+ * 1 - independent
+ * 2 - contracted with castle
*/
public int getFortState()
{
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/FortSiege.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
index e8b96570d3..893a5f448a 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
@@ -690,14 +690,14 @@ public class FortSiege implements Siegable
}
/**
- * Register clan as attacker.
+ * Register clan as attacker.
* @param player The PlayerInstance of the player trying to register.
* @param checkConditions True if should be checked conditions, false otherwise
- * @return Number that defines what happened.
- * 0 - Player don't have clan.
- * 1 - Player don't have enough adena to register.
- * 2 - Is not right time to register Fortress now.
- * 3 - Players clan is already registered to siege.
+ * @return Number that defines what happened.
+ * 0 - Player don't have clan.
+ * 1 - Player don't have enough adena to register.
+ * 2 - Is not right time to register Fortress now.
+ * 3 - Players clan is already registered to siege.
* 4 - Players clan is successfully registered to siege.
*/
public int addAttacker(PlayerInstance player, boolean checkConditions)
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/Hero.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/Hero.java
index 1e976f3a77..d1d77f7c0b 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/Hero.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/Hero.java
@@ -865,7 +865,7 @@ public class Hero
}
/**
- * Saving task for {@link Hero}
+ * Saving task for {@link Hero}
* Save all hero messages to DB.
*/
public void shutdown()
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/Siege.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/Siege.java
index 9a621d06ea..d69714a187 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/Siege.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/Siege.java
@@ -374,8 +374,7 @@ public class Siege implements Siegable
}
/**
- * When control of castle changed during siege
- *
+ * When control of castle changed during siege.
*/
public void midVictory()
{
@@ -461,8 +460,7 @@ public class Siege implements Siegable
}
/**
- * When siege starts
- *
+ * When siege starts.
*/
@Override
public void startSiege()
@@ -520,8 +518,7 @@ public class Siege implements Siegable
}
/**
- * Announce to player.
- *
+ * Announce to player.
* @param message The SystemMessage to send to player
* @param bothSides True - broadcast to both attackers and defenders. False - only to defenders.
*/
@@ -648,8 +645,7 @@ public class Siege implements Siegable
}
/**
- * Approve clan as defender for siege
- *
+ * Approve clan as defender for siege
* @param clanId The int of player's clan id
*/
public void approveSiegeDefenderClan(int clanId)
@@ -683,8 +679,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is attacker
- *
+ * Return true if clan is attacker
* @param clan The Clan of the player
*/
@Override
@@ -694,8 +689,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is defender
- *
+ * Return true if clan is defender
* @param clan The Clan of the player
*/
@Override
@@ -873,8 +867,7 @@ public class Siege implements Siegable
}
/**
- * Register clan as attacker
- *
+ * Register clan as attacker
* @param player The PlayerInstance of the player trying to register
*/
public void registerAttacker(PlayerInstance player)
@@ -951,8 +944,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clanId The int of player's clan id
*/
public void removeSiegeClan(int clanId)
@@ -978,8 +970,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clan clan being removed
*/
public void removeSiegeClan(Clan clan)
@@ -992,8 +983,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param player The PlayerInstance of player/clan being removed
*/
public void removeSiegeClan(PlayerInstance player)
@@ -1002,8 +992,7 @@ public class Siege implements Siegable
}
/**
- * Start the auto tasks
- *
+ * Start the auto tasks.
*/
public void startAutoTask()
{
@@ -1076,8 +1065,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as attacker
- *
+ * Add clan as attacker
* @param clanId The int of clan's id
*/
private void addAttacker(int clanId)
@@ -1086,8 +1074,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender
- *
+ * Add clan as defender
* @param clanId The int of clan's id
*/
private void addDefender(int clanId)
@@ -1108,8 +1095,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender waiting approval
- *
+ * Add clan as defender waiting approval
* @param clanId The int of clan's id
*/
private void addDefenderWaiting(int clanId)
@@ -1201,8 +1187,7 @@ public class Siege implements Siegable
}
/**
- * Return the correct siege date as Calendar.
- *
+ * Return the correct siege date as Calendar.
*/
public void correctSiegeDateTime()
{
@@ -1351,8 +1336,7 @@ public class Siege implements Siegable
}
/**
- * Save registration to database.
- *
+ * Save registration to database.
* @param clan The Clan of player
* @param typeId -1 = owner 0 = defender, 1 = attacker, 2 = defender waiting
* @param isUpdateRegistration
@@ -1497,8 +1481,7 @@ public class Siege implements Siegable
}
/**
- * Spawn siege guard.
- *
+ * Spawn siege guard.
*/
private void spawnSiegeGuard()
{
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/TvTEvent.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/TvTEvent.java
index bb6130a9b7..4d4ca5e296 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/TvTEvent.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/TvTEvent.java
@@ -86,7 +86,7 @@ public class TvTEvent
}
/**
- * Teams initializing
+ * Teams initializing
*/
public static void init()
{
@@ -98,9 +98,8 @@ public class TvTEvent
/**
* Starts the participation of the TvTEvent
* 1. Get NpcTemplate by Config.TVT_EVENT_PARTICIPATION_NPC_ID
- * 2. Try to spawn a new npc of it
- *
- * @return boolean: true if success, otherwise false
+ * 2. Try to spawn a new npc of it
+ * @return boolean: true if success, otherwise false
*/
public static boolean startParticipation()
{
@@ -154,9 +153,8 @@ public class TvTEvent
* 2. Close doors specified in configs
* 3. Abort if not enough participants(return false)
* 4. Set state EventState.STARTED
- * 5. Teleport all participants to team spot
- *
- * @return boolean: true if success, otherwise false
+ * 5. Teleport all participants to team spot
+ * @return boolean: true if success, otherwise false
*/
public static boolean startFight()
{
@@ -297,9 +295,8 @@ public class TvTEvent
* 2. Wait till teams are not at a tie anymore
* 3. Set state EvcentState.REWARDING
* 4. Reward team with more points
- * 5. Show win html to wining team participants
- *
- * @return String: winning team name
+ * 5. Show win html to wining team participants
+ * @return String: winning team name
*/
public static String calculateRewards()
{
@@ -401,7 +398,7 @@ public class TvTEvent
* 3. Open doors specified in configs
* 4. Teleport all participants back to participation npc location
* 5. Teams cleaning
- * 6. Set state EventState.INACTIVE
+ * 6. Set state EventState.INACTIVE
*/
public static void stopFight()
{
@@ -441,10 +438,9 @@ public class TvTEvent
/**
* Adds a player to a TvTEvent team
* 1. Calculate the id of the team in which the player should be added
- * 2. Add the player to the calculated team
- *
- * @param playerInstance as PlayerInstance
- * @return boolean: true if success, otherwise false
+ * 2. Add the player to the calculated team
+ * @param playerInstance as PlayerInstance
+ * @return boolean: true if success, otherwise false
*/
public static synchronized boolean addParticipant(PlayerInstance playerInstance)
{
@@ -472,8 +468,7 @@ public class TvTEvent
/**
* Removes a TvTEvent player from it's team
* 1. Get team id of the player
- * 2. Remove player from it's team
- *
+ * 2. Remove player from it's team
* @param playerObjectId
* @return boolean: true if success, otherwise false
*/
@@ -527,9 +522,8 @@ public class TvTEvent
/**
* Send a SystemMessage to all participated players
* 1. Send the message to all players of team number one
- * 2. Send the message to all players of team number two
- *
- * @param message as String
+ * 2. Send the message to all players of team number two
+ * @param message as String
*/
public static void sysMsgToAllParticipants(String message)
{
@@ -615,9 +609,8 @@ public class TvTEvent
}
/**
- * Called when a player logs in
- *
- * @param playerInstance as PlayerInstance
+ * Called when a player logs in
+ * @param playerInstance as PlayerInstance
*/
public static void onLogin(PlayerInstance playerInstance)
{
@@ -637,9 +630,8 @@ public class TvTEvent
}
/**
- * Called when a player logs out
- *
- * @param playerInstance as PlayerInstance
+ * Called when a player logs out
+ * @param playerInstance as PlayerInstance
*/
public static void onLogout(PlayerInstance playerInstance)
{
@@ -650,8 +642,7 @@ public class TvTEvent
}
/**
- * Called on every onAction in PlayerIstance
- *
+ * Called on every onAction in PlayerIstance
* @param playerInstance
* @param targetedPlayerObjectId
* @return boolean: true if player is allowed to target, otherwise false
@@ -684,8 +675,7 @@ public class TvTEvent
}
/**
- * Called on every scroll use
- *
+ * Called on every scroll use
* @param playerObjectId
* @return boolean: true if player is allowed to use scroll, otherwise false
*/
@@ -765,10 +755,9 @@ public class TvTEvent
}
/**
- * Is called when a player is killed
- *
- * @param killerCharacter as Creature
- * @param killedPlayerInstance as PlayerInstance
+ * Is called when a player is killed
+ * @param killerCharacter as Creature
+ * @param killedPlayerInstance as PlayerInstance
*/
public static void onKill(Creature killerCharacter, PlayerInstance killedPlayerInstance)
{
@@ -902,9 +891,8 @@ public class TvTEvent
}
/**
- * Sets the TvTEvent state
- *
- * @param state as EventState
+ * Sets the TvTEvent state
+ * @param state as EventState
*/
private static void setState(EventState state)
{
@@ -915,9 +903,8 @@ public class TvTEvent
}
/**
- * Is TvTEvent inactive?
- *
- * @return boolean: true if event is inactive(waiting for next event cycle), otherwise false
+ * Is TvTEvent inactive?
+ * @return boolean: true if event is inactive(waiting for next event cycle), otherwise false
*/
public static boolean isInactive()
{
@@ -931,9 +918,8 @@ public class TvTEvent
}
/**
- * Is TvTEvent in inactivating?
- *
- * @return boolean: true if event is in inactivating progress, otherwise false
+ * Is TvTEvent in inactivating?
+ * @return boolean: true if event is in inactivating progress, otherwise false
*/
public static boolean isInactivating()
{
@@ -947,9 +933,8 @@ public class TvTEvent
}
/**
- * Is TvTEvent in participation?
- *
- * @return boolean: true if event is in participation progress, otherwise false
+ * Is TvTEvent in participation?
+ * @return boolean: true if event is in participation progress, otherwise false
*/
public static boolean isParticipating()
{
@@ -963,9 +948,8 @@ public class TvTEvent
}
/**
- * Is TvTEvent starting?
- *
- * @return boolean: true if event is starting up(setting up fighting spot, teleport players etc.), otherwise false
+ * Is TvTEvent starting?
+ * @return boolean: true if event is starting up(setting up fighting spot, teleport players etc.), otherwise false
*/
public static boolean isStarting()
{
@@ -979,9 +963,8 @@ public class TvTEvent
}
/**
- * Is TvTEvent started?
- *
- * @return boolean: true if event is started, otherwise false
+ * Is TvTEvent started?
+ * @return boolean: true if event is started, otherwise false
*/
public static boolean isStarted()
{
@@ -995,9 +978,8 @@ public class TvTEvent
}
/**
- * Is TvTEvent rewarding?
- *
- * @return boolean: true if event is currently rewarding, otherwise false
+ * Is TvTEvent rewarding?
+ * @return boolean: true if event is currently rewarding, otherwise false
*/
public static boolean isRewarding()
{
@@ -1061,9 +1043,8 @@ public class TvTEvent
}
/**
- * Returns participated player count
- *
- * @return int: amount of players registered in the event
+ * Returns participated player count
+ * @return int: amount of players registered in the event
*/
public static int getParticipatedPlayersCount()
{
@@ -1071,9 +1052,8 @@ public class TvTEvent
}
/**
- * Returns teams names
- *
- * @return String[]: names of teams, 2 elements, index 0 for team 1 and index 1 for team 2
+ * Returns teams names
+ * @return String[]: names of teams, 2 elements, index 0 for team 1 and index 1 for team 2
*/
public static String[] getTeamNames()
{
@@ -1085,9 +1065,8 @@ public class TvTEvent
}
/**
- * Returns player count of both teams
- *
- * @return int[]: player count of teams, 2 elements, index 0 for team 1 and index 1 for team 2
+ * Returns player count of both teams
+ * @return int[]: player count of teams, 2 elements, index 0 for team 1 and index 1 for team 2
*/
public static int[] getTeamsPlayerCounts()
{
@@ -1100,7 +1079,7 @@ public class TvTEvent
/**
* Returns points count of both teams
- * @return int[]: points of teams, 2 elements, index 0 for team 1 and index 1 for team 2
+ * @return int[]: points of teams, 2 elements, index 0 for team 1 and index 1 for team 2
*/
public static int[] getTeamsPoints()
{
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/TvTEventTeam.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/TvTEventTeam.java
index 05a001c1e0..78374bca82 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/TvTEventTeam.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/TvTEventTeam.java
@@ -27,25 +27,24 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
public class TvTEventTeam
{
/**
- * The name of the team
+ * The name of the team
*/
private final String _name;
/**
- * The team spot coordinated
+ * The team spot coordinated
*/
private int[] _coordinates = new int[3];
/**
- * The points of the team
+ * The points of the team
*/
private short _points;
/** Name and instance of all participated players in map. */
private final Map _participatedPlayers = new ConcurrentHashMap<>();
/**
- * C'tor initialize the team
- *
- * @param name as String
- * @param coordinates as int[]
+ * C'tor initialize the team
+ * @param name as String
+ * @param coordinates as int[]
*/
public TvTEventTeam(String name, int[] coordinates)
{
@@ -55,10 +54,9 @@ public class TvTEventTeam
}
/**
- * Adds a player to the team
- *
- * @param playerInstance as PlayerInstance
- * @return boolean: true if success, otherwise false
+ * Adds a player to the team
+ * @param playerInstance as PlayerInstance
+ * @return boolean: true if success, otherwise false
*/
public boolean addPlayer(PlayerInstance playerInstance)
{
@@ -82,7 +80,7 @@ public class TvTEventTeam
}
/**
- * Increases the points of the team
+ * Increases the points of the team
*/
public void increasePoints()
{
@@ -90,7 +88,7 @@ public class TvTEventTeam
}
/**
- * Cleanup the team and make it ready for adding players again
+ * Cleanup the team and make it ready for adding players again
*/
public void cleanMe()
{
@@ -109,9 +107,8 @@ public class TvTEventTeam
}
/**
- * Returns the name of the team
- *
- * @return String: name of the team
+ * Returns the name of the team
+ * @return String: name of the team
*/
public String getName()
{
@@ -119,9 +116,8 @@ public class TvTEventTeam
}
/**
- * Returns the coordinates of the team spot
- *
- * @return int[]: team coordinates
+ * Returns the coordinates of the team spot
+ * @return int[]: team coordinates
*/
public int[] getCoordinates()
{
@@ -129,9 +125,8 @@ public class TvTEventTeam
}
/**
- * Returns the points of the team
- *
- * @return short: team points
+ * Returns the points of the team
+ * @return short: team points
*/
public short getPoints()
{
@@ -139,9 +134,8 @@ public class TvTEventTeam
}
/**
- * Returns name and instance of all participated players in Map
- *
- * @return Map: map of players in this team
+ * Returns name and instance of all participated players in Map
+ * @return Map: map of players in this team
*/
public Map getParticipatedPlayers()
{
@@ -149,9 +143,8 @@ public class TvTEventTeam
}
/**
- * Returns player count of this team
- *
- * @return int: number of players in team
+ * Returns player count of this team
+ * @return int: number of players in team
*/
public int getParticipatedPlayerCount()
{
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/TvTManager.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/TvTManager.java
index 7872565ae3..3e22cf3089 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/TvTManager.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/entity/TvTManager.java
@@ -32,12 +32,12 @@ public class TvTManager
protected static final Logger LOGGER = Logger.getLogger(TvTManager.class.getName());
/**
- * Task for event cycles
+ * Task for event cycles
*/
private TvTStartTask _task;
/**
- * New instance only by getInstance()
+ * New instance only by getInstance()
*/
protected TvTManager()
{
@@ -55,9 +55,8 @@ public class TvTManager
}
/**
- * Initialize new/Returns the one and only instance
- *
- * @return TvTManager
+ * Initialize new/Returns the one and only instance
+ * @return TvTManager
*/
public static TvTManager getInstance()
{
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/events/AbstractScript.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
index 41d2024921..2af56576fe 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
@@ -2620,7 +2620,7 @@ public abstract class AbstractScript extends ManagedScript
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param array of values.
* @return one value from array.
@@ -2636,7 +2636,7 @@ public abstract class AbstractScript extends ManagedScript
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param list of values.
* @return one value from list.
@@ -2651,7 +2651,7 @@ public abstract class AbstractScript extends ManagedScript
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param array of Integers.
* @return one Integer from array.
*/
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
index 2c99360464..2047823cc1 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
@@ -53,7 +53,7 @@ public class PlayerSkillHolder implements ISkillsHolder
}
/**
- * Add a skill to the skills map.
+ * Add a skill to the skills map.
* @param skill
*/
@Override
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
index 0c5c4778d5..57c565eb20 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
@@ -792,7 +792,7 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Drop item from inventory by using its objectID and updates database
+ * Drop item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
@@ -1057,7 +1057,7 @@ public abstract class Inventory extends ItemContainer
/**
* Equips an item in the given slot of the paperdoll.
- * Remark : The item must be in the inventory already.
+ * Remark : The item must be in the inventory already.
* @param slot : int pointing out the slot of the paperdoll
* @param item : ItemInstance pointing out the item to add in slot
* @return ItemInstance designating the item placed in the slot before
@@ -1242,8 +1242,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in body slot and returns alterations.
- * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(int)} instead
+ * Unequips item in body slot and returns alterations.
+ * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(int)} instead
* @param slot : int designating the slot of the paperdoll
* @return ItemInstance[] : list of changes
*/
@@ -1273,8 +1273,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in slot and returns alterations
- * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
+ * Unequips item in slot and returns alterations
+ * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
* @param slot : int designating the slot
* @return ItemInstance[] : list of items altered
*/
@@ -1436,8 +1436,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Equips item and returns list of alterations
- * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
+ * Equips item and returns list of alterations
+ * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
* @param item : ItemInstance corresponding to the item
* @return ItemInstance[] : list of alterations
*/
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
index 27d4c54120..c1f10242b0 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
@@ -498,7 +498,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its objectID and updates database
+ * Destroy item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -513,7 +513,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its itemId and updates database
+ * Destroy item from inventory by using its itemId and updates database
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
index 67267331cb..b4901e731d 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
@@ -113,7 +113,7 @@ public class PetInventory extends Inventory
public void restore()
{
super.restore();
- // check for equiped items from other pets
+ // check for equipped items from other pets
for (ItemInstance item : _items)
{
if (item.isEquipped() && !item.getItem().checkCondition(_owner, _owner, false))
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
index 3e2ee234cd..c6e4115d4d 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
@@ -57,11 +57,11 @@ public class PlayerInventory extends Inventory
/**
* Block modes:
- *
- *
-1 - no block
- *
0 - block items from _invItems, allow usage of other items
- *
1 - allow usage of items from _invItems, block other items
- *
+ *
+ *
-1 - no block
+ *
0 - block items from _invItems, allow usage of other items
+ *
1 - allow usage of items from _invItems, block other items
+ *
*/
private int _blockMode = -1;
@@ -608,7 +608,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
+ * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -655,7 +655,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
+ * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/items/Item.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/items/Item.java
index f382538a9e..5effd1e8df 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/items/Item.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/items/Item.java
@@ -47,7 +47,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
/**
- * This class contains all informations concerning the item (weapon, armor, etc).
+ * This class contains all informations concerning the item (weapon, armor, etc).
* Mother class of :
*
*
Armor
@@ -153,8 +153,7 @@ public abstract class Item extends ListenersContainer implements IIdentifiable
private int _sharedReuseGroup;
/**
- * Constructor of the Item that fill class variables.
- *
+ * Constructor of the Item that fill class variables.
* @param set : StatSet corresponding to a set of couples (key,value) for description of the item
*/
protected Item(StatSet set)
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
index 647c61ea2c..4239dd6e14 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
@@ -21,7 +21,7 @@ import org.l2jmobius.gameserver.model.items.type.CrystalType;
import org.l2jmobius.gameserver.model.items.type.ItemType;
/**
- * This class contains ItemInstance
+ * This class contains ItemInstance
* Use to sort ItemInstance of :
*
*
Armor
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
index 3282c1f548..bf383abcaa 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
@@ -225,19 +225,15 @@ public class ItemInstance extends WorldObject
}
/**
- * Remove a ItemInstance from the world and send server->client GetItem packets.
- *
- * Actions :
- *
+ * Remove a ItemInstance from the world and send server->client GetItem packets.
+ *
+ * Actions:
*
Send a Server->Client Packet GetItem to player that pick up and its _knowPlayers member
- *
Remove the WorldObject from the world
- *
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- *
- * Example of use :
- *
- *
Do Pickup Item : PCInstance and Pet
- *
+ *
Remove the WorldObject from the world
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ *
+ * Example of use:
+ *
Do Pickup Item : PCInstance and Pet
* @param creature Character that pick up the item
*/
public void pickupMe(Creature creature)
@@ -382,9 +378,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the location of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the location of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param loc : ItemLocation (enumeration)
* @param locData : int designating the slot where the item is stored or the village for freights
*/
@@ -413,8 +408,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
+ * Sets the quantity of the item.
* @param count the new count to set
*/
public void setCount(long count)
@@ -437,9 +431,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the quantity of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param process : String Identifier of process triggering this action
* @param count : int
* @param creator : PlayerInstance Player requesting the item creation
@@ -1420,7 +1413,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
*/
public void updateDatabase()
{
@@ -1428,7 +1421,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
* @param force if the update should necessarily be done.
*/
public void updateDatabase(boolean force)
@@ -1531,20 +1524,17 @@ public class ItemInstance extends WorldObject
}
/**
- * Init a dropped ItemInstance and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a dropped ItemInstance and add it in the world as a visible object.
+ *
+ * Actions:
*
Set the x,y,z position of the ItemInstance dropped and update its _worldregion
*
Add the ItemInstance dropped to _visibleObjects of its WorldRegion
- *
Add the ItemInstance dropped in the world as a visible object
- *
- * Caution : This method DOESN'T ADD the object to _allObjects of World
- *
- * Example of use :
- *
+ *
Add the ItemInstance dropped in the world as a visible object
+ * Caution: This method DOESN'T ADD the object to _allObjects of World
+ *
+ * Example of use:
*
Drop item
- *
Call Pet
+ *
Call Pet
*/
public class ItemDropTask implements Runnable
{
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/quest/Quest.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/quest/Quest.java
index 38d253d12c..5695fd447d 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/quest/Quest.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/quest/Quest.java
@@ -965,7 +965,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever a player attacks an NPC that is registered for the quest.
- * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
+ * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
* @param npc this parameter contains a reference to the exact instance of the NPC that got attacked.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked the NPC.
* @param damage this parameter represents the total damage that this attack has inflicted to the NPC.
@@ -1080,7 +1080,7 @@ public class Quest extends AbstractScript implements IIdentifiable
* The coder of the script may need to create a new quest state (if necessary).
* Note 3:
* The returned value of onFirstTalk replaces the default HTML that would have otherwise been loaded from a sub-folder of DatapackRoot/game/data/html/.
- * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
+ * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
* @param npc this parameter contains a reference to the exact instance of the NPC that the player is talking with.
* @param player this parameter contains a reference to the exact instance of the player who is talking to the NPC.
* @return the text returned by the event (may be {@code null}, a filename or just text)
@@ -1207,7 +1207,7 @@ public class Quest extends AbstractScript implements IIdentifiable
}
/**
- * This function is called whenever an NPC is teleport.
+ * This function is called whenever an NPC is teleport.
* @param npc this parameter contains a reference to the exact instance of the NPC who just teleport.
*/
protected void onTeleport(Npc npc)
@@ -1217,7 +1217,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever an NPC is called by another NPC in the same faction.
* @param npc this parameter contains a reference to the exact instance of the NPC who is being asked for help.
- * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
+ * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked.
* @param isSummon this parameter if it's {@code false} it denotes that the attacker was indeed the player, else it specifies that the attacker was the player's summon.
* @return
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/skills/BuffInfo.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/skills/BuffInfo.java
index 1ff4ab56fd..dbaf4aaa57 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/skills/BuffInfo.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/skills/BuffInfo.java
@@ -97,7 +97,7 @@ public class BuffInfo
}
/**
- * Adds an effect task to this buff info.
+ * Adds an effect task to this buff info.
* @param effect the effect that owns the task
* @param effectTaskInfo the task info
*/
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/skills/Skill.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/skills/Skill.java
index 0cdcb7247e..f1c216fd7f 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/skills/Skill.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/skills/Skill.java
@@ -1018,7 +1018,8 @@ public class Skill implements IIdentifiable
/**
* Return all targets of the skill in a table in function a the skill type.
- * Values of skill type:
+ *
+ * Values of skill type:
*
*
ONE : The skill can only be used on the PlayerInstance targeted, or on the caster if it's a PlayerInstance and no PlayerInstance targeted
*
SELF
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/stats/Calculator.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/stats/Calculator.java
index 4220970585..f7ae2cd985 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/stats/Calculator.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/stats/Calculator.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.stats.functions.AbstractFunction;
* A calculator is created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...).
* In fact, each calculator is a table of Func object in which each Func represents a mathematical function:
* FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- * When the calc method of a calculator is launched, each mathematical function is called according to its priority _order.
+ * When the calc method of a calculator is launched, each mathematical function is called according to its priority _order.
* Indeed, Func with lowest priority order is executed first and Funcs with the same order are executed in unspecified order.
* The result of the calculation is stored in the value property of an Env class instance.
* Method addFunc and removeFunc permit to add and remove a Func object from a Calculator.
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/stats/Formulas.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/stats/Formulas.java
index 814ccd5698..2d6ec47674 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/stats/Formulas.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/stats/Formulas.java
@@ -103,10 +103,12 @@ public class Formulas
/**
* Return the standard NPC Calculator set containing ACCURACY_COMBAT and EVASION_RATE.
- * Concept:
- * A calculator is created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...). In fact, each calculator is a table of Func object in which each Func represents a mathematic function :
+ *
+ * Concept:
+ *
+ * A calculator is created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...). In fact, each calculator is a table of Func object in which each Func represents a mathematic function :
* FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- * To reduce cache memory use, NPCInstances who don't have skills share the same Calculator set called NPC_STD_CALCULATOR.
+ * To reduce cache memory use, NPCInstances who don't have skills share the same Calculator set called NPC_STD_CALCULATOR.
* @return
*/
public static Calculator[] getStdNPCCalculators()
@@ -180,9 +182,11 @@ public class Formulas
/**
* Add basics Func objects to PlayerInstance and Summon.
- * Concept:
- * A calculator is created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...). In fact, each calculator is a table of Func object in which each Func represents a mathematic function :
- * FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
+ *
+ * Concept:
+ *
+ * A calculator is created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...). In fact, each calculator is a table of Func object in which each Func represents a mathematic function :
+ * FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
* @param creature PlayerInstance or Summon that must obtain basic Func objects
*/
public static void addFuncsToNewCharacter(Creature creature)
@@ -1152,7 +1156,7 @@ public class Formulas
* Returns:
* 0 = shield defense doesn't succeed
* 1 = shield defense succeed
- * 2 = perfect block
+ * 2 = perfect block
* @param attacker
* @param target
* @param skill
@@ -1266,7 +1270,7 @@ public class Formulas
}
/**
- * Calculates the effect landing success.
+ * Calculates the effect landing success.
* @param attacker the attacker
* @param target the target
* @param skill the skill
@@ -1969,7 +1973,7 @@ public class Formulas
* RandomizeHate,
* DeleteHateOfMe,
* TransferHate,
- * Confuse
+ * Confuse
* @param baseChance chance from effect parameter
* @param attacker
* @param target
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
index 2988807295..c621fab8f6 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
* A Function object is a component of a Calculator created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...).
* In fact, each calculator is a table of functions object in which each function represents a mathematics function:
* FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
+ * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
* Indeed, functions with lowest priority order is executed first and functions with the same order are executed in unspecified order.
* @author Zoey76
*/
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
index ca7f8d6d99..dee0ea769d 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
@@ -55,8 +55,8 @@ public class BlowFishKeygen
}
/**
- * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
- * Thus when getting a key with interests other then read-only a copy must be performed.
+ * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
+ * Thus when getting a key with interests other then read-only a copy must be performed.
* @return A key from this keygen pool.
*/
public static byte[] getRandomKey()
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
index 3e9c924051..b670c68ef0 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
@@ -405,7 +405,7 @@ public class RequestAcquireSkill implements IClientIncomingPacket
/**
* Perform a simple check for current player and skill.
* Takes the needed SP if the skill require it and all requirements are meet.
- * Consume required items if the skill require it and all requirements are meet.
+ * Consume required items if the skill require it and all requirements are meet.
* @param player the skill learning player.
* @param trainer the skills teaching Npc.
* @param skillLearn the skill to be learn.
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
index 206640aad7..eb85f84823 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
@@ -50,7 +50,7 @@ public class RequestGMCommand implements IClientIncomingPacket
@Override
public void run(GameClient client)
{
- // prevent non gm or low level GMs from vieweing player stuff
+ // prevent non GM or low level GMs from vieweing player stuff
if (!client.getPlayer().isGM() || !client.getPlayer().getAccessLevel().allowAltG())
{
return;
@@ -99,7 +99,7 @@ public class RequestGMCommand implements IClientIncomingPacket
}
case 6: // player warehouse
{
- // gm warehouse view to be implemented
+ // GM warehouse view to be implemented
if (player != null)
{
client.sendPacket(new GMViewWarehouseWithdrawList(player));
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
index d19f06f141..f4f0c5ca81 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.network.OutgoingPackets;
import org.l2jmobius.gameserver.network.clientpackets.RequestAllyInfo;
/**
- * Sent in response to {@link RequestAllyInfo}, if applicable.
+ * Sent in response to {@link RequestAllyInfo}, if applicable.
* @author afk5min
*/
public class AllianceInfo implements IClientOutgoingPacket
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
index a2546d02d0..c0683c8797 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
@@ -20,9 +20,9 @@ import org.l2jmobius.commons.network.PacketWriter;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Eva's Inferno event packet. info params:
- * type (1 - %, 2 - npcId),
- * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
+ * Eva's Inferno event packet. info params:
+ * type (1 - %, 2 - npcId),
+ * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
* state (0-1), endtime (only when type 2)
*/
public class ExBrBuffEventState implements IClientOutgoingPacket
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
index b2abb46ddb..55778961b5 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
@@ -66,7 +66,7 @@ public interface IClientOutgoingPacket extends IOutgoingPacket
}
/**
- * Sends this packet to the target player, useful for lambda operations like
+ * Sends this packet to the target player, useful for lambda operations like
* {@code World.getInstance().getPlayers().forEach(packet::sendTo)}
* @param player
*/
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
index 1b9baf9f3f..277e29610b 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
@@ -27,25 +27,25 @@ import org.l2jmobius.gameserver.model.entity.clanhall.SiegableHall;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Attacker List in the SiegeInfo Window
- *
- * c = ca
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Attackers Clans?
- * d = Number of Attackers Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Attacker List in the SiegeInfo Window
+ *
+ * c = ca
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Attackers Clans?
+ * d = Number of Attackers Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeAttackerList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
index bba120fe24..53388dfdbc 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
@@ -24,26 +24,26 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Defender List in the SiegeInfo Window
- *
- * c = 0xcb
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Defending Clans?
- * d = Number of Defending Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Defender List in the SiegeInfo Window
+ *
+ * c = 0xcb
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Defending Clans?
+ * d = Number of Defending Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeDefenderList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
index 6cde8e8804..b79f1109e3 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
@@ -29,18 +29,18 @@ import org.l2jmobius.gameserver.model.entity.ClanHall;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Shows the Siege Info
- *
- * c = c9
- * d = CastleID
- * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
- * d = Owner ClanID
- * S = Owner ClanName
- * S = Owner Clan LeaderName
- * d = Owner AllyID
- * S = Owner AllyName
- * d = current time (seconds)
- * d = Siege time (seconds) (0 for selectable)
+ * Shows the Siege Info
+ *
+ * c = c9
+ * d = CastleID
+ * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
+ * d = Owner ClanID
+ * S = Owner ClanName
+ * S = Owner Clan LeaderName
+ * d = Owner AllyID
+ * S = Owner AllyName
+ * d = current time (seconds)
+ * d = Siege time (seconds) (0 for selectable)
* d = (UNKNOW) Siege Time Select Related?
* @author KenM
*/
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/SortedWareHouseWithdrawalList.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/SortedWareHouseWithdrawalList.java
index 97a121573e..572a50e4b3 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/SortedWareHouseWithdrawalList.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/network/serverpackets/SortedWareHouseWithdrawalList.java
@@ -450,7 +450,7 @@ public class SortedWareHouseWithdrawalList implements IClientOutgoingPacket
* This method is used to limit the given Warehouse List to:
*
Weapon
*
Arrow
- *
Money
+ *
Money
* @param items complete Warehouse List
* @return limited Item List
*/
@@ -470,7 +470,7 @@ public class SortedWareHouseWithdrawalList implements IClientOutgoingPacket
/**
* This method is used to limit the given Warehouse List to:
*
Armor
- *
Money
+ *
Money
* @param items complete Warehouse List
* @return limited Item List
*/
@@ -490,7 +490,7 @@ public class SortedWareHouseWithdrawalList implements IClientOutgoingPacket
/**
* This method is used to limit the given Warehouse List to:
*
Everything which is no Weapon/Armor
- *
Money
+ *
Money
* @param items complete Warehouse List
* @return limited Item List
*/
@@ -510,7 +510,7 @@ public class SortedWareHouseWithdrawalList implements IClientOutgoingPacket
/**
* This method is used to limit the given Warehouse List to:
*
Materials
- *
Money
+ *
Money
* @param items complete Warehouse List
* @return limited Item List
*/
@@ -530,7 +530,7 @@ public class SortedWareHouseWithdrawalList implements IClientOutgoingPacket
/**
* This method is used to limit the given Warehouse List to:
*
Recipes
- *
Money
+ *
Money
* @param items complete Warehouse List
* @return limited Item List
*/
@@ -550,7 +550,7 @@ public class SortedWareHouseWithdrawalList implements IClientOutgoingPacket
/**
* This method is used to limit the given Warehouse List to:
*
Amulett
- *
Money
+ *
Money
* @param items complete Warehouse List
* @return limited Item List
*/
@@ -570,7 +570,7 @@ public class SortedWareHouseWithdrawalList implements IClientOutgoingPacket
/**
* This method is used to limit the given Warehouse List to:
*
Spellbook & Dwarven Drafts
- *
Money
+ *
Money
* @param items complete Warehouse List
* @return limited Item List
*/
@@ -590,7 +590,7 @@ public class SortedWareHouseWithdrawalList implements IClientOutgoingPacket
/**
* This method is used to limit the given Warehouse List to:
*
Consumables (Potions, Shots, ...)
- *
Money
+ *
Money
* @param items complete Warehouse List
* @return limited Item List
*/
@@ -610,7 +610,7 @@ public class SortedWareHouseWithdrawalList implements IClientOutgoingPacket
/**
* This method is used to limit the given Warehouse List to:
*
Shots
- *
Money
+ *
Money
* @param items complete Warehouse List
* @return limited Item List
*/
@@ -630,7 +630,7 @@ public class SortedWareHouseWithdrawalList implements IClientOutgoingPacket
/**
* This method is used to limit the given Warehouse List to:
*
Scrolls/Potions
- *
Money
+ *
Money
* @param items complete Warehouse List
* @return limited Item List
*/
@@ -650,7 +650,7 @@ public class SortedWareHouseWithdrawalList implements IClientOutgoingPacket
/**
* This method is used to limit the given Warehouse List to:
*
Seeds
- *
Money
+ *
Money
* @param items complete Warehouse List
* @return limited Item List
*/
@@ -670,7 +670,7 @@ public class SortedWareHouseWithdrawalList implements IClientOutgoingPacket
/**
* This method is used to limit the given Warehouse List to:
*
Everything which is no Weapon/Armor, Material, Recipe, Spellbook, Scroll or Shot
- *
Money
+ *
Money
* @param items complete Warehouse List
* @return limited Item List
*/
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/scripting/ManagedScript.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
index f2b91791ab..00235baa25 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
@@ -21,7 +21,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
/**
- * Abstract class for classes that are meant to be implemented by scripts.
+ * Abstract class for classes that are meant to be implemented by scripts.
* @author KenM
*/
public abstract class ManagedScript
@@ -41,7 +41,7 @@ public abstract class ManagedScript
public abstract Path getScriptPath();
/**
- * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
+ * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
* Subclasses of this class should override this method to properly refresh their bindings when necessary.
* @return true if and only if the script was reloaded, false otherwise.
*/
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
index 5be1894c50..0afed0a829 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
@@ -88,7 +88,7 @@ public class AttackStanceTaskManager
}
/**
- * Checks for attack stance task.
+ * Checks for attack stance task.
* @param actor the actor
* @return {@code true} if the character has an attack stance task, {@code false} otherwise
*/
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ui/frmAbout.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ui/frmAbout.java
index a3e5c2cc67..4d161afb73 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ui/frmAbout.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/ui/frmAbout.java
@@ -83,7 +83,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblProtocols);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 128, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/util/Broadcast.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/util/Broadcast.java
index eaf0c4afb8..6dbb62c92e 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/util/Broadcast.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/util/Broadcast.java
@@ -40,11 +40,13 @@ public class Broadcast
private static final Logger LOGGER = Logger.getLogger(Broadcast.class.getName());
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -60,11 +62,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -99,11 +103,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
* @param radius
@@ -119,10 +125,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param creature
* @param mov
*/
@@ -153,10 +161,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance present in the world.
- * Concept :
- * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance present in the world.
+ *
+ * Concept:
+ *
+ * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param packet
*/
public static void toAllOnlinePlayers(IClientOutgoingPacket packet)
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/util/MinionList.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/util/MinionList.java
index 74b6293d48..d157e73a9d 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/util/MinionList.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/util/MinionList.java
@@ -58,13 +58,11 @@ public class MinionList
}
/**
- * Manage the spawn of Minions.
- *
- * Actions :
- *
+ * Manage the spawn of Minions.
+ *
+ * Actions:
*
Get the Minion data of all Minions that must be spawn
- *
For each Minion type, spawn the amount of Minion needed
- *
+ *
For each Minion type, spawn the amount of Minion needed
* @param minions
*/
public void spawnMinions(List minions)
@@ -260,16 +258,14 @@ public class MinionList
}
/**
- * Init a Minion and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a Minion and add it in the world as a visible object.
+ *
+ * Actions:
*
Get the template of the Minion to spawn
*
Create and Init the Minion and generate its Identifier
*
Set the Minion HP, MP and Heading
*
Set the Minion leader to this RaidBoss
- *
Init the position of the Minion and add it in the world as a visible object
- *
+ *
Init the position of the Minion and add it in the world as a visible object
* @param master MonsterInstance used as master for this minion
* @param minionId The NpcTemplate Identifier of the Minion to spawn
* @return
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/util/PrimeFinder.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/util/PrimeFinder.java
index c9532000c8..20016811a1 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/util/PrimeFinder.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/util/PrimeFinder.java
@@ -33,7 +33,7 @@ import java.util.Arrays;
public class PrimeFinder
{
/**
- * The largest prime this class can generate; currently equal to Integer.MAX_VALUE.
+ * The largest prime this class can generate; currently equal to Integer.MAX_VALUE
*/
public static final int LARGEST_PRIME = Integer.MAX_VALUE; // yes, it is prime.
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
index 2e46e0a048..0a81e323a3 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
@@ -67,8 +67,7 @@ public class TimeAmountInterpreter
}
/**
- * Appends an user-friendly description of the given amount of time to the specified text builder.
- *
+ * Appends an user-friendly description of the given amount of time to the specified text builder.
* Please keep in mind, that this method is primarily designed to be used with heap text builders. Therefore, if the given text builder throws an {@link IOException}, this exception will be wrapped in a {@link RuntimeException} and returned to the caller as an unchecked exception.
* @param
* @param textBuilder a character sequence builder
diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/loginserver/ui/frmAbout.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/loginserver/ui/frmAbout.java
index 8488868090..06a5d95539 100644
--- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/loginserver/ui/frmAbout.java
+++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/loginserver/ui/frmAbout.java
@@ -75,7 +75,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblLoginServer);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 148, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/custom/listeners/ListenerTest.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/custom/listeners/ListenerTest.java
index 0f855db33f..ed9d1c76f4 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/custom/listeners/ListenerTest.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/custom/listeners/ListenerTest.java
@@ -114,7 +114,7 @@ public class ListenerTest extends AbstractNpcAI
}
/**
- * Prioritized event notification
+ * Prioritized event notification
* This method will be invoked as soon as creature from level range between 1 and 10 dies.
* This listener is registered into individual npcs container.
* @param event
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
index 4185463b7a..a20f09c9cd 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
@@ -26,18 +26,15 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
public class ArtefactInstanceAction implements IActionHandler
{
/**
- * Manage actions when a player click on the ArtefactInstance.
- *
- * Actions :
- *
+ * Manage actions when a player click on the ArtefactInstance.
+ *
+ * Actions:
*
Set the NpcInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
- *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
*/
@Override
public boolean action(PlayerInstance player, WorldObject target, boolean interact)
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
index bb73cd0bae..1f204280f0 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
@@ -36,27 +36,22 @@ import org.l2jmobius.gameserver.network.serverpackets.MoveToPawn;
public class NpcAction implements IActionHandler
{
/**
- * Manage actions when a player click on the Npc.
- *
- * Actions on first click on the Npc (Select it) :
- *
+ * Manage actions when a player click on the Npc.
+ *
+ * Actions on first click on the Npc (Select it):
*
Set the Npc as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, send a Server->Client packet StatusUpdate to the PlayerInstance in order to update Npc HP bar
- *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
- *
- * Actions on second click on the Npc (Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
+ *
+ * Actions on second click on the Npc (Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, notify the PlayerInstance AI with AI_INTENTION_ATTACK (after a height verification)
- *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
- *
- * Caution : Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
+ * Caution: Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The PlayerInstance that start an action on the Npc
*/
@Override
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
index 28aa39ab39..d52da54398 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
@@ -31,25 +31,20 @@ public class PlayerInstanceAction implements IActionHandler
private static final int CURSED_WEAPON_VICTIM_MIN_LEVEL = 21;
/**
- * Manage actions when a player click on this PlayerInstance.
- *
- * Actions on first click on the PlayerInstance (Select it) :
- *
+ * Manage actions when a player click on this PlayerInstance.
+ *
+ * Actions on first click on the PlayerInstance (Select it):
*
Set the target of the player
- *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
- *
- * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
+ *
+ * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the player (display the select window)
*
If target PlayerInstance has a Private Store, notify the player AI with AI_INTENTION_INTERACT
- *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
- *
- *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
+ *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The player that start an action on target PlayerInstance
*/
@Override
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
index 20a4e8f57c..6da5c01385 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
@@ -29,7 +29,7 @@ public class PlayerInstanceActionShift implements IActionShiftHandler
{
if (player.isGM())
{
- // Check if the gm already target this l2pcinstance
+ // Check if the GM already target this l2pcinstance
if (player.getTarget() != target)
{
// Set the target of the PlayerInstance player
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
index ea73fa17a1..1aa5e5074a 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
@@ -86,13 +86,13 @@ public class AdminAdmin implements IAdminCommandHandler
else if (command.startsWith("admin_gmliston"))
{
AdminData.getInstance().showGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Registered into gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Registered into GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_gmlistoff"))
{
AdminData.getInstance().hideGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Removed from gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Removed from GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_silence"))
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
index 2efc2df69a..3fed3db486 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
@@ -486,7 +486,7 @@ public class AdminEventEngine implements IAdminCommandHandler
sb.append("
");
sb.append("
");
sb.append("
");
- sb.append("
");
+ sb.append("
");
sb.append("Teams' names:
");
for (int i = 1; (i - 1) < teamnumbers; i++) // Team names params
{
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
index 5e3fc05aa9..91259505bf 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
@@ -31,7 +31,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
/**
- * This class handles following admin commands: - gm = turns gm mode on/off
+ * This class handles following admin commands: - GM = turns GM mode on/off
* @version $Revision: 1.1.2.1 $ $Date: 2005/03/15 21:32:48 $
*/
public class AdminFightCalculator implements IAdminCommandHandler
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
index a32a84dd35..e9acb6a1f6 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles following admin commands: - gm = turns gm mode off
+ * This class handles following admin commands: - GM = turns GM mode off
* @version $Revision: 1.2.4.4 $ $Date: 2005/04/11 10:06:06 $
*/
public class AdminGm implements IAdminCommandHandler
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
index 364bba90a9..f0b2f857a4 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles commands for gm to forge packets
+ * This class handles commands for GM to forge packets
* @author Maktakien, HorridoJoho
*/
public class AdminPForge implements IAdminCommandHandler
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
index 9dd195001c..b5e732f3f7 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
@@ -30,14 +30,14 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * Pledge Manipulation:
- *
With target in a character without clan:
+ * Pledge Manipulation:
+ *
With target in a character without clan:
* //pledge create clanname
- *
With target in a clan leader:
- * //pledge info
- * //pledge dismiss
- * //pledge setlevel level
- * //pledge rep reputation_points
+ *
With target in a clan leader:
+ * //pledge info
+ * //pledge dismiss
+ * //pledge setlevel level
+ * //pledge rep reputation_points
*/
public class AdminPledge implements IAdminCommandHandler
{
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
index fb1eed2f9f..9be9eb040d 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
@@ -78,8 +78,9 @@ public class QuestLink implements IBypassHandler
/**
* Open a choose quest window on client with all quests available of the NpcInstance.
+ *
* Actions:
- *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
+ *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
* @param player The PlayerInstance that talk with the NpcInstance
* @param npc The table containing quests of the NpcInstance
* @param quests
@@ -231,6 +232,7 @@ public class QuestLink implements IBypassHandler
/**
* Open a quest window on client with the text of the NpcInstance.
+ *
* Actions:
*
*
Get the text of the quest state in the folder data/scripts/quests/questId/stateId.htm
Fly Radius means the distance between starting point and final point, it must be an integer.
*
Fly Course means the movement direction: imagine a compass above player's head, making north player's heading. So if fly course is 180, player will go backwards (good for blink, e.g.).
*
- * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
+ * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
* If target is effector, put in XML self="1", this will make _actor = getEffector(). This, combined with target type, allows more complex actions like flying target's backwards or player's backwards.
* @author DrHouse
*/
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
index ca935396a6..e4e937ef41 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.network.serverpackets.ValidateLocation;
/**
* This Blink effect switches the location of the caster and the target.
- * This effect is totally done based on client description.
+ * This effect is totally done based on client description.
* Assume that geodata checks are done on the skill cast and not needed to repeat here.
* @author Nik
*/
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
index 0f1802d986..00474ef88a 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.effects.EffectFlag;
import org.l2jmobius.gameserver.model.effects.EffectType;
/**
- * An effect that blocks the player (NPC?) control.
+ * An effect that blocks the player (NPC?) control.
* It prevents moving, casting, social actions, etc.
* @author Nik
*/
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
index 6b463fd9d2..f94ecb0b46 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
@@ -21,7 +21,7 @@ import org.l2jmobius.gameserver.model.effects.AbstractEffect;
import org.l2jmobius.gameserver.model.effects.EffectFlag;
/**
- * Effect that blocks damage and heals to HP/MP.
+ * Effect that blocks damage and heals to HP/MP.
* Regeneration or DOT shouldn't be blocked, Vampiric Rage and Balance Life as well.
* @author Nik
*/
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
index 9eb0b4e233..8c7fddca06 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
/**
* An effect that changes damage taken from an attack.
- * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
+ * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
* Exceptions for this effect appears to be DOT effects and terrain damage, they are unaffected by this stat.
* As for example in retail this effect does reduce reflected damage taken (because it is received damage), as well as it does not decrease reflected damage done,
* because reflected damage is being calculated with the original attack damage and not this altered one.
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
index a4808a3312..5624fe4e60 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
@@ -34,10 +34,10 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
- * Current formulas were tested to be the best matching retail, damage appears to be identical:
- * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
- * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
+ * Physical Attack effect implementation.
+ * Current formulas were tested to be the best matching retail, damage appears to be identical:
+ * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
+ * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
* @author Nik
*/
public class PhysicalAttack extends AbstractEffect
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
index 332fa3fa4f..17f093e386 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
index 34e643a5b1..4f29f685f7 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
index e1c554d674..92d5fb7d96 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.zone.ZoneId;
/**
* Not Friend affect object implementation. Based on Gracia Final retail tests.
* Such are considered flagged/karma players (except party/clan/ally). Doesn't matter if in command channel.
- * In arena such are considered clan/ally/command channel (except party).
+ * In arena such are considered clan/ally/command channel (except party).
* In peace zone such are considered monsters.
* Monsters consider such all players, npcs (Citizens, Guild Masters, Merchants, Guards, etc. except monsters). Doesn't matter if in peace zone or arena.
* @author Nik
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/instances/AbstractInstance.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/instances/AbstractInstance.java
index 17d748fad2..354b0d5137 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/instances/AbstractInstance.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/instances/AbstractInstance.java
@@ -62,7 +62,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Get instance world associated with {@code player}.
+ * Get instance world associated with {@code player}.
* @param player player who wants get instance world
* @return instance world if found, otherwise null
*/
@@ -229,8 +229,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Sets instance to finish state.
- * See {@link Instance#finishInstance()} for more details.
+ * Sets instance to finish state.
* @param player player used for determine current instance world
*/
protected void finishInstance(PlayerInstance player)
@@ -244,7 +243,6 @@ public abstract class AbstractInstance extends AbstractNpcAI
/**
* Sets instance to finish state.
- * See {@link Instance#finishInstance(int)} for more details.
* @param player player used for determine current instance world
* @param delay finish delay in minutes
*/
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
index 93028744ee..aa8ac8f064 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
@@ -1232,8 +1232,7 @@ public class BlowfishEngine
/**
* Method to encrypt the block at the given index.
- * The encrypted block goes to the destination array at the given index.
- *
+ * The encrypted block goes to the destination array at the given index.
* @param src source array with the plain data
* @param srcIndex index where the block to encrypt is located
* @param dst destination array the encryption will go to
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/GameTimeController.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/GameTimeController.java
index 131fb28d3d..aa4d359090 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/GameTimeController.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/GameTimeController.java
@@ -118,10 +118,13 @@ public class GameTimeController extends Thread
}
/**
- * Move all Creatures contained in movingObjects of GameTimeController.
- * Concept :
- * All Creature in movement are identified in movingObjects of GameTimeController.
- * Actions :
+ * Move all Creatures contained in movingObjects of GameTimeController.
+ *
+ * Concept:
+ *
+ * All Creature in movement are identified in movingObjects of GameTimeController.
+ *
+ * Actions:
*
*
Update the position of each Creature
*
If movement is finished, the Creature is removed from movingObjects
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/LoginServerThread.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/LoginServerThread.java
index bafacc7045..39bf2b4f51 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/LoginServerThread.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/LoginServerThread.java
@@ -95,7 +95,6 @@ public class LoginServerThread extends Thread
* The BlowFish engine used to encrypt packets
* It is first initialized with a unified key:
* "_;v.]05-31!|+-%xT!^[$\00"
- *
* and then after handshake, with a new key sent by
* login server during the handshake. This new key is stored
* in blowfishKey
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/Shutdown.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/Shutdown.java
index 3dd56d3db8..e07ac52791 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/Shutdown.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/Shutdown.java
@@ -233,7 +233,7 @@ public class Shutdown extends Thread
}
else
{
- // gm shutdown: send warnings and then call exit to start shutdown sequence
+ // GM shutdown: send warnings and then call exit to start shutdown sequence
countdown();
// last point where logging is operational :(
LOGGER.warning("GM shutdown countdown is over. " + MODE_TEXT[_shutdownMode] + " NOW!");
@@ -543,7 +543,7 @@ public class Shutdown extends Thread
}
/**
- * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
+ * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
* @return instance of Shutdown, to be used as shutdown hook
*/
public static Shutdown getInstance()
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/ai/AbstractAI.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/ai/AbstractAI.java
index 95f441a5d6..c544548976 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/ai/AbstractAI.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/ai/AbstractAI.java
@@ -45,7 +45,7 @@ import org.l2jmobius.gameserver.taskmanager.AttackStanceTaskManager;
/**
* Mother class of all objects AI in the world.
- * AbastractAI :
+ * AbastractAI:
*
CreatureAI
*/
public abstract class AbstractAI implements Ctrl
@@ -126,10 +126,10 @@ public abstract class AbstractAI implements Ctrl
/**
* Set the Intention of this AbstractAI.
- * Caution : This method is USED by AI classes
- * Overridden in :
- * AttackableAI : Create an AI Task executed every 1s (if necessary)
- * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
+ * Caution: This method is USED by AI classes
+ * Overridden in:
+ * AttackableAI : Create an AI Task executed every 1s (if necessary)
+ * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -141,7 +141,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
*/
@Override
@@ -152,7 +152,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
* @param args The first parameters of the Intention (optional target)
*/
@@ -225,7 +225,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onEvt method corresponding to the Event.
- * Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
*/
@Override
@@ -235,7 +235,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
*/
@@ -246,7 +246,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
* @param arg1 The second parameter of the Event (optional target)
@@ -419,7 +419,7 @@ public abstract class AbstractAI implements Ctrl
protected abstract void onEvtFinishCasting();
/**
- * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution : Low level function, used by AI subclasses
+ * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution: Low level function, used by AI subclasses
*/
protected void clientActionFailed()
{
@@ -430,8 +430,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param pawn
* @param offset
*/
@@ -514,8 +514,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param x
* @param y
* @param z
@@ -542,8 +542,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param loc
*/
public void clientStopMoving(Location loc)
@@ -591,8 +591,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
public void clientStartAutoAttack()
{
@@ -632,8 +632,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
void clientStopAutoAttack()
{
@@ -661,8 +661,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
protected void clientNotifyDead()
{
@@ -679,7 +679,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Update the state of this actor client side by sending Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance player.
- * Caution : Low level function, used by AI subclasses
+ * Caution: Low level function, used by AI subclasses
* @param player The PlayerIstance to notify with state of this Creature
*/
public void describeStateToPlayer(PlayerInstance player)
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/ai/AttackableAI.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/ai/AttackableAI.java
index 28bb61cbff..6075092cb6 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/ai/AttackableAI.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/ai/AttackableAI.java
@@ -212,7 +212,7 @@ public class AttackableAI extends CreatureAI
/**
* Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
- * Caution : If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
+ * Caution: If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -317,7 +317,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update every 1s the _globalAggro counter to come close to 0
*
If the actor is Aggressive and can attack, add all autoAttackable Creature in its Aggro Range to its _aggroList, chose a target and order to attack it
@@ -612,7 +612,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update the attack timeout if actor is running
*
If target is dead or timeout is expired, stop this attack and set the Intention to AI_INTENTION_ACTIVE
@@ -1237,7 +1237,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Attacked.
- * Actions :
+ *
+ * Actions:
*
*
Init the attack : Calculate the attack timeout, Set the _globalAggro to 0, Add the attacker to the actor _aggroList
*
Set the Creature movement type to run and send Server->Client packet ChangeMoveType to all others PlayerInstance
@@ -1301,7 +1302,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Aggression.
- * Actions :
+ *
+ * Actions:
*
*
Add the target to the actor _aggroList or update hate if already present
*
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/ai/CreatureAI.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/ai/CreatureAI.java
index 34be02f105..3b29875b4a 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/ai/CreatureAI.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/ai/CreatureAI.java
@@ -139,7 +139,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Idle Intention : Stop Attack, Movement and Stand Up the actor.
- * Actions :
+ *
+ * Actions:
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
Init cast and attack target
@@ -164,7 +165,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Active Intention : Stop Attack, Movement and Launch Think Event.
- * Actions : if the Intention is not already Active
+ *
+ * Actions : if the Intention is not already Active
*
*
Set the AI Intention to AI_INTENTION_ACTIVE
*
Init cast and attack target
@@ -195,7 +197,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Rest Intention.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
@@ -209,7 +212,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Attack Intention : Stop current Attack (if necessary), Start a new Attack and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_ATTACK
@@ -217,7 +221,8 @@ public class CreatureAI extends AbstractAI
*
Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast)
*
Launch the Think Event
*
- * Overridden in :
+ *
+ * Overridden in:
*
*
AttackableAI : Calculate attack timeout
*
@@ -281,7 +286,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Cast Intention : Stop current Attack, Init the AI in order to cast and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI cast target
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
@@ -331,7 +337,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
@@ -370,7 +377,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Follow Intention : Stop current Attack and Launch a Follow Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_FOLLOW
@@ -427,7 +435,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the PickUp Intention : Set the pick up target and Launch a Move To Pawn Task (offset=20).
- * Actions :
+ *
+ * Actions :
*
*
Set the AI pick up target
*
Set the Intention of this AI to AI_INTENTION_PICK_UP
@@ -476,7 +485,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Interact Intention : Set the interact target and Launch a Move To Pawn Task (offset=60).
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the AI interact target
@@ -537,7 +547,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Stunned then onAttacked Event.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
@@ -565,7 +576,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Rooted.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -588,7 +600,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Confused.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -606,7 +619,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Muted.
- * Actions :
+ *
+ * Actions:
*
*
Break a cast and send Server->Client ActionFailed packet and a System Message to the Creature
*
@@ -629,7 +643,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -643,7 +658,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Arrived.
- * Actions :
+ *
+ * Actions:
*
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
*
Launch actions corresponding to the Event Think
@@ -686,7 +702,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedRevalidate.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -700,7 +717,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedBlocked.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
@@ -725,7 +743,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ForgetObject.
- * Actions :
+ *
+ * Actions:
*
*
If the object was targeted and the Intention was AI_INTENTION_INTERACT or AI_INTENTION_PICK_UP, set the Intention to AI_INTENTION_ACTIVE
*
If the object was targeted to attack, stop the auto-attack, cancel target and set the Intention to AI_INTENTION_ACTIVE
@@ -781,7 +800,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -806,7 +826,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Dead.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast)
@@ -829,7 +850,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Fake Death.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
@@ -910,13 +932,15 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move to Pawn action in function of the distance and of the Interact area.
- * Actions :
+ *
+ * Actions:
*
*
Get the distance between the current position of the Creature and the target (x,y)
*
If the distance > offset+20, move the actor (by running) to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast)
*
If the distance <= offset+20, Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1017,13 +1041,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost or dead.
- * Actions : If the target is lost or dead
+ *
+ * Actions : If the target is lost or dead
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1050,13 +1076,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost.
- * Actions : If the target is lost
+ *
+ * Actions : If the target is lost
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/ai/PlayerAI.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/ai/PlayerAI.java
index 1af86289ec..72cd985005 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/ai/PlayerAI.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/ai/PlayerAI.java
@@ -90,7 +90,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -109,7 +110,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -124,7 +126,7 @@ public class PlayerAI extends PlayableAI
/**
* Finalize the casting of a skill. This method overrides CreatureAI method.
- * What it does:
+ * What it does:
* Check if actual intention is set to CAST and, if so, retrieves latest intention before the actual CAST and set it as the current intention for the player.
*/
@Override
@@ -197,7 +199,8 @@ public class PlayerAI extends PlayableAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
index a6c22e57af..dcfcbb433f 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
@@ -158,7 +158,7 @@ public class AdminData implements IXmlReader
AdminCommandAccessRight acar = _adminCommandAccessRights.get(adminCommand);
if (acar == null)
{
- // Trying to avoid the spam for next time when the gm would try to use the same command
+ // Trying to avoid the spam for next time when the GM would try to use the same command
if ((accessLevel.getLevel() > 0) && (accessLevel.getLevel() == _highestLevel))
{
acar = new AdminCommandAccessRight(adminCommand, true, accessLevel.getLevel());
@@ -341,7 +341,7 @@ public class AdminData implements IXmlReader
/**
* Gets the single instance of AdminTable.
- * @return AccessLevels: the one and only instance of this class
+ * @return AccessLevels: the one and only instance of this class
*/
public static AdminData getInstance()
{
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
index f11acfd056..0407de3b99 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
@@ -63,7 +63,7 @@ import org.l2jmobius.gameserver.model.skills.Skill;
* Here can be found the following skill trees:
*
*
Class skill trees: player skill trees for each class.
- *
Transfer skill trees: player skill trees for each healer class.
+ *
Transfer skill trees: player skill trees for each healer class.
*
Collect skill tree: player skill tree for Gracia related skills.
*
Fishing skill tree: player skill tree for fishing related skills.
*
Transform skill tree: player skill tree for transformation related skills.
@@ -464,7 +464,7 @@ public class SkillTreeData implements IXmlReader
}
/**
- * Gets the race skill tree.
+ * Gets the race skill tree.
* @param race the race skill tree Id
* @return the complete race Skill Tree for a given {@code Race}
*/
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/datatables/BotReportTable.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
index df93e82f1e..7f43f75eed 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
@@ -206,7 +206,7 @@ public class BotReportTable
}
/**
- * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
+ * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
* @param reporter (PlayerInstance who issued the report)
* @return True, if the report was registered, False otherwise
*/
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/datatables/ItemTable.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/datatables/ItemTable.java
index d63129deff..bfae3f7a36 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/datatables/ItemTable.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/datatables/ItemTable.java
@@ -195,10 +195,10 @@ public class ItemTable
}
/**
- * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions :
+ * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions:
*
Create and Init the ItemInstance corresponding to the Item Identifier and quantity
*
Add the ItemInstance object to _allObjects of L2world
- *
Logs Item creation according to log settings
+ *
Logs Item creation according to log settings
* @param process : String Identifier of process triggering this action
* @param itemId : int Item Identifier of the item to be created
* @param count : int Quantity of items to be created for stackable items
@@ -304,7 +304,8 @@ public class ItemTable
/**
* Destroys the ItemInstance.
- * Actions :
+ *
+ * Actions:
*
*
Sets ItemInstance parameters to be unusable
*
Removes the ItemInstance object to _allObjects of L2world
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/enums/BasicProperty.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/enums/BasicProperty.java
index 77a2a7a477..1e5cac18dd 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/enums/BasicProperty.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/enums/BasicProperty.java
@@ -17,17 +17,17 @@
package org.l2jmobius.gameserver.enums;
/**
- * Basic property type of skills.
- * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
- * After, only 3 types are used: physical, magic and none.
- *
- * Quote from Juji:
- * ----------------------------------------------------------------------
- * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
- * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
- * ----------------------------------------------------------------------
- * All other are considered with no basic property aka NONE.
- *
+ * Basic property type of skills.
+ * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
+ * After, only 3 types are used: physical, magic and none.
+ *
+ * Quote from Juji:
+ * ----------------------------------------------------------------------
+ * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
+ * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
+ * ----------------------------------------------------------------------
+ * All other are considered with no basic property aka NONE.
+ *
* @author Nik
*/
public enum BasicProperty
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/handler/ItemHandler.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/handler/ItemHandler.java
index 939d8263da..a815f2646e 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/handler/ItemHandler.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/handler/ItemHandler.java
@@ -38,10 +38,9 @@ public class ItemHandler implements IHandler
}
/**
- * Adds handler of item type in datatable.
- *
- * Concept :
- * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
+ * Adds handler of item type in datatable.
+ * Concept :
+ * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
* @param handler (IItemHandler)
*/
@Override
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
index 7d6c13d3b9..b510fdc4ee 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
@@ -456,7 +456,7 @@ public class InstanceManager implements IXmlReader
}
/**
- * Register instance world.
+ * Register instance world.
* @param instance instance which should be registered
*/
public void register(Instance instance)
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/AccessLevel.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/AccessLevel.java
index ced434ddda..2dac00e406 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/AccessLevel.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/AccessLevel.java
@@ -87,9 +87,8 @@ public class AccessLevel
}
/**
- * Returns the access level
- *
- * @return int: access level
+ * Returns the access level
+ * @return int: access level
*/
public int getLevel()
{
@@ -97,9 +96,8 @@ public class AccessLevel
}
/**
- * Returns the access level name
- *
- * @return String: access level name
+ * Returns the access level name
+ * @return String: access level name
*/
public String getName()
{
@@ -107,9 +105,8 @@ public class AccessLevel
}
/**
- * Returns the name color of the access level
- *
- * @return int: the name color for the access level
+ * Returns the name color of the access level
+ * @return int: the name color for the access level
*/
public int getNameColor()
{
@@ -117,9 +114,8 @@ public class AccessLevel
}
/**
- * Returns the title color color of the access level
- *
- * @return int: the title color for the access level
+ * Returns the title color color of the access level
+ * @return int: the title color for the access level
*/
public int getTitleColor()
{
@@ -127,9 +123,8 @@ public class AccessLevel
}
/**
- * Retuns if the access level has gm access or not
- *
- * @return boolean: true if access level have gm access, otherwise false
+ * Retuns if the access level has GM access or not
+ * @return boolean: true if access level have GM access, otherwise false
*/
public boolean isGm()
{
@@ -137,9 +132,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to attack in peace zone or not
- *
- * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
+ * Returns if the access level is allowed to attack in peace zone or not
+ * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
*/
public boolean allowPeaceAttack()
{
@@ -147,9 +141,8 @@ public class AccessLevel
}
/**
- * Retruns if the access level is allowed to use fixed res or not
- *
- * @return true if the access level is allowed to use fixed res, otherwise false
+ * Retruns if the access level is allowed to use fixed res or not
+ * @return true if the access level is allowed to use fixed res, otherwise false
*/
public boolean allowFixedRes()
{
@@ -157,9 +150,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to perform transactions or not
- *
- * @return boolean: true if access level is allowed to perform transactions, otherwise false
+ * Returns if the access level is allowed to perform transactions or not
+ * @return boolean: true if access level is allowed to perform transactions, otherwise false
*/
public boolean allowTransaction()
{
@@ -167,9 +159,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to use AltG commands or not
- *
- * @return boolean: true if access level is allowed to use AltG commands, otherwise false
+ * Returns if the access level is allowed to use AltG commands or not
+ * @return boolean: true if access level is allowed to use AltG commands, otherwise false
*/
public boolean allowAltG()
{
@@ -177,9 +168,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can give damage or not
- *
- * @return boolean: true if the access level can give damage, otherwise false
+ * Returns if the access level can give damage or not
+ * @return boolean: true if the access level can give damage, otherwise false
*/
public boolean canGiveDamage()
{
@@ -187,9 +177,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can take aggro or not
- *
- * @return boolean: true if the access level can take aggro, otherwise false
+ * Returns if the access level can take aggro or not
+ * @return boolean: true if the access level can take aggro, otherwise false
*/
public boolean canTakeAggro()
{
@@ -197,9 +186,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can gain exp or not
- *
- * @return boolean: true if the access level can gain exp, otherwise false
+ * Returns if the access level can gain exp or not
+ * @return boolean: true if the access level can gain exp, otherwise false
*/
public boolean canGainExp()
{
@@ -207,9 +195,9 @@ public class AccessLevel
}
/**
- * Returns if the access level contains allowedAccess as child
- * @param accessLevel as AccessLevel
- * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
+ * Returns if the access level contains allowedAccess as child
+ * @param accessLevel as AccessLevel
+ * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
*/
public boolean hasChildAccess(AccessLevel accessLevel)
{
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/EffectList.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/EffectList.java
index 72d713b173..78596bd21e 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/EffectList.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/EffectList.java
@@ -159,7 +159,7 @@ public class EffectList
}
/**
- * Verifies if this effect list contains the given skill ID.
+ * Verifies if this effect list contains the given skill ID.
* @param skillId the skill ID to verify
* @return {@code true} if the skill ID is present in the effect list (includes active and passive effects), {@code false} otherwise
*/
@@ -179,7 +179,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param type the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching the specified {@code AbnormalType}, {@code false} otherwise
*/
@@ -189,7 +189,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param types the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching one of the specified {@code AbnormalType}s, {@code false} otherwise
*/
@@ -421,7 +421,7 @@ public class EffectList
}
/**
- * Exit all effects having a specified flag.
+ * Exit all effects having a specified flag.
* @param effectFlag the flag of the effect to stop
*/
public void stopEffects(EffectFlag effectFlag)
@@ -438,7 +438,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, Skill)}
+ * {@link #stopSkillEffects(boolean, Skill)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skillId the skill ID
*/
@@ -457,7 +457,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, int)}
+ * {@link #stopSkillEffects(boolean, int)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skill the skill
*/
@@ -483,7 +483,7 @@ public class EffectList
}
/**
- * Exits all effects created by a specific skill {@code AbnormalType}s.
+ * Exits all effects created by a specific skill {@code AbnormalType}s.
* @param types the skill {@code AbnormalType}s to be checked and removed.
* @return {@code true} if there was any {@code BuffInfo} with one of the given {@code AbnormalType}s, {@code false} otherwise
*/
@@ -498,7 +498,7 @@ public class EffectList
}
/**
- * Exits all effects matched by a specific filter.
+ * Exits all effects matched by a specific filter.
* @param filter any filter to apply when selecting which {@code BuffInfo}s to be removed.
* @param update update effect flags and icons after the operation finishes.
* @param broadcast {@code true} to broadcast update packets if updating, {@code false} otherwise.
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/Party.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/Party.java
index bfa180535b..e5518154d9 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/Party.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/Party.java
@@ -142,7 +142,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Set invitation process flag and store time for expiration.
+ * Set invitation process flag and store time for expiration.
* Happens when a player joins party or declines to join.
* @param value the pending invitation state to set
*/
@@ -273,8 +273,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Send a Server->Client packet to all other PlayerInstance of the Party.
- *
+ * Send a Server->Client packet to all other PlayerInstance of the Party.
* @param player
* @param msg
*/
@@ -821,12 +820,12 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
- *
- * Actions :
+ * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
+ *
+ * Actions:
*
Get the PlayerInstance owner of the ServitorInstance (if necessary)
*
Calculate the Experience and SP reward distribution rate
- *
Add Experience and SP to the PlayerInstance
+ *
Add Experience and SP to the PlayerInstance
* @param xpReward The Experience reward to distribute
* @param spReward The SP reward to distribute
* @param rewardedMembers The list of PlayerInstance to reward
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/Spawn.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/Spawn.java
index e9068a0b5f..9f8d6a075f 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/Spawn.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/Spawn.java
@@ -41,7 +41,7 @@ import org.l2jmobius.gameserver.util.Util;
/**
* This class manages the spawn and respawn of a group of NpcInstance that are in the same are and have the same type.
- * Concept:
+ * Concept:
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
* @author Nightmare
@@ -78,13 +78,16 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Constructor of Spawn.
- * Concept:
+ *
+ * Concept:
+ *
* Each Spawn owns generic and static properties (ex : RewardExp, RewardSP, AggroRange...).
* All of those properties are stored in a different NpcTemplate for each type of Spawn. Each template is loaded once in the server cache memory (reduce memory use).
* When a new instance of Spawn is created, server just create a link between the instance and the template.
- * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
- * This link is stored in _spawn of the NpcInstance.
- * Actions:
+ * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
+ * This link is stored in _spawn of the NpcInstance.
+ *
+ * Actions:
*
*
Set the _template of the Spawn
*
Calculate the implementationName used to generate the generic constructor of NpcInstance managed by this Spawn
@@ -227,11 +230,11 @@ public class Spawn extends Location implements IIdentifiable, INamable
}
/**
- * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions :
+ * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions:
*
Decrease the current number of NpcInstance of this Spawn
*
Check if respawn is possible to prevent multiple respawning caused by lag
*
Update the current number of SpawnTask in progress or stand by of this Spawn
- *
Create a new SpawnTask to launch after the respawn Delay
Caution : A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
+ *
Create a new SpawnTask to launch after the respawn Delay
Caution: A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
* @param oldNpc
*/
public void decreaseCount(Npc oldNpc)
@@ -305,10 +308,13 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Create the NpcInstance, add it to the world and lauch its OnSpawn action.
- * Concept:
+ *
+ * Concept:
+ *
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
- * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
+ *
+ * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
*
*
Get NpcInstance Init parameters and its generate an Identifier
*
Call the constructor of the NpcInstance
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/World.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/World.java
index 0b8cd8b4f1..09579e901c 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/World.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/World.java
@@ -132,7 +132,8 @@ public class World
/**
* Adds an object to the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Withdraw an item from the warehouse, create an item
*
Spawn a Creature (PC, NPC, Pet)
@@ -172,7 +173,8 @@ public class World
/**
* Removes an object from the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Delete item from inventory, transfer Item from inventory to warehouse
*
Crystallize item
@@ -209,7 +211,7 @@ public class World
}
/**
- * Example of use:
+ * Example of use:
*
@@ -251,7 +253,7 @@ public class World
}
/**
- * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
+ * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
* @param name Name of the player to get Instance
* @return the player instance corresponding to the given name.
*/
@@ -299,18 +301,18 @@ public class World
}
/**
- * Add a WorldObject in the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Add a WorldObject in the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Add the WorldObject object in _allPlayers* of World
*
Add the WorldObject object in _gmList** of GmListTable
- *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
- * * only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstanceCaution : This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
- * Caution : This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use :
+ *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
+ * * only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstanceCaution: This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
+ * Caution: This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use:
*
Drop an Item
*
Spawn a Creature
- *
Apply Death Penalty of a PlayerInstance
+ *
Apply Death Penalty of a PlayerInstance
* @param object L2object to add in the world
* @param newRegion WorldRegion in wich the object will be add (not used)
*/
@@ -382,16 +384,16 @@ public class World
}
/**
- * Remove a WorldObject from the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Remove a WorldObject from the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Remove the WorldObject object from _allPlayers* of World
*
Remove the WorldObject object from _visibleObjects and _allPlayers* of WorldRegion
*
Remove the WorldObject object from _gmList** of GmListTable
- *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution : This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstance Example of use :
+ *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution: This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstance Example of use:
*
Pickup an Item
- *
Decay a Creature
+ *
Decay a Creature
* @param object L2object to remove from the world
* @param oldRegion WorldRegion in which the object was before removing
*/
@@ -690,9 +692,9 @@ public class World
}
/**
- * Calculate the current WorldRegions of the object according to its position (x,y). Example of use :
+ * Calculate the current WorldRegions of the object according to its position (x,y). Example of use:
*
Set position of a new WorldObject (drop, spawn...)
- *
Update position of a WorldObject after a movement
+ *
Update position of a WorldObject after a movement
* @param object the object
* @return
*/
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/WorldObject.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/WorldObject.java
index 63e719d10f..adc7402c47 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/WorldObject.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/WorldObject.java
@@ -670,7 +670,7 @@ public abstract class WorldObject extends ListenersContainer implements IIdentif
}
/**
- * Sets instance for current object by instance ID.
+ * Sets instance for current object by instance ID.
* @param id ID of instance world which should be set (0 means normal world)
*/
public void setInstanceById(int id)
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/WorldRegion.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/WorldRegion.java
index 4a166d2b8a..25ada44e59 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/WorldRegion.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/WorldRegion.java
@@ -195,8 +195,8 @@ public class WorldRegion
}
/**
- * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
- * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
+ * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
+ * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
* @param object
*/
public void addVisibleObject(WorldObject object)
@@ -216,7 +216,7 @@ public class WorldRegion
}
/**
- * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
+ * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
* @param object
*/
public void removeVisibleObject(WorldObject object)
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 add262d883..a2d0913b21 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
@@ -1050,7 +1050,7 @@ public class Attackable extends Npc
* During a Special Event all Attackable can drop extra Items.
* Those extra Items are defined in the table allNpcDateDrops of the EventDroplist.
* Each Special Event has a start and end date to stop to drop extra Items automatically.
- * Actions: If an extra drop must be generated
+ * Actions: If an extra drop must be generated
* Get an Item Identifier (random) from the DateDrop Item table of this Event.
* Get the Item quantity dropped (random).
* Create this or these ItemInstance corresponding to this Item Identifier.
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Creature.java
index 4f62904ce0..7a602aa860 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Creature.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Creature.java
@@ -167,7 +167,6 @@ import org.l2jmobius.gameserver.util.Util;
*
Trap
*
Vehicle
*
- *
* Concept of CreatureTemplate:
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
@@ -294,11 +293,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Constructor of Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature. Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
- * Actions:
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
+ *
+ * Actions:
*
*
Set the _template of the Creature
*
Set _overloaded to false (the character can take more items)
@@ -541,8 +543,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Remove the Creature from the world when the decay task is launched.
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
public void onDecay()
{
@@ -602,8 +604,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
*/
@@ -620,8 +624,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the radius (max knownlist radius) from the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
* @param radiusInKnownlist
@@ -677,12 +683,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send the Server->Client packet StatusUpdate with current HP and MP to all other PlayerInstance to inform.
- * Actions:
+ *
+ * Actions:
*
*
Create the Server->Client packet StatusUpdate with current HP and MP
*
Send the Server->Client packet StatusUpdate with current HP and MP to all Creature called _statusListener that must be informed of HP/MP updates of this Creature
*
- * Caution: This method DOESN'T SEND CP information
+ * Caution: This method DOESN'T SEND CP information
* @param caster TODO
*/
public void broadcastStatusUpdate(Creature caster)
@@ -713,7 +720,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Teleport a Creature and its pet if necessary.
- * Actions:
+ *
+ * Actions:
*
*
Stop the movement of the Creature
*
Set the x,y,z position of the WorldObject and if necessary modify its _worldRegion
@@ -882,7 +890,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a physical attack against a target (Simple, Bow, Pole or Dual).
- * Actions:
+ *
+ * Actions:
*
*
Get the active weapon (always equipped in the right hand)
*
If weapon is a bow, check for arrows, MP and bow re-use delay (if necessary, equip the PlayerInstance with arrows in left hand)
@@ -1273,7 +1282,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Manage the casting task (casting and interrupt time, re-use delay...) and display the casting bar and animation on client.
- * Actions:
+ *
+ * Actions:
*
*
Verify the possibility of the the cast : skill is a spell, caster isn't muted...
*
Get the list of all targets (ex : area effects) and define the Creature targeted (its stats will be used in calculation)
@@ -1563,7 +1573,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Kill the Creature.
- * Actions:
+ *
+ * Actions:
*
*
Set target to null and cancel Attack or Cast
*
Stop movement
@@ -2190,11 +2201,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Set the template of the Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
* Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
* @param template
*/
protected final void setTemplate(CreatureTemplate template)
@@ -2371,7 +2384,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop a specified/all Fake Death abnormal Effect.
- * Actions:
+ *
+ * Actions:
*
*
Delete a specified/all (if effect=null) Fake Death abnormal Effect from Creature and update client magic icon
*
Set the abnormal effect flag _fake_death to False
@@ -2399,7 +2413,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Stop all block actions (stun) effects.
+ * Stop all block actions (stun) effects.
* @param removeEffects {@code true} removes all block actions effects, {@code false} only notifies AI to think.
*/
public void stopStunning(boolean removeEffects)
@@ -2417,7 +2431,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop Effect: Transformation.
- * Actions:
+ *
+ * Actions:
*
*
Remove Transformation Effect
*
Notify the Creature AI
@@ -2446,7 +2461,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Updates the visual abnormal state of this character.
+ * Updates the visual abnormal state of this character.
*/
public void updateAbnormalVisualEffects()
{
@@ -2455,9 +2470,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update active skills in progress (In Use and Not In Use because stacked) icons on client.
- * Concept:
+ *
+ * Concept:
+ *
* All active skills effects in progress (In Use and Not In Use because stacked) are represented by an icon on the client.
- * Caution : This method ONLY UPDATE the client of the player and not clients of all players in the party.
+ * Caution: This method ONLY UPDATE the client of the player and not clients of all players in the party.
*/
public void updateEffectIcons()
{
@@ -2491,7 +2508,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* This class group all movement data.
- * Data :
+ *
+ * Data:
*
*
_moveTimestamp : Last time position update
*
_xDestination, _yDestination, _zDestination : Position of the destination
@@ -2785,7 +2803,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * @return True if the Creature is travelling a calculated path.
+ * @return True if the Creature is traveling a calculated path.
*/
public boolean isOnGeodataPath()
{
@@ -2895,16 +2913,18 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update the position of the Creature during a movement and return True if the movement is finished.
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
* When the movement is started (ex : by MovetoLocation), this method will be called each 0.1 sec to estimate and update the Creature position on the server.
* Note, that the current server position can differe from the current client position even if each movement is straight foward.
* That's why, client send regularly a Client->Server ValidatePosition packet to eventually correct the gap on the server.
* But, it's always the server position that is used in range calculation. At the end of the estimated movement time,
* the Creature position is automatically set to the destination position even if the movement is not finished.
- * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
- * But x and y positions must be calculated to avoid that players try to modify their movement speed.
+ * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
+ * But x and y positions must be calculated to avoid that players try to modify their movement speed.
* @return True if the movement is finished
*/
public boolean updatePosition()
@@ -3072,14 +3092,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop movement of the Creature (Called by AI Accessor only).
- * Actions:
+ *
+ * Actions:
*
*
Delete movement data of the Creature
*
Set the current position (x,y,z), its current WorldRegion if necessary and its heading
*
Remove the WorldObject object from _gmList of GmListTable
*
Remove object from _knownObjects and _knownPlayer of all surrounding WorldRegion Creatures
*
- * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
+ * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
* @param loc
*/
public void stopMove(Location loc)
@@ -3116,9 +3137,12 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Target a WorldObject (add the target to the Creature _target, _knownObject and Creature to _KnownObject of the WorldObject).
- * Concept:
- * The WorldObject (including Creature) targeted is identified in _target of the Creature.
- * Actions:
+ *
+ * Concept:
+ *
+ * The WorldObject (including Creature) targeted is identified in _target of the Creature.
+ *
+ * Actions:
*
*
Set the _target of Creature to WorldObject
*
If necessary, add WorldObject to _knownObject of the Creature
@@ -3161,11 +3185,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Calculate movement data for a move to location action and add the Creature to movingObjects of GameTimeController (only called by AI Accessor).
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
- * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
- * Actions:
+ * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
+ *
+ * Actions:
*
*
Get current position of the Creature
*
Calculate distance (dx,dy) between current position and destination including offset
@@ -3174,8 +3201,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
*
Add the Creature to movingObjects of the GameTimeController
*
Create a task to notify the AI that Creature arrives at a check point of the movement
*
- * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
- * Example of use:
+ * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
+ *
+ * Example of use:
*
*
AI : onIntentionMoveTo(Location), onIntentionPickUp(WorldObject), onIntentionInteract(WorldObject)
*
FollowTask
@@ -3579,7 +3607,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
* @return True if arrows are available.
* @param type
@@ -3591,9 +3619,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add Exp and Sp to the Creature.
- * Overridden in :
+ *
+ * Overridden in:
*
PlayerInstance
- *
PetInstance
+ *
PetInstance
* @param addToExp
* @param addToSp
*/
@@ -3603,36 +3632,37 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon instance (always equiped in the right hand).
+ * @return the active weapon instance (always equipped in the right hand).
*/
public abstract ItemInstance getActiveWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon item (always equiped in the right hand).
+ * @return the active weapon item (always equipped in the right hand).
*/
public abstract Weapon getActiveWeaponItem();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary weapon instance (always equiped in the left hand).
+ * @return the secondary weapon instance (always equipped in the left hand).
*/
public abstract ItemInstance getSecondaryWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary {@link Item} item (always equiped in the left hand).
+ * @return the secondary {@link Item} item (always equipped in the left hand).
*/
public abstract Item getSecondaryWeaponItem();
/**
* Manage hit process (called by Hit Task).
- * Actions:
+ *
+ * Actions:
*
*
If the attacker/target is dead or use fake death, notify the AI with EVT_CANCEL and send a Server->Client packet ActionFailed (if attacker is a PlayerInstance)
*
If attack isn't aborted, send a message system (critical hit, missed...) to attacker/target if they are PlayerInstance
If Creature or target is in a town area, send a system message TARGET_IN_PEACEZONE a Server->Client packet ActionFailed
*
If target is confused, send a Server->Client packet ActionFailed
@@ -3952,15 +3983,19 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add a skill to the Creature _skills and its Func objects to the calculator set of the Creature.
- * Concept:
- * All skills own by a Creature are identified in _skills
- * Actions:
+ *
+ * Concept:
+ *
+ * All skills own by a Creature are identified in _skills
+ *
+ * Actions:
*
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
*
Add Func objects of newSkill to the calculator set of the Creature
*
- * Overridden in:
+ *
+ * Overridden in:
*
*
PlayerInstance : Save update in the character_skills table of the database
*
@@ -5241,7 +5276,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
+ * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
* @param range
*/
public void initSeenCreatures(int range)
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Npc.java
index f1533c1f6e..6e287c4990 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Npc.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Npc.java
@@ -158,7 +158,8 @@ public class Npc extends Creature
/**
* Constructor of NpcInstance (use Creature constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the Creature (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the Creature
@@ -578,7 +579,8 @@ public class Npc extends Creature
/**
* Open a quest or chat window on client with the text of the NpcInstance in function of the command.
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : RequestBypassToServer
*
@@ -638,11 +640,11 @@ public class Npc extends Creature
}
/**
- * :
+ * :
*
- *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
- *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
- *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
+ *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
+ *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
+ *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -705,7 +707,8 @@ public class Npc extends Creature
/**
* Open a chat window on client with the text of the NpcInstance.
- * Actions:
+ *
+ * Actions:
*
*
Get the text of the selected HTML file in function of the npcId and of the page number
*
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
@@ -865,7 +868,8 @@ public class Npc extends Creature
/**
* Kill the NpcInstance (the corpse disappeared after 7 seconds).
- * Actions:
+ *
+ * Actions:
*
*
Create a DecayTask to remove the corpse of the NpcInstance after 7 seconds
*
Set target to null and cancel Attack or Cast
@@ -1091,14 +1095,15 @@ public class Npc extends Creature
/**
* Remove the NpcInstance from the world and update its spawn object (for a complete removal use the deleteMe method).
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world when the decay task is launched
*
Decrease its spawn counter
*
Manage Siege task (killFlag, killCT)
*
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
@Override
public void onDecay()
@@ -1137,13 +1142,14 @@ public class Npc extends Creature
/**
* Remove PROPERLY the NpcInstance from the world.
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world and update its spawn object
*
Remove all WorldObject from _knownObjects and _knownPlayer of the NpcInstance then cancel Attack or Cast and notify AI
*
Remove WorldObject object from _allObjects of World
*
- * Caution: This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T SEND Server->Client packets to players
* UnAfraid: TODO: Add Listener here
*/
@Override
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Playable.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Playable.java
index 622442ab2e..750bdba19c 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Playable.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Playable.java
@@ -52,7 +52,8 @@ public abstract class Playable extends Creature
/**
* Constructor of Playable.
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and link copy basic Calculator set to this Playable
*
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Summon.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Summon.java
index 060b158a8e..4ad20cafbf 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Summon.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Summon.java
@@ -588,7 +588,8 @@ public abstract class Summon extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the target is correct
*
Check if the target is in the skill cast range
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
index 5af1884bac..ba0920369e 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
@@ -24,21 +24,19 @@ import org.l2jmobius.gameserver.model.skills.Skill;
import org.l2jmobius.gameserver.network.serverpackets.ActionFailed;
/**
- * This class manages all Castle Siege Artefacts.
- *
+ * This class manages all Castle Siege Artefacts.
+ *
* @version $Revision: 1.11.2.1.2.7 $ $Date: 2005/04/06 16:13:40 $
*/
public class ArtefactInstance extends Npc
{
/**
- * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
- *
- * Actions :
- *
+ * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
+ *
+ * Actions:
*
Call the Creature constructor to set the _template of the ArtefactInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the ArtefactInstance
- *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
- *
+ *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
* @param template to apply to the NPC
*/
public ArtefactInstance(NpcTemplate template)
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 5f34d57abe..d359c8335b 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
@@ -36,7 +36,8 @@ public class GuardInstance extends Attackable
{
/**
* Constructor of GuardInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the GuardInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the GuardInstance
@@ -100,10 +101,11 @@ public class GuardInstance extends Attackable
/**
* Return the pathfile of the selected HTML file in function of the GuardInstance Identifier and of the page number.
- * Format of the pathfile :
+ *
+ * Format of the pathfile:
*
- *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
- *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
+ *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
+ *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -125,19 +127,22 @@ public class GuardInstance extends Attackable
/**
* Manage actions when a player click on the GuardInstance.
- * Actions on first click on the GuardInstance (Select it) :
+ *
+ * Actions on first click on the GuardInstance (Select it):
*
*
Set the GuardInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
Set the PlayerInstance Intention to AI_INTENTION_IDLE
*
Send a Server->Client packet ValidateLocation to correct the GuardInstance position and heading on the client
*
- * Actions on second click on the GuardInstance (Attack it/Interact with it) :
+ *
+ * Actions on second click on the GuardInstance (Attack it/Interact with it):
*
*
If PlayerInstance is in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_ATTACK
*
If PlayerInstance is NOT in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_INTERACT (after a distance verification) and show message
*
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : Action, AttackRequest
*
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
index 2b71cdcfe3..bee6060aec 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
@@ -43,7 +43,8 @@ public class MonsterInstance extends Attackable
/**
* Constructor of MonsterInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the MonsterInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the MonsterInstance
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
index ba902887c1..e4a3b06ba0 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
@@ -121,7 +121,7 @@ public class PetInstance extends Summon
}
/**
- * Manage Feeding Task.
+ * Manage Feeding Task.
* Feed or kill the pet depending on hunger level.
* If pet has food in inventory and feed level drops below 55% then consume food from inventory.
* Send a broadcastStatusUpdate packet for this PetInstance
@@ -417,7 +417,7 @@ public class PetInstance extends Summon
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -1133,8 +1133,7 @@ public class PetInstance extends Summon
}
/**
- * Restore the specified % of experience this PetInstance has lost.
- *
+ * Restore the specified % of experience this PetInstance has lost.
* @param restorePercent
*/
public void restoreExp(double restorePercent)
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
index dcd8daa057..c2f3c1d809 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
@@ -874,7 +874,8 @@ public class PlayerInstance extends Playable
/**
* Create a new PlayerInstance and add it in the characters table of the database.
- * Actions :
+ *
+ * Actions:
*
*
Create a new PlayerInstance with an account name
*
Set the name, the Hair Style, the Hair Color and the Face type of the PlayerInstance
@@ -1065,7 +1066,8 @@ public class PlayerInstance extends Playable
/**
* Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world (call restore method).
- * Actions :
+ *
+ * Actions:
*
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
@@ -1092,12 +1094,13 @@ public class PlayerInstance extends Playable
/**
* Constructor of PlayerInstance (use Creature constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and copy basic Calculator set to this PlayerInstance
*
Set the name of the PlayerInstance
*
- * Caution : This method SET the level of the PlayerInstance to 1
+ * Caution: This method SET the level of the PlayerInstance to 1
* @param objectId Identifier of the object to initialized
* @param template The PlayerTemplate to apply to the PlayerInstance
* @param accountName The name of the account including this PlayerInstance
@@ -2531,7 +2534,7 @@ public class PlayerInstance extends Playable
}
/**
- * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
+ * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
*/
public void regiveTemporarySkills()
{
@@ -3474,7 +3477,7 @@ public class PlayerInstance extends Playable
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -3729,7 +3732,7 @@ public class PlayerInstance extends Playable
}
/**
- * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : long Quantity of items to be dropped
@@ -3996,9 +3999,9 @@ public class PlayerInstance extends Playable
}
/**
- * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions :
- *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
- *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution : This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
+ * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions:
+ *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
+ *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution: This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
*/
@Override
public void broadcastStatusUpdate(Creature caster)
@@ -4065,11 +4068,11 @@ public class PlayerInstance extends Playable
}
/**
- * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept : Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
- * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions :
+ * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept: Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
+ * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions:
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
- *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as
- * MaxHP, STR, DEX...
+ *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP,
+ * STR, DEX...
*/
public void broadcastUserInfo()
{
@@ -4223,10 +4226,10 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Interact Task with another PlayerInstance. Actions :
+ * Manage Interact Task with another PlayerInstance. Actions:
*
If the private store is a STORE_PRIVATE_SELL, send a Server->Client PrivateBuyListSell packet to the PlayerInstance
*
If the private store is a STORE_PRIVATE_BUY, send a Server->Client PrivateBuyListBuy packet to the PlayerInstance
- *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
+ *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
* @param target The Creature targeted
*/
public void doInteract(Creature target)
@@ -4275,7 +4278,7 @@ public class PlayerInstance extends Playable
*
Send a Server->Client packet InventoryUpdate to this player with NewItem (use a new slot) or ModifiedItem (increase amount).
*
Send a Server->Client packet StatusUpdate to this player with current weight.
*
- * Caution: If a party is in progress, distribute the items between the party members!
+ * Caution: If a party is in progress, distribute the items between the party members!
* @param target the NPC dropping the item
* @param itemId the item ID
* @param itemCount the item count
@@ -4307,13 +4310,13 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Pickup Task. Actions :
+ * Manage Pickup Task. Actions:
*
Send a Server->Client packet StopMove to this PlayerInstance
*
Remove the ItemInstance from the world and send server->client GetItem packets
*
Send a System Message to the PlayerInstance : YOU_PICKED_UP_S1_ADENA or YOU_PICKED_UP_S1_S2
*
Add the Item to the PlayerInstance inventory
*
Send a Server->Client packet InventoryUpdate to this PlayerInstance with NewItem (use a new slot) or ModifiedItem (increase amount)
- *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution : If a Party is in progress, distribute Items between party members
+ *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution: If a Party is in progress, distribute Items between party members
* @param object The ItemInstance to pick up
*/
@Override
@@ -4576,7 +4579,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set a target. Actions :
+ * Set a target. Actions:
*
*
Remove the PlayerInstance from the _statusListener of the old target if it was a Creature
*
Add the PlayerInstance to the _statusListener of the new target if it's a Creature
@@ -4668,7 +4671,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon instance (always equiped in the right hand).
+ * Return the active weapon instance (always equipped in the right hand).
*/
@Override
public ItemInstance getActiveWeaponInstance()
@@ -4677,7 +4680,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon item (always equiped in the right hand).
+ * Return the active weapon item (always equipped in the right hand).
*/
@Override
public Weapon getActiveWeaponItem()
@@ -4766,7 +4769,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary weapon instance (always equiped in the left hand).
+ * Return the secondary weapon instance (always equipped in the left hand).
*/
@Override
public ItemInstance getSecondaryWeaponInstance()
@@ -4775,8 +4778,8 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary Item item (always equiped in the left hand).
- * Arrows, Shield..
+ * Return the secondary Item item (always equipped in the left hand).
+ * Arrows, Shield..
*/
@Override
public Item getSecondaryWeaponItem()
@@ -4790,12 +4793,12 @@ public class PlayerInstance extends Playable
}
/**
- * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions :
+ * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions:
*
Reduce the Experience of the PlayerInstance in function of the calculated Death Penalty
*
If necessary, unsummon the Pet of the killed PlayerInstance
*
Manage Karma gain for attacker and Karam loss for the killed PlayerInstance
*
If the killed PlayerInstance has Karma, manage Drop Item
- *
Kill the PlayerInstance
+ *
Kill the PlayerInstance
* @param killer
*/
@Override
@@ -5267,12 +5270,13 @@ public class PlayerInstance extends Playable
}
/**
- * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
- * Actions :
+ * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
+ *
+ * Actions:
*
Calculate the Experience loss
*
Set the value of _expBeforeDeath
*
Set the new Experience value of the PlayerInstance and Decrease its level if necessary
- *
Send a Server->Client StatusUpdate packet with its new Experience
+ *
Send a Server->Client StatusUpdate packet with its new Experience
* @param killer
*/
public void calculateDeathExpPenalty(Creature killer)
@@ -5324,7 +5328,7 @@ public class PlayerInstance extends Playable
}
/**
- * Stop the HP/MP/CP Regeneration task. Actions :
+ * Stop the HP/MP/CP Regeneration task. Actions:
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
*/
@@ -5671,13 +5675,13 @@ public class PlayerInstance extends Playable
}
/**
- * Set the Private Store type of the PlayerInstance. Values :
+ * Set the Private Store type of the PlayerInstance. Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @param privateStoreType
*/
public void setPrivateStoreType(PrivateStoreType privateStoreType)
@@ -5690,13 +5694,13 @@ public class PlayerInstance extends Playable
}
/**
- * Values :
+ * Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @return the Private Store type of the PlayerInstance.
*/
public PrivateStoreType getPrivateStoreType()
@@ -6414,11 +6418,11 @@ public class PlayerInstance extends Playable
}
/**
- * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions :
+ * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions:
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
*
Set the x,y,z position of the PlayerInstance and make it invisible
- *
Update the overloaded status of the PlayerInstance
+ *
Update the overloaded status of the PlayerInstance
* @param objectId Identifier of the object to initialized
* @return The PlayerInstance loaded from the database
*/
@@ -7315,10 +7319,10 @@ public class PlayerInstance extends Playable
}
/**
- * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept : All skills own by a PlayerInstance are identified in _skills Actions :
+ * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept: All skills own by a PlayerInstance are identified in _skills Actions:
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
- *
Add Func objects of newSkill to the calculator set of the Creature
+ *
Add Func objects of newSkill to the calculator set of the Creature
* @param newSkill The Skill to add to the Creature
* @param store
* @return The Skill replaced or null if just added a new Skill
@@ -7349,10 +7353,10 @@ public class PlayerInstance extends Playable
}
/**
- * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept : All skills own by a Creature are identified in _skills Actions :
+ * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept: All skills own by a Creature are identified in _skills Actions:
*
Remove the skill from the Creature _skills
- *
Remove all its Func objects from the Creature calculator set
Overridden in :
- *
PlayerInstance : Save update in the character_skills table of the database
+ *
Remove all its Func objects from the Creature calculator set
Overridden in:
+ *
PlayerInstance : Save update in the character_skills table of the database
* @param skill The Skill to remove from the Creature
* @return The Skill removed
*/
@@ -8039,7 +8043,8 @@ public class PlayerInstance extends Playable
/**
* Return True if the PlayerInstance is autoAttackable.
- * Actions:
+ *
+ * Actions:
*
*
Check if the attacker isn't the PlayerInstance Pet
*
Check if the attacker is MonsterInstance
@@ -8201,7 +8206,8 @@ public class PlayerInstance extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the skill isn't toggle and is offensive
*
Check if the target is in the skill cast range
@@ -8552,15 +8558,18 @@ public class PlayerInstance extends Playable
/**
* Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers.
- * Concept:
- * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
* In order to inform other players of this PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet
- * Actions:
+ *
+ * Actions:
*
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
*
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
*
- * Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
+ * Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
*/
@Override
public void updateAbnormalVisualEffects()
@@ -9377,7 +9386,7 @@ public class PlayerInstance extends Playable
}
/**
- * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
+ * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
* 2. This method no longer changes the active _classIndex of the player. This is only done by the calling of setActiveClass() method as that should be the only way to do so.
* @param classId
* @param classIndex
@@ -10548,7 +10557,8 @@ public class PlayerInstance extends Playable
/**
* Manage the delete task of a PlayerInstance (Leave Party, Unsummon pet, Save its inventory in the database, Remove it from the world...).
- * Actions:
+ *
+ * Actions:
*
*
If the PlayerInstance is in observer mode, set its position to its position before entering in observer mode
*
Set the online Flag to True or False and update the characters table of the database with online status and lastAccess
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
index d58c4a2344..1538e27eb0 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
@@ -31,7 +31,8 @@ public class RaidBossInstance extends MonsterInstance
/**
* Constructor of RaidBossInstance (use Creature and NpcInstance constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the RaidBossInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the RaidBossInstance
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
index 0746dde009..e66a7d8d7f 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
@@ -152,7 +152,8 @@ public class StaticObjectInstance extends Creature
/**
* Set the meshIndex of the object.
- * Values :
+ *
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
@@ -166,7 +167,7 @@ public class StaticObjectInstance extends Creature
}
/**
- * Values :
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
index b8258c55cc..1eb09ebcb7 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
@@ -265,7 +265,8 @@ public class CreatureStat
/**
* Return the MAtk (base+modifier) of the Creature.
- * Example of use: Calculate Magic damage
+ *
+ * Example of use: Calculate Magic damage
* @return
*/
public int getMAtk()
@@ -290,7 +291,7 @@ public class CreatureStat
}
/**
- * Example of use : Calculate Magic damage.
+ * Example of use : Calculate Magic damage.
* @return the MDef (base+modifier) of the Creature against a skill in function of abnormal effects in progress.
*/
public int getMDef()
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
index a34f446f36..ecb6ca7cf2 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
@@ -57,11 +57,14 @@ public class CreatureStatus
/**
* Add the object to the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use:
+ *
+ * Example of use:
*
*
Target a PC or NPC
*
@@ -79,11 +82,14 @@ public class CreatureStatus
/**
* Remove the object from the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use :
+ *
+ * Example of use :
*
*
Untarget a PC or NPC
*
@@ -96,8 +102,10 @@ public class CreatureStatus
/**
* Return the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
* @return The list of Creature to inform or null if empty
@@ -188,7 +196,8 @@ public class CreatureStatus
/**
* Start the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Calculate the regen task period
*
Launch the HP/MP/CP Regeneration task with Medium priority
@@ -208,7 +217,8 @@ public class CreatureStatus
/**
* Stop the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/base/SubClass.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/base/SubClass.java
index 6e1b4abe48..8e382665f8 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/base/SubClass.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/base/SubClass.java
@@ -20,7 +20,7 @@ import org.l2jmobius.Config;
import org.l2jmobius.gameserver.data.xml.impl.ExperienceData;
/**
- * Character Sub-Class Definition
+ * Character Sub-Class Definition
* Used to store key information about a character's sub-class.
* @author Tempy
*/
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
index ee74925752..a54baee819 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
@@ -62,7 +62,7 @@ public abstract class AbstractEffect
/**
* Calculates whether this effects land or not.
* If it lands will be scheduled and added to the character effect list.
- * Override in effect implementation to change behavior.
+ * Override in effect implementation to change behavior.
* Warning: Must be used only for instant effects continuous effects will not call this they have their success handled by activate_rate.
* @param effector
* @param effected
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/entity/Castle.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/entity/Castle.java
index 84bd945a23..c67b32e5be 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/entity/Castle.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/entity/Castle.java
@@ -616,8 +616,7 @@ public class Castle extends AbstractResidence
}
/**
- * Respawn all doors on castle grounds
- *
+ * Respawn all doors on castle grounds
* @param isDoorWeak
*/
public void spawnDoor(boolean isDoorWeak)
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/entity/Fort.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/entity/Fort.java
index 755bee3310..667c694f50 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/entity/Fort.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/entity/Fort.java
@@ -273,8 +273,7 @@ public class Fort extends AbstractResidence
}
/**
- * Move non clan members off fort area and to nearest town.
- *
+ * Move non clan members off fort area and to nearest town.
*/
public void banishForeigners()
{
@@ -516,8 +515,7 @@ public class Fort extends AbstractResidence
}
/**
- * Respawn all doors on fort grounds
- *
+ * Respawn all doors on fort grounds.
*/
public void resetDoors()
{
@@ -976,11 +974,10 @@ public class Fort extends AbstractResidence
}
/**
- * @return Returns state of fortress.
- *
- * 0 - not decided yet
- * 1 - independent
- * 2 - contracted with castle
+ * @return Returns state of fortress.
+ * 0 - not decided yet
+ * 1 - independent
+ * 2 - contracted with castle
*/
public int getFortState()
{
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/entity/FortSiege.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
index fe98f73d82..d4e5ae83b5 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
@@ -703,14 +703,14 @@ public class FortSiege implements Siegable
}
/**
- * Register clan as attacker.
+ * Register clan as attacker.
* @param player The PlayerInstance of the player trying to register.
* @param checkConditions True if should be checked conditions, false otherwise
- * @return Number that defines what happened.
- * 0 - Player don't have clan.
- * 1 - Player don't have enough adena to register.
- * 2 - Is not right time to register Fortress now.
- * 3 - Players clan is already registered to siege.
+ * @return Number that defines what happened.
+ * 0 - Player don't have clan.
+ * 1 - Player don't have enough adena to register.
+ * 2 - Is not right time to register Fortress now.
+ * 3 - Players clan is already registered to siege.
* 4 - Players clan is successfully registered to siege.
*/
public int addAttacker(PlayerInstance player, boolean checkConditions)
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/entity/Hero.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/entity/Hero.java
index 49b405d179..8c9bbb0bc0 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/entity/Hero.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/entity/Hero.java
@@ -866,7 +866,7 @@ public class Hero
}
/**
- * Saving task for {@link Hero}
+ * Saving task for {@link Hero}
* Save all hero messages to DB.
*/
public void shutdown()
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/entity/Siege.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/entity/Siege.java
index 0bcd190ec1..f714cb5ce1 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/entity/Siege.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/entity/Siege.java
@@ -383,8 +383,7 @@ public class Siege implements Siegable
}
/**
- * When control of castle changed during siege
- *
+ * When control of castle changed during siege.
*/
public void midVictory()
{
@@ -470,8 +469,7 @@ public class Siege implements Siegable
}
/**
- * When siege starts
- *
+ * When siege starts.
*/
@Override
public void startSiege()
@@ -529,8 +527,7 @@ public class Siege implements Siegable
}
/**
- * Announce to player.
- *
+ * Announce to player.
* @param message The SystemMessage to send to player
* @param bothSides True - broadcast to both attackers and defenders. False - only to defenders.
*/
@@ -682,8 +679,7 @@ public class Siege implements Siegable
}
/**
- * Approve clan as defender for siege
- *
+ * Approve clan as defender for siege
* @param clanId The int of player's clan id
*/
public void approveSiegeDefenderClan(int clanId)
@@ -717,8 +713,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is attacker
- *
+ * Return true if clan is attacker
* @param clan The Clan of the player
*/
@Override
@@ -728,8 +723,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is defender
- *
+ * Return true if clan is defender
* @param clan The Clan of the player
*/
@Override
@@ -866,8 +860,7 @@ public class Siege implements Siegable
}
/**
- * Register clan as attacker
- *
+ * Register clan as attacker
* @param player The PlayerInstance of the player trying to register
*/
public void registerAttacker(PlayerInstance player)
@@ -948,8 +941,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clanId The int of player's clan id
*/
public void removeSiegeClan(int clanId)
@@ -975,8 +967,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clan clan being removed
*/
public void removeSiegeClan(Clan clan)
@@ -989,8 +980,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param player The PlayerInstance of player/clan being removed
*/
public void removeSiegeClan(PlayerInstance player)
@@ -999,8 +989,7 @@ public class Siege implements Siegable
}
/**
- * Start the auto tasks
- *
+ * Start the auto tasks.
*/
public void startAutoTask()
{
@@ -1073,8 +1062,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as attacker
- *
+ * Add clan as attacker
* @param clanId The int of clan's id
*/
private void addAttacker(int clanId)
@@ -1083,8 +1071,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender
- *
+ * Add clan as defender
* @param clanId The int of clan's id
*/
private void addDefender(int clanId)
@@ -1105,8 +1092,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender waiting approval
- *
+ * Add clan as defender waiting approval
* @param clanId The int of clan's id
*/
private void addDefenderWaiting(int clanId)
@@ -1198,8 +1184,7 @@ public class Siege implements Siegable
}
/**
- * Return the correct siege date as Calendar.
- *
+ * Return the correct siege date as Calendar.
*/
public void correctSiegeDateTime()
{
@@ -1348,8 +1333,7 @@ public class Siege implements Siegable
}
/**
- * Save registration to database.
- *
+ * Save registration to database.
* @param clan The Clan of player
* @param typeId -1 = owner 0 = defender, 1 = attacker, 2 = defender waiting
* @param isUpdateRegistration
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/events/AbstractScript.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
index 6369448951..6c02d5efb1 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
@@ -2993,7 +2993,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param array of values.
* @return one value from array.
@@ -3009,7 +3009,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param list of values.
* @return one value from list.
@@ -3024,7 +3024,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param array of Integers.
* @return one Integer from array.
*/
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
index 0da0f1ff20..a4335762c0 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
@@ -53,7 +53,7 @@ public class PlayerSkillHolder implements ISkillsHolder
}
/**
- * Add a skill to the skills map.
+ * Add a skill to the skills map.
* @param skill
*/
@Override
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/instancezone/Instance.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
index 6603cc529b..6fdb98f39a 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
@@ -329,7 +329,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Get player by ID from instance.
+ * Get player by ID from instance.
* @param id objectId of player
* @return first player by ID, otherwise {@code null}
*/
@@ -803,7 +803,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Set reenter penalty for players associated with current instance.
+ * Set reenter penalty for players associated with current instance.
* @param time penalty time in milliseconds since January 1, 1970
*/
public void setReenterTime(long time)
@@ -860,8 +860,7 @@ public class Instance implements IIdentifiable, INamable
/**
* Set instance world to finish state.
- * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
- * See {@link Instance#finishInstance(int)} for more details.
+ * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
*/
public void finishInstance()
{
@@ -1016,7 +1015,7 @@ public class Instance implements IIdentifiable, INamable
// Template methods
// ----------------------------------------------
/**
- * Get parameters from instance template.
+ * Get parameters from instance template.
* @return template parameters
*/
public StatSet getTemplateParameters()
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
index 80a8eef201..7c892faae4 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
@@ -897,7 +897,7 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Drop item from inventory by using its objectID and updates database
+ * Drop item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
@@ -1198,7 +1198,7 @@ public abstract class Inventory extends ItemContainer
/**
* Equips an item in the given slot of the paperdoll.
- * Remark : The item must be in the inventory already.
+ * Remark : The item must be in the inventory already.
* @param slot : int pointing out the slot of the paperdoll
* @param item : ItemInstance pointing out the item to add in slot
* @return ItemInstance designating the item placed in the slot before
@@ -1403,8 +1403,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in body slot and returns alterations.
- * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(int)} instead
+ * Unequips item in body slot and returns alterations.
+ * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(int)} instead
* @param slot : int designating the slot of the paperdoll
* @return ItemInstance[] : list of changes
*/
@@ -1434,8 +1434,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in slot and returns alterations
- * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
+ * Unequips item in slot and returns alterations
+ * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
* @param slot : int designating the slot
* @return ItemInstance[] : list of items altered
*/
@@ -1607,8 +1607,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Equips item and returns list of alterations
- * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
+ * Equips item and returns list of alterations
+ * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
* @param item : ItemInstance corresponding to the item
* @return ItemInstance[] : list of alterations
*/
@@ -2184,8 +2184,9 @@ public abstract class Inventory extends ItemContainer
/**
* Reduce the arrow number of the Creature.
- * Overridden in :
- *
PlayerInstance
+ *
+ * Overridden in:
+ *
PlayerInstance
* @param type
*/
public void reduceArrowCount(EtcItemType type)
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
index 2847ecdcd5..2e5f90dcee 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
@@ -530,7 +530,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its objectID and updates database
+ * Destroy item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -545,7 +545,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its itemId and updates database
+ * Destroy item from inventory by using its itemId and updates database
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
index 0a9e6cc66d..5d3bed530d 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
@@ -113,7 +113,7 @@ public class PetInventory extends Inventory
public void restore()
{
super.restore();
- // check for equiped items from other pets
+ // check for equipped items from other pets
for (ItemInstance item : _items.values())
{
if (item.isEquipped() && !item.getItem().checkCondition(_owner, _owner, false))
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
index c4e4fe8fd1..71f513dc71 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
@@ -586,7 +586,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
+ * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -632,7 +632,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
+ * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/items/Item.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/items/Item.java
index fa27a7ca8e..546daca8d9 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/items/Item.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/items/Item.java
@@ -58,7 +58,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
/**
- * This class contains all informations concerning the item (weapon, armor, etc).
+ * This class contains all informations concerning the item (weapon, armor, etc).
* Mother class of :
*
*
Armor
@@ -173,8 +173,7 @@ public abstract class Item extends ListenersContainer implements IIdentifiable
private boolean _isBlessed;
/**
- * Constructor of the Item that fill class variables.
- *
+ * Constructor of the Item that fill class variables.
* @param set : StatSet corresponding to a set of couples (key,value) for description of the item
*/
protected Item(StatSet set)
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
index 771a5dda71..33205bd282 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.items.type.CrystalType;
import org.l2jmobius.gameserver.model.items.type.ItemType;
/**
- * This class contains ItemInstance
+ * This class contains ItemInstance
* Use to sort ItemInstance of :
*
*
Armor
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
index c1c4b0bf16..1f7b469358 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
@@ -263,19 +263,15 @@ public class ItemInstance extends WorldObject
}
/**
- * Remove a ItemInstance from the world and send server->client GetItem packets.
- *
- * Actions :
- *
+ * Remove a ItemInstance from the world and send server->client GetItem packets.
+ *
+ * Actions:
*
Send a Server->Client Packet GetItem to player that pick up and its _knowPlayers member
- *
Remove the WorldObject from the world
- *
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- *
- * Example of use :
- *
- *
Do Pickup Item : PCInstance and Pet
- *
+ *
Remove the WorldObject from the world
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ *
+ * Example of use:
+ *
Do Pickup Item : PCInstance and Pet
* @param creature Character that pick up the item
*/
public void pickupMe(Creature creature)
@@ -406,9 +402,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the location of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the location of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param loc : ItemLocation (enumeration)
* @param locData : int designating the slot where the item is stored or the village for freights
*/
@@ -437,8 +432,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
+ * Sets the quantity of the item.
* @param count the new count to set
*/
public void setCount(long count)
@@ -461,9 +455,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the quantity of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param process : String Identifier of process triggering this action
* @param count : int
* @param creator : PlayerInstance Player requesting the item creation
@@ -1469,7 +1462,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
*/
public void updateDatabase()
{
@@ -1477,7 +1470,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
* @param force if the update should necessarilly be done.
*/
public void updateDatabase(boolean force)
@@ -1513,20 +1506,17 @@ public class ItemInstance extends WorldObject
}
/**
- * Init a dropped ItemInstance and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a dropped ItemInstance and add it in the world as a visible object.
+ *
+ * Actions:
*
Set the x,y,z position of the ItemInstance dropped and update its _worldregion
*
Add the ItemInstance dropped to _visibleObjects of its WorldRegion
- *
Add the ItemInstance dropped in the world as a visible object
- *
- * Caution : This method DOESN'T ADD the object to _allObjects of World
- *
- * Example of use :
- *
+ *
Add the ItemInstance dropped in the world as a visible object
+ * Caution: This method DOESN'T ADD the object to _allObjects of World
+ *
+ * Example of use:
*
Drop item
- *
Call Pet
+ *
Call Pet
*/
public class ItemDropTask implements Runnable
{
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/quest/Quest.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/quest/Quest.java
index a74f5a2a86..c399ac294d 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/quest/Quest.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/quest/Quest.java
@@ -982,7 +982,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever a player attacks an NPC that is registered for the quest.
- * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
+ * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
* @param npc this parameter contains a reference to the exact instance of the NPC that got attacked.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked the NPC.
* @param damage this parameter represents the total damage that this attack has inflicted to the NPC.
@@ -1119,7 +1119,7 @@ public class Quest extends AbstractScript implements IIdentifiable
* The coder of the script may need to create a new quest state (if necessary).
* Note 3:
* The returned value of onFirstTalk replaces the default HTML that would have otherwise been loaded from a sub-folder of DatapackRoot/game/data/html/.
- * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
+ * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
* @param npc this parameter contains a reference to the exact instance of the NPC that the player is talking with.
* @param player this parameter contains a reference to the exact instance of the player who is talking to the NPC.
* @return the text returned by the event (may be {@code null}, a filename or just text)
@@ -1246,7 +1246,7 @@ public class Quest extends AbstractScript implements IIdentifiable
}
/**
- * This function is called whenever an NPC is teleport.
+ * This function is called whenever an NPC is teleport.
* @param npc this parameter contains a reference to the exact instance of the NPC who just teleport.
*/
protected void onTeleport(Npc npc)
@@ -1256,7 +1256,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever an NPC is called by another NPC in the same faction.
* @param npc this parameter contains a reference to the exact instance of the NPC who is being asked for help.
- * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
+ * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked.
* @param isSummon this parameter if it's {@code false} it denotes that the attacker was indeed the player, else it specifies that the attacker was the player's summon.
* @return
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
index b527d15bb8..f4662c2b87 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
@@ -695,7 +695,7 @@ public class SkillCaster implements Runnable
}
/**
- * Stops this casting and cleans all cast parameters.
+ * Stops this casting and cleans all cast parameters.
* @param aborted if {@code true}, server will send packets to the player, notifying him that the skill has been aborted.
*/
public void stopCasting(boolean aborted)
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/stats/Formulas.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/stats/Formulas.java
index 234ae3e729..62a2310ef5 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/stats/Formulas.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/stats/Formulas.java
@@ -550,7 +550,7 @@ public class Formulas
* Returns:
* 0 = shield defense doesn't succeed
* 1 = shield defense succeed
- * 2 = perfect block
+ * 2 = perfect block
* @param attacker
* @param target
* @param sendSysMsg
@@ -655,7 +655,7 @@ public class Formulas
}
/**
- * Calculates the effect landing success.
+ * Calculates the effect landing success.
* @param attacker the attacker
* @param target the target
* @param skill the skill
@@ -963,9 +963,9 @@ public class Formulas
}
/**
- * Calculates the attribute bonus with the following formula:
- * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
- * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
+ * Calculates the attribute bonus with the following formula:
+ * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
+ * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
* diff == 0, so AttBonus = 1
* It has been tested that physical skills do get affected by attack attribute even
* if they don't have any attribute. In that case only the biggest attack attribute is taken.
@@ -1207,7 +1207,7 @@ public class Formulas
* Confuse
* Compelling,
* Knockback
- * Pull
+ * Pull
* @param baseChance chance from effect parameter
* @param attacker
* @param target
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
index 2988807295..c621fab8f6 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
* A Function object is a component of a Calculator created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...).
* In fact, each calculator is a table of functions object in which each function represents a mathematics function:
* FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
+ * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
* Indeed, functions with lowest priority order is executed first and functions with the same order are executed in unspecified order.
* @author Zoey76
*/
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
index 1cb8bc9d02..d898d2c397 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
@@ -71,7 +71,7 @@ public class TaxZone extends ZoneType
}
/**
- * Gets castle associated with tax zone.
+ * Gets castle associated with tax zone.
* @return instance of {@link Castle} if found otherwise {@code null}
*/
public Castle getCastle()
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
index ca7f8d6d99..dee0ea769d 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
@@ -55,8 +55,8 @@ public class BlowFishKeygen
}
/**
- * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
- * Thus when getting a key with interests other then read-only a copy must be performed.
+ * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
+ * Thus when getting a key with interests other then read-only a copy must be performed.
* @return A key from this keygen pool.
*/
public static byte[] getRandomKey()
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
index 73cf9251ab..6c7b7e4c43 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
@@ -546,7 +546,7 @@ public class RequestAcquireSkill implements IClientIncomingPacket
/**
* Perform a simple check for current player and skill.
* Takes the needed SP if the skill require it and all requirements are meet.
- * Consume required items if the skill require it and all requirements are meet.
+ * Consume required items if the skill require it and all requirements are meet.
* @param player the skill learning player.
* @param trainer the skills teaching Npc.
* @param skillLearn the skill to be learn.
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
index 99188ca980..a4accd8a47 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
@@ -96,7 +96,7 @@ public class RequestDestroyItem implements IClientIncomingPacket
// if we can't find the requested item, its actually a cheat
if (itemToRemove == null)
{
- // gm can destroy other player items
+ // GM can destroy other player items
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
index 206640aad7..eb85f84823 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
@@ -50,7 +50,7 @@ public class RequestGMCommand implements IClientIncomingPacket
@Override
public void run(GameClient client)
{
- // prevent non gm or low level GMs from vieweing player stuff
+ // prevent non GM or low level GMs from vieweing player stuff
if (!client.getPlayer().isGM() || !client.getPlayer().getAccessLevel().allowAltG())
{
return;
@@ -99,7 +99,7 @@ public class RequestGMCommand implements IClientIncomingPacket
}
case 6: // player warehouse
{
- // gm warehouse view to be implemented
+ // GM warehouse view to be implemented
if (player != null)
{
client.sendPacket(new GMViewWarehouseWithdrawList(player));
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
index 442b4ad701..c2650bf6a0 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
@@ -90,7 +90,7 @@ public class UseItem implements IClientIncomingPacket
final ItemInstance item = player.getInventory().getItemByObjectId(_objectId);
if (item == null)
{
- // gm can use other player item
+ // GM can use other player item
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
index d19f06f141..f4f0c5ca81 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.network.OutgoingPackets;
import org.l2jmobius.gameserver.network.clientpackets.RequestAllyInfo;
/**
- * Sent in response to {@link RequestAllyInfo}, if applicable.
+ * Sent in response to {@link RequestAllyInfo}, if applicable.
* @author afk5min
*/
public class AllianceInfo implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
index 80a7042463..1fd7ec663a 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
@@ -20,9 +20,9 @@ import org.l2jmobius.commons.network.PacketWriter;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Eva's Inferno event packet. info params:
- * type (1 - %, 2 - npcId),
- * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
+ * Eva's Inferno event packet. info params:
+ * type (1 - %, 2 - npcId),
+ * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
* state (0-1), endtime (only when type 2)
*/
public class ExBrBuffEventState implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
index 52cadba571..35fcc3b4a8 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
@@ -114,7 +114,7 @@ public interface IClientOutgoingPacket extends IOutgoingPacket
}
/**
- * Sends this packet to the target player, useful for lambda operations like
+ * Sends this packet to the target player, useful for lambda operations like
* {@code World.getInstance().getPlayers().forEach(packet::sendTo)}
* @param player
*/
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
index 1a0c26e078..7fd8a52be7 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
@@ -24,25 +24,25 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Attacker List in the SiegeInfo Window
- *
- * c = ca
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Attackers Clans?
- * d = Number of Attackers Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Attacker List in the SiegeInfo Window
+ *
+ * c = ca
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Attackers Clans?
+ * d = Number of Attackers Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeAttackerList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
index 7066b92fa1..52e10be7c6 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
@@ -25,26 +25,26 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Defender List in the SiegeInfo Window
- *
- * c = 0xcb
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Defending Clans?
- * d = Number of Defending Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Defender List in the SiegeInfo Window
+ *
+ * c = 0xcb
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Defending Clans?
+ * d = Number of Defending Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeDefenderList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
index 355cea9565..6c647eec90 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
@@ -27,18 +27,18 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Shows the Siege Info
- *
- * c = c9
- * d = CastleID
- * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
- * d = Owner ClanID
- * S = Owner ClanName
- * S = Owner Clan LeaderName
- * d = Owner AllyID
- * S = Owner AllyName
- * d = current time (seconds)
- * d = Siege time (seconds) (0 for selectable)
+ * Shows the Siege Info
+ *
+ * c = c9
+ * d = CastleID
+ * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
+ * d = Owner ClanID
+ * S = Owner ClanName
+ * S = Owner Clan LeaderName
+ * d = Owner AllyID
+ * S = Owner AllyName
+ * d = current time (seconds)
+ * d = Siege time (seconds) (0 for selectable)
* d = (UNKNOW) Siege Time Select Related?
* @author KenM
*/
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/scripting/ManagedScript.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
index f2b91791ab..00235baa25 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
@@ -21,7 +21,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
/**
- * Abstract class for classes that are meant to be implemented by scripts.
+ * Abstract class for classes that are meant to be implemented by scripts.
* @author KenM
*/
public abstract class ManagedScript
@@ -41,7 +41,7 @@ public abstract class ManagedScript
public abstract Path getScriptPath();
/**
- * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
+ * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
* Subclasses of this class should override this method to properly refresh their bindings when necessary.
* @return true if and only if the script was reloaded, false otherwise.
*/
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
index 34ba313686..620f020f4e 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
@@ -77,7 +77,7 @@ public class AttackStanceTaskManager
}
/**
- * Checks for attack stance task.
+ * Checks for attack stance task.
* @param actor the actor
* @return {@code true} if the character has an attack stance task, {@code false} otherwise
*/
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/ui/frmAbout.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/ui/frmAbout.java
index a3e5c2cc67..4d161afb73 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/ui/frmAbout.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/ui/frmAbout.java
@@ -83,7 +83,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblProtocols);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 128, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/util/Broadcast.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/util/Broadcast.java
index e0d798deff..5a7eb1a4df 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/util/Broadcast.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/util/Broadcast.java
@@ -40,11 +40,13 @@ public class Broadcast
private static final Logger LOGGER = Logger.getLogger(Broadcast.class.getName());
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -60,11 +62,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -108,11 +112,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
* @param radius
@@ -128,10 +134,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param creature
* @param mov
*/
@@ -162,10 +170,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance present in the world.
- * Concept :
- * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance present in the world.
+ *
+ * Concept:
+ *
+ * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param packet
*/
public static void toAllOnlinePlayers(IClientOutgoingPacket packet)
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/util/MinionList.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/util/MinionList.java
index 29a8c04c1e..9a6f694eaa 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/util/MinionList.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/util/MinionList.java
@@ -58,13 +58,11 @@ public class MinionList
}
/**
- * Manage the spawn of Minions.
- *
- * Actions :
- *
+ * Manage the spawn of Minions.
+ *
+ * Actions:
*
Get the Minion data of all Minions that must be spawn
- *
For each Minion type, spawn the amount of Minion needed
- *
+ *
For each Minion type, spawn the amount of Minion needed
* @param minions
*/
public void spawnMinions(List minions)
@@ -260,16 +258,14 @@ public class MinionList
}
/**
- * Init a Minion and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a Minion and add it in the world as a visible object.
+ *
+ * Actions:
*
Get the template of the Minion to spawn
*
Create and Init the Minion and generate its Identifier
*
Set the Minion HP, MP and Heading
*
Set the Minion leader to this RaidBoss
- *
Init the position of the Minion and add it in the world as a visible object
- *
+ *
Init the position of the Minion and add it in the world as a visible object
* @param master MonsterInstance used as master for this minion
* @param minionId The NpcTemplate Identifier of the Minion to spawn
* @return
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/util/PrimeFinder.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/util/PrimeFinder.java
index c9532000c8..20016811a1 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/util/PrimeFinder.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/util/PrimeFinder.java
@@ -33,7 +33,7 @@ import java.util.Arrays;
public class PrimeFinder
{
/**
- * The largest prime this class can generate; currently equal to Integer.MAX_VALUE.
+ * The largest prime this class can generate; currently equal to Integer.MAX_VALUE
*/
public static final int LARGEST_PRIME = Integer.MAX_VALUE; // yes, it is prime.
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
index 2e46e0a048..0a81e323a3 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
@@ -67,8 +67,7 @@ public class TimeAmountInterpreter
}
/**
- * Appends an user-friendly description of the given amount of time to the specified text builder.
- *
+ * Appends an user-friendly description of the given amount of time to the specified text builder.
* Please keep in mind, that this method is primarily designed to be used with heap text builders. Therefore, if the given text builder throws an {@link IOException}, this exception will be wrapped in a {@link RuntimeException} and returned to the caller as an unchecked exception.
* @param
* @param textBuilder a character sequence builder
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/loginserver/ui/frmAbout.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/loginserver/ui/frmAbout.java
index 8488868090..06a5d95539 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/loginserver/ui/frmAbout.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/loginserver/ui/frmAbout.java
@@ -75,7 +75,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblLoginServer);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 148, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/custom/listeners/ListenerTest.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/custom/listeners/ListenerTest.java
index 0f855db33f..ed9d1c76f4 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/custom/listeners/ListenerTest.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/custom/listeners/ListenerTest.java
@@ -114,7 +114,7 @@ public class ListenerTest extends AbstractNpcAI
}
/**
- * Prioritized event notification
+ * Prioritized event notification
* This method will be invoked as soon as creature from level range between 1 and 10 dies.
* This listener is registered into individual npcs container.
* @param event
diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
index 4185463b7a..a20f09c9cd 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
@@ -26,18 +26,15 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
public class ArtefactInstanceAction implements IActionHandler
{
/**
- * Manage actions when a player click on the ArtefactInstance.
- *
- * Actions :
- *
+ * Manage actions when a player click on the ArtefactInstance.
+ *
+ * Actions:
*
Set the NpcInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
- *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
*/
@Override
public boolean action(PlayerInstance player, WorldObject target, boolean interact)
diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
index bb73cd0bae..1f204280f0 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
@@ -36,27 +36,22 @@ import org.l2jmobius.gameserver.network.serverpackets.MoveToPawn;
public class NpcAction implements IActionHandler
{
/**
- * Manage actions when a player click on the Npc.
- *
- * Actions on first click on the Npc (Select it) :
- *
+ * Manage actions when a player click on the Npc.
+ *
+ * Actions on first click on the Npc (Select it):
*
Set the Npc as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, send a Server->Client packet StatusUpdate to the PlayerInstance in order to update Npc HP bar
- *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
- *
- * Actions on second click on the Npc (Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
+ *
+ * Actions on second click on the Npc (Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, notify the PlayerInstance AI with AI_INTENTION_ATTACK (after a height verification)
- *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
- *
- * Caution : Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
+ * Caution: Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The PlayerInstance that start an action on the Npc
*/
@Override
diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
index 28aa39ab39..d52da54398 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
@@ -31,25 +31,20 @@ public class PlayerInstanceAction implements IActionHandler
private static final int CURSED_WEAPON_VICTIM_MIN_LEVEL = 21;
/**
- * Manage actions when a player click on this PlayerInstance.
- *
- * Actions on first click on the PlayerInstance (Select it) :
- *
+ * Manage actions when a player click on this PlayerInstance.
+ *
+ * Actions on first click on the PlayerInstance (Select it):
*
Set the target of the player
- *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
- *
- * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
+ *
+ * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the player (display the select window)
*
If target PlayerInstance has a Private Store, notify the player AI with AI_INTENTION_INTERACT
- *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
- *
- *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
+ *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The player that start an action on target PlayerInstance
*/
@Override
diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
index 20a4e8f57c..6da5c01385 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
@@ -29,7 +29,7 @@ public class PlayerInstanceActionShift implements IActionShiftHandler
{
if (player.isGM())
{
- // Check if the gm already target this l2pcinstance
+ // Check if the GM already target this l2pcinstance
if (player.getTarget() != target)
{
// Set the target of the PlayerInstance player
diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
index ea73fa17a1..1aa5e5074a 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
@@ -86,13 +86,13 @@ public class AdminAdmin implements IAdminCommandHandler
else if (command.startsWith("admin_gmliston"))
{
AdminData.getInstance().showGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Registered into gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Registered into GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_gmlistoff"))
{
AdminData.getInstance().hideGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Removed from gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Removed from GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_silence"))
diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
index 2efc2df69a..3fed3db486 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
@@ -486,7 +486,7 @@ public class AdminEventEngine implements IAdminCommandHandler
sb.append("
");
sb.append("
");
sb.append("
");
- sb.append("
");
+ sb.append("
");
sb.append("Teams' names:
");
for (int i = 1; (i - 1) < teamnumbers; i++) // Team names params
{
diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
index 5e3fc05aa9..91259505bf 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
@@ -31,7 +31,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
/**
- * This class handles following admin commands: - gm = turns gm mode on/off
+ * This class handles following admin commands: - GM = turns GM mode on/off
* @version $Revision: 1.1.2.1 $ $Date: 2005/03/15 21:32:48 $
*/
public class AdminFightCalculator implements IAdminCommandHandler
diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
index a32a84dd35..e9acb6a1f6 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles following admin commands: - gm = turns gm mode off
+ * This class handles following admin commands: - GM = turns GM mode off
* @version $Revision: 1.2.4.4 $ $Date: 2005/04/11 10:06:06 $
*/
public class AdminGm implements IAdminCommandHandler
diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
index 364bba90a9..f0b2f857a4 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles commands for gm to forge packets
+ * This class handles commands for GM to forge packets
* @author Maktakien, HorridoJoho
*/
public class AdminPForge implements IAdminCommandHandler
diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
index 9dd195001c..b5e732f3f7 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
@@ -30,14 +30,14 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * Pledge Manipulation:
- *
With target in a character without clan:
+ * Pledge Manipulation:
+ *
With target in a character without clan:
* //pledge create clanname
- *
With target in a clan leader:
- * //pledge info
- * //pledge dismiss
- * //pledge setlevel level
- * //pledge rep reputation_points
+ *
With target in a clan leader:
+ * //pledge info
+ * //pledge dismiss
+ * //pledge setlevel level
+ * //pledge rep reputation_points
*/
public class AdminPledge implements IAdminCommandHandler
{
diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
index fb1eed2f9f..9be9eb040d 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
@@ -78,8 +78,9 @@ public class QuestLink implements IBypassHandler
/**
* Open a choose quest window on client with all quests available of the NpcInstance.
+ *
* Actions:
- *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
+ *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
* @param player The PlayerInstance that talk with the NpcInstance
* @param npc The table containing quests of the NpcInstance
* @param quests
@@ -231,6 +232,7 @@ public class QuestLink implements IBypassHandler
/**
* Open a quest window on client with the text of the NpcInstance.
+ *
* Actions:
*
*
Get the text of the quest state in the folder data/scripts/quests/questId/stateId.htm
Fly Radius means the distance between starting point and final point, it must be an integer.
*
Fly Course means the movement direction: imagine a compass above player's head, making north player's heading. So if fly course is 180, player will go backwards (good for blink, e.g.).
*
- * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
+ * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
* If target is effector, put in XML self="1", this will make _actor = getEffector(). This, combined with target type, allows more complex actions like flying target's backwards or player's backwards.
* @author DrHouse
*/
diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
index ca935396a6..e4e937ef41 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.network.serverpackets.ValidateLocation;
/**
* This Blink effect switches the location of the caster and the target.
- * This effect is totally done based on client description.
+ * This effect is totally done based on client description.
* Assume that geodata checks are done on the skill cast and not needed to repeat here.
* @author Nik
*/
diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
index 0f1802d986..00474ef88a 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.effects.EffectFlag;
import org.l2jmobius.gameserver.model.effects.EffectType;
/**
- * An effect that blocks the player (NPC?) control.
+ * An effect that blocks the player (NPC?) control.
* It prevents moving, casting, social actions, etc.
* @author Nik
*/
diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
index 6b463fd9d2..f94ecb0b46 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
@@ -21,7 +21,7 @@ import org.l2jmobius.gameserver.model.effects.AbstractEffect;
import org.l2jmobius.gameserver.model.effects.EffectFlag;
/**
- * Effect that blocks damage and heals to HP/MP.
+ * Effect that blocks damage and heals to HP/MP.
* Regeneration or DOT shouldn't be blocked, Vampiric Rage and Balance Life as well.
* @author Nik
*/
diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
index 9eb0b4e233..8c7fddca06 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
/**
* An effect that changes damage taken from an attack.
- * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
+ * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
* Exceptions for this effect appears to be DOT effects and terrain damage, they are unaffected by this stat.
* As for example in retail this effect does reduce reflected damage taken (because it is received damage), as well as it does not decrease reflected damage done,
* because reflected damage is being calculated with the original attack damage and not this altered one.
diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
index a4808a3312..5624fe4e60 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
@@ -34,10 +34,10 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
- * Current formulas were tested to be the best matching retail, damage appears to be identical:
- * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
- * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
+ * Physical Attack effect implementation.
+ * Current formulas were tested to be the best matching retail, damage appears to be identical:
+ * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
+ * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
* @author Nik
*/
public class PhysicalAttack extends AbstractEffect
diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
index 332fa3fa4f..17f093e386 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
index 34e643a5b1..4f29f685f7 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
index e1c554d674..92d5fb7d96 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.zone.ZoneId;
/**
* Not Friend affect object implementation. Based on Gracia Final retail tests.
* Such are considered flagged/karma players (except party/clan/ally). Doesn't matter if in command channel.
- * In arena such are considered clan/ally/command channel (except party).
+ * In arena such are considered clan/ally/command channel (except party).
* In peace zone such are considered monsters.
* Monsters consider such all players, npcs (Citizens, Guild Masters, Merchants, Guards, etc. except monsters). Doesn't matter if in peace zone or arena.
* @author Nik
diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/instances/AbstractInstance.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/instances/AbstractInstance.java
index 17d748fad2..354b0d5137 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/instances/AbstractInstance.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/instances/AbstractInstance.java
@@ -62,7 +62,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Get instance world associated with {@code player}.
+ * Get instance world associated with {@code player}.
* @param player player who wants get instance world
* @return instance world if found, otherwise null
*/
@@ -229,8 +229,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Sets instance to finish state.
- * See {@link Instance#finishInstance()} for more details.
+ * Sets instance to finish state.
* @param player player used for determine current instance world
*/
protected void finishInstance(PlayerInstance player)
@@ -244,7 +243,6 @@ public abstract class AbstractInstance extends AbstractNpcAI
/**
* Sets instance to finish state.
- * See {@link Instance#finishInstance(int)} for more details.
* @param player player used for determine current instance world
* @param delay finish delay in minutes
*/
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
index 93028744ee..aa8ac8f064 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
@@ -1232,8 +1232,7 @@ public class BlowfishEngine
/**
* Method to encrypt the block at the given index.
- * The encrypted block goes to the destination array at the given index.
- *
+ * The encrypted block goes to the destination array at the given index.
* @param src source array with the plain data
* @param srcIndex index where the block to encrypt is located
* @param dst destination array the encryption will go to
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/GameTimeController.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/GameTimeController.java
index 131fb28d3d..aa4d359090 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/GameTimeController.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/GameTimeController.java
@@ -118,10 +118,13 @@ public class GameTimeController extends Thread
}
/**
- * Move all Creatures contained in movingObjects of GameTimeController.
- * Concept :
- * All Creature in movement are identified in movingObjects of GameTimeController.
- * Actions :
+ * Move all Creatures contained in movingObjects of GameTimeController.
+ *
+ * Concept:
+ *
+ * All Creature in movement are identified in movingObjects of GameTimeController.
+ *
+ * Actions:
*
*
Update the position of each Creature
*
If movement is finished, the Creature is removed from movingObjects
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/LoginServerThread.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/LoginServerThread.java
index bafacc7045..39bf2b4f51 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/LoginServerThread.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/LoginServerThread.java
@@ -95,7 +95,6 @@ public class LoginServerThread extends Thread
* The BlowFish engine used to encrypt packets
* It is first initialized with a unified key:
* "_;v.]05-31!|+-%xT!^[$\00"
- *
* and then after handshake, with a new key sent by
* login server during the handshake. This new key is stored
* in blowfishKey
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/Shutdown.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/Shutdown.java
index 3dd56d3db8..e07ac52791 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/Shutdown.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/Shutdown.java
@@ -233,7 +233,7 @@ public class Shutdown extends Thread
}
else
{
- // gm shutdown: send warnings and then call exit to start shutdown sequence
+ // GM shutdown: send warnings and then call exit to start shutdown sequence
countdown();
// last point where logging is operational :(
LOGGER.warning("GM shutdown countdown is over. " + MODE_TEXT[_shutdownMode] + " NOW!");
@@ -543,7 +543,7 @@ public class Shutdown extends Thread
}
/**
- * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
+ * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
* @return instance of Shutdown, to be used as shutdown hook
*/
public static Shutdown getInstance()
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/ai/AbstractAI.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/ai/AbstractAI.java
index 95f441a5d6..c544548976 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/ai/AbstractAI.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/ai/AbstractAI.java
@@ -45,7 +45,7 @@ import org.l2jmobius.gameserver.taskmanager.AttackStanceTaskManager;
/**
* Mother class of all objects AI in the world.
- * AbastractAI :
+ * AbastractAI:
*
CreatureAI
*/
public abstract class AbstractAI implements Ctrl
@@ -126,10 +126,10 @@ public abstract class AbstractAI implements Ctrl
/**
* Set the Intention of this AbstractAI.
- * Caution : This method is USED by AI classes
- * Overridden in :
- * AttackableAI : Create an AI Task executed every 1s (if necessary)
- * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
+ * Caution: This method is USED by AI classes
+ * Overridden in:
+ * AttackableAI : Create an AI Task executed every 1s (if necessary)
+ * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -141,7 +141,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
*/
@Override
@@ -152,7 +152,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
* @param args The first parameters of the Intention (optional target)
*/
@@ -225,7 +225,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onEvt method corresponding to the Event.
- * Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
*/
@Override
@@ -235,7 +235,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
*/
@@ -246,7 +246,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
* @param arg1 The second parameter of the Event (optional target)
@@ -419,7 +419,7 @@ public abstract class AbstractAI implements Ctrl
protected abstract void onEvtFinishCasting();
/**
- * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution : Low level function, used by AI subclasses
+ * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution: Low level function, used by AI subclasses
*/
protected void clientActionFailed()
{
@@ -430,8 +430,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param pawn
* @param offset
*/
@@ -514,8 +514,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param x
* @param y
* @param z
@@ -542,8 +542,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param loc
*/
public void clientStopMoving(Location loc)
@@ -591,8 +591,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
public void clientStartAutoAttack()
{
@@ -632,8 +632,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
void clientStopAutoAttack()
{
@@ -661,8 +661,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
protected void clientNotifyDead()
{
@@ -679,7 +679,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Update the state of this actor client side by sending Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance player.
- * Caution : Low level function, used by AI subclasses
+ * Caution: Low level function, used by AI subclasses
* @param player The PlayerIstance to notify with state of this Creature
*/
public void describeStateToPlayer(PlayerInstance player)
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/ai/AttackableAI.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/ai/AttackableAI.java
index 28bb61cbff..6075092cb6 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/ai/AttackableAI.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/ai/AttackableAI.java
@@ -212,7 +212,7 @@ public class AttackableAI extends CreatureAI
/**
* Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
- * Caution : If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
+ * Caution: If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -317,7 +317,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update every 1s the _globalAggro counter to come close to 0
*
If the actor is Aggressive and can attack, add all autoAttackable Creature in its Aggro Range to its _aggroList, chose a target and order to attack it
@@ -612,7 +612,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update the attack timeout if actor is running
*
If target is dead or timeout is expired, stop this attack and set the Intention to AI_INTENTION_ACTIVE
@@ -1237,7 +1237,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Attacked.
- * Actions :
+ *
+ * Actions:
*
*
Init the attack : Calculate the attack timeout, Set the _globalAggro to 0, Add the attacker to the actor _aggroList
*
Set the Creature movement type to run and send Server->Client packet ChangeMoveType to all others PlayerInstance
@@ -1301,7 +1302,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Aggression.
- * Actions :
+ *
+ * Actions:
*
*
Add the target to the actor _aggroList or update hate if already present
*
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/ai/CreatureAI.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/ai/CreatureAI.java
index 34be02f105..3b29875b4a 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/ai/CreatureAI.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/ai/CreatureAI.java
@@ -139,7 +139,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Idle Intention : Stop Attack, Movement and Stand Up the actor.
- * Actions :
+ *
+ * Actions:
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
Init cast and attack target
@@ -164,7 +165,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Active Intention : Stop Attack, Movement and Launch Think Event.
- * Actions : if the Intention is not already Active
+ *
+ * Actions : if the Intention is not already Active
*
*
Set the AI Intention to AI_INTENTION_ACTIVE
*
Init cast and attack target
@@ -195,7 +197,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Rest Intention.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
@@ -209,7 +212,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Attack Intention : Stop current Attack (if necessary), Start a new Attack and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_ATTACK
@@ -217,7 +221,8 @@ public class CreatureAI extends AbstractAI
*
Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast)
*
Launch the Think Event
*
- * Overridden in :
+ *
+ * Overridden in:
*
*
AttackableAI : Calculate attack timeout
*
@@ -281,7 +286,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Cast Intention : Stop current Attack, Init the AI in order to cast and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI cast target
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
@@ -331,7 +337,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
@@ -370,7 +377,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Follow Intention : Stop current Attack and Launch a Follow Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_FOLLOW
@@ -427,7 +435,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the PickUp Intention : Set the pick up target and Launch a Move To Pawn Task (offset=20).
- * Actions :
+ *
+ * Actions :
*
*
Set the AI pick up target
*
Set the Intention of this AI to AI_INTENTION_PICK_UP
@@ -476,7 +485,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Interact Intention : Set the interact target and Launch a Move To Pawn Task (offset=60).
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the AI interact target
@@ -537,7 +547,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Stunned then onAttacked Event.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
@@ -565,7 +576,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Rooted.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -588,7 +600,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Confused.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -606,7 +619,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Muted.
- * Actions :
+ *
+ * Actions:
*
*
Break a cast and send Server->Client ActionFailed packet and a System Message to the Creature
*
@@ -629,7 +643,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -643,7 +658,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Arrived.
- * Actions :
+ *
+ * Actions:
*
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
*
Launch actions corresponding to the Event Think
@@ -686,7 +702,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedRevalidate.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -700,7 +717,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedBlocked.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
@@ -725,7 +743,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ForgetObject.
- * Actions :
+ *
+ * Actions:
*
*
If the object was targeted and the Intention was AI_INTENTION_INTERACT or AI_INTENTION_PICK_UP, set the Intention to AI_INTENTION_ACTIVE
*
If the object was targeted to attack, stop the auto-attack, cancel target and set the Intention to AI_INTENTION_ACTIVE
@@ -781,7 +800,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -806,7 +826,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Dead.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast)
@@ -829,7 +850,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Fake Death.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
@@ -910,13 +932,15 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move to Pawn action in function of the distance and of the Interact area.
- * Actions :
+ *
+ * Actions:
*
*
Get the distance between the current position of the Creature and the target (x,y)
*
If the distance > offset+20, move the actor (by running) to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast)
*
If the distance <= offset+20, Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1017,13 +1041,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost or dead.
- * Actions : If the target is lost or dead
+ *
+ * Actions : If the target is lost or dead
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1050,13 +1076,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost.
- * Actions : If the target is lost
+ *
+ * Actions : If the target is lost
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/ai/PlayerAI.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/ai/PlayerAI.java
index 1af86289ec..72cd985005 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/ai/PlayerAI.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/ai/PlayerAI.java
@@ -90,7 +90,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -109,7 +110,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -124,7 +126,7 @@ public class PlayerAI extends PlayableAI
/**
* Finalize the casting of a skill. This method overrides CreatureAI method.
- * What it does:
+ * What it does:
* Check if actual intention is set to CAST and, if so, retrieves latest intention before the actual CAST and set it as the current intention for the player.
*/
@Override
@@ -197,7 +199,8 @@ public class PlayerAI extends PlayableAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
index a6c22e57af..dcfcbb433f 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
@@ -158,7 +158,7 @@ public class AdminData implements IXmlReader
AdminCommandAccessRight acar = _adminCommandAccessRights.get(adminCommand);
if (acar == null)
{
- // Trying to avoid the spam for next time when the gm would try to use the same command
+ // Trying to avoid the spam for next time when the GM would try to use the same command
if ((accessLevel.getLevel() > 0) && (accessLevel.getLevel() == _highestLevel))
{
acar = new AdminCommandAccessRight(adminCommand, true, accessLevel.getLevel());
@@ -341,7 +341,7 @@ public class AdminData implements IXmlReader
/**
* Gets the single instance of AdminTable.
- * @return AccessLevels: the one and only instance of this class
+ * @return AccessLevels: the one and only instance of this class
*/
public static AdminData getInstance()
{
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
index f11acfd056..0407de3b99 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
@@ -63,7 +63,7 @@ import org.l2jmobius.gameserver.model.skills.Skill;
* Here can be found the following skill trees:
*
*
Class skill trees: player skill trees for each class.
- *
Transfer skill trees: player skill trees for each healer class.
+ *
Transfer skill trees: player skill trees for each healer class.
*
Collect skill tree: player skill tree for Gracia related skills.
*
Fishing skill tree: player skill tree for fishing related skills.
*
Transform skill tree: player skill tree for transformation related skills.
@@ -464,7 +464,7 @@ public class SkillTreeData implements IXmlReader
}
/**
- * Gets the race skill tree.
+ * Gets the race skill tree.
* @param race the race skill tree Id
* @return the complete race Skill Tree for a given {@code Race}
*/
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/datatables/BotReportTable.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
index df93e82f1e..7f43f75eed 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
@@ -206,7 +206,7 @@ public class BotReportTable
}
/**
- * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
+ * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
* @param reporter (PlayerInstance who issued the report)
* @return True, if the report was registered, False otherwise
*/
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/datatables/ItemTable.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/datatables/ItemTable.java
index d63129deff..bfae3f7a36 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/datatables/ItemTable.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/datatables/ItemTable.java
@@ -195,10 +195,10 @@ public class ItemTable
}
/**
- * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions :
+ * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions:
*
Create and Init the ItemInstance corresponding to the Item Identifier and quantity
*
Add the ItemInstance object to _allObjects of L2world
- *
Logs Item creation according to log settings
+ *
Logs Item creation according to log settings
* @param process : String Identifier of process triggering this action
* @param itemId : int Item Identifier of the item to be created
* @param count : int Quantity of items to be created for stackable items
@@ -304,7 +304,8 @@ public class ItemTable
/**
* Destroys the ItemInstance.
- * Actions :
+ *
+ * Actions:
*
*
Sets ItemInstance parameters to be unusable
*
Removes the ItemInstance object to _allObjects of L2world
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/enums/BasicProperty.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/enums/BasicProperty.java
index 77a2a7a477..1e5cac18dd 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/enums/BasicProperty.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/enums/BasicProperty.java
@@ -17,17 +17,17 @@
package org.l2jmobius.gameserver.enums;
/**
- * Basic property type of skills.
- * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
- * After, only 3 types are used: physical, magic and none.
- *
- * Quote from Juji:
- * ----------------------------------------------------------------------
- * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
- * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
- * ----------------------------------------------------------------------
- * All other are considered with no basic property aka NONE.
- *
+ * Basic property type of skills.
+ * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
+ * After, only 3 types are used: physical, magic and none.
+ *
+ * Quote from Juji:
+ * ----------------------------------------------------------------------
+ * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
+ * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
+ * ----------------------------------------------------------------------
+ * All other are considered with no basic property aka NONE.
+ *
* @author Nik
*/
public enum BasicProperty
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/handler/ItemHandler.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/handler/ItemHandler.java
index 939d8263da..a815f2646e 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/handler/ItemHandler.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/handler/ItemHandler.java
@@ -38,10 +38,9 @@ public class ItemHandler implements IHandler
}
/**
- * Adds handler of item type in datatable.
- *
- * Concept :
- * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
+ * Adds handler of item type in datatable.
+ * Concept :
+ * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
* @param handler (IItemHandler)
*/
@Override
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
index 7d6c13d3b9..b510fdc4ee 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
@@ -456,7 +456,7 @@ public class InstanceManager implements IXmlReader
}
/**
- * Register instance world.
+ * Register instance world.
* @param instance instance which should be registered
*/
public void register(Instance instance)
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/AccessLevel.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/AccessLevel.java
index ced434ddda..2dac00e406 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/AccessLevel.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/AccessLevel.java
@@ -87,9 +87,8 @@ public class AccessLevel
}
/**
- * Returns the access level
- *
- * @return int: access level
+ * Returns the access level
+ * @return int: access level
*/
public int getLevel()
{
@@ -97,9 +96,8 @@ public class AccessLevel
}
/**
- * Returns the access level name
- *
- * @return String: access level name
+ * Returns the access level name
+ * @return String: access level name
*/
public String getName()
{
@@ -107,9 +105,8 @@ public class AccessLevel
}
/**
- * Returns the name color of the access level
- *
- * @return int: the name color for the access level
+ * Returns the name color of the access level
+ * @return int: the name color for the access level
*/
public int getNameColor()
{
@@ -117,9 +114,8 @@ public class AccessLevel
}
/**
- * Returns the title color color of the access level
- *
- * @return int: the title color for the access level
+ * Returns the title color color of the access level
+ * @return int: the title color for the access level
*/
public int getTitleColor()
{
@@ -127,9 +123,8 @@ public class AccessLevel
}
/**
- * Retuns if the access level has gm access or not
- *
- * @return boolean: true if access level have gm access, otherwise false
+ * Retuns if the access level has GM access or not
+ * @return boolean: true if access level have GM access, otherwise false
*/
public boolean isGm()
{
@@ -137,9 +132,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to attack in peace zone or not
- *
- * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
+ * Returns if the access level is allowed to attack in peace zone or not
+ * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
*/
public boolean allowPeaceAttack()
{
@@ -147,9 +141,8 @@ public class AccessLevel
}
/**
- * Retruns if the access level is allowed to use fixed res or not
- *
- * @return true if the access level is allowed to use fixed res, otherwise false
+ * Retruns if the access level is allowed to use fixed res or not
+ * @return true if the access level is allowed to use fixed res, otherwise false
*/
public boolean allowFixedRes()
{
@@ -157,9 +150,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to perform transactions or not
- *
- * @return boolean: true if access level is allowed to perform transactions, otherwise false
+ * Returns if the access level is allowed to perform transactions or not
+ * @return boolean: true if access level is allowed to perform transactions, otherwise false
*/
public boolean allowTransaction()
{
@@ -167,9 +159,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to use AltG commands or not
- *
- * @return boolean: true if access level is allowed to use AltG commands, otherwise false
+ * Returns if the access level is allowed to use AltG commands or not
+ * @return boolean: true if access level is allowed to use AltG commands, otherwise false
*/
public boolean allowAltG()
{
@@ -177,9 +168,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can give damage or not
- *
- * @return boolean: true if the access level can give damage, otherwise false
+ * Returns if the access level can give damage or not
+ * @return boolean: true if the access level can give damage, otherwise false
*/
public boolean canGiveDamage()
{
@@ -187,9 +177,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can take aggro or not
- *
- * @return boolean: true if the access level can take aggro, otherwise false
+ * Returns if the access level can take aggro or not
+ * @return boolean: true if the access level can take aggro, otherwise false
*/
public boolean canTakeAggro()
{
@@ -197,9 +186,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can gain exp or not
- *
- * @return boolean: true if the access level can gain exp, otherwise false
+ * Returns if the access level can gain exp or not
+ * @return boolean: true if the access level can gain exp, otherwise false
*/
public boolean canGainExp()
{
@@ -207,9 +195,9 @@ public class AccessLevel
}
/**
- * Returns if the access level contains allowedAccess as child
- * @param accessLevel as AccessLevel
- * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
+ * Returns if the access level contains allowedAccess as child
+ * @param accessLevel as AccessLevel
+ * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
*/
public boolean hasChildAccess(AccessLevel accessLevel)
{
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/EffectList.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/EffectList.java
index 72d713b173..78596bd21e 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/EffectList.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/EffectList.java
@@ -159,7 +159,7 @@ public class EffectList
}
/**
- * Verifies if this effect list contains the given skill ID.
+ * Verifies if this effect list contains the given skill ID.
* @param skillId the skill ID to verify
* @return {@code true} if the skill ID is present in the effect list (includes active and passive effects), {@code false} otherwise
*/
@@ -179,7 +179,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param type the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching the specified {@code AbnormalType}, {@code false} otherwise
*/
@@ -189,7 +189,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param types the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching one of the specified {@code AbnormalType}s, {@code false} otherwise
*/
@@ -421,7 +421,7 @@ public class EffectList
}
/**
- * Exit all effects having a specified flag.
+ * Exit all effects having a specified flag.
* @param effectFlag the flag of the effect to stop
*/
public void stopEffects(EffectFlag effectFlag)
@@ -438,7 +438,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, Skill)}
+ * {@link #stopSkillEffects(boolean, Skill)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skillId the skill ID
*/
@@ -457,7 +457,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, int)}
+ * {@link #stopSkillEffects(boolean, int)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skill the skill
*/
@@ -483,7 +483,7 @@ public class EffectList
}
/**
- * Exits all effects created by a specific skill {@code AbnormalType}s.
+ * Exits all effects created by a specific skill {@code AbnormalType}s.
* @param types the skill {@code AbnormalType}s to be checked and removed.
* @return {@code true} if there was any {@code BuffInfo} with one of the given {@code AbnormalType}s, {@code false} otherwise
*/
@@ -498,7 +498,7 @@ public class EffectList
}
/**
- * Exits all effects matched by a specific filter.
+ * Exits all effects matched by a specific filter.
* @param filter any filter to apply when selecting which {@code BuffInfo}s to be removed.
* @param update update effect flags and icons after the operation finishes.
* @param broadcast {@code true} to broadcast update packets if updating, {@code false} otherwise.
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/Party.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/Party.java
index bfa180535b..e5518154d9 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/Party.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/Party.java
@@ -142,7 +142,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Set invitation process flag and store time for expiration.
+ * Set invitation process flag and store time for expiration.
* Happens when a player joins party or declines to join.
* @param value the pending invitation state to set
*/
@@ -273,8 +273,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Send a Server->Client packet to all other PlayerInstance of the Party.
- *
+ * Send a Server->Client packet to all other PlayerInstance of the Party.
* @param player
* @param msg
*/
@@ -821,12 +820,12 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
- *
- * Actions :
+ * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
+ *
+ * Actions:
*
Get the PlayerInstance owner of the ServitorInstance (if necessary)
*
Calculate the Experience and SP reward distribution rate
- *
Add Experience and SP to the PlayerInstance
+ *
Add Experience and SP to the PlayerInstance
* @param xpReward The Experience reward to distribute
* @param spReward The SP reward to distribute
* @param rewardedMembers The list of PlayerInstance to reward
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/Spawn.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/Spawn.java
index e9068a0b5f..9f8d6a075f 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/Spawn.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/Spawn.java
@@ -41,7 +41,7 @@ import org.l2jmobius.gameserver.util.Util;
/**
* This class manages the spawn and respawn of a group of NpcInstance that are in the same are and have the same type.
- * Concept:
+ * Concept:
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
* @author Nightmare
@@ -78,13 +78,16 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Constructor of Spawn.
- * Concept:
+ *
+ * Concept:
+ *
* Each Spawn owns generic and static properties (ex : RewardExp, RewardSP, AggroRange...).
* All of those properties are stored in a different NpcTemplate for each type of Spawn. Each template is loaded once in the server cache memory (reduce memory use).
* When a new instance of Spawn is created, server just create a link between the instance and the template.
- * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
- * This link is stored in _spawn of the NpcInstance.
- * Actions:
+ * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
+ * This link is stored in _spawn of the NpcInstance.
+ *
+ * Actions:
*
*
Set the _template of the Spawn
*
Calculate the implementationName used to generate the generic constructor of NpcInstance managed by this Spawn
@@ -227,11 +230,11 @@ public class Spawn extends Location implements IIdentifiable, INamable
}
/**
- * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions :
+ * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions:
*
Decrease the current number of NpcInstance of this Spawn
*
Check if respawn is possible to prevent multiple respawning caused by lag
*
Update the current number of SpawnTask in progress or stand by of this Spawn
- *
Create a new SpawnTask to launch after the respawn Delay
Caution : A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
+ *
Create a new SpawnTask to launch after the respawn Delay
Caution: A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
* @param oldNpc
*/
public void decreaseCount(Npc oldNpc)
@@ -305,10 +308,13 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Create the NpcInstance, add it to the world and lauch its OnSpawn action.
- * Concept:
+ *
+ * Concept:
+ *
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
- * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
+ *
+ * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
*
*
Get NpcInstance Init parameters and its generate an Identifier
*
Call the constructor of the NpcInstance
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/World.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/World.java
index 0b8cd8b4f1..09579e901c 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/World.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/World.java
@@ -132,7 +132,8 @@ public class World
/**
* Adds an object to the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Withdraw an item from the warehouse, create an item
*
Spawn a Creature (PC, NPC, Pet)
@@ -172,7 +173,8 @@ public class World
/**
* Removes an object from the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Delete item from inventory, transfer Item from inventory to warehouse
*
Crystallize item
@@ -209,7 +211,7 @@ public class World
}
/**
- * Example of use:
+ * Example of use:
*
@@ -251,7 +253,7 @@ public class World
}
/**
- * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
+ * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
* @param name Name of the player to get Instance
* @return the player instance corresponding to the given name.
*/
@@ -299,18 +301,18 @@ public class World
}
/**
- * Add a WorldObject in the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Add a WorldObject in the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Add the WorldObject object in _allPlayers* of World
*
Add the WorldObject object in _gmList** of GmListTable
- *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
- * * only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstanceCaution : This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
- * Caution : This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use :
+ *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
+ * * only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstanceCaution: This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
+ * Caution: This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use:
*
Drop an Item
*
Spawn a Creature
- *
Apply Death Penalty of a PlayerInstance
+ *
Apply Death Penalty of a PlayerInstance
* @param object L2object to add in the world
* @param newRegion WorldRegion in wich the object will be add (not used)
*/
@@ -382,16 +384,16 @@ public class World
}
/**
- * Remove a WorldObject from the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Remove a WorldObject from the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Remove the WorldObject object from _allPlayers* of World
*
Remove the WorldObject object from _visibleObjects and _allPlayers* of WorldRegion
*
Remove the WorldObject object from _gmList** of GmListTable
- *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution : This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstance Example of use :
+ *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution: This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstance Example of use:
*
Pickup an Item
- *
Decay a Creature
+ *
Decay a Creature
* @param object L2object to remove from the world
* @param oldRegion WorldRegion in which the object was before removing
*/
@@ -690,9 +692,9 @@ public class World
}
/**
- * Calculate the current WorldRegions of the object according to its position (x,y). Example of use :
+ * Calculate the current WorldRegions of the object according to its position (x,y). Example of use:
*
Set position of a new WorldObject (drop, spawn...)
- *
Update position of a WorldObject after a movement
+ *
Update position of a WorldObject after a movement
* @param object the object
* @return
*/
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/WorldObject.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/WorldObject.java
index 63e719d10f..adc7402c47 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/WorldObject.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/WorldObject.java
@@ -670,7 +670,7 @@ public abstract class WorldObject extends ListenersContainer implements IIdentif
}
/**
- * Sets instance for current object by instance ID.
+ * Sets instance for current object by instance ID.
* @param id ID of instance world which should be set (0 means normal world)
*/
public void setInstanceById(int id)
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/WorldRegion.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/WorldRegion.java
index 4a166d2b8a..25ada44e59 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/WorldRegion.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/WorldRegion.java
@@ -195,8 +195,8 @@ public class WorldRegion
}
/**
- * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
- * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
+ * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
+ * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
* @param object
*/
public void addVisibleObject(WorldObject object)
@@ -216,7 +216,7 @@ public class WorldRegion
}
/**
- * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
+ * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
* @param object
*/
public void removeVisibleObject(WorldObject object)
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 add262d883..a2d0913b21 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
@@ -1050,7 +1050,7 @@ public class Attackable extends Npc
* During a Special Event all Attackable can drop extra Items.
* Those extra Items are defined in the table allNpcDateDrops of the EventDroplist.
* Each Special Event has a start and end date to stop to drop extra Items automatically.
- * Actions: If an extra drop must be generated
+ * Actions: If an extra drop must be generated
* Get an Item Identifier (random) from the DateDrop Item table of this Event.
* Get the Item quantity dropped (random).
* Create this or these ItemInstance corresponding to this Item Identifier.
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Creature.java
index 4f62904ce0..7a602aa860 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Creature.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Creature.java
@@ -167,7 +167,6 @@ import org.l2jmobius.gameserver.util.Util;
*
Trap
*
Vehicle
*
- *
* Concept of CreatureTemplate:
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
@@ -294,11 +293,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Constructor of Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature. Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
- * Actions:
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
+ *
+ * Actions:
*
*
Set the _template of the Creature
*
Set _overloaded to false (the character can take more items)
@@ -541,8 +543,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Remove the Creature from the world when the decay task is launched.
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
public void onDecay()
{
@@ -602,8 +604,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
*/
@@ -620,8 +624,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the radius (max knownlist radius) from the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
* @param radiusInKnownlist
@@ -677,12 +683,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send the Server->Client packet StatusUpdate with current HP and MP to all other PlayerInstance to inform.
- * Actions:
+ *
+ * Actions:
*
*
Create the Server->Client packet StatusUpdate with current HP and MP
*
Send the Server->Client packet StatusUpdate with current HP and MP to all Creature called _statusListener that must be informed of HP/MP updates of this Creature
*
- * Caution: This method DOESN'T SEND CP information
+ * Caution: This method DOESN'T SEND CP information
* @param caster TODO
*/
public void broadcastStatusUpdate(Creature caster)
@@ -713,7 +720,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Teleport a Creature and its pet if necessary.
- * Actions:
+ *
+ * Actions:
*
*
Stop the movement of the Creature
*
Set the x,y,z position of the WorldObject and if necessary modify its _worldRegion
@@ -882,7 +890,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a physical attack against a target (Simple, Bow, Pole or Dual).
- * Actions:
+ *
+ * Actions:
*
*
Get the active weapon (always equipped in the right hand)
*
If weapon is a bow, check for arrows, MP and bow re-use delay (if necessary, equip the PlayerInstance with arrows in left hand)
@@ -1273,7 +1282,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Manage the casting task (casting and interrupt time, re-use delay...) and display the casting bar and animation on client.
- * Actions:
+ *
+ * Actions:
*
*
Verify the possibility of the the cast : skill is a spell, caster isn't muted...
*
Get the list of all targets (ex : area effects) and define the Creature targeted (its stats will be used in calculation)
@@ -1563,7 +1573,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Kill the Creature.
- * Actions:
+ *
+ * Actions:
*
*
Set target to null and cancel Attack or Cast
*
Stop movement
@@ -2190,11 +2201,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Set the template of the Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
* Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
* @param template
*/
protected final void setTemplate(CreatureTemplate template)
@@ -2371,7 +2384,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop a specified/all Fake Death abnormal Effect.
- * Actions:
+ *
+ * Actions:
*
*
Delete a specified/all (if effect=null) Fake Death abnormal Effect from Creature and update client magic icon
*
Set the abnormal effect flag _fake_death to False
@@ -2399,7 +2413,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Stop all block actions (stun) effects.
+ * Stop all block actions (stun) effects.
* @param removeEffects {@code true} removes all block actions effects, {@code false} only notifies AI to think.
*/
public void stopStunning(boolean removeEffects)
@@ -2417,7 +2431,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop Effect: Transformation.
- * Actions:
+ *
+ * Actions:
*
*
Remove Transformation Effect
*
Notify the Creature AI
@@ -2446,7 +2461,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Updates the visual abnormal state of this character.
+ * Updates the visual abnormal state of this character.
*/
public void updateAbnormalVisualEffects()
{
@@ -2455,9 +2470,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update active skills in progress (In Use and Not In Use because stacked) icons on client.
- * Concept:
+ *
+ * Concept:
+ *
* All active skills effects in progress (In Use and Not In Use because stacked) are represented by an icon on the client.
- * Caution : This method ONLY UPDATE the client of the player and not clients of all players in the party.
+ * Caution: This method ONLY UPDATE the client of the player and not clients of all players in the party.
*/
public void updateEffectIcons()
{
@@ -2491,7 +2508,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* This class group all movement data.
- * Data :
+ *
+ * Data:
*
*
_moveTimestamp : Last time position update
*
_xDestination, _yDestination, _zDestination : Position of the destination
@@ -2785,7 +2803,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * @return True if the Creature is travelling a calculated path.
+ * @return True if the Creature is traveling a calculated path.
*/
public boolean isOnGeodataPath()
{
@@ -2895,16 +2913,18 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update the position of the Creature during a movement and return True if the movement is finished.
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
* When the movement is started (ex : by MovetoLocation), this method will be called each 0.1 sec to estimate and update the Creature position on the server.
* Note, that the current server position can differe from the current client position even if each movement is straight foward.
* That's why, client send regularly a Client->Server ValidatePosition packet to eventually correct the gap on the server.
* But, it's always the server position that is used in range calculation. At the end of the estimated movement time,
* the Creature position is automatically set to the destination position even if the movement is not finished.
- * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
- * But x and y positions must be calculated to avoid that players try to modify their movement speed.
+ * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
+ * But x and y positions must be calculated to avoid that players try to modify their movement speed.
* @return True if the movement is finished
*/
public boolean updatePosition()
@@ -3072,14 +3092,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop movement of the Creature (Called by AI Accessor only).
- * Actions:
+ *
+ * Actions:
*
*
Delete movement data of the Creature
*
Set the current position (x,y,z), its current WorldRegion if necessary and its heading
*
Remove the WorldObject object from _gmList of GmListTable
*
Remove object from _knownObjects and _knownPlayer of all surrounding WorldRegion Creatures
*
- * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
+ * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
* @param loc
*/
public void stopMove(Location loc)
@@ -3116,9 +3137,12 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Target a WorldObject (add the target to the Creature _target, _knownObject and Creature to _KnownObject of the WorldObject).
- * Concept:
- * The WorldObject (including Creature) targeted is identified in _target of the Creature.
- * Actions:
+ *
+ * Concept:
+ *
+ * The WorldObject (including Creature) targeted is identified in _target of the Creature.
+ *
+ * Actions:
*
*
Set the _target of Creature to WorldObject
*
If necessary, add WorldObject to _knownObject of the Creature
@@ -3161,11 +3185,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Calculate movement data for a move to location action and add the Creature to movingObjects of GameTimeController (only called by AI Accessor).
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
- * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
- * Actions:
+ * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
+ *
+ * Actions:
*
*
Get current position of the Creature
*
Calculate distance (dx,dy) between current position and destination including offset
@@ -3174,8 +3201,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
*
Add the Creature to movingObjects of the GameTimeController
*
Create a task to notify the AI that Creature arrives at a check point of the movement
*
- * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
- * Example of use:
+ * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
+ *
+ * Example of use:
*
*
AI : onIntentionMoveTo(Location), onIntentionPickUp(WorldObject), onIntentionInteract(WorldObject)
*
FollowTask
@@ -3579,7 +3607,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
* @return True if arrows are available.
* @param type
@@ -3591,9 +3619,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add Exp and Sp to the Creature.
- * Overridden in :
+ *
+ * Overridden in:
*
PlayerInstance
- *
PetInstance
+ *
PetInstance
* @param addToExp
* @param addToSp
*/
@@ -3603,36 +3632,37 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon instance (always equiped in the right hand).
+ * @return the active weapon instance (always equipped in the right hand).
*/
public abstract ItemInstance getActiveWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon item (always equiped in the right hand).
+ * @return the active weapon item (always equipped in the right hand).
*/
public abstract Weapon getActiveWeaponItem();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary weapon instance (always equiped in the left hand).
+ * @return the secondary weapon instance (always equipped in the left hand).
*/
public abstract ItemInstance getSecondaryWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary {@link Item} item (always equiped in the left hand).
+ * @return the secondary {@link Item} item (always equipped in the left hand).
*/
public abstract Item getSecondaryWeaponItem();
/**
* Manage hit process (called by Hit Task).
- * Actions:
+ *
+ * Actions:
*
*
If the attacker/target is dead or use fake death, notify the AI with EVT_CANCEL and send a Server->Client packet ActionFailed (if attacker is a PlayerInstance)
*
If attack isn't aborted, send a message system (critical hit, missed...) to attacker/target if they are PlayerInstance
If Creature or target is in a town area, send a system message TARGET_IN_PEACEZONE a Server->Client packet ActionFailed
*
If target is confused, send a Server->Client packet ActionFailed
@@ -3952,15 +3983,19 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add a skill to the Creature _skills and its Func objects to the calculator set of the Creature.
- * Concept:
- * All skills own by a Creature are identified in _skills
- * Actions:
+ *
+ * Concept:
+ *
+ * All skills own by a Creature are identified in _skills
+ *
+ * Actions:
*
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
*
Add Func objects of newSkill to the calculator set of the Creature
*
- * Overridden in:
+ *
+ * Overridden in:
*
*
PlayerInstance : Save update in the character_skills table of the database
*
@@ -5241,7 +5276,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
+ * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
* @param range
*/
public void initSeenCreatures(int range)
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Npc.java
index f1533c1f6e..6e287c4990 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Npc.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Npc.java
@@ -158,7 +158,8 @@ public class Npc extends Creature
/**
* Constructor of NpcInstance (use Creature constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the Creature (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the Creature
@@ -578,7 +579,8 @@ public class Npc extends Creature
/**
* Open a quest or chat window on client with the text of the NpcInstance in function of the command.
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : RequestBypassToServer
*
@@ -638,11 +640,11 @@ public class Npc extends Creature
}
/**
- * :
+ * :
*
- *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
- *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
- *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
+ *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
+ *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
+ *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -705,7 +707,8 @@ public class Npc extends Creature
/**
* Open a chat window on client with the text of the NpcInstance.
- * Actions:
+ *
+ * Actions:
*
*
Get the text of the selected HTML file in function of the npcId and of the page number
*
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
@@ -865,7 +868,8 @@ public class Npc extends Creature
/**
* Kill the NpcInstance (the corpse disappeared after 7 seconds).
- * Actions:
+ *
+ * Actions:
*
*
Create a DecayTask to remove the corpse of the NpcInstance after 7 seconds
*
Set target to null and cancel Attack or Cast
@@ -1091,14 +1095,15 @@ public class Npc extends Creature
/**
* Remove the NpcInstance from the world and update its spawn object (for a complete removal use the deleteMe method).
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world when the decay task is launched
*
Decrease its spawn counter
*
Manage Siege task (killFlag, killCT)
*
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
@Override
public void onDecay()
@@ -1137,13 +1142,14 @@ public class Npc extends Creature
/**
* Remove PROPERLY the NpcInstance from the world.
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world and update its spawn object
*
Remove all WorldObject from _knownObjects and _knownPlayer of the NpcInstance then cancel Attack or Cast and notify AI
*
Remove WorldObject object from _allObjects of World
*
- * Caution: This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T SEND Server->Client packets to players
* UnAfraid: TODO: Add Listener here
*/
@Override
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Playable.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Playable.java
index 622442ab2e..750bdba19c 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Playable.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Playable.java
@@ -52,7 +52,8 @@ public abstract class Playable extends Creature
/**
* Constructor of Playable.
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and link copy basic Calculator set to this Playable
*
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Summon.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Summon.java
index 060b158a8e..4ad20cafbf 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Summon.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Summon.java
@@ -588,7 +588,8 @@ public abstract class Summon extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the target is correct
*
Check if the target is in the skill cast range
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
index 5af1884bac..ba0920369e 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
@@ -24,21 +24,19 @@ import org.l2jmobius.gameserver.model.skills.Skill;
import org.l2jmobius.gameserver.network.serverpackets.ActionFailed;
/**
- * This class manages all Castle Siege Artefacts.
- *
+ * This class manages all Castle Siege Artefacts.
+ *
* @version $Revision: 1.11.2.1.2.7 $ $Date: 2005/04/06 16:13:40 $
*/
public class ArtefactInstance extends Npc
{
/**
- * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
- *
- * Actions :
- *
+ * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
+ *
+ * Actions:
*
Call the Creature constructor to set the _template of the ArtefactInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the ArtefactInstance
- *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
- *
+ *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
* @param template to apply to the NPC
*/
public ArtefactInstance(NpcTemplate template)
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 5f34d57abe..d359c8335b 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
@@ -36,7 +36,8 @@ public class GuardInstance extends Attackable
{
/**
* Constructor of GuardInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the GuardInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the GuardInstance
@@ -100,10 +101,11 @@ public class GuardInstance extends Attackable
/**
* Return the pathfile of the selected HTML file in function of the GuardInstance Identifier and of the page number.
- * Format of the pathfile :
+ *
+ * Format of the pathfile:
*
- *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
- *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
+ *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
+ *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -125,19 +127,22 @@ public class GuardInstance extends Attackable
/**
* Manage actions when a player click on the GuardInstance.
- * Actions on first click on the GuardInstance (Select it) :
+ *
+ * Actions on first click on the GuardInstance (Select it):
*
*
Set the GuardInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
Set the PlayerInstance Intention to AI_INTENTION_IDLE
*
Send a Server->Client packet ValidateLocation to correct the GuardInstance position and heading on the client
*
- * Actions on second click on the GuardInstance (Attack it/Interact with it) :
+ *
+ * Actions on second click on the GuardInstance (Attack it/Interact with it):
*
*
If PlayerInstance is in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_ATTACK
*
If PlayerInstance is NOT in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_INTERACT (after a distance verification) and show message
*
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : Action, AttackRequest
*
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
index 2b71cdcfe3..bee6060aec 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
@@ -43,7 +43,8 @@ public class MonsterInstance extends Attackable
/**
* Constructor of MonsterInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the MonsterInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the MonsterInstance
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
index ba902887c1..e4a3b06ba0 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
@@ -121,7 +121,7 @@ public class PetInstance extends Summon
}
/**
- * Manage Feeding Task.
+ * Manage Feeding Task.
* Feed or kill the pet depending on hunger level.
* If pet has food in inventory and feed level drops below 55% then consume food from inventory.
* Send a broadcastStatusUpdate packet for this PetInstance
@@ -417,7 +417,7 @@ public class PetInstance extends Summon
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -1133,8 +1133,7 @@ public class PetInstance extends Summon
}
/**
- * Restore the specified % of experience this PetInstance has lost.
- *
+ * Restore the specified % of experience this PetInstance has lost.
* @param restorePercent
*/
public void restoreExp(double restorePercent)
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
index 4ad0861abd..ccda92ae02 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
@@ -875,7 +875,8 @@ public class PlayerInstance extends Playable
/**
* Create a new PlayerInstance and add it in the characters table of the database.
- * Actions :
+ *
+ * Actions:
*
*
Create a new PlayerInstance with an account name
*
Set the name, the Hair Style, the Hair Color and the Face type of the PlayerInstance
@@ -1066,7 +1067,8 @@ public class PlayerInstance extends Playable
/**
* Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world (call restore method).
- * Actions :
+ *
+ * Actions:
*
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
@@ -1093,12 +1095,13 @@ public class PlayerInstance extends Playable
/**
* Constructor of PlayerInstance (use Creature constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and copy basic Calculator set to this PlayerInstance
*
Set the name of the PlayerInstance
*
- * Caution : This method SET the level of the PlayerInstance to 1
+ * Caution: This method SET the level of the PlayerInstance to 1
* @param objectId Identifier of the object to initialized
* @param template The PlayerTemplate to apply to the PlayerInstance
* @param accountName The name of the account including this PlayerInstance
@@ -2532,7 +2535,7 @@ public class PlayerInstance extends Playable
}
/**
- * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
+ * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
*/
public void regiveTemporarySkills()
{
@@ -3475,7 +3478,7 @@ public class PlayerInstance extends Playable
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -3730,7 +3733,7 @@ public class PlayerInstance extends Playable
}
/**
- * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : long Quantity of items to be dropped
@@ -3997,9 +4000,9 @@ public class PlayerInstance extends Playable
}
/**
- * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions :
- *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
- *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution : This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
+ * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions:
+ *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
+ *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution: This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
*/
@Override
public void broadcastStatusUpdate(Creature caster)
@@ -4066,11 +4069,11 @@ public class PlayerInstance extends Playable
}
/**
- * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept : Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
- * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions :
+ * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept: Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
+ * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions:
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
- *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as
- * MaxHP, STR, DEX...
+ *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP,
+ * STR, DEX...
*/
public void broadcastUserInfo()
{
@@ -4224,10 +4227,10 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Interact Task with another PlayerInstance. Actions :
+ * Manage Interact Task with another PlayerInstance. Actions:
*
If the private store is a STORE_PRIVATE_SELL, send a Server->Client PrivateBuyListSell packet to the PlayerInstance
*
If the private store is a STORE_PRIVATE_BUY, send a Server->Client PrivateBuyListBuy packet to the PlayerInstance
- *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
+ *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
* @param target The Creature targeted
*/
public void doInteract(Creature target)
@@ -4276,7 +4279,7 @@ public class PlayerInstance extends Playable
*
Send a Server->Client packet InventoryUpdate to this player with NewItem (use a new slot) or ModifiedItem (increase amount).
*
Send a Server->Client packet StatusUpdate to this player with current weight.
*
- * Caution: If a party is in progress, distribute the items between the party members!
+ * Caution: If a party is in progress, distribute the items between the party members!
* @param target the NPC dropping the item
* @param itemId the item ID
* @param itemCount the item count
@@ -4308,13 +4311,13 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Pickup Task. Actions :
+ * Manage Pickup Task. Actions:
*
Send a Server->Client packet StopMove to this PlayerInstance
*
Remove the ItemInstance from the world and send server->client GetItem packets
*
Send a System Message to the PlayerInstance : YOU_PICKED_UP_S1_ADENA or YOU_PICKED_UP_S1_S2
*
Add the Item to the PlayerInstance inventory
*
Send a Server->Client packet InventoryUpdate to this PlayerInstance with NewItem (use a new slot) or ModifiedItem (increase amount)
- *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution : If a Party is in progress, distribute Items between party members
+ *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution: If a Party is in progress, distribute Items between party members
* @param object The ItemInstance to pick up
*/
@Override
@@ -4577,7 +4580,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set a target. Actions :
+ * Set a target. Actions:
*
*
Remove the PlayerInstance from the _statusListener of the old target if it was a Creature
*
Add the PlayerInstance to the _statusListener of the new target if it's a Creature
@@ -4669,7 +4672,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon instance (always equiped in the right hand).
+ * Return the active weapon instance (always equipped in the right hand).
*/
@Override
public ItemInstance getActiveWeaponInstance()
@@ -4678,7 +4681,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon item (always equiped in the right hand).
+ * Return the active weapon item (always equipped in the right hand).
*/
@Override
public Weapon getActiveWeaponItem()
@@ -4767,7 +4770,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary weapon instance (always equiped in the left hand).
+ * Return the secondary weapon instance (always equipped in the left hand).
*/
@Override
public ItemInstance getSecondaryWeaponInstance()
@@ -4776,8 +4779,8 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary Item item (always equiped in the left hand).
- * Arrows, Shield..
+ * Return the secondary Item item (always equipped in the left hand).
+ * Arrows, Shield..
*/
@Override
public Item getSecondaryWeaponItem()
@@ -4791,12 +4794,12 @@ public class PlayerInstance extends Playable
}
/**
- * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions :
+ * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions:
*
Reduce the Experience of the PlayerInstance in function of the calculated Death Penalty
*
If necessary, unsummon the Pet of the killed PlayerInstance
*
Manage Karma gain for attacker and Karam loss for the killed PlayerInstance
*
If the killed PlayerInstance has Karma, manage Drop Item
- *
Kill the PlayerInstance
+ *
Kill the PlayerInstance
* @param killer
*/
@Override
@@ -5268,12 +5271,13 @@ public class PlayerInstance extends Playable
}
/**
- * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
- * Actions :
+ * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
+ *
+ * Actions:
*
Calculate the Experience loss
*
Set the value of _expBeforeDeath
*
Set the new Experience value of the PlayerInstance and Decrease its level if necessary
- *
Send a Server->Client StatusUpdate packet with its new Experience
+ *
Send a Server->Client StatusUpdate packet with its new Experience
* @param killer
*/
public void calculateDeathExpPenalty(Creature killer)
@@ -5325,7 +5329,7 @@ public class PlayerInstance extends Playable
}
/**
- * Stop the HP/MP/CP Regeneration task. Actions :
+ * Stop the HP/MP/CP Regeneration task. Actions:
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
*/
@@ -5672,13 +5676,13 @@ public class PlayerInstance extends Playable
}
/**
- * Set the Private Store type of the PlayerInstance. Values :
+ * Set the Private Store type of the PlayerInstance. Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @param privateStoreType
*/
public void setPrivateStoreType(PrivateStoreType privateStoreType)
@@ -5691,13 +5695,13 @@ public class PlayerInstance extends Playable
}
/**
- * Values :
+ * Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @return the Private Store type of the PlayerInstance.
*/
public PrivateStoreType getPrivateStoreType()
@@ -6415,11 +6419,11 @@ public class PlayerInstance extends Playable
}
/**
- * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions :
+ * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions:
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
*
Set the x,y,z position of the PlayerInstance and make it invisible
- *
Update the overloaded status of the PlayerInstance
+ *
Update the overloaded status of the PlayerInstance
* @param objectId Identifier of the object to initialized
* @return The PlayerInstance loaded from the database
*/
@@ -7316,10 +7320,10 @@ public class PlayerInstance extends Playable
}
/**
- * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept : All skills own by a PlayerInstance are identified in _skills Actions :
+ * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept: All skills own by a PlayerInstance are identified in _skills Actions:
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
- *
Add Func objects of newSkill to the calculator set of the Creature
+ *
Add Func objects of newSkill to the calculator set of the Creature
* @param newSkill The Skill to add to the Creature
* @param store
* @return The Skill replaced or null if just added a new Skill
@@ -7350,10 +7354,10 @@ public class PlayerInstance extends Playable
}
/**
- * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept : All skills own by a Creature are identified in _skills Actions :
+ * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept: All skills own by a Creature are identified in _skills Actions:
*
Remove the skill from the Creature _skills
- *
Remove all its Func objects from the Creature calculator set
Overridden in :
- *
PlayerInstance : Save update in the character_skills table of the database
+ *
Remove all its Func objects from the Creature calculator set
Overridden in:
+ *
PlayerInstance : Save update in the character_skills table of the database
* @param skill The Skill to remove from the Creature
* @return The Skill removed
*/
@@ -8040,7 +8044,8 @@ public class PlayerInstance extends Playable
/**
* Return True if the PlayerInstance is autoAttackable.
- * Actions:
+ *
+ * Actions:
*
*
Check if the attacker isn't the PlayerInstance Pet
*
Check if the attacker is MonsterInstance
@@ -8202,7 +8207,8 @@ public class PlayerInstance extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the skill isn't toggle and is offensive
*
Check if the target is in the skill cast range
@@ -8553,15 +8559,18 @@ public class PlayerInstance extends Playable
/**
* Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers.
- * Concept:
- * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
* In order to inform other players of this PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet
- * Actions:
+ *
+ * Actions:
*
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
*
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
*
- * Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
+ * Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
*/
@Override
public void updateAbnormalVisualEffects()
@@ -9384,7 +9393,7 @@ public class PlayerInstance extends Playable
}
/**
- * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
+ * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
* 2. This method no longer changes the active _classIndex of the player. This is only done by the calling of setActiveClass() method as that should be the only way to do so.
* @param classId
* @param classIndex
@@ -10555,7 +10564,8 @@ public class PlayerInstance extends Playable
/**
* Manage the delete task of a PlayerInstance (Leave Party, Unsummon pet, Save its inventory in the database, Remove it from the world...).
- * Actions:
+ *
+ * Actions:
*
*
If the PlayerInstance is in observer mode, set its position to its position before entering in observer mode
*
Set the online Flag to True or False and update the characters table of the database with online status and lastAccess
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
index d58c4a2344..1538e27eb0 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
@@ -31,7 +31,8 @@ public class RaidBossInstance extends MonsterInstance
/**
* Constructor of RaidBossInstance (use Creature and NpcInstance constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the RaidBossInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the RaidBossInstance
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
index 0746dde009..e66a7d8d7f 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
@@ -152,7 +152,8 @@ public class StaticObjectInstance extends Creature
/**
* Set the meshIndex of the object.
- * Values :
+ *
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
@@ -166,7 +167,7 @@ public class StaticObjectInstance extends Creature
}
/**
- * Values :
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
index b8258c55cc..1eb09ebcb7 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
@@ -265,7 +265,8 @@ public class CreatureStat
/**
* Return the MAtk (base+modifier) of the Creature.
- * Example of use: Calculate Magic damage
+ *
+ * Example of use: Calculate Magic damage
* @return
*/
public int getMAtk()
@@ -290,7 +291,7 @@ public class CreatureStat
}
/**
- * Example of use : Calculate Magic damage.
+ * Example of use : Calculate Magic damage.
* @return the MDef (base+modifier) of the Creature against a skill in function of abnormal effects in progress.
*/
public int getMDef()
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
index a34f446f36..ecb6ca7cf2 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
@@ -57,11 +57,14 @@ public class CreatureStatus
/**
* Add the object to the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use:
+ *
+ * Example of use:
*
*
Target a PC or NPC
*
@@ -79,11 +82,14 @@ public class CreatureStatus
/**
* Remove the object from the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use :
+ *
+ * Example of use :
*
*
Untarget a PC or NPC
*
@@ -96,8 +102,10 @@ public class CreatureStatus
/**
* Return the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
* @return The list of Creature to inform or null if empty
@@ -188,7 +196,8 @@ public class CreatureStatus
/**
* Start the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Calculate the regen task period
*
Launch the HP/MP/CP Regeneration task with Medium priority
@@ -208,7 +217,8 @@ public class CreatureStatus
/**
* Stop the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/base/SubClass.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/base/SubClass.java
index 6e1b4abe48..8e382665f8 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/base/SubClass.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/base/SubClass.java
@@ -20,7 +20,7 @@ import org.l2jmobius.Config;
import org.l2jmobius.gameserver.data.xml.impl.ExperienceData;
/**
- * Character Sub-Class Definition
+ * Character Sub-Class Definition
* Used to store key information about a character's sub-class.
* @author Tempy
*/
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
index ee74925752..a54baee819 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
@@ -62,7 +62,7 @@ public abstract class AbstractEffect
/**
* Calculates whether this effects land or not.
* If it lands will be scheduled and added to the character effect list.
- * Override in effect implementation to change behavior.
+ * Override in effect implementation to change behavior.
* Warning: Must be used only for instant effects continuous effects will not call this they have their success handled by activate_rate.
* @param effector
* @param effected
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/entity/Castle.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/entity/Castle.java
index 84bd945a23..c67b32e5be 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/entity/Castle.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/entity/Castle.java
@@ -616,8 +616,7 @@ public class Castle extends AbstractResidence
}
/**
- * Respawn all doors on castle grounds
- *
+ * Respawn all doors on castle grounds
* @param isDoorWeak
*/
public void spawnDoor(boolean isDoorWeak)
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/entity/Fort.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/entity/Fort.java
index 755bee3310..667c694f50 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/entity/Fort.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/entity/Fort.java
@@ -273,8 +273,7 @@ public class Fort extends AbstractResidence
}
/**
- * Move non clan members off fort area and to nearest town.
- *
+ * Move non clan members off fort area and to nearest town.
*/
public void banishForeigners()
{
@@ -516,8 +515,7 @@ public class Fort extends AbstractResidence
}
/**
- * Respawn all doors on fort grounds
- *
+ * Respawn all doors on fort grounds.
*/
public void resetDoors()
{
@@ -976,11 +974,10 @@ public class Fort extends AbstractResidence
}
/**
- * @return Returns state of fortress.
- *
- * 0 - not decided yet
- * 1 - independent
- * 2 - contracted with castle
+ * @return Returns state of fortress.
+ * 0 - not decided yet
+ * 1 - independent
+ * 2 - contracted with castle
*/
public int getFortState()
{
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/entity/FortSiege.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
index fe98f73d82..d4e5ae83b5 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
@@ -703,14 +703,14 @@ public class FortSiege implements Siegable
}
/**
- * Register clan as attacker.
+ * Register clan as attacker.
* @param player The PlayerInstance of the player trying to register.
* @param checkConditions True if should be checked conditions, false otherwise
- * @return Number that defines what happened.
- * 0 - Player don't have clan.
- * 1 - Player don't have enough adena to register.
- * 2 - Is not right time to register Fortress now.
- * 3 - Players clan is already registered to siege.
+ * @return Number that defines what happened.
+ * 0 - Player don't have clan.
+ * 1 - Player don't have enough adena to register.
+ * 2 - Is not right time to register Fortress now.
+ * 3 - Players clan is already registered to siege.
* 4 - Players clan is successfully registered to siege.
*/
public int addAttacker(PlayerInstance player, boolean checkConditions)
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/entity/Hero.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/entity/Hero.java
index 49b405d179..8c9bbb0bc0 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/entity/Hero.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/entity/Hero.java
@@ -866,7 +866,7 @@ public class Hero
}
/**
- * Saving task for {@link Hero}
+ * Saving task for {@link Hero}
* Save all hero messages to DB.
*/
public void shutdown()
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/entity/Siege.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/entity/Siege.java
index 0bcd190ec1..f714cb5ce1 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/entity/Siege.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/entity/Siege.java
@@ -383,8 +383,7 @@ public class Siege implements Siegable
}
/**
- * When control of castle changed during siege
- *
+ * When control of castle changed during siege.
*/
public void midVictory()
{
@@ -470,8 +469,7 @@ public class Siege implements Siegable
}
/**
- * When siege starts
- *
+ * When siege starts.
*/
@Override
public void startSiege()
@@ -529,8 +527,7 @@ public class Siege implements Siegable
}
/**
- * Announce to player.
- *
+ * Announce to player.
* @param message The SystemMessage to send to player
* @param bothSides True - broadcast to both attackers and defenders. False - only to defenders.
*/
@@ -682,8 +679,7 @@ public class Siege implements Siegable
}
/**
- * Approve clan as defender for siege
- *
+ * Approve clan as defender for siege
* @param clanId The int of player's clan id
*/
public void approveSiegeDefenderClan(int clanId)
@@ -717,8 +713,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is attacker
- *
+ * Return true if clan is attacker
* @param clan The Clan of the player
*/
@Override
@@ -728,8 +723,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is defender
- *
+ * Return true if clan is defender
* @param clan The Clan of the player
*/
@Override
@@ -866,8 +860,7 @@ public class Siege implements Siegable
}
/**
- * Register clan as attacker
- *
+ * Register clan as attacker
* @param player The PlayerInstance of the player trying to register
*/
public void registerAttacker(PlayerInstance player)
@@ -948,8 +941,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clanId The int of player's clan id
*/
public void removeSiegeClan(int clanId)
@@ -975,8 +967,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clan clan being removed
*/
public void removeSiegeClan(Clan clan)
@@ -989,8 +980,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param player The PlayerInstance of player/clan being removed
*/
public void removeSiegeClan(PlayerInstance player)
@@ -999,8 +989,7 @@ public class Siege implements Siegable
}
/**
- * Start the auto tasks
- *
+ * Start the auto tasks.
*/
public void startAutoTask()
{
@@ -1073,8 +1062,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as attacker
- *
+ * Add clan as attacker
* @param clanId The int of clan's id
*/
private void addAttacker(int clanId)
@@ -1083,8 +1071,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender
- *
+ * Add clan as defender
* @param clanId The int of clan's id
*/
private void addDefender(int clanId)
@@ -1105,8 +1092,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender waiting approval
- *
+ * Add clan as defender waiting approval
* @param clanId The int of clan's id
*/
private void addDefenderWaiting(int clanId)
@@ -1198,8 +1184,7 @@ public class Siege implements Siegable
}
/**
- * Return the correct siege date as Calendar.
- *
+ * Return the correct siege date as Calendar.
*/
public void correctSiegeDateTime()
{
@@ -1348,8 +1333,7 @@ public class Siege implements Siegable
}
/**
- * Save registration to database.
- *
+ * Save registration to database.
* @param clan The Clan of player
* @param typeId -1 = owner 0 = defender, 1 = attacker, 2 = defender waiting
* @param isUpdateRegistration
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/events/AbstractScript.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
index 6369448951..6c02d5efb1 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
@@ -2993,7 +2993,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param array of values.
* @return one value from array.
@@ -3009,7 +3009,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param list of values.
* @return one value from list.
@@ -3024,7 +3024,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param array of Integers.
* @return one Integer from array.
*/
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
index 0da0f1ff20..a4335762c0 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
@@ -53,7 +53,7 @@ public class PlayerSkillHolder implements ISkillsHolder
}
/**
- * Add a skill to the skills map.
+ * Add a skill to the skills map.
* @param skill
*/
@Override
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/instancezone/Instance.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
index 6603cc529b..6fdb98f39a 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
@@ -329,7 +329,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Get player by ID from instance.
+ * Get player by ID from instance.
* @param id objectId of player
* @return first player by ID, otherwise {@code null}
*/
@@ -803,7 +803,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Set reenter penalty for players associated with current instance.
+ * Set reenter penalty for players associated with current instance.
* @param time penalty time in milliseconds since January 1, 1970
*/
public void setReenterTime(long time)
@@ -860,8 +860,7 @@ public class Instance implements IIdentifiable, INamable
/**
* Set instance world to finish state.
- * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
- * See {@link Instance#finishInstance(int)} for more details.
+ * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
*/
public void finishInstance()
{
@@ -1016,7 +1015,7 @@ public class Instance implements IIdentifiable, INamable
// Template methods
// ----------------------------------------------
/**
- * Get parameters from instance template.
+ * Get parameters from instance template.
* @return template parameters
*/
public StatSet getTemplateParameters()
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
index 80a8eef201..7c892faae4 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
@@ -897,7 +897,7 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Drop item from inventory by using its objectID and updates database
+ * Drop item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
@@ -1198,7 +1198,7 @@ public abstract class Inventory extends ItemContainer
/**
* Equips an item in the given slot of the paperdoll.
- * Remark : The item must be in the inventory already.
+ * Remark : The item must be in the inventory already.
* @param slot : int pointing out the slot of the paperdoll
* @param item : ItemInstance pointing out the item to add in slot
* @return ItemInstance designating the item placed in the slot before
@@ -1403,8 +1403,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in body slot and returns alterations.
- * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(int)} instead
+ * Unequips item in body slot and returns alterations.
+ * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(int)} instead
* @param slot : int designating the slot of the paperdoll
* @return ItemInstance[] : list of changes
*/
@@ -1434,8 +1434,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in slot and returns alterations
- * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
+ * Unequips item in slot and returns alterations
+ * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
* @param slot : int designating the slot
* @return ItemInstance[] : list of items altered
*/
@@ -1607,8 +1607,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Equips item and returns list of alterations
- * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
+ * Equips item and returns list of alterations
+ * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
* @param item : ItemInstance corresponding to the item
* @return ItemInstance[] : list of alterations
*/
@@ -2184,8 +2184,9 @@ public abstract class Inventory extends ItemContainer
/**
* Reduce the arrow number of the Creature.
- * Overridden in :
- *
PlayerInstance
+ *
+ * Overridden in:
+ *
PlayerInstance
* @param type
*/
public void reduceArrowCount(EtcItemType type)
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
index 2847ecdcd5..2e5f90dcee 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
@@ -530,7 +530,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its objectID and updates database
+ * Destroy item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -545,7 +545,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its itemId and updates database
+ * Destroy item from inventory by using its itemId and updates database
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
index 0a9e6cc66d..5d3bed530d 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
@@ -113,7 +113,7 @@ public class PetInventory extends Inventory
public void restore()
{
super.restore();
- // check for equiped items from other pets
+ // check for equipped items from other pets
for (ItemInstance item : _items.values())
{
if (item.isEquipped() && !item.getItem().checkCondition(_owner, _owner, false))
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
index c4e4fe8fd1..71f513dc71 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
@@ -586,7 +586,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
+ * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -632,7 +632,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
+ * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/items/Item.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/items/Item.java
index fa27a7ca8e..546daca8d9 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/items/Item.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/items/Item.java
@@ -58,7 +58,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
/**
- * This class contains all informations concerning the item (weapon, armor, etc).
+ * This class contains all informations concerning the item (weapon, armor, etc).
* Mother class of :
*
*
Armor
@@ -173,8 +173,7 @@ public abstract class Item extends ListenersContainer implements IIdentifiable
private boolean _isBlessed;
/**
- * Constructor of the Item that fill class variables.
- *
+ * Constructor of the Item that fill class variables.
* @param set : StatSet corresponding to a set of couples (key,value) for description of the item
*/
protected Item(StatSet set)
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
index 771a5dda71..33205bd282 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.items.type.CrystalType;
import org.l2jmobius.gameserver.model.items.type.ItemType;
/**
- * This class contains ItemInstance
+ * This class contains ItemInstance
* Use to sort ItemInstance of :
*
*
Armor
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
index c1c4b0bf16..1f7b469358 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
@@ -263,19 +263,15 @@ public class ItemInstance extends WorldObject
}
/**
- * Remove a ItemInstance from the world and send server->client GetItem packets.
- *
- * Actions :
- *
+ * Remove a ItemInstance from the world and send server->client GetItem packets.
+ *
+ * Actions:
*
Send a Server->Client Packet GetItem to player that pick up and its _knowPlayers member
- *
Remove the WorldObject from the world
- *
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- *
- * Example of use :
- *
- *
Do Pickup Item : PCInstance and Pet
- *
+ *
Remove the WorldObject from the world
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ *
+ * Example of use:
+ *
Do Pickup Item : PCInstance and Pet
* @param creature Character that pick up the item
*/
public void pickupMe(Creature creature)
@@ -406,9 +402,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the location of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the location of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param loc : ItemLocation (enumeration)
* @param locData : int designating the slot where the item is stored or the village for freights
*/
@@ -437,8 +432,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
+ * Sets the quantity of the item.
* @param count the new count to set
*/
public void setCount(long count)
@@ -461,9 +455,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the quantity of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param process : String Identifier of process triggering this action
* @param count : int
* @param creator : PlayerInstance Player requesting the item creation
@@ -1469,7 +1462,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
*/
public void updateDatabase()
{
@@ -1477,7 +1470,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
* @param force if the update should necessarilly be done.
*/
public void updateDatabase(boolean force)
@@ -1513,20 +1506,17 @@ public class ItemInstance extends WorldObject
}
/**
- * Init a dropped ItemInstance and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a dropped ItemInstance and add it in the world as a visible object.
+ *
+ * Actions:
*
Set the x,y,z position of the ItemInstance dropped and update its _worldregion
*
Add the ItemInstance dropped to _visibleObjects of its WorldRegion
- *
Add the ItemInstance dropped in the world as a visible object
- *
- * Caution : This method DOESN'T ADD the object to _allObjects of World
- *
- * Example of use :
- *
+ *
Add the ItemInstance dropped in the world as a visible object
+ * Caution: This method DOESN'T ADD the object to _allObjects of World
+ *
+ * Example of use:
*
Drop item
- *
Call Pet
+ *
Call Pet
*/
public class ItemDropTask implements Runnable
{
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/quest/Quest.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/quest/Quest.java
index a74f5a2a86..c399ac294d 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/quest/Quest.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/quest/Quest.java
@@ -982,7 +982,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever a player attacks an NPC that is registered for the quest.
- * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
+ * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
* @param npc this parameter contains a reference to the exact instance of the NPC that got attacked.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked the NPC.
* @param damage this parameter represents the total damage that this attack has inflicted to the NPC.
@@ -1119,7 +1119,7 @@ public class Quest extends AbstractScript implements IIdentifiable
* The coder of the script may need to create a new quest state (if necessary).
* Note 3:
* The returned value of onFirstTalk replaces the default HTML that would have otherwise been loaded from a sub-folder of DatapackRoot/game/data/html/.
- * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
+ * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
* @param npc this parameter contains a reference to the exact instance of the NPC that the player is talking with.
* @param player this parameter contains a reference to the exact instance of the player who is talking to the NPC.
* @return the text returned by the event (may be {@code null}, a filename or just text)
@@ -1246,7 +1246,7 @@ public class Quest extends AbstractScript implements IIdentifiable
}
/**
- * This function is called whenever an NPC is teleport.
+ * This function is called whenever an NPC is teleport.
* @param npc this parameter contains a reference to the exact instance of the NPC who just teleport.
*/
protected void onTeleport(Npc npc)
@@ -1256,7 +1256,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever an NPC is called by another NPC in the same faction.
* @param npc this parameter contains a reference to the exact instance of the NPC who is being asked for help.
- * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
+ * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked.
* @param isSummon this parameter if it's {@code false} it denotes that the attacker was indeed the player, else it specifies that the attacker was the player's summon.
* @return
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
index b527d15bb8..f4662c2b87 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
@@ -695,7 +695,7 @@ public class SkillCaster implements Runnable
}
/**
- * Stops this casting and cleans all cast parameters.
+ * Stops this casting and cleans all cast parameters.
* @param aborted if {@code true}, server will send packets to the player, notifying him that the skill has been aborted.
*/
public void stopCasting(boolean aborted)
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/stats/Formulas.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/stats/Formulas.java
index 234ae3e729..62a2310ef5 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/stats/Formulas.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/stats/Formulas.java
@@ -550,7 +550,7 @@ public class Formulas
* Returns:
* 0 = shield defense doesn't succeed
* 1 = shield defense succeed
- * 2 = perfect block
+ * 2 = perfect block
* @param attacker
* @param target
* @param sendSysMsg
@@ -655,7 +655,7 @@ public class Formulas
}
/**
- * Calculates the effect landing success.
+ * Calculates the effect landing success.
* @param attacker the attacker
* @param target the target
* @param skill the skill
@@ -963,9 +963,9 @@ public class Formulas
}
/**
- * Calculates the attribute bonus with the following formula:
- * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
- * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
+ * Calculates the attribute bonus with the following formula:
+ * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
+ * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
* diff == 0, so AttBonus = 1
* It has been tested that physical skills do get affected by attack attribute even
* if they don't have any attribute. In that case only the biggest attack attribute is taken.
@@ -1207,7 +1207,7 @@ public class Formulas
* Confuse
* Compelling,
* Knockback
- * Pull
+ * Pull
* @param baseChance chance from effect parameter
* @param attacker
* @param target
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
index 2988807295..c621fab8f6 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
* A Function object is a component of a Calculator created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...).
* In fact, each calculator is a table of functions object in which each function represents a mathematics function:
* FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
+ * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
* Indeed, functions with lowest priority order is executed first and functions with the same order are executed in unspecified order.
* @author Zoey76
*/
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
index 1cb8bc9d02..d898d2c397 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
@@ -71,7 +71,7 @@ public class TaxZone extends ZoneType
}
/**
- * Gets castle associated with tax zone.
+ * Gets castle associated with tax zone.
* @return instance of {@link Castle} if found otherwise {@code null}
*/
public Castle getCastle()
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
index ca7f8d6d99..dee0ea769d 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
@@ -55,8 +55,8 @@ public class BlowFishKeygen
}
/**
- * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
- * Thus when getting a key with interests other then read-only a copy must be performed.
+ * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
+ * Thus when getting a key with interests other then read-only a copy must be performed.
* @return A key from this keygen pool.
*/
public static byte[] getRandomKey()
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
index 73cf9251ab..6c7b7e4c43 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
@@ -546,7 +546,7 @@ public class RequestAcquireSkill implements IClientIncomingPacket
/**
* Perform a simple check for current player and skill.
* Takes the needed SP if the skill require it and all requirements are meet.
- * Consume required items if the skill require it and all requirements are meet.
+ * Consume required items if the skill require it and all requirements are meet.
* @param player the skill learning player.
* @param trainer the skills teaching Npc.
* @param skillLearn the skill to be learn.
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
index 99188ca980..a4accd8a47 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
@@ -96,7 +96,7 @@ public class RequestDestroyItem implements IClientIncomingPacket
// if we can't find the requested item, its actually a cheat
if (itemToRemove == null)
{
- // gm can destroy other player items
+ // GM can destroy other player items
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
index 206640aad7..eb85f84823 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
@@ -50,7 +50,7 @@ public class RequestGMCommand implements IClientIncomingPacket
@Override
public void run(GameClient client)
{
- // prevent non gm or low level GMs from vieweing player stuff
+ // prevent non GM or low level GMs from vieweing player stuff
if (!client.getPlayer().isGM() || !client.getPlayer().getAccessLevel().allowAltG())
{
return;
@@ -99,7 +99,7 @@ public class RequestGMCommand implements IClientIncomingPacket
}
case 6: // player warehouse
{
- // gm warehouse view to be implemented
+ // GM warehouse view to be implemented
if (player != null)
{
client.sendPacket(new GMViewWarehouseWithdrawList(player));
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
index 442b4ad701..c2650bf6a0 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
@@ -90,7 +90,7 @@ public class UseItem implements IClientIncomingPacket
final ItemInstance item = player.getInventory().getItemByObjectId(_objectId);
if (item == null)
{
- // gm can use other player item
+ // GM can use other player item
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
index d19f06f141..f4f0c5ca81 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.network.OutgoingPackets;
import org.l2jmobius.gameserver.network.clientpackets.RequestAllyInfo;
/**
- * Sent in response to {@link RequestAllyInfo}, if applicable.
+ * Sent in response to {@link RequestAllyInfo}, if applicable.
* @author afk5min
*/
public class AllianceInfo implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
index 80a7042463..1fd7ec663a 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
@@ -20,9 +20,9 @@ import org.l2jmobius.commons.network.PacketWriter;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Eva's Inferno event packet. info params:
- * type (1 - %, 2 - npcId),
- * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
+ * Eva's Inferno event packet. info params:
+ * type (1 - %, 2 - npcId),
+ * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
* state (0-1), endtime (only when type 2)
*/
public class ExBrBuffEventState implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
index 52cadba571..35fcc3b4a8 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
@@ -114,7 +114,7 @@ public interface IClientOutgoingPacket extends IOutgoingPacket
}
/**
- * Sends this packet to the target player, useful for lambda operations like
+ * Sends this packet to the target player, useful for lambda operations like
* {@code World.getInstance().getPlayers().forEach(packet::sendTo)}
* @param player
*/
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
index 1a0c26e078..7fd8a52be7 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
@@ -24,25 +24,25 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Attacker List in the SiegeInfo Window
- *
- * c = ca
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Attackers Clans?
- * d = Number of Attackers Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Attacker List in the SiegeInfo Window
+ *
+ * c = ca
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Attackers Clans?
+ * d = Number of Attackers Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeAttackerList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
index 7066b92fa1..52e10be7c6 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
@@ -25,26 +25,26 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Defender List in the SiegeInfo Window
- *
- * c = 0xcb
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Defending Clans?
- * d = Number of Defending Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Defender List in the SiegeInfo Window
+ *
+ * c = 0xcb
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Defending Clans?
+ * d = Number of Defending Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeDefenderList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
index 355cea9565..6c647eec90 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
@@ -27,18 +27,18 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Shows the Siege Info
- *
- * c = c9
- * d = CastleID
- * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
- * d = Owner ClanID
- * S = Owner ClanName
- * S = Owner Clan LeaderName
- * d = Owner AllyID
- * S = Owner AllyName
- * d = current time (seconds)
- * d = Siege time (seconds) (0 for selectable)
+ * Shows the Siege Info
+ *
+ * c = c9
+ * d = CastleID
+ * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
+ * d = Owner ClanID
+ * S = Owner ClanName
+ * S = Owner Clan LeaderName
+ * d = Owner AllyID
+ * S = Owner AllyName
+ * d = current time (seconds)
+ * d = Siege time (seconds) (0 for selectable)
* d = (UNKNOW) Siege Time Select Related?
* @author KenM
*/
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/scripting/ManagedScript.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
index f2b91791ab..00235baa25 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
@@ -21,7 +21,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
/**
- * Abstract class for classes that are meant to be implemented by scripts.
+ * Abstract class for classes that are meant to be implemented by scripts.
* @author KenM
*/
public abstract class ManagedScript
@@ -41,7 +41,7 @@ public abstract class ManagedScript
public abstract Path getScriptPath();
/**
- * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
+ * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
* Subclasses of this class should override this method to properly refresh their bindings when necessary.
* @return true if and only if the script was reloaded, false otherwise.
*/
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
index 34ba313686..620f020f4e 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
@@ -77,7 +77,7 @@ public class AttackStanceTaskManager
}
/**
- * Checks for attack stance task.
+ * Checks for attack stance task.
* @param actor the actor
* @return {@code true} if the character has an attack stance task, {@code false} otherwise
*/
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/ui/frmAbout.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/ui/frmAbout.java
index a3e5c2cc67..4d161afb73 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/ui/frmAbout.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/ui/frmAbout.java
@@ -83,7 +83,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblProtocols);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 128, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/util/Broadcast.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/util/Broadcast.java
index e0d798deff..5a7eb1a4df 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/util/Broadcast.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/util/Broadcast.java
@@ -40,11 +40,13 @@ public class Broadcast
private static final Logger LOGGER = Logger.getLogger(Broadcast.class.getName());
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -60,11 +62,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -108,11 +112,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
* @param radius
@@ -128,10 +134,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param creature
* @param mov
*/
@@ -162,10 +170,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance present in the world.
- * Concept :
- * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance present in the world.
+ *
+ * Concept:
+ *
+ * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param packet
*/
public static void toAllOnlinePlayers(IClientOutgoingPacket packet)
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/util/MinionList.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/util/MinionList.java
index 29a8c04c1e..9a6f694eaa 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/util/MinionList.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/util/MinionList.java
@@ -58,13 +58,11 @@ public class MinionList
}
/**
- * Manage the spawn of Minions.
- *
- * Actions :
- *
+ * Manage the spawn of Minions.
+ *
+ * Actions:
*
Get the Minion data of all Minions that must be spawn
- *
For each Minion type, spawn the amount of Minion needed
- *
+ *
For each Minion type, spawn the amount of Minion needed
* @param minions
*/
public void spawnMinions(List minions)
@@ -260,16 +258,14 @@ public class MinionList
}
/**
- * Init a Minion and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a Minion and add it in the world as a visible object.
+ *
+ * Actions:
*
Get the template of the Minion to spawn
*
Create and Init the Minion and generate its Identifier
*
Set the Minion HP, MP and Heading
*
Set the Minion leader to this RaidBoss
- *
Init the position of the Minion and add it in the world as a visible object
- *
+ *
Init the position of the Minion and add it in the world as a visible object
* @param master MonsterInstance used as master for this minion
* @param minionId The NpcTemplate Identifier of the Minion to spawn
* @return
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/util/PrimeFinder.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/util/PrimeFinder.java
index c9532000c8..20016811a1 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/util/PrimeFinder.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/util/PrimeFinder.java
@@ -33,7 +33,7 @@ import java.util.Arrays;
public class PrimeFinder
{
/**
- * The largest prime this class can generate; currently equal to Integer.MAX_VALUE.
+ * The largest prime this class can generate; currently equal to Integer.MAX_VALUE
*/
public static final int LARGEST_PRIME = Integer.MAX_VALUE; // yes, it is prime.
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
index 2e46e0a048..0a81e323a3 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
@@ -67,8 +67,7 @@ public class TimeAmountInterpreter
}
/**
- * Appends an user-friendly description of the given amount of time to the specified text builder.
- *
+ * Appends an user-friendly description of the given amount of time to the specified text builder.
* Please keep in mind, that this method is primarily designed to be used with heap text builders. Therefore, if the given text builder throws an {@link IOException}, this exception will be wrapped in a {@link RuntimeException} and returned to the caller as an unchecked exception.
* @param
* @param textBuilder a character sequence builder
diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/loginserver/ui/frmAbout.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/loginserver/ui/frmAbout.java
index 8488868090..06a5d95539 100644
--- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/loginserver/ui/frmAbout.java
+++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/loginserver/ui/frmAbout.java
@@ -75,7 +75,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblLoginServer);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 148, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/custom/listeners/ListenerTest.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/custom/listeners/ListenerTest.java
index 0f855db33f..ed9d1c76f4 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/custom/listeners/ListenerTest.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/custom/listeners/ListenerTest.java
@@ -114,7 +114,7 @@ public class ListenerTest extends AbstractNpcAI
}
/**
- * Prioritized event notification
+ * Prioritized event notification
* This method will be invoked as soon as creature from level range between 1 and 10 dies.
* This listener is registered into individual npcs container.
* @param event
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
index 4185463b7a..a20f09c9cd 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
@@ -26,18 +26,15 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
public class ArtefactInstanceAction implements IActionHandler
{
/**
- * Manage actions when a player click on the ArtefactInstance.
- *
- * Actions :
- *
+ * Manage actions when a player click on the ArtefactInstance.
+ *
+ * Actions:
*
Set the NpcInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
- *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
*/
@Override
public boolean action(PlayerInstance player, WorldObject target, boolean interact)
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
index bb73cd0bae..1f204280f0 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
@@ -36,27 +36,22 @@ import org.l2jmobius.gameserver.network.serverpackets.MoveToPawn;
public class NpcAction implements IActionHandler
{
/**
- * Manage actions when a player click on the Npc.
- *
- * Actions on first click on the Npc (Select it) :
- *
+ * Manage actions when a player click on the Npc.
+ *
+ * Actions on first click on the Npc (Select it):
*
Set the Npc as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, send a Server->Client packet StatusUpdate to the PlayerInstance in order to update Npc HP bar
- *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
- *
- * Actions on second click on the Npc (Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
+ *
+ * Actions on second click on the Npc (Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, notify the PlayerInstance AI with AI_INTENTION_ATTACK (after a height verification)
- *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
- *
- * Caution : Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
+ * Caution: Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The PlayerInstance that start an action on the Npc
*/
@Override
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
index 28aa39ab39..d52da54398 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
@@ -31,25 +31,20 @@ public class PlayerInstanceAction implements IActionHandler
private static final int CURSED_WEAPON_VICTIM_MIN_LEVEL = 21;
/**
- * Manage actions when a player click on this PlayerInstance.
- *
- * Actions on first click on the PlayerInstance (Select it) :
- *
+ * Manage actions when a player click on this PlayerInstance.
+ *
+ * Actions on first click on the PlayerInstance (Select it):
*
Set the target of the player
- *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
- *
- * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
+ *
+ * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the player (display the select window)
*
If target PlayerInstance has a Private Store, notify the player AI with AI_INTENTION_INTERACT
- *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
- *
- *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
+ *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The player that start an action on target PlayerInstance
*/
@Override
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
index 20a4e8f57c..6da5c01385 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
@@ -29,7 +29,7 @@ public class PlayerInstanceActionShift implements IActionShiftHandler
{
if (player.isGM())
{
- // Check if the gm already target this l2pcinstance
+ // Check if the GM already target this l2pcinstance
if (player.getTarget() != target)
{
// Set the target of the PlayerInstance player
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
index ea73fa17a1..1aa5e5074a 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
@@ -86,13 +86,13 @@ public class AdminAdmin implements IAdminCommandHandler
else if (command.startsWith("admin_gmliston"))
{
AdminData.getInstance().showGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Registered into gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Registered into GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_gmlistoff"))
{
AdminData.getInstance().hideGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Removed from gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Removed from GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_silence"))
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
index 2efc2df69a..3fed3db486 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
@@ -486,7 +486,7 @@ public class AdminEventEngine implements IAdminCommandHandler
sb.append("
");
sb.append("
");
sb.append("
");
- sb.append("
");
+ sb.append("
");
sb.append("Teams' names:
");
for (int i = 1; (i - 1) < teamnumbers; i++) // Team names params
{
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
index 5e3fc05aa9..91259505bf 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
@@ -31,7 +31,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
/**
- * This class handles following admin commands: - gm = turns gm mode on/off
+ * This class handles following admin commands: - GM = turns GM mode on/off
* @version $Revision: 1.1.2.1 $ $Date: 2005/03/15 21:32:48 $
*/
public class AdminFightCalculator implements IAdminCommandHandler
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
index a32a84dd35..e9acb6a1f6 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles following admin commands: - gm = turns gm mode off
+ * This class handles following admin commands: - GM = turns GM mode off
* @version $Revision: 1.2.4.4 $ $Date: 2005/04/11 10:06:06 $
*/
public class AdminGm implements IAdminCommandHandler
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
index 364bba90a9..f0b2f857a4 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles commands for gm to forge packets
+ * This class handles commands for GM to forge packets
* @author Maktakien, HorridoJoho
*/
public class AdminPForge implements IAdminCommandHandler
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
index 9dd195001c..b5e732f3f7 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
@@ -30,14 +30,14 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * Pledge Manipulation:
- *
With target in a character without clan:
+ * Pledge Manipulation:
+ *
With target in a character without clan:
* //pledge create clanname
- *
With target in a clan leader:
- * //pledge info
- * //pledge dismiss
- * //pledge setlevel level
- * //pledge rep reputation_points
+ *
With target in a clan leader:
+ * //pledge info
+ * //pledge dismiss
+ * //pledge setlevel level
+ * //pledge rep reputation_points
*/
public class AdminPledge implements IAdminCommandHandler
{
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
index fb1eed2f9f..9be9eb040d 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
@@ -78,8 +78,9 @@ public class QuestLink implements IBypassHandler
/**
* Open a choose quest window on client with all quests available of the NpcInstance.
+ *
* Actions:
- *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
+ *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
* @param player The PlayerInstance that talk with the NpcInstance
* @param npc The table containing quests of the NpcInstance
* @param quests
@@ -231,6 +232,7 @@ public class QuestLink implements IBypassHandler
/**
* Open a quest window on client with the text of the NpcInstance.
+ *
* Actions:
*
*
Get the text of the quest state in the folder data/scripts/quests/questId/stateId.htm
Fly Radius means the distance between starting point and final point, it must be an integer.
*
Fly Course means the movement direction: imagine a compass above player's head, making north player's heading. So if fly course is 180, player will go backwards (good for blink, e.g.).
*
- * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
+ * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
* If target is effector, put in XML self="1", this will make _actor = getEffector(). This, combined with target type, allows more complex actions like flying target's backwards or player's backwards.
* @author DrHouse
*/
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
index ca935396a6..e4e937ef41 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.network.serverpackets.ValidateLocation;
/**
* This Blink effect switches the location of the caster and the target.
- * This effect is totally done based on client description.
+ * This effect is totally done based on client description.
* Assume that geodata checks are done on the skill cast and not needed to repeat here.
* @author Nik
*/
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
index 0f1802d986..00474ef88a 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.effects.EffectFlag;
import org.l2jmobius.gameserver.model.effects.EffectType;
/**
- * An effect that blocks the player (NPC?) control.
+ * An effect that blocks the player (NPC?) control.
* It prevents moving, casting, social actions, etc.
* @author Nik
*/
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
index 6b463fd9d2..f94ecb0b46 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
@@ -21,7 +21,7 @@ import org.l2jmobius.gameserver.model.effects.AbstractEffect;
import org.l2jmobius.gameserver.model.effects.EffectFlag;
/**
- * Effect that blocks damage and heals to HP/MP.
+ * Effect that blocks damage and heals to HP/MP.
* Regeneration or DOT shouldn't be blocked, Vampiric Rage and Balance Life as well.
* @author Nik
*/
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
index 3d8985d1d8..0cc43483f5 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
/**
* An effect that changes damage taken from an attack.
- * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
+ * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
* Exceptions for this effect appears to be DOT effects and terrain damage, they are unaffected by this stat.
* As for example in retail this effect does reduce reflected damage taken (because it is received damage), as well as it does not decrease reflected damage done,
* because reflected damage is being calculated with the original attack damage and not this altered one.
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
index a4808a3312..5624fe4e60 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
@@ -34,10 +34,10 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
- * Current formulas were tested to be the best matching retail, damage appears to be identical:
- * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
- * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
+ * Physical Attack effect implementation.
+ * Current formulas were tested to be the best matching retail, damage appears to be identical:
+ * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
+ * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
* @author Nik
*/
public class PhysicalAttack extends AbstractEffect
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
index 332fa3fa4f..17f093e386 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
index 34e643a5b1..4f29f685f7 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
index e1c554d674..92d5fb7d96 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.zone.ZoneId;
/**
* Not Friend affect object implementation. Based on Gracia Final retail tests.
* Such are considered flagged/karma players (except party/clan/ally). Doesn't matter if in command channel.
- * In arena such are considered clan/ally/command channel (except party).
+ * In arena such are considered clan/ally/command channel (except party).
* In peace zone such are considered monsters.
* Monsters consider such all players, npcs (Citizens, Guild Masters, Merchants, Guards, etc. except monsters). Doesn't matter if in peace zone or arena.
* @author Nik
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/instances/AbstractInstance.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/instances/AbstractInstance.java
index 17d748fad2..354b0d5137 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/instances/AbstractInstance.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/instances/AbstractInstance.java
@@ -62,7 +62,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Get instance world associated with {@code player}.
+ * Get instance world associated with {@code player}.
* @param player player who wants get instance world
* @return instance world if found, otherwise null
*/
@@ -229,8 +229,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Sets instance to finish state.
- * See {@link Instance#finishInstance()} for more details.
+ * Sets instance to finish state.
* @param player player used for determine current instance world
*/
protected void finishInstance(PlayerInstance player)
@@ -244,7 +243,6 @@ public abstract class AbstractInstance extends AbstractNpcAI
/**
* Sets instance to finish state.
- * See {@link Instance#finishInstance(int)} for more details.
* @param player player used for determine current instance world
* @param delay finish delay in minutes
*/
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
index 93028744ee..aa8ac8f064 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
@@ -1232,8 +1232,7 @@ public class BlowfishEngine
/**
* Method to encrypt the block at the given index.
- * The encrypted block goes to the destination array at the given index.
- *
+ * The encrypted block goes to the destination array at the given index.
* @param src source array with the plain data
* @param srcIndex index where the block to encrypt is located
* @param dst destination array the encryption will go to
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/GameTimeController.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/GameTimeController.java
index 131fb28d3d..aa4d359090 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/GameTimeController.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/GameTimeController.java
@@ -118,10 +118,13 @@ public class GameTimeController extends Thread
}
/**
- * Move all Creatures contained in movingObjects of GameTimeController.
- * Concept :
- * All Creature in movement are identified in movingObjects of GameTimeController.
- * Actions :
+ * Move all Creatures contained in movingObjects of GameTimeController.
+ *
+ * Concept:
+ *
+ * All Creature in movement are identified in movingObjects of GameTimeController.
+ *
+ * Actions:
*
*
Update the position of each Creature
*
If movement is finished, the Creature is removed from movingObjects
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/LoginServerThread.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/LoginServerThread.java
index bafacc7045..39bf2b4f51 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/LoginServerThread.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/LoginServerThread.java
@@ -95,7 +95,6 @@ public class LoginServerThread extends Thread
* The BlowFish engine used to encrypt packets
* It is first initialized with a unified key:
* "_;v.]05-31!|+-%xT!^[$\00"
- *
* and then after handshake, with a new key sent by
* login server during the handshake. This new key is stored
* in blowfishKey
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/Shutdown.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/Shutdown.java
index 3dd56d3db8..e07ac52791 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/Shutdown.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/Shutdown.java
@@ -233,7 +233,7 @@ public class Shutdown extends Thread
}
else
{
- // gm shutdown: send warnings and then call exit to start shutdown sequence
+ // GM shutdown: send warnings and then call exit to start shutdown sequence
countdown();
// last point where logging is operational :(
LOGGER.warning("GM shutdown countdown is over. " + MODE_TEXT[_shutdownMode] + " NOW!");
@@ -543,7 +543,7 @@ public class Shutdown extends Thread
}
/**
- * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
+ * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
* @return instance of Shutdown, to be used as shutdown hook
*/
public static Shutdown getInstance()
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/ai/AbstractAI.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/ai/AbstractAI.java
index 95f441a5d6..c544548976 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/ai/AbstractAI.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/ai/AbstractAI.java
@@ -45,7 +45,7 @@ import org.l2jmobius.gameserver.taskmanager.AttackStanceTaskManager;
/**
* Mother class of all objects AI in the world.
- * AbastractAI :
+ * AbastractAI:
*
CreatureAI
*/
public abstract class AbstractAI implements Ctrl
@@ -126,10 +126,10 @@ public abstract class AbstractAI implements Ctrl
/**
* Set the Intention of this AbstractAI.
- * Caution : This method is USED by AI classes
- * Overridden in :
- * AttackableAI : Create an AI Task executed every 1s (if necessary)
- * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
+ * Caution: This method is USED by AI classes
+ * Overridden in:
+ * AttackableAI : Create an AI Task executed every 1s (if necessary)
+ * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -141,7 +141,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
*/
@Override
@@ -152,7 +152,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
* @param args The first parameters of the Intention (optional target)
*/
@@ -225,7 +225,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onEvt method corresponding to the Event.
- * Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
*/
@Override
@@ -235,7 +235,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
*/
@@ -246,7 +246,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
* @param arg1 The second parameter of the Event (optional target)
@@ -419,7 +419,7 @@ public abstract class AbstractAI implements Ctrl
protected abstract void onEvtFinishCasting();
/**
- * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution : Low level function, used by AI subclasses
+ * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution: Low level function, used by AI subclasses
*/
protected void clientActionFailed()
{
@@ -430,8 +430,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param pawn
* @param offset
*/
@@ -514,8 +514,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param x
* @param y
* @param z
@@ -542,8 +542,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param loc
*/
public void clientStopMoving(Location loc)
@@ -591,8 +591,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
public void clientStartAutoAttack()
{
@@ -632,8 +632,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
void clientStopAutoAttack()
{
@@ -661,8 +661,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
protected void clientNotifyDead()
{
@@ -679,7 +679,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Update the state of this actor client side by sending Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance player.
- * Caution : Low level function, used by AI subclasses
+ * Caution: Low level function, used by AI subclasses
* @param player The PlayerIstance to notify with state of this Creature
*/
public void describeStateToPlayer(PlayerInstance player)
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/ai/AttackableAI.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/ai/AttackableAI.java
index 28bb61cbff..6075092cb6 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/ai/AttackableAI.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/ai/AttackableAI.java
@@ -212,7 +212,7 @@ public class AttackableAI extends CreatureAI
/**
* Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
- * Caution : If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
+ * Caution: If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -317,7 +317,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update every 1s the _globalAggro counter to come close to 0
*
If the actor is Aggressive and can attack, add all autoAttackable Creature in its Aggro Range to its _aggroList, chose a target and order to attack it
@@ -612,7 +612,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update the attack timeout if actor is running
*
If target is dead or timeout is expired, stop this attack and set the Intention to AI_INTENTION_ACTIVE
@@ -1237,7 +1237,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Attacked.
- * Actions :
+ *
+ * Actions:
*
*
Init the attack : Calculate the attack timeout, Set the _globalAggro to 0, Add the attacker to the actor _aggroList
*
Set the Creature movement type to run and send Server->Client packet ChangeMoveType to all others PlayerInstance
@@ -1301,7 +1302,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Aggression.
- * Actions :
+ *
+ * Actions:
*
*
Add the target to the actor _aggroList or update hate if already present
*
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/ai/CreatureAI.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/ai/CreatureAI.java
index 34be02f105..3b29875b4a 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/ai/CreatureAI.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/ai/CreatureAI.java
@@ -139,7 +139,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Idle Intention : Stop Attack, Movement and Stand Up the actor.
- * Actions :
+ *
+ * Actions:
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
Init cast and attack target
@@ -164,7 +165,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Active Intention : Stop Attack, Movement and Launch Think Event.
- * Actions : if the Intention is not already Active
+ *
+ * Actions : if the Intention is not already Active
*
*
Set the AI Intention to AI_INTENTION_ACTIVE
*
Init cast and attack target
@@ -195,7 +197,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Rest Intention.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
@@ -209,7 +212,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Attack Intention : Stop current Attack (if necessary), Start a new Attack and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_ATTACK
@@ -217,7 +221,8 @@ public class CreatureAI extends AbstractAI
*
Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast)
*
Launch the Think Event
*
- * Overridden in :
+ *
+ * Overridden in:
*
*
AttackableAI : Calculate attack timeout
*
@@ -281,7 +286,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Cast Intention : Stop current Attack, Init the AI in order to cast and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI cast target
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
@@ -331,7 +337,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
@@ -370,7 +377,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Follow Intention : Stop current Attack and Launch a Follow Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_FOLLOW
@@ -427,7 +435,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the PickUp Intention : Set the pick up target and Launch a Move To Pawn Task (offset=20).
- * Actions :
+ *
+ * Actions :
*
*
Set the AI pick up target
*
Set the Intention of this AI to AI_INTENTION_PICK_UP
@@ -476,7 +485,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Interact Intention : Set the interact target and Launch a Move To Pawn Task (offset=60).
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the AI interact target
@@ -537,7 +547,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Stunned then onAttacked Event.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
@@ -565,7 +576,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Rooted.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -588,7 +600,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Confused.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -606,7 +619,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Muted.
- * Actions :
+ *
+ * Actions:
*
*
Break a cast and send Server->Client ActionFailed packet and a System Message to the Creature
*
@@ -629,7 +643,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -643,7 +658,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Arrived.
- * Actions :
+ *
+ * Actions:
*
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
*
Launch actions corresponding to the Event Think
@@ -686,7 +702,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedRevalidate.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -700,7 +717,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedBlocked.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
@@ -725,7 +743,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ForgetObject.
- * Actions :
+ *
+ * Actions:
*
*
If the object was targeted and the Intention was AI_INTENTION_INTERACT or AI_INTENTION_PICK_UP, set the Intention to AI_INTENTION_ACTIVE
*
If the object was targeted to attack, stop the auto-attack, cancel target and set the Intention to AI_INTENTION_ACTIVE
@@ -781,7 +800,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -806,7 +826,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Dead.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast)
@@ -829,7 +850,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Fake Death.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
@@ -910,13 +932,15 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move to Pawn action in function of the distance and of the Interact area.
- * Actions :
+ *
+ * Actions:
*
*
Get the distance between the current position of the Creature and the target (x,y)
*
If the distance > offset+20, move the actor (by running) to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast)
*
If the distance <= offset+20, Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1017,13 +1041,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost or dead.
- * Actions : If the target is lost or dead
+ *
+ * Actions : If the target is lost or dead
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1050,13 +1076,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost.
- * Actions : If the target is lost
+ *
+ * Actions : If the target is lost
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/ai/PlayerAI.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/ai/PlayerAI.java
index 1af86289ec..72cd985005 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/ai/PlayerAI.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/ai/PlayerAI.java
@@ -90,7 +90,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -109,7 +110,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -124,7 +126,7 @@ public class PlayerAI extends PlayableAI
/**
* Finalize the casting of a skill. This method overrides CreatureAI method.
- * What it does:
+ * What it does:
* Check if actual intention is set to CAST and, if so, retrieves latest intention before the actual CAST and set it as the current intention for the player.
*/
@Override
@@ -197,7 +199,8 @@ public class PlayerAI extends PlayableAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
index a6c22e57af..dcfcbb433f 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
@@ -158,7 +158,7 @@ public class AdminData implements IXmlReader
AdminCommandAccessRight acar = _adminCommandAccessRights.get(adminCommand);
if (acar == null)
{
- // Trying to avoid the spam for next time when the gm would try to use the same command
+ // Trying to avoid the spam for next time when the GM would try to use the same command
if ((accessLevel.getLevel() > 0) && (accessLevel.getLevel() == _highestLevel))
{
acar = new AdminCommandAccessRight(adminCommand, true, accessLevel.getLevel());
@@ -341,7 +341,7 @@ public class AdminData implements IXmlReader
/**
* Gets the single instance of AdminTable.
- * @return AccessLevels: the one and only instance of this class
+ * @return AccessLevels: the one and only instance of this class
*/
public static AdminData getInstance()
{
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
index f11acfd056..0407de3b99 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
@@ -63,7 +63,7 @@ import org.l2jmobius.gameserver.model.skills.Skill;
* Here can be found the following skill trees:
*
*
Class skill trees: player skill trees for each class.
- *
Transfer skill trees: player skill trees for each healer class.
+ *
Transfer skill trees: player skill trees for each healer class.
*
Collect skill tree: player skill tree for Gracia related skills.
*
Fishing skill tree: player skill tree for fishing related skills.
*
Transform skill tree: player skill tree for transformation related skills.
@@ -464,7 +464,7 @@ public class SkillTreeData implements IXmlReader
}
/**
- * Gets the race skill tree.
+ * Gets the race skill tree.
* @param race the race skill tree Id
* @return the complete race Skill Tree for a given {@code Race}
*/
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/datatables/BotReportTable.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
index df93e82f1e..7f43f75eed 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
@@ -206,7 +206,7 @@ public class BotReportTable
}
/**
- * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
+ * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
* @param reporter (PlayerInstance who issued the report)
* @return True, if the report was registered, False otherwise
*/
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/datatables/ItemTable.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/datatables/ItemTable.java
index 700b106bad..319c8546fd 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/datatables/ItemTable.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/datatables/ItemTable.java
@@ -196,10 +196,10 @@ public class ItemTable
}
/**
- * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions :
+ * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions:
*
Create and Init the ItemInstance corresponding to the Item Identifier and quantity
*
Add the ItemInstance object to _allObjects of L2world
- *
Logs Item creation according to log settings
+ *
Logs Item creation according to log settings
* @param process : String Identifier of process triggering this action
* @param itemId : int Item Identifier of the item to be created
* @param count : int Quantity of items to be created for stackable items
@@ -305,7 +305,8 @@ public class ItemTable
/**
* Destroys the ItemInstance.
- * Actions :
+ *
+ * Actions:
*
*
Sets ItemInstance parameters to be unusable
*
Removes the ItemInstance object to _allObjects of L2world
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/enums/BasicProperty.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/enums/BasicProperty.java
index 77a2a7a477..1e5cac18dd 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/enums/BasicProperty.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/enums/BasicProperty.java
@@ -17,17 +17,17 @@
package org.l2jmobius.gameserver.enums;
/**
- * Basic property type of skills.
- * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
- * After, only 3 types are used: physical, magic and none.
- *
- * Quote from Juji:
- * ----------------------------------------------------------------------
- * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
- * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
- * ----------------------------------------------------------------------
- * All other are considered with no basic property aka NONE.
- *
+ * Basic property type of skills.
+ * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
+ * After, only 3 types are used: physical, magic and none.
+ *
+ * Quote from Juji:
+ * ----------------------------------------------------------------------
+ * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
+ * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
+ * ----------------------------------------------------------------------
+ * All other are considered with no basic property aka NONE.
+ *
* @author Nik
*/
public enum BasicProperty
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/handler/ItemHandler.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/handler/ItemHandler.java
index 939d8263da..a815f2646e 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/handler/ItemHandler.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/handler/ItemHandler.java
@@ -38,10 +38,9 @@ public class ItemHandler implements IHandler
}
/**
- * Adds handler of item type in datatable.
- *
- * Concept :
- * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
+ * Adds handler of item type in datatable.
+ * Concept :
+ * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
* @param handler (IItemHandler)
*/
@Override
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
index 7d6c13d3b9..b510fdc4ee 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
@@ -456,7 +456,7 @@ public class InstanceManager implements IXmlReader
}
/**
- * Register instance world.
+ * Register instance world.
* @param instance instance which should be registered
*/
public void register(Instance instance)
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/AccessLevel.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/AccessLevel.java
index ced434ddda..2dac00e406 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/AccessLevel.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/AccessLevel.java
@@ -87,9 +87,8 @@ public class AccessLevel
}
/**
- * Returns the access level
- *
- * @return int: access level
+ * Returns the access level
+ * @return int: access level
*/
public int getLevel()
{
@@ -97,9 +96,8 @@ public class AccessLevel
}
/**
- * Returns the access level name
- *
- * @return String: access level name
+ * Returns the access level name
+ * @return String: access level name
*/
public String getName()
{
@@ -107,9 +105,8 @@ public class AccessLevel
}
/**
- * Returns the name color of the access level
- *
- * @return int: the name color for the access level
+ * Returns the name color of the access level
+ * @return int: the name color for the access level
*/
public int getNameColor()
{
@@ -117,9 +114,8 @@ public class AccessLevel
}
/**
- * Returns the title color color of the access level
- *
- * @return int: the title color for the access level
+ * Returns the title color color of the access level
+ * @return int: the title color for the access level
*/
public int getTitleColor()
{
@@ -127,9 +123,8 @@ public class AccessLevel
}
/**
- * Retuns if the access level has gm access or not
- *
- * @return boolean: true if access level have gm access, otherwise false
+ * Retuns if the access level has GM access or not
+ * @return boolean: true if access level have GM access, otherwise false
*/
public boolean isGm()
{
@@ -137,9 +132,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to attack in peace zone or not
- *
- * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
+ * Returns if the access level is allowed to attack in peace zone or not
+ * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
*/
public boolean allowPeaceAttack()
{
@@ -147,9 +141,8 @@ public class AccessLevel
}
/**
- * Retruns if the access level is allowed to use fixed res or not
- *
- * @return true if the access level is allowed to use fixed res, otherwise false
+ * Retruns if the access level is allowed to use fixed res or not
+ * @return true if the access level is allowed to use fixed res, otherwise false
*/
public boolean allowFixedRes()
{
@@ -157,9 +150,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to perform transactions or not
- *
- * @return boolean: true if access level is allowed to perform transactions, otherwise false
+ * Returns if the access level is allowed to perform transactions or not
+ * @return boolean: true if access level is allowed to perform transactions, otherwise false
*/
public boolean allowTransaction()
{
@@ -167,9 +159,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to use AltG commands or not
- *
- * @return boolean: true if access level is allowed to use AltG commands, otherwise false
+ * Returns if the access level is allowed to use AltG commands or not
+ * @return boolean: true if access level is allowed to use AltG commands, otherwise false
*/
public boolean allowAltG()
{
@@ -177,9 +168,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can give damage or not
- *
- * @return boolean: true if the access level can give damage, otherwise false
+ * Returns if the access level can give damage or not
+ * @return boolean: true if the access level can give damage, otherwise false
*/
public boolean canGiveDamage()
{
@@ -187,9 +177,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can take aggro or not
- *
- * @return boolean: true if the access level can take aggro, otherwise false
+ * Returns if the access level can take aggro or not
+ * @return boolean: true if the access level can take aggro, otherwise false
*/
public boolean canTakeAggro()
{
@@ -197,9 +186,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can gain exp or not
- *
- * @return boolean: true if the access level can gain exp, otherwise false
+ * Returns if the access level can gain exp or not
+ * @return boolean: true if the access level can gain exp, otherwise false
*/
public boolean canGainExp()
{
@@ -207,9 +195,9 @@ public class AccessLevel
}
/**
- * Returns if the access level contains allowedAccess as child
- * @param accessLevel as AccessLevel
- * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
+ * Returns if the access level contains allowedAccess as child
+ * @param accessLevel as AccessLevel
+ * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
*/
public boolean hasChildAccess(AccessLevel accessLevel)
{
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/EffectList.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/EffectList.java
index 72d713b173..78596bd21e 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/EffectList.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/EffectList.java
@@ -159,7 +159,7 @@ public class EffectList
}
/**
- * Verifies if this effect list contains the given skill ID.
+ * Verifies if this effect list contains the given skill ID.
* @param skillId the skill ID to verify
* @return {@code true} if the skill ID is present in the effect list (includes active and passive effects), {@code false} otherwise
*/
@@ -179,7 +179,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param type the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching the specified {@code AbnormalType}, {@code false} otherwise
*/
@@ -189,7 +189,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param types the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching one of the specified {@code AbnormalType}s, {@code false} otherwise
*/
@@ -421,7 +421,7 @@ public class EffectList
}
/**
- * Exit all effects having a specified flag.
+ * Exit all effects having a specified flag.
* @param effectFlag the flag of the effect to stop
*/
public void stopEffects(EffectFlag effectFlag)
@@ -438,7 +438,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, Skill)}
+ * {@link #stopSkillEffects(boolean, Skill)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skillId the skill ID
*/
@@ -457,7 +457,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, int)}
+ * {@link #stopSkillEffects(boolean, int)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skill the skill
*/
@@ -483,7 +483,7 @@ public class EffectList
}
/**
- * Exits all effects created by a specific skill {@code AbnormalType}s.
+ * Exits all effects created by a specific skill {@code AbnormalType}s.
* @param types the skill {@code AbnormalType}s to be checked and removed.
* @return {@code true} if there was any {@code BuffInfo} with one of the given {@code AbnormalType}s, {@code false} otherwise
*/
@@ -498,7 +498,7 @@ public class EffectList
}
/**
- * Exits all effects matched by a specific filter.
+ * Exits all effects matched by a specific filter.
* @param filter any filter to apply when selecting which {@code BuffInfo}s to be removed.
* @param update update effect flags and icons after the operation finishes.
* @param broadcast {@code true} to broadcast update packets if updating, {@code false} otherwise.
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/Party.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/Party.java
index bfa180535b..e5518154d9 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/Party.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/Party.java
@@ -142,7 +142,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Set invitation process flag and store time for expiration.
+ * Set invitation process flag and store time for expiration.
* Happens when a player joins party or declines to join.
* @param value the pending invitation state to set
*/
@@ -273,8 +273,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Send a Server->Client packet to all other PlayerInstance of the Party.
- *
+ * Send a Server->Client packet to all other PlayerInstance of the Party.
* @param player
* @param msg
*/
@@ -821,12 +820,12 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
- *
- * Actions :
+ * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
+ *
+ * Actions:
*
Get the PlayerInstance owner of the ServitorInstance (if necessary)
*
Calculate the Experience and SP reward distribution rate
- *
Add Experience and SP to the PlayerInstance
+ *
Add Experience and SP to the PlayerInstance
* @param xpReward The Experience reward to distribute
* @param spReward The SP reward to distribute
* @param rewardedMembers The list of PlayerInstance to reward
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/Spawn.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/Spawn.java
index e9068a0b5f..9f8d6a075f 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/Spawn.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/Spawn.java
@@ -41,7 +41,7 @@ import org.l2jmobius.gameserver.util.Util;
/**
* This class manages the spawn and respawn of a group of NpcInstance that are in the same are and have the same type.
- * Concept:
+ * Concept:
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
* @author Nightmare
@@ -78,13 +78,16 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Constructor of Spawn.
- * Concept:
+ *
+ * Concept:
+ *
* Each Spawn owns generic and static properties (ex : RewardExp, RewardSP, AggroRange...).
* All of those properties are stored in a different NpcTemplate for each type of Spawn. Each template is loaded once in the server cache memory (reduce memory use).
* When a new instance of Spawn is created, server just create a link between the instance and the template.
- * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
- * This link is stored in _spawn of the NpcInstance.
- * Actions:
+ * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
+ * This link is stored in _spawn of the NpcInstance.
+ *
+ * Actions:
*
*
Set the _template of the Spawn
*
Calculate the implementationName used to generate the generic constructor of NpcInstance managed by this Spawn
@@ -227,11 +230,11 @@ public class Spawn extends Location implements IIdentifiable, INamable
}
/**
- * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions :
+ * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions:
*
Decrease the current number of NpcInstance of this Spawn
*
Check if respawn is possible to prevent multiple respawning caused by lag
*
Update the current number of SpawnTask in progress or stand by of this Spawn
- *
Create a new SpawnTask to launch after the respawn Delay
Caution : A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
+ *
Create a new SpawnTask to launch after the respawn Delay
Caution: A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
* @param oldNpc
*/
public void decreaseCount(Npc oldNpc)
@@ -305,10 +308,13 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Create the NpcInstance, add it to the world and lauch its OnSpawn action.
- * Concept:
+ *
+ * Concept:
+ *
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
- * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
+ *
+ * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
*
*
Get NpcInstance Init parameters and its generate an Identifier
*
Call the constructor of the NpcInstance
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/World.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/World.java
index 0b8cd8b4f1..09579e901c 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/World.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/World.java
@@ -132,7 +132,8 @@ public class World
/**
* Adds an object to the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Withdraw an item from the warehouse, create an item
*
Spawn a Creature (PC, NPC, Pet)
@@ -172,7 +173,8 @@ public class World
/**
* Removes an object from the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Delete item from inventory, transfer Item from inventory to warehouse
*
Crystallize item
@@ -209,7 +211,7 @@ public class World
}
/**
- * Example of use:
+ * Example of use:
*
@@ -251,7 +253,7 @@ public class World
}
/**
- * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
+ * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
* @param name Name of the player to get Instance
* @return the player instance corresponding to the given name.
*/
@@ -299,18 +301,18 @@ public class World
}
/**
- * Add a WorldObject in the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Add a WorldObject in the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Add the WorldObject object in _allPlayers* of World
*
Add the WorldObject object in _gmList** of GmListTable
- *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
- * * only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstanceCaution : This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
- * Caution : This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use :
+ *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
+ * * only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstanceCaution: This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
+ * Caution: This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use:
*
Drop an Item
*
Spawn a Creature
- *
Apply Death Penalty of a PlayerInstance
+ *
Apply Death Penalty of a PlayerInstance
* @param object L2object to add in the world
* @param newRegion WorldRegion in wich the object will be add (not used)
*/
@@ -382,16 +384,16 @@ public class World
}
/**
- * Remove a WorldObject from the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Remove a WorldObject from the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Remove the WorldObject object from _allPlayers* of World
*
Remove the WorldObject object from _visibleObjects and _allPlayers* of WorldRegion
*
Remove the WorldObject object from _gmList** of GmListTable
- *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution : This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstance Example of use :
+ *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution: This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstance Example of use:
*
Pickup an Item
- *
Decay a Creature
+ *
Decay a Creature
* @param object L2object to remove from the world
* @param oldRegion WorldRegion in which the object was before removing
*/
@@ -690,9 +692,9 @@ public class World
}
/**
- * Calculate the current WorldRegions of the object according to its position (x,y). Example of use :
+ * Calculate the current WorldRegions of the object according to its position (x,y). Example of use:
*
Set position of a new WorldObject (drop, spawn...)
- *
Update position of a WorldObject after a movement
+ *
Update position of a WorldObject after a movement
* @param object the object
* @return
*/
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/WorldObject.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/WorldObject.java
index 63e719d10f..adc7402c47 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/WorldObject.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/WorldObject.java
@@ -670,7 +670,7 @@ public abstract class WorldObject extends ListenersContainer implements IIdentif
}
/**
- * Sets instance for current object by instance ID.
+ * Sets instance for current object by instance ID.
* @param id ID of instance world which should be set (0 means normal world)
*/
public void setInstanceById(int id)
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/WorldRegion.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/WorldRegion.java
index 4a166d2b8a..25ada44e59 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/WorldRegion.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/WorldRegion.java
@@ -195,8 +195,8 @@ public class WorldRegion
}
/**
- * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
- * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
+ * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
+ * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
* @param object
*/
public void addVisibleObject(WorldObject object)
@@ -216,7 +216,7 @@ public class WorldRegion
}
/**
- * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
+ * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
* @param object
*/
public void removeVisibleObject(WorldObject object)
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 add262d883..a2d0913b21 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
@@ -1050,7 +1050,7 @@ public class Attackable extends Npc
* During a Special Event all Attackable can drop extra Items.
* Those extra Items are defined in the table allNpcDateDrops of the EventDroplist.
* Each Special Event has a start and end date to stop to drop extra Items automatically.
- * Actions: If an extra drop must be generated
+ * Actions: If an extra drop must be generated
* Get an Item Identifier (random) from the DateDrop Item table of this Event.
* Get the Item quantity dropped (random).
* Create this or these ItemInstance corresponding to this Item Identifier.
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Creature.java
index 2340ce05a4..bee7179185 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Creature.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Creature.java
@@ -167,7 +167,6 @@ import org.l2jmobius.gameserver.util.Util;
*
Trap
*
Vehicle
*
- *
* Concept of CreatureTemplate:
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
@@ -294,11 +293,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Constructor of Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature. Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
- * Actions:
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
+ *
+ * Actions:
*
*
Set the _template of the Creature
*
Set _overloaded to false (the character can take more items)
@@ -541,8 +543,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Remove the Creature from the world when the decay task is launched.
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
public void onDecay()
{
@@ -602,8 +604,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
*/
@@ -620,8 +624,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the radius (max knownlist radius) from the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
* @param radiusInKnownlist
@@ -677,12 +683,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send the Server->Client packet StatusUpdate with current HP and MP to all other PlayerInstance to inform.
- * Actions:
+ *
+ * Actions:
*
*
Create the Server->Client packet StatusUpdate with current HP and MP
*
Send the Server->Client packet StatusUpdate with current HP and MP to all Creature called _statusListener that must be informed of HP/MP updates of this Creature
*
- * Caution: This method DOESN'T SEND CP information
+ * Caution: This method DOESN'T SEND CP information
* @param caster TODO
*/
public void broadcastStatusUpdate(Creature caster)
@@ -713,7 +720,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Teleport a Creature and its pet if necessary.
- * Actions:
+ *
+ * Actions:
*
*
Stop the movement of the Creature
*
Set the x,y,z position of the WorldObject and if necessary modify its _worldRegion
@@ -882,7 +890,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a physical attack against a target (Simple, Bow, Pole or Dual).
- * Actions:
+ *
+ * Actions:
*
*
Get the active weapon (always equipped in the right hand)
*
If weapon is a bow, check for arrows, MP and bow re-use delay (if necessary, equip the PlayerInstance with arrows in left hand)
@@ -1273,7 +1282,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Manage the casting task (casting and interrupt time, re-use delay...) and display the casting bar and animation on client.
- * Actions:
+ *
+ * Actions:
*
*
Verify the possibility of the the cast : skill is a spell, caster isn't muted...
*
Get the list of all targets (ex : area effects) and define the Creature targeted (its stats will be used in calculation)
@@ -1563,7 +1573,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Kill the Creature.
- * Actions:
+ *
+ * Actions:
*
*
Set target to null and cancel Attack or Cast
*
Stop movement
@@ -2190,11 +2201,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Set the template of the Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
* Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
* @param template
*/
protected final void setTemplate(CreatureTemplate template)
@@ -2371,7 +2384,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop a specified/all Fake Death abnormal Effect.
- * Actions:
+ *
+ * Actions:
*
*
Delete a specified/all (if effect=null) Fake Death abnormal Effect from Creature and update client magic icon
*
Set the abnormal effect flag _fake_death to False
@@ -2399,7 +2413,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Stop all block actions (stun) effects.
+ * Stop all block actions (stun) effects.
* @param removeEffects {@code true} removes all block actions effects, {@code false} only notifies AI to think.
*/
public void stopStunning(boolean removeEffects)
@@ -2417,7 +2431,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop Effect: Transformation.
- * Actions:
+ *
+ * Actions:
*
*
Remove Transformation Effect
*
Notify the Creature AI
@@ -2446,7 +2461,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Updates the visual abnormal state of this character.
+ * Updates the visual abnormal state of this character.
*/
public void updateAbnormalVisualEffects()
{
@@ -2455,9 +2470,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update active skills in progress (In Use and Not In Use because stacked) icons on client.
- * Concept:
+ *
+ * Concept:
+ *
* All active skills effects in progress (In Use and Not In Use because stacked) are represented by an icon on the client.
- * Caution : This method ONLY UPDATE the client of the player and not clients of all players in the party.
+ * Caution: This method ONLY UPDATE the client of the player and not clients of all players in the party.
*/
public void updateEffectIcons()
{
@@ -2491,7 +2508,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* This class group all movement data.
- * Data :
+ *
+ * Data:
*
*
_moveTimestamp : Last time position update
*
_xDestination, _yDestination, _zDestination : Position of the destination
@@ -2785,7 +2803,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * @return True if the Creature is travelling a calculated path.
+ * @return True if the Creature is traveling a calculated path.
*/
public boolean isOnGeodataPath()
{
@@ -2895,16 +2913,18 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update the position of the Creature during a movement and return True if the movement is finished.
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
* When the movement is started (ex : by MovetoLocation), this method will be called each 0.1 sec to estimate and update the Creature position on the server.
* Note, that the current server position can differe from the current client position even if each movement is straight foward.
* That's why, client send regularly a Client->Server ValidatePosition packet to eventually correct the gap on the server.
* But, it's always the server position that is used in range calculation. At the end of the estimated movement time,
* the Creature position is automatically set to the destination position even if the movement is not finished.
- * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
- * But x and y positions must be calculated to avoid that players try to modify their movement speed.
+ * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
+ * But x and y positions must be calculated to avoid that players try to modify their movement speed.
* @return True if the movement is finished
*/
public boolean updatePosition()
@@ -3072,14 +3092,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop movement of the Creature (Called by AI Accessor only).
- * Actions:
+ *
+ * Actions:
*
*
Delete movement data of the Creature
*
Set the current position (x,y,z), its current WorldRegion if necessary and its heading
*
Remove the WorldObject object from _gmList of GmListTable
*
Remove object from _knownObjects and _knownPlayer of all surrounding WorldRegion Creatures
*
- * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
+ * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
* @param loc
*/
public void stopMove(Location loc)
@@ -3116,9 +3137,12 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Target a WorldObject (add the target to the Creature _target, _knownObject and Creature to _KnownObject of the WorldObject).
- * Concept:
- * The WorldObject (including Creature) targeted is identified in _target of the Creature.
- * Actions:
+ *
+ * Concept:
+ *
+ * The WorldObject (including Creature) targeted is identified in _target of the Creature.
+ *
+ * Actions:
*
*
Set the _target of Creature to WorldObject
*
If necessary, add WorldObject to _knownObject of the Creature
@@ -3161,11 +3185,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Calculate movement data for a move to location action and add the Creature to movingObjects of GameTimeController (only called by AI Accessor).
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
- * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
- * Actions:
+ * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
+ *
+ * Actions:
*
*
Get current position of the Creature
*
Calculate distance (dx,dy) between current position and destination including offset
@@ -3174,8 +3201,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
*
Add the Creature to movingObjects of the GameTimeController
*
Create a task to notify the AI that Creature arrives at a check point of the movement
*
- * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
- * Example of use:
+ * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
+ *
+ * Example of use:
*
*
AI : onIntentionMoveTo(Location), onIntentionPickUp(WorldObject), onIntentionInteract(WorldObject)
*
FollowTask
@@ -3579,7 +3607,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
* @return True if arrows are available.
* @param type
@@ -3591,9 +3619,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add Exp and Sp to the Creature.
- * Overridden in :
+ *
+ * Overridden in:
*
PlayerInstance
- *
PetInstance
+ *
PetInstance
* @param addToExp
* @param addToSp
*/
@@ -3603,36 +3632,37 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon instance (always equiped in the right hand).
+ * @return the active weapon instance (always equipped in the right hand).
*/
public abstract ItemInstance getActiveWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon item (always equiped in the right hand).
+ * @return the active weapon item (always equipped in the right hand).
*/
public abstract Weapon getActiveWeaponItem();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary weapon instance (always equiped in the left hand).
+ * @return the secondary weapon instance (always equipped in the left hand).
*/
public abstract ItemInstance getSecondaryWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary {@link Item} item (always equiped in the left hand).
+ * @return the secondary {@link Item} item (always equipped in the left hand).
*/
public abstract Item getSecondaryWeaponItem();
/**
* Manage hit process (called by Hit Task).
- * Actions:
+ *
+ * Actions:
*
*
If the attacker/target is dead or use fake death, notify the AI with EVT_CANCEL and send a Server->Client packet ActionFailed (if attacker is a PlayerInstance)
*
If attack isn't aborted, send a message system (critical hit, missed...) to attacker/target if they are PlayerInstance
If Creature or target is in a town area, send a system message TARGET_IN_PEACEZONE a Server->Client packet ActionFailed
*
If target is confused, send a Server->Client packet ActionFailed
@@ -3952,15 +3983,19 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add a skill to the Creature _skills and its Func objects to the calculator set of the Creature.
- * Concept:
- * All skills own by a Creature are identified in _skills
- * Actions:
+ *
+ * Concept:
+ *
+ * All skills own by a Creature are identified in _skills
+ *
+ * Actions:
*
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
*
Add Func objects of newSkill to the calculator set of the Creature
*
- * Overridden in:
+ *
+ * Overridden in:
*
*
PlayerInstance : Save update in the character_skills table of the database
*
@@ -5250,7 +5285,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
+ * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
* @param range
*/
public void initSeenCreatures(int range)
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Npc.java
index f1533c1f6e..6e287c4990 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Npc.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Npc.java
@@ -158,7 +158,8 @@ public class Npc extends Creature
/**
* Constructor of NpcInstance (use Creature constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the Creature (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the Creature
@@ -578,7 +579,8 @@ public class Npc extends Creature
/**
* Open a quest or chat window on client with the text of the NpcInstance in function of the command.
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : RequestBypassToServer
*
@@ -638,11 +640,11 @@ public class Npc extends Creature
}
/**
- * :
+ * :
*
- *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
- *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
- *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
+ *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
+ *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
+ *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -705,7 +707,8 @@ public class Npc extends Creature
/**
* Open a chat window on client with the text of the NpcInstance.
- * Actions:
+ *
+ * Actions:
*
*
Get the text of the selected HTML file in function of the npcId and of the page number
*
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
@@ -865,7 +868,8 @@ public class Npc extends Creature
/**
* Kill the NpcInstance (the corpse disappeared after 7 seconds).
- * Actions:
+ *
+ * Actions:
*
*
Create a DecayTask to remove the corpse of the NpcInstance after 7 seconds
*
Set target to null and cancel Attack or Cast
@@ -1091,14 +1095,15 @@ public class Npc extends Creature
/**
* Remove the NpcInstance from the world and update its spawn object (for a complete removal use the deleteMe method).
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world when the decay task is launched
*
Decrease its spawn counter
*
Manage Siege task (killFlag, killCT)
*
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
@Override
public void onDecay()
@@ -1137,13 +1142,14 @@ public class Npc extends Creature
/**
* Remove PROPERLY the NpcInstance from the world.
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world and update its spawn object
*
Remove all WorldObject from _knownObjects and _knownPlayer of the NpcInstance then cancel Attack or Cast and notify AI
*
Remove WorldObject object from _allObjects of World
*
- * Caution: This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T SEND Server->Client packets to players
* UnAfraid: TODO: Add Listener here
*/
@Override
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Playable.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Playable.java
index 622442ab2e..750bdba19c 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Playable.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Playable.java
@@ -52,7 +52,8 @@ public abstract class Playable extends Creature
/**
* Constructor of Playable.
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and link copy basic Calculator set to this Playable
*
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Summon.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Summon.java
index 060b158a8e..4ad20cafbf 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Summon.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Summon.java
@@ -588,7 +588,8 @@ public abstract class Summon extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the target is correct
*
Check if the target is in the skill cast range
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
index 5af1884bac..ba0920369e 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
@@ -24,21 +24,19 @@ import org.l2jmobius.gameserver.model.skills.Skill;
import org.l2jmobius.gameserver.network.serverpackets.ActionFailed;
/**
- * This class manages all Castle Siege Artefacts.
- *
+ * This class manages all Castle Siege Artefacts.
+ *
* @version $Revision: 1.11.2.1.2.7 $ $Date: 2005/04/06 16:13:40 $
*/
public class ArtefactInstance extends Npc
{
/**
- * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
- *
- * Actions :
- *
+ * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
+ *
+ * Actions:
*
Call the Creature constructor to set the _template of the ArtefactInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the ArtefactInstance
- *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
- *
+ *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
* @param template to apply to the NPC
*/
public ArtefactInstance(NpcTemplate template)
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 5f34d57abe..d359c8335b 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
@@ -36,7 +36,8 @@ public class GuardInstance extends Attackable
{
/**
* Constructor of GuardInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the GuardInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the GuardInstance
@@ -100,10 +101,11 @@ public class GuardInstance extends Attackable
/**
* Return the pathfile of the selected HTML file in function of the GuardInstance Identifier and of the page number.
- * Format of the pathfile :
+ *
+ * Format of the pathfile:
*
- *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
- *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
+ *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
+ *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -125,19 +127,22 @@ public class GuardInstance extends Attackable
/**
* Manage actions when a player click on the GuardInstance.
- * Actions on first click on the GuardInstance (Select it) :
+ *
+ * Actions on first click on the GuardInstance (Select it):
*
*
Set the GuardInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
Set the PlayerInstance Intention to AI_INTENTION_IDLE
*
Send a Server->Client packet ValidateLocation to correct the GuardInstance position and heading on the client
*
- * Actions on second click on the GuardInstance (Attack it/Interact with it) :
+ *
+ * Actions on second click on the GuardInstance (Attack it/Interact with it):
*
*
If PlayerInstance is in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_ATTACK
*
If PlayerInstance is NOT in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_INTERACT (after a distance verification) and show message
*
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : Action, AttackRequest
*
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
index 2b71cdcfe3..bee6060aec 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
@@ -43,7 +43,8 @@ public class MonsterInstance extends Attackable
/**
* Constructor of MonsterInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the MonsterInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the MonsterInstance
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
index 96d217da08..e399a38dad 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
@@ -122,7 +122,7 @@ public class PetInstance extends Summon
}
/**
- * Manage Feeding Task.
+ * Manage Feeding Task.
* Feed or kill the pet depending on hunger level.
* If pet has food in inventory and feed level drops below 55% then consume food from inventory.
* Send a broadcastStatusUpdate packet for this PetInstance
@@ -418,7 +418,7 @@ public class PetInstance extends Summon
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -1136,8 +1136,7 @@ public class PetInstance extends Summon
}
/**
- * Restore the specified % of experience this PetInstance has lost.
- *
+ * Restore the specified % of experience this PetInstance has lost.
* @param restorePercent
*/
public void restoreExp(double restorePercent)
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
index bf34c22aa0..56361771a8 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
@@ -873,7 +873,8 @@ public class PlayerInstance extends Playable
/**
* Create a new PlayerInstance and add it in the characters table of the database.
- * Actions :
+ *
+ * Actions:
*
*
Create a new PlayerInstance with an account name
*
Set the name, the Hair Style, the Hair Color and the Face type of the PlayerInstance
@@ -1064,7 +1065,8 @@ public class PlayerInstance extends Playable
/**
* Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world (call restore method).
- * Actions :
+ *
+ * Actions:
*
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
@@ -1091,12 +1093,13 @@ public class PlayerInstance extends Playable
/**
* Constructor of PlayerInstance (use Creature constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and copy basic Calculator set to this PlayerInstance
*
Set the name of the PlayerInstance
*
- * Caution : This method SET the level of the PlayerInstance to 1
+ * Caution: This method SET the level of the PlayerInstance to 1
* @param objectId Identifier of the object to initialized
* @param template The PlayerTemplate to apply to the PlayerInstance
* @param accountName The name of the account including this PlayerInstance
@@ -2530,7 +2533,7 @@ public class PlayerInstance extends Playable
}
/**
- * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
+ * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
*/
public void regiveTemporarySkills()
{
@@ -3473,7 +3476,7 @@ public class PlayerInstance extends Playable
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -3714,7 +3717,7 @@ public class PlayerInstance extends Playable
}
/**
- * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : long Quantity of items to be dropped
@@ -3981,9 +3984,9 @@ public class PlayerInstance extends Playable
}
/**
- * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions :
- *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
- *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution : This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
+ * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions:
+ *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
+ *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution: This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
*/
@Override
public void broadcastStatusUpdate(Creature caster)
@@ -4050,11 +4053,11 @@ public class PlayerInstance extends Playable
}
/**
- * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept : Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
- * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions :
+ * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept: Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
+ * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions:
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
- *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as
- * MaxHP, STR, DEX...
+ *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP,
+ * STR, DEX...
*/
public void broadcastUserInfo()
{
@@ -4208,10 +4211,10 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Interact Task with another PlayerInstance. Actions :
+ * Manage Interact Task with another PlayerInstance. Actions:
*
If the private store is a STORE_PRIVATE_SELL, send a Server->Client PrivateBuyListSell packet to the PlayerInstance
*
If the private store is a STORE_PRIVATE_BUY, send a Server->Client PrivateBuyListBuy packet to the PlayerInstance
- *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
+ *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
* @param target The Creature targeted
*/
public void doInteract(Creature target)
@@ -4260,7 +4263,7 @@ public class PlayerInstance extends Playable
*
Send a Server->Client packet InventoryUpdate to this player with NewItem (use a new slot) or ModifiedItem (increase amount).
*
Send a Server->Client packet StatusUpdate to this player with current weight.
*
- * Caution: If a party is in progress, distribute the items between the party members!
+ * Caution: If a party is in progress, distribute the items between the party members!
* @param target the NPC dropping the item
* @param itemId the item ID
* @param itemCount the item count
@@ -4292,13 +4295,13 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Pickup Task. Actions :
+ * Manage Pickup Task. Actions:
*
Send a Server->Client packet StopMove to this PlayerInstance
*
Remove the ItemInstance from the world and send server->client GetItem packets
*
Send a System Message to the PlayerInstance : YOU_PICKED_UP_S1_ADENA or YOU_PICKED_UP_S1_S2
*
Add the Item to the PlayerInstance inventory
*
Send a Server->Client packet InventoryUpdate to this PlayerInstance with NewItem (use a new slot) or ModifiedItem (increase amount)
- *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution : If a Party is in progress, distribute Items between party members
+ *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution: If a Party is in progress, distribute Items between party members
* @param object The ItemInstance to pick up
*/
@Override
@@ -4562,7 +4565,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set a target. Actions :
+ * Set a target. Actions:
*
*
Remove the PlayerInstance from the _statusListener of the old target if it was a Creature
*
Add the PlayerInstance to the _statusListener of the new target if it's a Creature
@@ -4654,7 +4657,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon instance (always equiped in the right hand).
+ * Return the active weapon instance (always equipped in the right hand).
*/
@Override
public ItemInstance getActiveWeaponInstance()
@@ -4663,7 +4666,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon item (always equiped in the right hand).
+ * Return the active weapon item (always equipped in the right hand).
*/
@Override
public Weapon getActiveWeaponItem()
@@ -4752,7 +4755,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary weapon instance (always equiped in the left hand).
+ * Return the secondary weapon instance (always equipped in the left hand).
*/
@Override
public ItemInstance getSecondaryWeaponInstance()
@@ -4761,8 +4764,8 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary Item item (always equiped in the left hand).
- * Arrows, Shield..
+ * Return the secondary Item item (always equipped in the left hand).
+ * Arrows, Shield..
*/
@Override
public Item getSecondaryWeaponItem()
@@ -4776,12 +4779,12 @@ public class PlayerInstance extends Playable
}
/**
- * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions :
+ * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions:
*
Reduce the Experience of the PlayerInstance in function of the calculated Death Penalty
*
If necessary, unsummon the Pet of the killed PlayerInstance
*
Manage Karma gain for attacker and Karam loss for the killed PlayerInstance
*
If the killed PlayerInstance has Karma, manage Drop Item
- *
Kill the PlayerInstance
+ *
Kill the PlayerInstance
* @param killer
*/
@Override
@@ -5253,12 +5256,13 @@ public class PlayerInstance extends Playable
}
/**
- * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
- * Actions :
+ * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
+ *
+ * Actions:
*
Calculate the Experience loss
*
Set the value of _expBeforeDeath
*
Set the new Experience value of the PlayerInstance and Decrease its level if necessary
- *
Send a Server->Client StatusUpdate packet with its new Experience
+ *
Send a Server->Client StatusUpdate packet with its new Experience
* @param killer
*/
public void calculateDeathExpPenalty(Creature killer)
@@ -5310,7 +5314,7 @@ public class PlayerInstance extends Playable
}
/**
- * Stop the HP/MP/CP Regeneration task. Actions :
+ * Stop the HP/MP/CP Regeneration task. Actions:
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
*/
@@ -5658,13 +5662,13 @@ public class PlayerInstance extends Playable
}
/**
- * Set the Private Store type of the PlayerInstance. Values :
+ * Set the Private Store type of the PlayerInstance. Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @param privateStoreType
*/
public void setPrivateStoreType(PrivateStoreType privateStoreType)
@@ -5677,13 +5681,13 @@ public class PlayerInstance extends Playable
}
/**
- * Values :
+ * Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @return the Private Store type of the PlayerInstance.
*/
public PrivateStoreType getPrivateStoreType()
@@ -6401,11 +6405,11 @@ public class PlayerInstance extends Playable
}
/**
- * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions :
+ * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions:
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
*
Set the x,y,z position of the PlayerInstance and make it invisible
- *
Update the overloaded status of the PlayerInstance
+ *
Update the overloaded status of the PlayerInstance
* @param objectId Identifier of the object to initialized
* @return The PlayerInstance loaded from the database
*/
@@ -7302,10 +7306,10 @@ public class PlayerInstance extends Playable
}
/**
- * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept : All skills own by a PlayerInstance are identified in _skills Actions :
+ * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept: All skills own by a PlayerInstance are identified in _skills Actions:
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
- *
Add Func objects of newSkill to the calculator set of the Creature
+ *
Add Func objects of newSkill to the calculator set of the Creature
* @param newSkill The Skill to add to the Creature
* @param store
* @return The Skill replaced or null if just added a new Skill
@@ -7336,10 +7340,10 @@ public class PlayerInstance extends Playable
}
/**
- * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept : All skills own by a Creature are identified in _skills Actions :
+ * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept: All skills own by a Creature are identified in _skills Actions:
*
Remove the skill from the Creature _skills
- *
Remove all its Func objects from the Creature calculator set
Overridden in :
- *
PlayerInstance : Save update in the character_skills table of the database
+ *
Remove all its Func objects from the Creature calculator set
Overridden in:
+ *
PlayerInstance : Save update in the character_skills table of the database
* @param skill The Skill to remove from the Creature
* @return The Skill removed
*/
@@ -8026,7 +8030,8 @@ public class PlayerInstance extends Playable
/**
* Return True if the PlayerInstance is autoAttackable.
- * Actions:
+ *
+ * Actions:
*
*
Check if the attacker isn't the PlayerInstance Pet
*
Check if the attacker is MonsterInstance
@@ -8188,7 +8193,8 @@ public class PlayerInstance extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the skill isn't toggle and is offensive
*
Check if the target is in the skill cast range
@@ -8539,15 +8545,18 @@ public class PlayerInstance extends Playable
/**
* Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers.
- * Concept:
- * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
* In order to inform other players of this PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet
- * Actions:
+ *
+ * Actions:
*
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
*
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
*
- * Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
+ * Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
*/
@Override
public void updateAbnormalVisualEffects()
@@ -9370,7 +9379,7 @@ public class PlayerInstance extends Playable
}
/**
- * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
+ * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
* 2. This method no longer changes the active _classIndex of the player. This is only done by the calling of setActiveClass() method as that should be the only way to do so.
* @param classId
* @param classIndex
@@ -10541,7 +10550,8 @@ public class PlayerInstance extends Playable
/**
* Manage the delete task of a PlayerInstance (Leave Party, Unsummon pet, Save its inventory in the database, Remove it from the world...).
- * Actions:
+ *
+ * Actions:
*
*
If the PlayerInstance is in observer mode, set its position to its position before entering in observer mode
*
Set the online Flag to True or False and update the characters table of the database with online status and lastAccess
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
index d58c4a2344..1538e27eb0 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
@@ -31,7 +31,8 @@ public class RaidBossInstance extends MonsterInstance
/**
* Constructor of RaidBossInstance (use Creature and NpcInstance constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the RaidBossInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the RaidBossInstance
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
index 0746dde009..e66a7d8d7f 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
@@ -152,7 +152,8 @@ public class StaticObjectInstance extends Creature
/**
* Set the meshIndex of the object.
- * Values :
+ *
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
@@ -166,7 +167,7 @@ public class StaticObjectInstance extends Creature
}
/**
- * Values :
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
index b8258c55cc..1eb09ebcb7 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
@@ -265,7 +265,8 @@ public class CreatureStat
/**
* Return the MAtk (base+modifier) of the Creature.
- * Example of use: Calculate Magic damage
+ *
+ * Example of use: Calculate Magic damage
* @return
*/
public int getMAtk()
@@ -290,7 +291,7 @@ public class CreatureStat
}
/**
- * Example of use : Calculate Magic damage.
+ * Example of use : Calculate Magic damage.
* @return the MDef (base+modifier) of the Creature against a skill in function of abnormal effects in progress.
*/
public int getMDef()
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
index a34f446f36..ecb6ca7cf2 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
@@ -57,11 +57,14 @@ public class CreatureStatus
/**
* Add the object to the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use:
+ *
+ * Example of use:
*
*
Target a PC or NPC
*
@@ -79,11 +82,14 @@ public class CreatureStatus
/**
* Remove the object from the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use :
+ *
+ * Example of use :
*
*
Untarget a PC or NPC
*
@@ -96,8 +102,10 @@ public class CreatureStatus
/**
* Return the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
* @return The list of Creature to inform or null if empty
@@ -188,7 +196,8 @@ public class CreatureStatus
/**
* Start the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Calculate the regen task period
*
Launch the HP/MP/CP Regeneration task with Medium priority
@@ -208,7 +217,8 @@ public class CreatureStatus
/**
* Stop the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/base/SubClass.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/base/SubClass.java
index 6e1b4abe48..8e382665f8 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/base/SubClass.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/base/SubClass.java
@@ -20,7 +20,7 @@ import org.l2jmobius.Config;
import org.l2jmobius.gameserver.data.xml.impl.ExperienceData;
/**
- * Character Sub-Class Definition
+ * Character Sub-Class Definition
* Used to store key information about a character's sub-class.
* @author Tempy
*/
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
index ee74925752..a54baee819 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
@@ -62,7 +62,7 @@ public abstract class AbstractEffect
/**
* Calculates whether this effects land or not.
* If it lands will be scheduled and added to the character effect list.
- * Override in effect implementation to change behavior.
+ * Override in effect implementation to change behavior.
* Warning: Must be used only for instant effects continuous effects will not call this they have their success handled by activate_rate.
* @param effector
* @param effected
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/entity/Castle.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/entity/Castle.java
index 84bd945a23..c67b32e5be 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/entity/Castle.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/entity/Castle.java
@@ -616,8 +616,7 @@ public class Castle extends AbstractResidence
}
/**
- * Respawn all doors on castle grounds
- *
+ * Respawn all doors on castle grounds
* @param isDoorWeak
*/
public void spawnDoor(boolean isDoorWeak)
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/entity/Fort.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/entity/Fort.java
index 755bee3310..667c694f50 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/entity/Fort.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/entity/Fort.java
@@ -273,8 +273,7 @@ public class Fort extends AbstractResidence
}
/**
- * Move non clan members off fort area and to nearest town.
- *
+ * Move non clan members off fort area and to nearest town.
*/
public void banishForeigners()
{
@@ -516,8 +515,7 @@ public class Fort extends AbstractResidence
}
/**
- * Respawn all doors on fort grounds
- *
+ * Respawn all doors on fort grounds.
*/
public void resetDoors()
{
@@ -976,11 +974,10 @@ public class Fort extends AbstractResidence
}
/**
- * @return Returns state of fortress.
- *
- * 0 - not decided yet
- * 1 - independent
- * 2 - contracted with castle
+ * @return Returns state of fortress.
+ * 0 - not decided yet
+ * 1 - independent
+ * 2 - contracted with castle
*/
public int getFortState()
{
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/entity/FortSiege.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
index fe98f73d82..d4e5ae83b5 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
@@ -703,14 +703,14 @@ public class FortSiege implements Siegable
}
/**
- * Register clan as attacker.
+ * Register clan as attacker.
* @param player The PlayerInstance of the player trying to register.
* @param checkConditions True if should be checked conditions, false otherwise
- * @return Number that defines what happened.
- * 0 - Player don't have clan.
- * 1 - Player don't have enough adena to register.
- * 2 - Is not right time to register Fortress now.
- * 3 - Players clan is already registered to siege.
+ * @return Number that defines what happened.
+ * 0 - Player don't have clan.
+ * 1 - Player don't have enough adena to register.
+ * 2 - Is not right time to register Fortress now.
+ * 3 - Players clan is already registered to siege.
* 4 - Players clan is successfully registered to siege.
*/
public int addAttacker(PlayerInstance player, boolean checkConditions)
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/entity/Hero.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/entity/Hero.java
index 49b405d179..8c9bbb0bc0 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/entity/Hero.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/entity/Hero.java
@@ -866,7 +866,7 @@ public class Hero
}
/**
- * Saving task for {@link Hero}
+ * Saving task for {@link Hero}
* Save all hero messages to DB.
*/
public void shutdown()
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/entity/Siege.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/entity/Siege.java
index 0bcd190ec1..f714cb5ce1 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/entity/Siege.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/entity/Siege.java
@@ -383,8 +383,7 @@ public class Siege implements Siegable
}
/**
- * When control of castle changed during siege
- *
+ * When control of castle changed during siege.
*/
public void midVictory()
{
@@ -470,8 +469,7 @@ public class Siege implements Siegable
}
/**
- * When siege starts
- *
+ * When siege starts.
*/
@Override
public void startSiege()
@@ -529,8 +527,7 @@ public class Siege implements Siegable
}
/**
- * Announce to player.
- *
+ * Announce to player.
* @param message The SystemMessage to send to player
* @param bothSides True - broadcast to both attackers and defenders. False - only to defenders.
*/
@@ -682,8 +679,7 @@ public class Siege implements Siegable
}
/**
- * Approve clan as defender for siege
- *
+ * Approve clan as defender for siege
* @param clanId The int of player's clan id
*/
public void approveSiegeDefenderClan(int clanId)
@@ -717,8 +713,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is attacker
- *
+ * Return true if clan is attacker
* @param clan The Clan of the player
*/
@Override
@@ -728,8 +723,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is defender
- *
+ * Return true if clan is defender
* @param clan The Clan of the player
*/
@Override
@@ -866,8 +860,7 @@ public class Siege implements Siegable
}
/**
- * Register clan as attacker
- *
+ * Register clan as attacker
* @param player The PlayerInstance of the player trying to register
*/
public void registerAttacker(PlayerInstance player)
@@ -948,8 +941,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clanId The int of player's clan id
*/
public void removeSiegeClan(int clanId)
@@ -975,8 +967,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clan clan being removed
*/
public void removeSiegeClan(Clan clan)
@@ -989,8 +980,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param player The PlayerInstance of player/clan being removed
*/
public void removeSiegeClan(PlayerInstance player)
@@ -999,8 +989,7 @@ public class Siege implements Siegable
}
/**
- * Start the auto tasks
- *
+ * Start the auto tasks.
*/
public void startAutoTask()
{
@@ -1073,8 +1062,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as attacker
- *
+ * Add clan as attacker
* @param clanId The int of clan's id
*/
private void addAttacker(int clanId)
@@ -1083,8 +1071,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender
- *
+ * Add clan as defender
* @param clanId The int of clan's id
*/
private void addDefender(int clanId)
@@ -1105,8 +1092,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender waiting approval
- *
+ * Add clan as defender waiting approval
* @param clanId The int of clan's id
*/
private void addDefenderWaiting(int clanId)
@@ -1198,8 +1184,7 @@ public class Siege implements Siegable
}
/**
- * Return the correct siege date as Calendar.
- *
+ * Return the correct siege date as Calendar.
*/
public void correctSiegeDateTime()
{
@@ -1348,8 +1333,7 @@ public class Siege implements Siegable
}
/**
- * Save registration to database.
- *
+ * Save registration to database.
* @param clan The Clan of player
* @param typeId -1 = owner 0 = defender, 1 = attacker, 2 = defender waiting
* @param isUpdateRegistration
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/events/AbstractScript.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
index 6369448951..6c02d5efb1 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
@@ -2993,7 +2993,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param array of values.
* @return one value from array.
@@ -3009,7 +3009,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param list of values.
* @return one value from list.
@@ -3024,7 +3024,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param array of Integers.
* @return one Integer from array.
*/
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
index 0da0f1ff20..a4335762c0 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
@@ -53,7 +53,7 @@ public class PlayerSkillHolder implements ISkillsHolder
}
/**
- * Add a skill to the skills map.
+ * Add a skill to the skills map.
* @param skill
*/
@Override
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/instancezone/Instance.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
index 6603cc529b..6fdb98f39a 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
@@ -329,7 +329,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Get player by ID from instance.
+ * Get player by ID from instance.
* @param id objectId of player
* @return first player by ID, otherwise {@code null}
*/
@@ -803,7 +803,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Set reenter penalty for players associated with current instance.
+ * Set reenter penalty for players associated with current instance.
* @param time penalty time in milliseconds since January 1, 1970
*/
public void setReenterTime(long time)
@@ -860,8 +860,7 @@ public class Instance implements IIdentifiable, INamable
/**
* Set instance world to finish state.
- * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
- * See {@link Instance#finishInstance(int)} for more details.
+ * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
*/
public void finishInstance()
{
@@ -1016,7 +1015,7 @@ public class Instance implements IIdentifiable, INamable
// Template methods
// ----------------------------------------------
/**
- * Get parameters from instance template.
+ * Get parameters from instance template.
* @return template parameters
*/
public StatSet getTemplateParameters()
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
index 1fc7115c27..b43c4244d3 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
@@ -931,7 +931,7 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Drop item from inventory by using its objectID and updates database
+ * Drop item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
@@ -1227,7 +1227,7 @@ public abstract class Inventory extends ItemContainer
/**
* Equips an item in the given slot of the paperdoll.
- * Remark : The item must be in the inventory already.
+ * Remark : The item must be in the inventory already.
* @param slot : int pointing out the slot of the paperdoll
* @param item : ItemInstance pointing out the item to add in slot
* @return ItemInstance designating the item placed in the slot before
@@ -1441,8 +1441,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in body slot and returns alterations.
- * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(long)} instead
+ * Unequips item in body slot and returns alterations.
+ * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(long)} instead
* @param slot : int designating the slot of the paperdoll
* @return ItemInstance[] : list of changes
*/
@@ -1472,8 +1472,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in slot and returns alterations
- * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
+ * Unequips item in slot and returns alterations
+ * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
* @param slot : int designating the slot
* @return ItemInstance[] : list of items altered
*/
@@ -1622,8 +1622,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Equips item and returns list of alterations
- * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
+ * Equips item and returns list of alterations
+ * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
* @param item : ItemInstance corresponding to the item
* @return ItemInstance[] : list of alterations
*/
@@ -2203,8 +2203,9 @@ public abstract class Inventory extends ItemContainer
/**
* Reduce the arrow number of the Creature.
- * Overridden in :
- *
PlayerInstance
+ *
+ * Overridden in:
+ *
PlayerInstance
* @param type
*/
public void reduceArrowCount(EtcItemType type)
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
index 2847ecdcd5..2e5f90dcee 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
@@ -530,7 +530,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its objectID and updates database
+ * Destroy item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -545,7 +545,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its itemId and updates database
+ * Destroy item from inventory by using its itemId and updates database
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
index 0a9e6cc66d..5d3bed530d 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
@@ -113,7 +113,7 @@ public class PetInventory extends Inventory
public void restore()
{
super.restore();
- // check for equiped items from other pets
+ // check for equipped items from other pets
for (ItemInstance item : _items.values())
{
if (item.isEquipped() && !item.getItem().checkCondition(_owner, _owner, false))
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
index ccf7bbc0d6..dd03785a1a 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
@@ -586,7 +586,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
+ * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -632,7 +632,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
+ * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/items/Item.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/items/Item.java
index 08f203abf7..fa2fc63e0c 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/items/Item.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/items/Item.java
@@ -58,7 +58,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
/**
- * This class contains all informations concerning the item (weapon, armor, etc).
+ * This class contains all informations concerning the item (weapon, armor, etc).
* Mother class of :
*
*
Armor
@@ -174,8 +174,7 @@ public abstract class Item extends ListenersContainer implements IIdentifiable
private boolean _isBlessed;
/**
- * Constructor of the Item that fill class variables.
- *
+ * Constructor of the Item that fill class variables.
* @param set : StatSet corresponding to a set of couples (key,value) for description of the item
*/
protected Item(StatSet set)
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
index ffea6dc3ea..bf2b368ddb 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.items.type.CrystalType;
import org.l2jmobius.gameserver.model.items.type.ItemType;
/**
- * This class contains ItemInstance
+ * This class contains ItemInstance
* Use to sort ItemInstance of :
*
*
Armor
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
index c1c4b0bf16..1f7b469358 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
@@ -263,19 +263,15 @@ public class ItemInstance extends WorldObject
}
/**
- * Remove a ItemInstance from the world and send server->client GetItem packets.
- *
- * Actions :
- *
+ * Remove a ItemInstance from the world and send server->client GetItem packets.
+ *
+ * Actions:
*
Send a Server->Client Packet GetItem to player that pick up and its _knowPlayers member
- *
Remove the WorldObject from the world
- *
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- *
- * Example of use :
- *
- *
Do Pickup Item : PCInstance and Pet
- *
+ *
Remove the WorldObject from the world
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ *
+ * Example of use:
+ *
Do Pickup Item : PCInstance and Pet
* @param creature Character that pick up the item
*/
public void pickupMe(Creature creature)
@@ -406,9 +402,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the location of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the location of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param loc : ItemLocation (enumeration)
* @param locData : int designating the slot where the item is stored or the village for freights
*/
@@ -437,8 +432,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
+ * Sets the quantity of the item.
* @param count the new count to set
*/
public void setCount(long count)
@@ -461,9 +455,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the quantity of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param process : String Identifier of process triggering this action
* @param count : int
* @param creator : PlayerInstance Player requesting the item creation
@@ -1469,7 +1462,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
*/
public void updateDatabase()
{
@@ -1477,7 +1470,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
* @param force if the update should necessarilly be done.
*/
public void updateDatabase(boolean force)
@@ -1513,20 +1506,17 @@ public class ItemInstance extends WorldObject
}
/**
- * Init a dropped ItemInstance and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a dropped ItemInstance and add it in the world as a visible object.
+ *
+ * Actions:
*
Set the x,y,z position of the ItemInstance dropped and update its _worldregion
*
Add the ItemInstance dropped to _visibleObjects of its WorldRegion
- *
Add the ItemInstance dropped in the world as a visible object
- *
- * Caution : This method DOESN'T ADD the object to _allObjects of World
- *
- * Example of use :
- *
+ *
Add the ItemInstance dropped in the world as a visible object
+ * Caution: This method DOESN'T ADD the object to _allObjects of World
+ *
+ * Example of use:
*
Drop item
- *
Call Pet
+ *
Call Pet
*/
public class ItemDropTask implements Runnable
{
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/quest/Quest.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/quest/Quest.java
index a74f5a2a86..c399ac294d 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/quest/Quest.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/quest/Quest.java
@@ -982,7 +982,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever a player attacks an NPC that is registered for the quest.
- * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
+ * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
* @param npc this parameter contains a reference to the exact instance of the NPC that got attacked.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked the NPC.
* @param damage this parameter represents the total damage that this attack has inflicted to the NPC.
@@ -1119,7 +1119,7 @@ public class Quest extends AbstractScript implements IIdentifiable
* The coder of the script may need to create a new quest state (if necessary).
* Note 3:
* The returned value of onFirstTalk replaces the default HTML that would have otherwise been loaded from a sub-folder of DatapackRoot/game/data/html/.
- * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
+ * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
* @param npc this parameter contains a reference to the exact instance of the NPC that the player is talking with.
* @param player this parameter contains a reference to the exact instance of the player who is talking to the NPC.
* @return the text returned by the event (may be {@code null}, a filename or just text)
@@ -1246,7 +1246,7 @@ public class Quest extends AbstractScript implements IIdentifiable
}
/**
- * This function is called whenever an NPC is teleport.
+ * This function is called whenever an NPC is teleport.
* @param npc this parameter contains a reference to the exact instance of the NPC who just teleport.
*/
protected void onTeleport(Npc npc)
@@ -1256,7 +1256,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever an NPC is called by another NPC in the same faction.
* @param npc this parameter contains a reference to the exact instance of the NPC who is being asked for help.
- * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
+ * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked.
* @param isSummon this parameter if it's {@code false} it denotes that the attacker was indeed the player, else it specifies that the attacker was the player's summon.
* @return
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
index b527d15bb8..f4662c2b87 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
@@ -695,7 +695,7 @@ public class SkillCaster implements Runnable
}
/**
- * Stops this casting and cleans all cast parameters.
+ * Stops this casting and cleans all cast parameters.
* @param aborted if {@code true}, server will send packets to the player, notifying him that the skill has been aborted.
*/
public void stopCasting(boolean aborted)
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/stats/Formulas.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/stats/Formulas.java
index 234ae3e729..62a2310ef5 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/stats/Formulas.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/stats/Formulas.java
@@ -550,7 +550,7 @@ public class Formulas
* Returns:
* 0 = shield defense doesn't succeed
* 1 = shield defense succeed
- * 2 = perfect block
+ * 2 = perfect block
* @param attacker
* @param target
* @param sendSysMsg
@@ -655,7 +655,7 @@ public class Formulas
}
/**
- * Calculates the effect landing success.
+ * Calculates the effect landing success.
* @param attacker the attacker
* @param target the target
* @param skill the skill
@@ -963,9 +963,9 @@ public class Formulas
}
/**
- * Calculates the attribute bonus with the following formula:
- * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
- * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
+ * Calculates the attribute bonus with the following formula:
+ * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
+ * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
* diff == 0, so AttBonus = 1
* It has been tested that physical skills do get affected by attack attribute even
* if they don't have any attribute. In that case only the biggest attack attribute is taken.
@@ -1207,7 +1207,7 @@ public class Formulas
* Confuse
* Compelling,
* Knockback
- * Pull
+ * Pull
* @param baseChance chance from effect parameter
* @param attacker
* @param target
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
index 2988807295..c621fab8f6 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
* A Function object is a component of a Calculator created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...).
* In fact, each calculator is a table of functions object in which each function represents a mathematics function:
* FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
+ * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
* Indeed, functions with lowest priority order is executed first and functions with the same order are executed in unspecified order.
* @author Zoey76
*/
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
index 1cb8bc9d02..d898d2c397 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
@@ -71,7 +71,7 @@ public class TaxZone extends ZoneType
}
/**
- * Gets castle associated with tax zone.
+ * Gets castle associated with tax zone.
* @return instance of {@link Castle} if found otherwise {@code null}
*/
public Castle getCastle()
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
index ca7f8d6d99..dee0ea769d 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
@@ -55,8 +55,8 @@ public class BlowFishKeygen
}
/**
- * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
- * Thus when getting a key with interests other then read-only a copy must be performed.
+ * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
+ * Thus when getting a key with interests other then read-only a copy must be performed.
* @return A key from this keygen pool.
*/
public static byte[] getRandomKey()
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
index 27ec0d5463..93c68717e6 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
@@ -546,7 +546,7 @@ public class RequestAcquireSkill implements IClientIncomingPacket
/**
* Perform a simple check for current player and skill.
* Takes the needed SP if the skill require it and all requirements are meet.
- * Consume required items if the skill require it and all requirements are meet.
+ * Consume required items if the skill require it and all requirements are meet.
* @param player the skill learning player.
* @param trainer the skills teaching Npc.
* @param skillLearn the skill to be learn.
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
index e87e99057f..72f5e507d2 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
@@ -96,7 +96,7 @@ public class RequestDestroyItem implements IClientIncomingPacket
// if we can't find the requested item, its actually a cheat
if (itemToRemove == null)
{
- // gm can destroy other player items
+ // GM can destroy other player items
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
index 183ca83e49..1df78a5548 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
@@ -49,7 +49,7 @@ public class RequestGMCommand implements IClientIncomingPacket
@Override
public void run(GameClient client)
{
- // prevent non gm or low level GMs from vieweing player stuff
+ // prevent non GM or low level GMs from vieweing player stuff
if (!client.getPlayer().isGM() || !client.getPlayer().getAccessLevel().allowAltG())
{
return;
@@ -99,7 +99,7 @@ public class RequestGMCommand implements IClientIncomingPacket
}
case 6: // player warehouse
{
- // gm warehouse view to be implemented
+ // GM warehouse view to be implemented
if (player != null)
{
client.sendPacket(new GMViewWarehouseWithdrawList(1, player));
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
index d0ed7609e7..3ad8990649 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
@@ -90,7 +90,7 @@ public class UseItem implements IClientIncomingPacket
final ItemInstance item = player.getInventory().getItemByObjectId(_objectId);
if (item == null)
{
- // gm can use other player item
+ // GM can use other player item
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
index d19f06f141..f4f0c5ca81 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.network.OutgoingPackets;
import org.l2jmobius.gameserver.network.clientpackets.RequestAllyInfo;
/**
- * Sent in response to {@link RequestAllyInfo}, if applicable.
+ * Sent in response to {@link RequestAllyInfo}, if applicable.
* @author afk5min
*/
public class AllianceInfo implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
index 80a7042463..1fd7ec663a 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
@@ -20,9 +20,9 @@ import org.l2jmobius.commons.network.PacketWriter;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Eva's Inferno event packet. info params:
- * type (1 - %, 2 - npcId),
- * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
+ * Eva's Inferno event packet. info params:
+ * type (1 - %, 2 - npcId),
+ * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
* state (0-1), endtime (only when type 2)
*/
public class ExBrBuffEventState implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
index 6584f4c34f..d2c94dbddc 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
@@ -119,7 +119,7 @@ public interface IClientOutgoingPacket extends IOutgoingPacket
}
/**
- * Sends this packet to the target player, useful for lambda operations like
+ * Sends this packet to the target player, useful for lambda operations like
* {@code World.getInstance().getPlayers().forEach(packet::sendTo)}
* @param player
*/
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
index 1a0c26e078..7fd8a52be7 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
@@ -24,25 +24,25 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Attacker List in the SiegeInfo Window
- *
- * c = ca
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Attackers Clans?
- * d = Number of Attackers Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Attacker List in the SiegeInfo Window
+ *
+ * c = ca
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Attackers Clans?
+ * d = Number of Attackers Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeAttackerList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
index 7066b92fa1..52e10be7c6 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
@@ -25,26 +25,26 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Defender List in the SiegeInfo Window
- *
- * c = 0xcb
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Defending Clans?
- * d = Number of Defending Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Defender List in the SiegeInfo Window
+ *
+ * c = 0xcb
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Defending Clans?
+ * d = Number of Defending Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeDefenderList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
index 355cea9565..6c647eec90 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
@@ -27,18 +27,18 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Shows the Siege Info
- *
- * c = c9
- * d = CastleID
- * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
- * d = Owner ClanID
- * S = Owner ClanName
- * S = Owner Clan LeaderName
- * d = Owner AllyID
- * S = Owner AllyName
- * d = current time (seconds)
- * d = Siege time (seconds) (0 for selectable)
+ * Shows the Siege Info
+ *
+ * c = c9
+ * d = CastleID
+ * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
+ * d = Owner ClanID
+ * S = Owner ClanName
+ * S = Owner Clan LeaderName
+ * d = Owner AllyID
+ * S = Owner AllyName
+ * d = current time (seconds)
+ * d = Siege time (seconds) (0 for selectable)
* d = (UNKNOW) Siege Time Select Related?
* @author KenM
*/
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/scripting/ManagedScript.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
index f2b91791ab..00235baa25 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
@@ -21,7 +21,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
/**
- * Abstract class for classes that are meant to be implemented by scripts.
+ * Abstract class for classes that are meant to be implemented by scripts.
* @author KenM
*/
public abstract class ManagedScript
@@ -41,7 +41,7 @@ public abstract class ManagedScript
public abstract Path getScriptPath();
/**
- * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
+ * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
* Subclasses of this class should override this method to properly refresh their bindings when necessary.
* @return true if and only if the script was reloaded, false otherwise.
*/
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
index 34ba313686..620f020f4e 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
@@ -77,7 +77,7 @@ public class AttackStanceTaskManager
}
/**
- * Checks for attack stance task.
+ * Checks for attack stance task.
* @param actor the actor
* @return {@code true} if the character has an attack stance task, {@code false} otherwise
*/
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/ui/frmAbout.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/ui/frmAbout.java
index a3e5c2cc67..4d161afb73 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/ui/frmAbout.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/ui/frmAbout.java
@@ -83,7 +83,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblProtocols);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 128, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/util/Broadcast.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/util/Broadcast.java
index e0d798deff..5a7eb1a4df 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/util/Broadcast.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/util/Broadcast.java
@@ -40,11 +40,13 @@ public class Broadcast
private static final Logger LOGGER = Logger.getLogger(Broadcast.class.getName());
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -60,11 +62,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -108,11 +112,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
* @param radius
@@ -128,10 +134,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param creature
* @param mov
*/
@@ -162,10 +170,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance present in the world.
- * Concept :
- * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance present in the world.
+ *
+ * Concept:
+ *
+ * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param packet
*/
public static void toAllOnlinePlayers(IClientOutgoingPacket packet)
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/util/MinionList.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/util/MinionList.java
index 29a8c04c1e..9a6f694eaa 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/util/MinionList.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/util/MinionList.java
@@ -58,13 +58,11 @@ public class MinionList
}
/**
- * Manage the spawn of Minions.
- *
- * Actions :
- *
+ * Manage the spawn of Minions.
+ *
+ * Actions:
*
Get the Minion data of all Minions that must be spawn
- *
For each Minion type, spawn the amount of Minion needed
- *
+ *
For each Minion type, spawn the amount of Minion needed
* @param minions
*/
public void spawnMinions(List minions)
@@ -260,16 +258,14 @@ public class MinionList
}
/**
- * Init a Minion and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a Minion and add it in the world as a visible object.
+ *
+ * Actions:
*
Get the template of the Minion to spawn
*
Create and Init the Minion and generate its Identifier
*
Set the Minion HP, MP and Heading
*
Set the Minion leader to this RaidBoss
- *
Init the position of the Minion and add it in the world as a visible object
- *
+ *
Init the position of the Minion and add it in the world as a visible object
* @param master MonsterInstance used as master for this minion
* @param minionId The NpcTemplate Identifier of the Minion to spawn
* @return
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/util/PrimeFinder.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/util/PrimeFinder.java
index c9532000c8..20016811a1 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/util/PrimeFinder.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/util/PrimeFinder.java
@@ -33,7 +33,7 @@ import java.util.Arrays;
public class PrimeFinder
{
/**
- * The largest prime this class can generate; currently equal to Integer.MAX_VALUE.
+ * The largest prime this class can generate; currently equal to Integer.MAX_VALUE
*/
public static final int LARGEST_PRIME = Integer.MAX_VALUE; // yes, it is prime.
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
index 2e46e0a048..0a81e323a3 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
@@ -67,8 +67,7 @@ public class TimeAmountInterpreter
}
/**
- * Appends an user-friendly description of the given amount of time to the specified text builder.
- *
+ * Appends an user-friendly description of the given amount of time to the specified text builder.
* Please keep in mind, that this method is primarily designed to be used with heap text builders. Therefore, if the given text builder throws an {@link IOException}, this exception will be wrapped in a {@link RuntimeException} and returned to the caller as an unchecked exception.
* @param
* @param textBuilder a character sequence builder
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/loginserver/ui/frmAbout.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/loginserver/ui/frmAbout.java
index 8488868090..06a5d95539 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/loginserver/ui/frmAbout.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/loginserver/ui/frmAbout.java
@@ -75,7 +75,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblLoginServer);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 148, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/ai/bosses/LimitBarrier.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/ai/bosses/LimitBarrier.java
index 98594308bf..b5aea3e708 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/ai/bosses/LimitBarrier.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/ai/bosses/LimitBarrier.java
@@ -38,7 +38,7 @@ import ai.AbstractNpcAI;
* OK - Epic Bosses Orfen, Queen Ant and Core also use Limit Barrier.
* OK - Epic Bosses Antharas, Zaken and Baium and their analogues in instance zones do not use Limit Barrier.
* OK - Raid Bosses in Clan Arena do not use Limit Barrier.
- * OK - All Raid Bosses who use Limit Barrier are listed below:
+ * OK - All Raid Bosses who use Limit Barrier are listed below:
*/
public final class LimitBarrier extends AbstractNpcAI
{
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/custom/listeners/ListenerTest.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/custom/listeners/ListenerTest.java
index 0f855db33f..ed9d1c76f4 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/custom/listeners/ListenerTest.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/custom/listeners/ListenerTest.java
@@ -114,7 +114,7 @@ public class ListenerTest extends AbstractNpcAI
}
/**
- * Prioritized event notification
+ * Prioritized event notification
* This method will be invoked as soon as creature from level range between 1 and 10 dies.
* This listener is registered into individual npcs container.
* @param event
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
index 4185463b7a..a20f09c9cd 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
@@ -26,18 +26,15 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
public class ArtefactInstanceAction implements IActionHandler
{
/**
- * Manage actions when a player click on the ArtefactInstance.
- *
- * Actions :
- *
+ * Manage actions when a player click on the ArtefactInstance.
+ *
+ * Actions:
*
Set the NpcInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
- *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
*/
@Override
public boolean action(PlayerInstance player, WorldObject target, boolean interact)
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
index bb73cd0bae..1f204280f0 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
@@ -36,27 +36,22 @@ import org.l2jmobius.gameserver.network.serverpackets.MoveToPawn;
public class NpcAction implements IActionHandler
{
/**
- * Manage actions when a player click on the Npc.
- *
- * Actions on first click on the Npc (Select it) :
- *
+ * Manage actions when a player click on the Npc.
+ *
+ * Actions on first click on the Npc (Select it):
*
Set the Npc as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, send a Server->Client packet StatusUpdate to the PlayerInstance in order to update Npc HP bar
- *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
- *
- * Actions on second click on the Npc (Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
+ *
+ * Actions on second click on the Npc (Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, notify the PlayerInstance AI with AI_INTENTION_ATTACK (after a height verification)
- *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
- *
- * Caution : Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
+ * Caution: Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The PlayerInstance that start an action on the Npc
*/
@Override
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
index 28aa39ab39..d52da54398 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
@@ -31,25 +31,20 @@ public class PlayerInstanceAction implements IActionHandler
private static final int CURSED_WEAPON_VICTIM_MIN_LEVEL = 21;
/**
- * Manage actions when a player click on this PlayerInstance.
- *
- * Actions on first click on the PlayerInstance (Select it) :
- *
+ * Manage actions when a player click on this PlayerInstance.
+ *
+ * Actions on first click on the PlayerInstance (Select it):
*
Set the target of the player
- *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
- *
- * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
+ *
+ * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the player (display the select window)
*
If target PlayerInstance has a Private Store, notify the player AI with AI_INTENTION_INTERACT
- *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
- *
- *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
+ *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The player that start an action on target PlayerInstance
*/
@Override
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
index 20a4e8f57c..6da5c01385 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
@@ -29,7 +29,7 @@ public class PlayerInstanceActionShift implements IActionShiftHandler
{
if (player.isGM())
{
- // Check if the gm already target this l2pcinstance
+ // Check if the GM already target this l2pcinstance
if (player.getTarget() != target)
{
// Set the target of the PlayerInstance player
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
index ea73fa17a1..1aa5e5074a 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
@@ -86,13 +86,13 @@ public class AdminAdmin implements IAdminCommandHandler
else if (command.startsWith("admin_gmliston"))
{
AdminData.getInstance().showGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Registered into gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Registered into GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_gmlistoff"))
{
AdminData.getInstance().hideGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Removed from gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Removed from GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_silence"))
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
index 2efc2df69a..3fed3db486 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
@@ -486,7 +486,7 @@ public class AdminEventEngine implements IAdminCommandHandler
sb.append("
");
sb.append("
");
sb.append("
");
- sb.append("
");
+ sb.append("
");
sb.append("Teams' names:
");
for (int i = 1; (i - 1) < teamnumbers; i++) // Team names params
{
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
index 5e3fc05aa9..91259505bf 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
@@ -31,7 +31,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
/**
- * This class handles following admin commands: - gm = turns gm mode on/off
+ * This class handles following admin commands: - GM = turns GM mode on/off
* @version $Revision: 1.1.2.1 $ $Date: 2005/03/15 21:32:48 $
*/
public class AdminFightCalculator implements IAdminCommandHandler
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
index a32a84dd35..e9acb6a1f6 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles following admin commands: - gm = turns gm mode off
+ * This class handles following admin commands: - GM = turns GM mode off
* @version $Revision: 1.2.4.4 $ $Date: 2005/04/11 10:06:06 $
*/
public class AdminGm implements IAdminCommandHandler
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
index 364bba90a9..f0b2f857a4 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles commands for gm to forge packets
+ * This class handles commands for GM to forge packets
* @author Maktakien, HorridoJoho
*/
public class AdminPForge implements IAdminCommandHandler
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
index 9dd195001c..b5e732f3f7 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
@@ -30,14 +30,14 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * Pledge Manipulation:
- *
With target in a character without clan:
+ * Pledge Manipulation:
+ *
With target in a character without clan:
* //pledge create clanname
- *
With target in a clan leader:
- * //pledge info
- * //pledge dismiss
- * //pledge setlevel level
- * //pledge rep reputation_points
+ *
With target in a clan leader:
+ * //pledge info
+ * //pledge dismiss
+ * //pledge setlevel level
+ * //pledge rep reputation_points
*/
public class AdminPledge implements IAdminCommandHandler
{
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
index fb1eed2f9f..9be9eb040d 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
@@ -78,8 +78,9 @@ public class QuestLink implements IBypassHandler
/**
* Open a choose quest window on client with all quests available of the NpcInstance.
+ *
* Actions:
- *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
+ *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
* @param player The PlayerInstance that talk with the NpcInstance
* @param npc The table containing quests of the NpcInstance
* @param quests
@@ -231,6 +232,7 @@ public class QuestLink implements IBypassHandler
/**
* Open a quest window on client with the text of the NpcInstance.
+ *
* Actions:
*
*
Get the text of the quest state in the folder data/scripts/quests/questId/stateId.htm
Fly Radius means the distance between starting point and final point, it must be an integer.
*
Fly Course means the movement direction: imagine a compass above player's head, making north player's heading. So if fly course is 180, player will go backwards (good for blink, e.g.).
*
- * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
+ * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
* If target is effector, put in XML self="1", this will make _actor = getEffector(). This, combined with target type, allows more complex actions like flying target's backwards or player's backwards.
* @author DrHouse
*/
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
index ca935396a6..e4e937ef41 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.network.serverpackets.ValidateLocation;
/**
* This Blink effect switches the location of the caster and the target.
- * This effect is totally done based on client description.
+ * This effect is totally done based on client description.
* Assume that geodata checks are done on the skill cast and not needed to repeat here.
* @author Nik
*/
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
index 0f1802d986..00474ef88a 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.effects.EffectFlag;
import org.l2jmobius.gameserver.model.effects.EffectType;
/**
- * An effect that blocks the player (NPC?) control.
+ * An effect that blocks the player (NPC?) control.
* It prevents moving, casting, social actions, etc.
* @author Nik
*/
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
index 6b463fd9d2..f94ecb0b46 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
@@ -21,7 +21,7 @@ import org.l2jmobius.gameserver.model.effects.AbstractEffect;
import org.l2jmobius.gameserver.model.effects.EffectFlag;
/**
- * Effect that blocks damage and heals to HP/MP.
+ * Effect that blocks damage and heals to HP/MP.
* Regeneration or DOT shouldn't be blocked, Vampiric Rage and Balance Life as well.
* @author Nik
*/
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
index 3d8985d1d8..0cc43483f5 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
/**
* An effect that changes damage taken from an attack.
- * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
+ * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
* Exceptions for this effect appears to be DOT effects and terrain damage, they are unaffected by this stat.
* As for example in retail this effect does reduce reflected damage taken (because it is received damage), as well as it does not decrease reflected damage done,
* because reflected damage is being calculated with the original attack damage and not this altered one.
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
index a4808a3312..5624fe4e60 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
@@ -34,10 +34,10 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
- * Current formulas were tested to be the best matching retail, damage appears to be identical:
- * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
- * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
+ * Physical Attack effect implementation.
+ * Current formulas were tested to be the best matching retail, damage appears to be identical:
+ * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
+ * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
* @author Nik
*/
public class PhysicalAttack extends AbstractEffect
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
index 332fa3fa4f..17f093e386 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
index 34e643a5b1..4f29f685f7 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
index e1c554d674..92d5fb7d96 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.zone.ZoneId;
/**
* Not Friend affect object implementation. Based on Gracia Final retail tests.
* Such are considered flagged/karma players (except party/clan/ally). Doesn't matter if in command channel.
- * In arena such are considered clan/ally/command channel (except party).
+ * In arena such are considered clan/ally/command channel (except party).
* In peace zone such are considered monsters.
* Monsters consider such all players, npcs (Citizens, Guild Masters, Merchants, Guards, etc. except monsters). Doesn't matter if in peace zone or arena.
* @author Nik
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/instances/AbstractInstance.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/instances/AbstractInstance.java
index 3395000e89..46d36c5da7 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/instances/AbstractInstance.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/instances/AbstractInstance.java
@@ -62,7 +62,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Get instance world associated with {@code player}.
+ * Get instance world associated with {@code player}.
* @param player player who wants get instance world
* @return instance world if found, otherwise null
*/
@@ -229,8 +229,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Sets instance to finish state.
- * See {@link Instance#finishInstance()} for more details.
+ * Sets instance to finish state.
* @param player player used for determine current instance world
*/
protected void finishInstance(PlayerInstance player)
@@ -244,7 +243,6 @@ public abstract class AbstractInstance extends AbstractNpcAI
/**
* Sets instance to finish state.
- * See {@link Instance#finishInstance(int)} for more details.
* @param player player used for determine current instance world
* @param delay finish delay in minutes
*/
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
index 93028744ee..aa8ac8f064 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
@@ -1232,8 +1232,7 @@ public class BlowfishEngine
/**
* Method to encrypt the block at the given index.
- * The encrypted block goes to the destination array at the given index.
- *
+ * The encrypted block goes to the destination array at the given index.
* @param src source array with the plain data
* @param srcIndex index where the block to encrypt is located
* @param dst destination array the encryption will go to
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/GameTimeController.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/GameTimeController.java
index 131fb28d3d..aa4d359090 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/GameTimeController.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/GameTimeController.java
@@ -118,10 +118,13 @@ public class GameTimeController extends Thread
}
/**
- * Move all Creatures contained in movingObjects of GameTimeController.
- * Concept :
- * All Creature in movement are identified in movingObjects of GameTimeController.
- * Actions :
+ * Move all Creatures contained in movingObjects of GameTimeController.
+ *
+ * Concept:
+ *
+ * All Creature in movement are identified in movingObjects of GameTimeController.
+ *
+ * Actions:
*
*
Update the position of each Creature
*
If movement is finished, the Creature is removed from movingObjects
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/LoginServerThread.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/LoginServerThread.java
index bafacc7045..39bf2b4f51 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/LoginServerThread.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/LoginServerThread.java
@@ -95,7 +95,6 @@ public class LoginServerThread extends Thread
* The BlowFish engine used to encrypt packets
* It is first initialized with a unified key:
* "_;v.]05-31!|+-%xT!^[$\00"
- *
* and then after handshake, with a new key sent by
* login server during the handshake. This new key is stored
* in blowfishKey
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/Shutdown.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/Shutdown.java
index 3dd56d3db8..e07ac52791 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/Shutdown.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/Shutdown.java
@@ -233,7 +233,7 @@ public class Shutdown extends Thread
}
else
{
- // gm shutdown: send warnings and then call exit to start shutdown sequence
+ // GM shutdown: send warnings and then call exit to start shutdown sequence
countdown();
// last point where logging is operational :(
LOGGER.warning("GM shutdown countdown is over. " + MODE_TEXT[_shutdownMode] + " NOW!");
@@ -543,7 +543,7 @@ public class Shutdown extends Thread
}
/**
- * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
+ * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
* @return instance of Shutdown, to be used as shutdown hook
*/
public static Shutdown getInstance()
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/ai/AbstractAI.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/ai/AbstractAI.java
index 95f441a5d6..c544548976 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/ai/AbstractAI.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/ai/AbstractAI.java
@@ -45,7 +45,7 @@ import org.l2jmobius.gameserver.taskmanager.AttackStanceTaskManager;
/**
* Mother class of all objects AI in the world.
- * AbastractAI :
+ * AbastractAI:
*
CreatureAI
*/
public abstract class AbstractAI implements Ctrl
@@ -126,10 +126,10 @@ public abstract class AbstractAI implements Ctrl
/**
* Set the Intention of this AbstractAI.
- * Caution : This method is USED by AI classes
- * Overridden in :
- * AttackableAI : Create an AI Task executed every 1s (if necessary)
- * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
+ * Caution: This method is USED by AI classes
+ * Overridden in:
+ * AttackableAI : Create an AI Task executed every 1s (if necessary)
+ * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -141,7 +141,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
*/
@Override
@@ -152,7 +152,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
* @param args The first parameters of the Intention (optional target)
*/
@@ -225,7 +225,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onEvt method corresponding to the Event.
- * Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
*/
@Override
@@ -235,7 +235,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
*/
@@ -246,7 +246,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
* @param arg1 The second parameter of the Event (optional target)
@@ -419,7 +419,7 @@ public abstract class AbstractAI implements Ctrl
protected abstract void onEvtFinishCasting();
/**
- * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution : Low level function, used by AI subclasses
+ * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution: Low level function, used by AI subclasses
*/
protected void clientActionFailed()
{
@@ -430,8 +430,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param pawn
* @param offset
*/
@@ -514,8 +514,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param x
* @param y
* @param z
@@ -542,8 +542,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param loc
*/
public void clientStopMoving(Location loc)
@@ -591,8 +591,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
public void clientStartAutoAttack()
{
@@ -632,8 +632,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
void clientStopAutoAttack()
{
@@ -661,8 +661,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
protected void clientNotifyDead()
{
@@ -679,7 +679,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Update the state of this actor client side by sending Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance player.
- * Caution : Low level function, used by AI subclasses
+ * Caution: Low level function, used by AI subclasses
* @param player The PlayerIstance to notify with state of this Creature
*/
public void describeStateToPlayer(PlayerInstance player)
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/ai/AttackableAI.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/ai/AttackableAI.java
index 28bb61cbff..6075092cb6 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/ai/AttackableAI.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/ai/AttackableAI.java
@@ -212,7 +212,7 @@ public class AttackableAI extends CreatureAI
/**
* Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
- * Caution : If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
+ * Caution: If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -317,7 +317,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update every 1s the _globalAggro counter to come close to 0
*
If the actor is Aggressive and can attack, add all autoAttackable Creature in its Aggro Range to its _aggroList, chose a target and order to attack it
@@ -612,7 +612,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update the attack timeout if actor is running
*
If target is dead or timeout is expired, stop this attack and set the Intention to AI_INTENTION_ACTIVE
@@ -1237,7 +1237,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Attacked.
- * Actions :
+ *
+ * Actions:
*
*
Init the attack : Calculate the attack timeout, Set the _globalAggro to 0, Add the attacker to the actor _aggroList
*
Set the Creature movement type to run and send Server->Client packet ChangeMoveType to all others PlayerInstance
@@ -1301,7 +1302,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Aggression.
- * Actions :
+ *
+ * Actions:
*
*
Add the target to the actor _aggroList or update hate if already present
*
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/ai/CreatureAI.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/ai/CreatureAI.java
index 34be02f105..3b29875b4a 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/ai/CreatureAI.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/ai/CreatureAI.java
@@ -139,7 +139,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Idle Intention : Stop Attack, Movement and Stand Up the actor.
- * Actions :
+ *
+ * Actions:
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
Init cast and attack target
@@ -164,7 +165,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Active Intention : Stop Attack, Movement and Launch Think Event.
- * Actions : if the Intention is not already Active
+ *
+ * Actions : if the Intention is not already Active
*
*
Set the AI Intention to AI_INTENTION_ACTIVE
*
Init cast and attack target
@@ -195,7 +197,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Rest Intention.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
@@ -209,7 +212,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Attack Intention : Stop current Attack (if necessary), Start a new Attack and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_ATTACK
@@ -217,7 +221,8 @@ public class CreatureAI extends AbstractAI
*
Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast)
*
Launch the Think Event
*
- * Overridden in :
+ *
+ * Overridden in:
*
*
AttackableAI : Calculate attack timeout
*
@@ -281,7 +286,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Cast Intention : Stop current Attack, Init the AI in order to cast and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI cast target
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
@@ -331,7 +337,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
@@ -370,7 +377,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Follow Intention : Stop current Attack and Launch a Follow Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_FOLLOW
@@ -427,7 +435,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the PickUp Intention : Set the pick up target and Launch a Move To Pawn Task (offset=20).
- * Actions :
+ *
+ * Actions :
*
*
Set the AI pick up target
*
Set the Intention of this AI to AI_INTENTION_PICK_UP
@@ -476,7 +485,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Interact Intention : Set the interact target and Launch a Move To Pawn Task (offset=60).
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the AI interact target
@@ -537,7 +547,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Stunned then onAttacked Event.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
@@ -565,7 +576,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Rooted.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -588,7 +600,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Confused.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -606,7 +619,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Muted.
- * Actions :
+ *
+ * Actions:
*
*
Break a cast and send Server->Client ActionFailed packet and a System Message to the Creature
*
@@ -629,7 +643,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -643,7 +658,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Arrived.
- * Actions :
+ *
+ * Actions:
*
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
*
Launch actions corresponding to the Event Think
@@ -686,7 +702,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedRevalidate.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -700,7 +717,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedBlocked.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
@@ -725,7 +743,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ForgetObject.
- * Actions :
+ *
+ * Actions:
*
*
If the object was targeted and the Intention was AI_INTENTION_INTERACT or AI_INTENTION_PICK_UP, set the Intention to AI_INTENTION_ACTIVE
*
If the object was targeted to attack, stop the auto-attack, cancel target and set the Intention to AI_INTENTION_ACTIVE
@@ -781,7 +800,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -806,7 +826,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Dead.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast)
@@ -829,7 +850,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Fake Death.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
@@ -910,13 +932,15 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move to Pawn action in function of the distance and of the Interact area.
- * Actions :
+ *
+ * Actions:
*
*
Get the distance between the current position of the Creature and the target (x,y)
*
If the distance > offset+20, move the actor (by running) to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast)
*
If the distance <= offset+20, Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1017,13 +1041,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost or dead.
- * Actions : If the target is lost or dead
+ *
+ * Actions : If the target is lost or dead
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1050,13 +1076,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost.
- * Actions : If the target is lost
+ *
+ * Actions : If the target is lost
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/ai/PlayerAI.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/ai/PlayerAI.java
index 1af86289ec..72cd985005 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/ai/PlayerAI.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/ai/PlayerAI.java
@@ -90,7 +90,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -109,7 +110,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -124,7 +126,7 @@ public class PlayerAI extends PlayableAI
/**
* Finalize the casting of a skill. This method overrides CreatureAI method.
- * What it does:
+ * What it does:
* Check if actual intention is set to CAST and, if so, retrieves latest intention before the actual CAST and set it as the current intention for the player.
*/
@Override
@@ -197,7 +199,8 @@ public class PlayerAI extends PlayableAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
index a6c22e57af..dcfcbb433f 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
@@ -158,7 +158,7 @@ public class AdminData implements IXmlReader
AdminCommandAccessRight acar = _adminCommandAccessRights.get(adminCommand);
if (acar == null)
{
- // Trying to avoid the spam for next time when the gm would try to use the same command
+ // Trying to avoid the spam for next time when the GM would try to use the same command
if ((accessLevel.getLevel() > 0) && (accessLevel.getLevel() == _highestLevel))
{
acar = new AdminCommandAccessRight(adminCommand, true, accessLevel.getLevel());
@@ -341,7 +341,7 @@ public class AdminData implements IXmlReader
/**
* Gets the single instance of AdminTable.
- * @return AccessLevels: the one and only instance of this class
+ * @return AccessLevels: the one and only instance of this class
*/
public static AdminData getInstance()
{
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
index f11acfd056..0407de3b99 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
@@ -63,7 +63,7 @@ import org.l2jmobius.gameserver.model.skills.Skill;
* Here can be found the following skill trees:
*
*
Class skill trees: player skill trees for each class.
- *
Transfer skill trees: player skill trees for each healer class.
+ *
Transfer skill trees: player skill trees for each healer class.
*
Collect skill tree: player skill tree for Gracia related skills.
*
Fishing skill tree: player skill tree for fishing related skills.
*
Transform skill tree: player skill tree for transformation related skills.
@@ -464,7 +464,7 @@ public class SkillTreeData implements IXmlReader
}
/**
- * Gets the race skill tree.
+ * Gets the race skill tree.
* @param race the race skill tree Id
* @return the complete race Skill Tree for a given {@code Race}
*/
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/datatables/BotReportTable.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
index df93e82f1e..7f43f75eed 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
@@ -206,7 +206,7 @@ public class BotReportTable
}
/**
- * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
+ * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
* @param reporter (PlayerInstance who issued the report)
* @return True, if the report was registered, False otherwise
*/
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/datatables/ItemTable.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/datatables/ItemTable.java
index 569bf7eea4..ffbc08a6d9 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/datatables/ItemTable.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/datatables/ItemTable.java
@@ -198,10 +198,10 @@ public class ItemTable
}
/**
- * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions :
+ * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions:
*
Create and Init the ItemInstance corresponding to the Item Identifier and quantity
*
Add the ItemInstance object to _allObjects of L2world
- *
Logs Item creation according to log settings
+ *
Logs Item creation according to log settings
* @param process : String Identifier of process triggering this action
* @param itemId : int Item Identifier of the item to be created
* @param count : int Quantity of items to be created for stackable items
@@ -307,7 +307,8 @@ public class ItemTable
/**
* Destroys the ItemInstance.
- * Actions :
+ *
+ * Actions:
*
*
Sets ItemInstance parameters to be unusable
*
Removes the ItemInstance object to _allObjects of L2world
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/enums/BasicProperty.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/enums/BasicProperty.java
index 77a2a7a477..1e5cac18dd 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/enums/BasicProperty.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/enums/BasicProperty.java
@@ -17,17 +17,17 @@
package org.l2jmobius.gameserver.enums;
/**
- * Basic property type of skills.
- * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
- * After, only 3 types are used: physical, magic and none.
- *
- * Quote from Juji:
- * ----------------------------------------------------------------------
- * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
- * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
- * ----------------------------------------------------------------------
- * All other are considered with no basic property aka NONE.
- *
+ * Basic property type of skills.
+ * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
+ * After, only 3 types are used: physical, magic and none.
+ *
+ * Quote from Juji:
+ * ----------------------------------------------------------------------
+ * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
+ * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
+ * ----------------------------------------------------------------------
+ * All other are considered with no basic property aka NONE.
+ *
* @author Nik
*/
public enum BasicProperty
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/handler/ItemHandler.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/handler/ItemHandler.java
index 939d8263da..a815f2646e 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/handler/ItemHandler.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/handler/ItemHandler.java
@@ -38,10 +38,9 @@ public class ItemHandler implements IHandler
}
/**
- * Adds handler of item type in datatable.
- *
- * Concept :
- * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
+ * Adds handler of item type in datatable.
+ * Concept :
+ * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
* @param handler (IItemHandler)
*/
@Override
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
index 7d6c13d3b9..b510fdc4ee 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
@@ -456,7 +456,7 @@ public class InstanceManager implements IXmlReader
}
/**
- * Register instance world.
+ * Register instance world.
* @param instance instance which should be registered
*/
public void register(Instance instance)
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/AccessLevel.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/AccessLevel.java
index ced434ddda..2dac00e406 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/AccessLevel.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/AccessLevel.java
@@ -87,9 +87,8 @@ public class AccessLevel
}
/**
- * Returns the access level
- *
- * @return int: access level
+ * Returns the access level
+ * @return int: access level
*/
public int getLevel()
{
@@ -97,9 +96,8 @@ public class AccessLevel
}
/**
- * Returns the access level name
- *
- * @return String: access level name
+ * Returns the access level name
+ * @return String: access level name
*/
public String getName()
{
@@ -107,9 +105,8 @@ public class AccessLevel
}
/**
- * Returns the name color of the access level
- *
- * @return int: the name color for the access level
+ * Returns the name color of the access level
+ * @return int: the name color for the access level
*/
public int getNameColor()
{
@@ -117,9 +114,8 @@ public class AccessLevel
}
/**
- * Returns the title color color of the access level
- *
- * @return int: the title color for the access level
+ * Returns the title color color of the access level
+ * @return int: the title color for the access level
*/
public int getTitleColor()
{
@@ -127,9 +123,8 @@ public class AccessLevel
}
/**
- * Retuns if the access level has gm access or not
- *
- * @return boolean: true if access level have gm access, otherwise false
+ * Retuns if the access level has GM access or not
+ * @return boolean: true if access level have GM access, otherwise false
*/
public boolean isGm()
{
@@ -137,9 +132,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to attack in peace zone or not
- *
- * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
+ * Returns if the access level is allowed to attack in peace zone or not
+ * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
*/
public boolean allowPeaceAttack()
{
@@ -147,9 +141,8 @@ public class AccessLevel
}
/**
- * Retruns if the access level is allowed to use fixed res or not
- *
- * @return true if the access level is allowed to use fixed res, otherwise false
+ * Retruns if the access level is allowed to use fixed res or not
+ * @return true if the access level is allowed to use fixed res, otherwise false
*/
public boolean allowFixedRes()
{
@@ -157,9 +150,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to perform transactions or not
- *
- * @return boolean: true if access level is allowed to perform transactions, otherwise false
+ * Returns if the access level is allowed to perform transactions or not
+ * @return boolean: true if access level is allowed to perform transactions, otherwise false
*/
public boolean allowTransaction()
{
@@ -167,9 +159,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to use AltG commands or not
- *
- * @return boolean: true if access level is allowed to use AltG commands, otherwise false
+ * Returns if the access level is allowed to use AltG commands or not
+ * @return boolean: true if access level is allowed to use AltG commands, otherwise false
*/
public boolean allowAltG()
{
@@ -177,9 +168,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can give damage or not
- *
- * @return boolean: true if the access level can give damage, otherwise false
+ * Returns if the access level can give damage or not
+ * @return boolean: true if the access level can give damage, otherwise false
*/
public boolean canGiveDamage()
{
@@ -187,9 +177,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can take aggro or not
- *
- * @return boolean: true if the access level can take aggro, otherwise false
+ * Returns if the access level can take aggro or not
+ * @return boolean: true if the access level can take aggro, otherwise false
*/
public boolean canTakeAggro()
{
@@ -197,9 +186,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can gain exp or not
- *
- * @return boolean: true if the access level can gain exp, otherwise false
+ * Returns if the access level can gain exp or not
+ * @return boolean: true if the access level can gain exp, otherwise false
*/
public boolean canGainExp()
{
@@ -207,9 +195,9 @@ public class AccessLevel
}
/**
- * Returns if the access level contains allowedAccess as child
- * @param accessLevel as AccessLevel
- * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
+ * Returns if the access level contains allowedAccess as child
+ * @param accessLevel as AccessLevel
+ * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
*/
public boolean hasChildAccess(AccessLevel accessLevel)
{
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/EffectList.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/EffectList.java
index 72d713b173..78596bd21e 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/EffectList.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/EffectList.java
@@ -159,7 +159,7 @@ public class EffectList
}
/**
- * Verifies if this effect list contains the given skill ID.
+ * Verifies if this effect list contains the given skill ID.
* @param skillId the skill ID to verify
* @return {@code true} if the skill ID is present in the effect list (includes active and passive effects), {@code false} otherwise
*/
@@ -179,7 +179,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param type the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching the specified {@code AbnormalType}, {@code false} otherwise
*/
@@ -189,7 +189,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param types the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching one of the specified {@code AbnormalType}s, {@code false} otherwise
*/
@@ -421,7 +421,7 @@ public class EffectList
}
/**
- * Exit all effects having a specified flag.
+ * Exit all effects having a specified flag.
* @param effectFlag the flag of the effect to stop
*/
public void stopEffects(EffectFlag effectFlag)
@@ -438,7 +438,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, Skill)}
+ * {@link #stopSkillEffects(boolean, Skill)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skillId the skill ID
*/
@@ -457,7 +457,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, int)}
+ * {@link #stopSkillEffects(boolean, int)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skill the skill
*/
@@ -483,7 +483,7 @@ public class EffectList
}
/**
- * Exits all effects created by a specific skill {@code AbnormalType}s.
+ * Exits all effects created by a specific skill {@code AbnormalType}s.
* @param types the skill {@code AbnormalType}s to be checked and removed.
* @return {@code true} if there was any {@code BuffInfo} with one of the given {@code AbnormalType}s, {@code false} otherwise
*/
@@ -498,7 +498,7 @@ public class EffectList
}
/**
- * Exits all effects matched by a specific filter.
+ * Exits all effects matched by a specific filter.
* @param filter any filter to apply when selecting which {@code BuffInfo}s to be removed.
* @param update update effect flags and icons after the operation finishes.
* @param broadcast {@code true} to broadcast update packets if updating, {@code false} otherwise.
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/Party.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/Party.java
index bfa180535b..e5518154d9 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/Party.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/Party.java
@@ -142,7 +142,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Set invitation process flag and store time for expiration.
+ * Set invitation process flag and store time for expiration.
* Happens when a player joins party or declines to join.
* @param value the pending invitation state to set
*/
@@ -273,8 +273,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Send a Server->Client packet to all other PlayerInstance of the Party.
- *
+ * Send a Server->Client packet to all other PlayerInstance of the Party.
* @param player
* @param msg
*/
@@ -821,12 +820,12 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
- *
- * Actions :
+ * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
+ *
+ * Actions:
*
Get the PlayerInstance owner of the ServitorInstance (if necessary)
*
Calculate the Experience and SP reward distribution rate
- *
Add Experience and SP to the PlayerInstance
+ *
Add Experience and SP to the PlayerInstance
* @param xpReward The Experience reward to distribute
* @param spReward The SP reward to distribute
* @param rewardedMembers The list of PlayerInstance to reward
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/Spawn.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/Spawn.java
index e9068a0b5f..9f8d6a075f 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/Spawn.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/Spawn.java
@@ -41,7 +41,7 @@ import org.l2jmobius.gameserver.util.Util;
/**
* This class manages the spawn and respawn of a group of NpcInstance that are in the same are and have the same type.
- * Concept:
+ * Concept:
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
* @author Nightmare
@@ -78,13 +78,16 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Constructor of Spawn.
- * Concept:
+ *
+ * Concept:
+ *
* Each Spawn owns generic and static properties (ex : RewardExp, RewardSP, AggroRange...).
* All of those properties are stored in a different NpcTemplate for each type of Spawn. Each template is loaded once in the server cache memory (reduce memory use).
* When a new instance of Spawn is created, server just create a link between the instance and the template.
- * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
- * This link is stored in _spawn of the NpcInstance.
- * Actions:
+ * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
+ * This link is stored in _spawn of the NpcInstance.
+ *
+ * Actions:
*
*
Set the _template of the Spawn
*
Calculate the implementationName used to generate the generic constructor of NpcInstance managed by this Spawn
@@ -227,11 +230,11 @@ public class Spawn extends Location implements IIdentifiable, INamable
}
/**
- * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions :
+ * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions:
*
Decrease the current number of NpcInstance of this Spawn
*
Check if respawn is possible to prevent multiple respawning caused by lag
*
Update the current number of SpawnTask in progress or stand by of this Spawn
- *
Create a new SpawnTask to launch after the respawn Delay
Caution : A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
+ *
Create a new SpawnTask to launch after the respawn Delay
Caution: A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
* @param oldNpc
*/
public void decreaseCount(Npc oldNpc)
@@ -305,10 +308,13 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Create the NpcInstance, add it to the world and lauch its OnSpawn action.
- * Concept:
+ *
+ * Concept:
+ *
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
- * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
+ *
+ * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
*
*
Get NpcInstance Init parameters and its generate an Identifier
*
Call the constructor of the NpcInstance
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/World.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/World.java
index 0b8cd8b4f1..09579e901c 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/World.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/World.java
@@ -132,7 +132,8 @@ public class World
/**
* Adds an object to the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Withdraw an item from the warehouse, create an item
*
Spawn a Creature (PC, NPC, Pet)
@@ -172,7 +173,8 @@ public class World
/**
* Removes an object from the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Delete item from inventory, transfer Item from inventory to warehouse
*
Crystallize item
@@ -209,7 +211,7 @@ public class World
}
/**
- * Example of use:
+ * Example of use:
*
@@ -251,7 +253,7 @@ public class World
}
/**
- * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
+ * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
* @param name Name of the player to get Instance
* @return the player instance corresponding to the given name.
*/
@@ -299,18 +301,18 @@ public class World
}
/**
- * Add a WorldObject in the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Add a WorldObject in the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Add the WorldObject object in _allPlayers* of World
*
Add the WorldObject object in _gmList** of GmListTable
- *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
- * * only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstanceCaution : This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
- * Caution : This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use :
+ *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
+ * * only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstanceCaution: This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
+ * Caution: This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use:
*
Drop an Item
*
Spawn a Creature
- *
Apply Death Penalty of a PlayerInstance
+ *
Apply Death Penalty of a PlayerInstance
* @param object L2object to add in the world
* @param newRegion WorldRegion in wich the object will be add (not used)
*/
@@ -382,16 +384,16 @@ public class World
}
/**
- * Remove a WorldObject from the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Remove a WorldObject from the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Remove the WorldObject object from _allPlayers* of World
*
Remove the WorldObject object from _visibleObjects and _allPlayers* of WorldRegion
*
Remove the WorldObject object from _gmList** of GmListTable
- *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution : This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstance Example of use :
+ *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution: This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstance Example of use:
*
Pickup an Item
- *
Decay a Creature
+ *
Decay a Creature
* @param object L2object to remove from the world
* @param oldRegion WorldRegion in which the object was before removing
*/
@@ -690,9 +692,9 @@ public class World
}
/**
- * Calculate the current WorldRegions of the object according to its position (x,y). Example of use :
+ * Calculate the current WorldRegions of the object according to its position (x,y). Example of use:
*
Set position of a new WorldObject (drop, spawn...)
- *
Update position of a WorldObject after a movement
+ *
Update position of a WorldObject after a movement
* @param object the object
* @return
*/
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/WorldObject.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/WorldObject.java
index 63e719d10f..adc7402c47 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/WorldObject.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/WorldObject.java
@@ -670,7 +670,7 @@ public abstract class WorldObject extends ListenersContainer implements IIdentif
}
/**
- * Sets instance for current object by instance ID.
+ * Sets instance for current object by instance ID.
* @param id ID of instance world which should be set (0 means normal world)
*/
public void setInstanceById(int id)
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/WorldRegion.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/WorldRegion.java
index 4a166d2b8a..25ada44e59 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/WorldRegion.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/WorldRegion.java
@@ -195,8 +195,8 @@ public class WorldRegion
}
/**
- * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
- * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
+ * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
+ * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
* @param object
*/
public void addVisibleObject(WorldObject object)
@@ -216,7 +216,7 @@ public class WorldRegion
}
/**
- * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
+ * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
* @param object
*/
public void removeVisibleObject(WorldObject object)
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 a998425662..3f8e1a88c1 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
@@ -1071,7 +1071,7 @@ public class Attackable extends Npc
* During a Special Event all Attackable can drop extra Items.
* Those extra Items are defined in the table allNpcDateDrops of the EventDroplist.
* Each Special Event has a start and end date to stop to drop extra Items automatically.
- * Actions: If an extra drop must be generated
+ * Actions: If an extra drop must be generated
* Get an Item Identifier (random) from the DateDrop Item table of this Event.
* Get the Item quantity dropped (random).
* Create this or these ItemInstance corresponding to this Item Identifier.
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Creature.java
index 253052b1d8..29fb386a1b 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Creature.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Creature.java
@@ -168,7 +168,6 @@ import org.l2jmobius.gameserver.util.Util;
*
Trap
*
Vehicle
*
- *
* Concept of CreatureTemplate:
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
@@ -295,11 +294,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Constructor of Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature. Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
- * Actions:
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
+ *
+ * Actions:
*
*
Set the _template of the Creature
*
Set _overloaded to false (the character can take more items)
@@ -542,8 +544,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Remove the Creature from the world when the decay task is launched.
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
public void onDecay()
{
@@ -603,8 +605,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
*/
@@ -621,8 +625,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the radius (max knownlist radius) from the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
* @param radiusInKnownlist
@@ -678,12 +684,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send the Server->Client packet StatusUpdate with current HP and MP to all other PlayerInstance to inform.
- * Actions:
+ *
+ * Actions:
*
*
Create the Server->Client packet StatusUpdate with current HP and MP
*
Send the Server->Client packet StatusUpdate with current HP and MP to all Creature called _statusListener that must be informed of HP/MP updates of this Creature
*
- * Caution: This method DOESN'T SEND CP information
+ * Caution: This method DOESN'T SEND CP information
* @param caster TODO
*/
public void broadcastStatusUpdate(Creature caster)
@@ -714,7 +721,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Teleport a Creature and its pet if necessary.
- * Actions:
+ *
+ * Actions:
*
*
Stop the movement of the Creature
*
Set the x,y,z position of the WorldObject and if necessary modify its _worldRegion
@@ -883,7 +891,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a physical attack against a target (Simple, Bow, Pole or Dual).
- * Actions:
+ *
+ * Actions:
*
*
Get the active weapon (always equipped in the right hand)
*
If weapon is a bow, check for arrows, MP and bow re-use delay (if necessary, equip the PlayerInstance with arrows in left hand)
@@ -1274,7 +1283,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Manage the casting task (casting and interrupt time, re-use delay...) and display the casting bar and animation on client.
- * Actions:
+ *
+ * Actions:
*
*
Verify the possibility of the the cast : skill is a spell, caster isn't muted...
*
Get the list of all targets (ex : area effects) and define the Creature targeted (its stats will be used in calculation)
@@ -1564,7 +1574,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Kill the Creature.
- * Actions:
+ *
+ * Actions:
*
*
Set target to null and cancel Attack or Cast
*
Stop movement
@@ -2191,11 +2202,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Set the template of the Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
* Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
* @param template
*/
protected final void setTemplate(CreatureTemplate template)
@@ -2372,7 +2385,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop a specified/all Fake Death abnormal Effect.
- * Actions:
+ *
+ * Actions:
*
*
Delete a specified/all (if effect=null) Fake Death abnormal Effect from Creature and update client magic icon
*
Set the abnormal effect flag _fake_death to False
@@ -2400,7 +2414,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Stop all block actions (stun) effects.
+ * Stop all block actions (stun) effects.
* @param removeEffects {@code true} removes all block actions effects, {@code false} only notifies AI to think.
*/
public void stopStunning(boolean removeEffects)
@@ -2418,7 +2432,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop Effect: Transformation.
- * Actions:
+ *
+ * Actions:
*
*
Remove Transformation Effect
*
Notify the Creature AI
@@ -2447,7 +2462,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Updates the visual abnormal state of this character.
+ * Updates the visual abnormal state of this character.
*/
public void updateAbnormalVisualEffects()
{
@@ -2456,9 +2471,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update active skills in progress (In Use and Not In Use because stacked) icons on client.
- * Concept:
+ *
+ * Concept:
+ *
* All active skills effects in progress (In Use and Not In Use because stacked) are represented by an icon on the client.
- * Caution : This method ONLY UPDATE the client of the player and not clients of all players in the party.
+ * Caution: This method ONLY UPDATE the client of the player and not clients of all players in the party.
*/
public void updateEffectIcons()
{
@@ -2492,7 +2509,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* This class group all movement data.
- * Data :
+ *
+ * Data:
*
*
_moveTimestamp : Last time position update
*
_xDestination, _yDestination, _zDestination : Position of the destination
@@ -2798,7 +2816,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * @return True if the Creature is travelling a calculated path.
+ * @return True if the Creature is traveling a calculated path.
*/
public boolean isOnGeodataPath()
{
@@ -2908,16 +2926,18 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update the position of the Creature during a movement and return True if the movement is finished.
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
* When the movement is started (ex : by MovetoLocation), this method will be called each 0.1 sec to estimate and update the Creature position on the server.
* Note, that the current server position can differe from the current client position even if each movement is straight foward.
* That's why, client send regularly a Client->Server ValidatePosition packet to eventually correct the gap on the server.
* But, it's always the server position that is used in range calculation. At the end of the estimated movement time,
* the Creature position is automatically set to the destination position even if the movement is not finished.
- * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
- * But x and y positions must be calculated to avoid that players try to modify their movement speed.
+ * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
+ * But x and y positions must be calculated to avoid that players try to modify their movement speed.
* @return True if the movement is finished
*/
public boolean updatePosition()
@@ -3085,14 +3105,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop movement of the Creature (Called by AI Accessor only).
- * Actions:
+ *
+ * Actions:
*
*
Delete movement data of the Creature
*
Set the current position (x,y,z), its current WorldRegion if necessary and its heading
*
Remove the WorldObject object from _gmList of GmListTable
*
Remove object from _knownObjects and _knownPlayer of all surrounding WorldRegion Creatures
*
- * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
+ * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
* @param loc
*/
public void stopMove(Location loc)
@@ -3129,9 +3150,12 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Target a WorldObject (add the target to the Creature _target, _knownObject and Creature to _KnownObject of the WorldObject).
- * Concept:
- * The WorldObject (including Creature) targeted is identified in _target of the Creature.
- * Actions:
+ *
+ * Concept:
+ *
+ * The WorldObject (including Creature) targeted is identified in _target of the Creature.
+ *
+ * Actions:
*
*
Set the _target of Creature to WorldObject
*
If necessary, add WorldObject to _knownObject of the Creature
@@ -3174,11 +3198,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Calculate movement data for a move to location action and add the Creature to movingObjects of GameTimeController (only called by AI Accessor).
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
- * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
- * Actions:
+ * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
+ *
+ * Actions:
*
*
Get current position of the Creature
*
Calculate distance (dx,dy) between current position and destination including offset
@@ -3187,8 +3214,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
*
Add the Creature to movingObjects of the GameTimeController
*
Create a task to notify the AI that Creature arrives at a check point of the movement
*
- * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
- * Example of use:
+ * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
+ *
+ * Example of use:
*
*
AI : onIntentionMoveTo(Location), onIntentionPickUp(WorldObject), onIntentionInteract(WorldObject)
*
FollowTask
@@ -3592,7 +3620,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
* @return True if arrows are available.
* @param type
@@ -3604,9 +3632,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add Exp and Sp to the Creature.
- * Overridden in :
+ *
+ * Overridden in:
*
PlayerInstance
- *
PetInstance
+ *
PetInstance
* @param addToExp
* @param addToSp
*/
@@ -3616,36 +3645,37 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon instance (always equiped in the right hand).
+ * @return the active weapon instance (always equipped in the right hand).
*/
public abstract ItemInstance getActiveWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon item (always equiped in the right hand).
+ * @return the active weapon item (always equipped in the right hand).
*/
public abstract Weapon getActiveWeaponItem();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary weapon instance (always equiped in the left hand).
+ * @return the secondary weapon instance (always equipped in the left hand).
*/
public abstract ItemInstance getSecondaryWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary {@link Item} item (always equiped in the left hand).
+ * @return the secondary {@link Item} item (always equipped in the left hand).
*/
public abstract Item getSecondaryWeaponItem();
/**
* Manage hit process (called by Hit Task).
- * Actions:
+ *
+ * Actions:
*
*
If the attacker/target is dead or use fake death, notify the AI with EVT_CANCEL and send a Server->Client packet ActionFailed (if attacker is a PlayerInstance)
*
If attack isn't aborted, send a message system (critical hit, missed...) to attacker/target if they are PlayerInstance
If Creature or target is in a town area, send a system message TARGET_IN_PEACEZONE a Server->Client packet ActionFailed
*
If target is confused, send a Server->Client packet ActionFailed
@@ -3965,15 +3996,19 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add a skill to the Creature _skills and its Func objects to the calculator set of the Creature.
- * Concept:
- * All skills own by a Creature are identified in _skills
- * Actions:
+ *
+ * Concept:
+ *
+ * All skills own by a Creature are identified in _skills
+ *
+ * Actions:
*
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
*
Add Func objects of newSkill to the calculator set of the Creature
*
- * Overridden in:
+ *
+ * Overridden in:
*
*
PlayerInstance : Save update in the character_skills table of the database
*
@@ -5269,7 +5304,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
+ * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
* @param range
*/
public void initSeenCreatures(int range)
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Npc.java
index da169c4b56..94169ca3ae 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Npc.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Npc.java
@@ -159,7 +159,8 @@ public class Npc extends Creature
/**
* Constructor of NpcInstance (use Creature constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the Creature (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the Creature
@@ -579,7 +580,8 @@ public class Npc extends Creature
/**
* Open a quest or chat window on client with the text of the NpcInstance in function of the command.
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : RequestBypassToServer
*
@@ -639,11 +641,11 @@ public class Npc extends Creature
}
/**
- * :
+ * :
*
- *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
- *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
- *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
+ *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
+ *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
+ *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -706,7 +708,8 @@ public class Npc extends Creature
/**
* Open a chat window on client with the text of the NpcInstance.
- * Actions:
+ *
+ * Actions:
*
*
Get the text of the selected HTML file in function of the npcId and of the page number
*
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
@@ -877,7 +880,8 @@ public class Npc extends Creature
/**
* Kill the NpcInstance (the corpse disappeared after 7 seconds).
- * Actions:
+ *
+ * Actions:
*
*
Create a DecayTask to remove the corpse of the NpcInstance after 7 seconds
*
Set target to null and cancel Attack or Cast
@@ -1103,14 +1107,15 @@ public class Npc extends Creature
/**
* Remove the NpcInstance from the world and update its spawn object (for a complete removal use the deleteMe method).
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world when the decay task is launched
*
Decrease its spawn counter
*
Manage Siege task (killFlag, killCT)
*
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
@Override
public void onDecay()
@@ -1149,13 +1154,14 @@ public class Npc extends Creature
/**
* Remove PROPERLY the NpcInstance from the world.
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world and update its spawn object
*
Remove all WorldObject from _knownObjects and _knownPlayer of the NpcInstance then cancel Attack or Cast and notify AI
*
Remove WorldObject object from _allObjects of World
*
- * Caution: This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T SEND Server->Client packets to players
* UnAfraid: TODO: Add Listener here
*/
@Override
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Playable.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Playable.java
index 622442ab2e..750bdba19c 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Playable.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Playable.java
@@ -52,7 +52,8 @@ public abstract class Playable extends Creature
/**
* Constructor of Playable.
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and link copy basic Calculator set to this Playable
*
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Summon.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Summon.java
index ceae8467d7..46c221036a 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Summon.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Summon.java
@@ -588,7 +588,8 @@ public abstract class Summon extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the target is correct
*
Check if the target is in the skill cast range
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
index 5af1884bac..ba0920369e 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
@@ -24,21 +24,19 @@ import org.l2jmobius.gameserver.model.skills.Skill;
import org.l2jmobius.gameserver.network.serverpackets.ActionFailed;
/**
- * This class manages all Castle Siege Artefacts.
- *
+ * This class manages all Castle Siege Artefacts.
+ *
* @version $Revision: 1.11.2.1.2.7 $ $Date: 2005/04/06 16:13:40 $
*/
public class ArtefactInstance extends Npc
{
/**
- * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
- *
- * Actions :
- *
+ * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
+ *
+ * Actions:
*
Call the Creature constructor to set the _template of the ArtefactInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the ArtefactInstance
- *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
- *
+ *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
* @param template to apply to the NPC
*/
public ArtefactInstance(NpcTemplate template)
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 5f34d57abe..d359c8335b 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
@@ -36,7 +36,8 @@ public class GuardInstance extends Attackable
{
/**
* Constructor of GuardInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the GuardInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the GuardInstance
@@ -100,10 +101,11 @@ public class GuardInstance extends Attackable
/**
* Return the pathfile of the selected HTML file in function of the GuardInstance Identifier and of the page number.
- * Format of the pathfile :
+ *
+ * Format of the pathfile:
*
- *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
- *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
+ *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
+ *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -125,19 +127,22 @@ public class GuardInstance extends Attackable
/**
* Manage actions when a player click on the GuardInstance.
- * Actions on first click on the GuardInstance (Select it) :
+ *
+ * Actions on first click on the GuardInstance (Select it):
*
*
Set the GuardInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
Set the PlayerInstance Intention to AI_INTENTION_IDLE
*
Send a Server->Client packet ValidateLocation to correct the GuardInstance position and heading on the client
*
- * Actions on second click on the GuardInstance (Attack it/Interact with it) :
+ *
+ * Actions on second click on the GuardInstance (Attack it/Interact with it):
*
*
If PlayerInstance is in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_ATTACK
*
If PlayerInstance is NOT in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_INTERACT (after a distance verification) and show message
*
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : Action, AttackRequest
*
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
index 2b71cdcfe3..bee6060aec 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
@@ -43,7 +43,8 @@ public class MonsterInstance extends Attackable
/**
* Constructor of MonsterInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the MonsterInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the MonsterInstance
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
index 96d217da08..e399a38dad 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
@@ -122,7 +122,7 @@ public class PetInstance extends Summon
}
/**
- * Manage Feeding Task.
+ * Manage Feeding Task.
* Feed or kill the pet depending on hunger level.
* If pet has food in inventory and feed level drops below 55% then consume food from inventory.
* Send a broadcastStatusUpdate packet for this PetInstance
@@ -418,7 +418,7 @@ public class PetInstance extends Summon
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -1136,8 +1136,7 @@ public class PetInstance extends Summon
}
/**
- * Restore the specified % of experience this PetInstance has lost.
- *
+ * Restore the specified % of experience this PetInstance has lost.
* @param restorePercent
*/
public void restoreExp(double restorePercent)
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
index 1e90d9ac0d..a54246116b 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
@@ -883,7 +883,8 @@ public class PlayerInstance extends Playable
/**
* Create a new PlayerInstance and add it in the characters table of the database.
- * Actions :
+ *
+ * Actions:
*
*
Create a new PlayerInstance with an account name
*
Set the name, the Hair Style, the Hair Color and the Face type of the PlayerInstance
@@ -1074,7 +1075,8 @@ public class PlayerInstance extends Playable
/**
* Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world (call restore method).
- * Actions :
+ *
+ * Actions:
*
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
@@ -1101,12 +1103,13 @@ public class PlayerInstance extends Playable
/**
* Constructor of PlayerInstance (use Creature constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and copy basic Calculator set to this PlayerInstance
*
Set the name of the PlayerInstance
*
- * Caution : This method SET the level of the PlayerInstance to 1
+ * Caution: This method SET the level of the PlayerInstance to 1
* @param objectId Identifier of the object to initialized
* @param template The PlayerTemplate to apply to the PlayerInstance
* @param accountName The name of the account including this PlayerInstance
@@ -2541,7 +2544,7 @@ public class PlayerInstance extends Playable
}
/**
- * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
+ * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
*/
public void regiveTemporarySkills()
{
@@ -3484,7 +3487,7 @@ public class PlayerInstance extends Playable
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -3725,7 +3728,7 @@ public class PlayerInstance extends Playable
}
/**
- * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : long Quantity of items to be dropped
@@ -3992,9 +3995,9 @@ public class PlayerInstance extends Playable
}
/**
- * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions :
- *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
- *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution : This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
+ * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions:
+ *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
+ *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution: This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
*/
@Override
public void broadcastStatusUpdate(Creature caster)
@@ -4061,11 +4064,11 @@ public class PlayerInstance extends Playable
}
/**
- * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept : Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
- * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions :
+ * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept: Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
+ * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions:
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
- *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as
- * MaxHP, STR, DEX...
+ *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP,
+ * STR, DEX...
*/
public void broadcastUserInfo()
{
@@ -4219,10 +4222,10 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Interact Task with another PlayerInstance. Actions :
+ * Manage Interact Task with another PlayerInstance. Actions:
*
If the private store is a STORE_PRIVATE_SELL, send a Server->Client PrivateBuyListSell packet to the PlayerInstance
*
If the private store is a STORE_PRIVATE_BUY, send a Server->Client PrivateBuyListBuy packet to the PlayerInstance
- *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
+ *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
* @param target The Creature targeted
*/
public void doInteract(Creature target)
@@ -4271,7 +4274,7 @@ public class PlayerInstance extends Playable
*
Send a Server->Client packet InventoryUpdate to this player with NewItem (use a new slot) or ModifiedItem (increase amount).
*
Send a Server->Client packet StatusUpdate to this player with current weight.
*
- * Caution: If a party is in progress, distribute the items between the party members!
+ * Caution: If a party is in progress, distribute the items between the party members!
* @param target the NPC dropping the item
* @param itemId the item ID
* @param itemCount the item count
@@ -4303,13 +4306,13 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Pickup Task. Actions :
+ * Manage Pickup Task. Actions:
*
Send a Server->Client packet StopMove to this PlayerInstance
*
Remove the ItemInstance from the world and send server->client GetItem packets
*
Send a System Message to the PlayerInstance : YOU_PICKED_UP_S1_ADENA or YOU_PICKED_UP_S1_S2
*
Add the Item to the PlayerInstance inventory
*
Send a Server->Client packet InventoryUpdate to this PlayerInstance with NewItem (use a new slot) or ModifiedItem (increase amount)
- *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution : If a Party is in progress, distribute Items between party members
+ *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution: If a Party is in progress, distribute Items between party members
* @param object The ItemInstance to pick up
*/
@Override
@@ -4573,7 +4576,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set a target. Actions :
+ * Set a target. Actions:
*
*
Remove the PlayerInstance from the _statusListener of the old target if it was a Creature
*
Add the PlayerInstance to the _statusListener of the new target if it's a Creature
@@ -4665,7 +4668,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon instance (always equiped in the right hand).
+ * Return the active weapon instance (always equipped in the right hand).
*/
@Override
public ItemInstance getActiveWeaponInstance()
@@ -4674,7 +4677,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon item (always equiped in the right hand).
+ * Return the active weapon item (always equipped in the right hand).
*/
@Override
public Weapon getActiveWeaponItem()
@@ -4763,7 +4766,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary weapon instance (always equiped in the left hand).
+ * Return the secondary weapon instance (always equipped in the left hand).
*/
@Override
public ItemInstance getSecondaryWeaponInstance()
@@ -4772,8 +4775,8 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary Item item (always equiped in the left hand).
- * Arrows, Shield..
+ * Return the secondary Item item (always equipped in the left hand).
+ * Arrows, Shield..
*/
@Override
public Item getSecondaryWeaponItem()
@@ -4787,12 +4790,12 @@ public class PlayerInstance extends Playable
}
/**
- * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions :
+ * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions:
*
Reduce the Experience of the PlayerInstance in function of the calculated Death Penalty
*
If necessary, unsummon the Pet of the killed PlayerInstance
*
Manage Karma gain for attacker and Karam loss for the killed PlayerInstance
*
If the killed PlayerInstance has Karma, manage Drop Item
- *
Kill the PlayerInstance
+ *
Kill the PlayerInstance
* @param killer
*/
@Override
@@ -5264,12 +5267,13 @@ public class PlayerInstance extends Playable
}
/**
- * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
- * Actions :
+ * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
+ *
+ * Actions:
*
Calculate the Experience loss
*
Set the value of _expBeforeDeath
*
Set the new Experience value of the PlayerInstance and Decrease its level if necessary
- *
Send a Server->Client StatusUpdate packet with its new Experience
+ *
Send a Server->Client StatusUpdate packet with its new Experience
* @param killer
*/
public void calculateDeathExpPenalty(Creature killer)
@@ -5321,7 +5325,7 @@ public class PlayerInstance extends Playable
}
/**
- * Stop the HP/MP/CP Regeneration task. Actions :
+ * Stop the HP/MP/CP Regeneration task. Actions:
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
*/
@@ -5669,13 +5673,13 @@ public class PlayerInstance extends Playable
}
/**
- * Set the Private Store type of the PlayerInstance. Values :
+ * Set the Private Store type of the PlayerInstance. Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @param privateStoreType
*/
public void setPrivateStoreType(PrivateStoreType privateStoreType)
@@ -5688,13 +5692,13 @@ public class PlayerInstance extends Playable
}
/**
- * Values :
+ * Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @return the Private Store type of the PlayerInstance.
*/
public PrivateStoreType getPrivateStoreType()
@@ -6412,11 +6416,11 @@ public class PlayerInstance extends Playable
}
/**
- * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions :
+ * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions:
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
*
Set the x,y,z position of the PlayerInstance and make it invisible
- *
Update the overloaded status of the PlayerInstance
+ *
Update the overloaded status of the PlayerInstance
* @param objectId Identifier of the object to initialized
* @return The PlayerInstance loaded from the database
*/
@@ -7329,10 +7333,10 @@ public class PlayerInstance extends Playable
}
/**
- * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept : All skills own by a PlayerInstance are identified in _skills Actions :
+ * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept: All skills own by a PlayerInstance are identified in _skills Actions:
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
- *
Add Func objects of newSkill to the calculator set of the Creature
+ *
Add Func objects of newSkill to the calculator set of the Creature
* @param newSkill The Skill to add to the Creature
* @param store
* @return The Skill replaced or null if just added a new Skill
@@ -7363,10 +7367,10 @@ public class PlayerInstance extends Playable
}
/**
- * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept : All skills own by a Creature are identified in _skills Actions :
+ * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept: All skills own by a Creature are identified in _skills Actions:
*
Remove the skill from the Creature _skills
- *
Remove all its Func objects from the Creature calculator set
Overridden in :
- *
PlayerInstance : Save update in the character_skills table of the database
+ *
Remove all its Func objects from the Creature calculator set
Overridden in:
+ *
PlayerInstance : Save update in the character_skills table of the database
* @param skill The Skill to remove from the Creature
* @return The Skill removed
*/
@@ -8053,7 +8057,8 @@ public class PlayerInstance extends Playable
/**
* Return True if the PlayerInstance is autoAttackable.
- * Actions:
+ *
+ * Actions:
*
*
Check if the attacker isn't the PlayerInstance Pet
*
Check if the attacker is MonsterInstance
@@ -8215,7 +8220,8 @@ public class PlayerInstance extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the skill isn't toggle and is offensive
*
Check if the target is in the skill cast range
@@ -8566,15 +8572,18 @@ public class PlayerInstance extends Playable
/**
* Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers.
- * Concept:
- * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
* In order to inform other players of this PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet
- * Actions:
+ *
+ * Actions:
*
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
*
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
*
- * Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
+ * Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
*/
@Override
public void updateAbnormalVisualEffects()
@@ -9397,7 +9406,7 @@ public class PlayerInstance extends Playable
}
/**
- * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
+ * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
* 2. This method no longer changes the active _classIndex of the player. This is only done by the calling of setActiveClass() method as that should be the only way to do so.
* @param classId
* @param classIndex
@@ -10571,7 +10580,8 @@ public class PlayerInstance extends Playable
/**
* Manage the delete task of a PlayerInstance (Leave Party, Unsummon pet, Save its inventory in the database, Remove it from the world...).
- * Actions:
+ *
+ * Actions:
*
*
If the PlayerInstance is in observer mode, set its position to its position before entering in observer mode
*
Set the online Flag to True or False and update the characters table of the database with online status and lastAccess
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
index d58c4a2344..1538e27eb0 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
@@ -31,7 +31,8 @@ public class RaidBossInstance extends MonsterInstance
/**
* Constructor of RaidBossInstance (use Creature and NpcInstance constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the RaidBossInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the RaidBossInstance
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
index 0746dde009..e66a7d8d7f 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
@@ -152,7 +152,8 @@ public class StaticObjectInstance extends Creature
/**
* Set the meshIndex of the object.
- * Values :
+ *
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
@@ -166,7 +167,7 @@ public class StaticObjectInstance extends Creature
}
/**
- * Values :
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
index b8258c55cc..1eb09ebcb7 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
@@ -265,7 +265,8 @@ public class CreatureStat
/**
* Return the MAtk (base+modifier) of the Creature.
- * Example of use: Calculate Magic damage
+ *
+ * Example of use: Calculate Magic damage
* @return
*/
public int getMAtk()
@@ -290,7 +291,7 @@ public class CreatureStat
}
/**
- * Example of use : Calculate Magic damage.
+ * Example of use : Calculate Magic damage.
* @return the MDef (base+modifier) of the Creature against a skill in function of abnormal effects in progress.
*/
public int getMDef()
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
index a34f446f36..ecb6ca7cf2 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
@@ -57,11 +57,14 @@ public class CreatureStatus
/**
* Add the object to the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use:
+ *
+ * Example of use:
*
*
Target a PC or NPC
*
@@ -79,11 +82,14 @@ public class CreatureStatus
/**
* Remove the object from the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use :
+ *
+ * Example of use :
*
*
Untarget a PC or NPC
*
@@ -96,8 +102,10 @@ public class CreatureStatus
/**
* Return the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
* @return The list of Creature to inform or null if empty
@@ -188,7 +196,8 @@ public class CreatureStatus
/**
* Start the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Calculate the regen task period
*
Launch the HP/MP/CP Regeneration task with Medium priority
@@ -208,7 +217,8 @@ public class CreatureStatus
/**
* Stop the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/base/SubClass.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/base/SubClass.java
index 6e1b4abe48..8e382665f8 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/base/SubClass.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/base/SubClass.java
@@ -20,7 +20,7 @@ import org.l2jmobius.Config;
import org.l2jmobius.gameserver.data.xml.impl.ExperienceData;
/**
- * Character Sub-Class Definition
+ * Character Sub-Class Definition
* Used to store key information about a character's sub-class.
* @author Tempy
*/
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
index ee74925752..a54baee819 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
@@ -62,7 +62,7 @@ public abstract class AbstractEffect
/**
* Calculates whether this effects land or not.
* If it lands will be scheduled and added to the character effect list.
- * Override in effect implementation to change behavior.
+ * Override in effect implementation to change behavior.
* Warning: Must be used only for instant effects continuous effects will not call this they have their success handled by activate_rate.
* @param effector
* @param effected
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/entity/Castle.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/entity/Castle.java
index 84bd945a23..c67b32e5be 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/entity/Castle.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/entity/Castle.java
@@ -616,8 +616,7 @@ public class Castle extends AbstractResidence
}
/**
- * Respawn all doors on castle grounds
- *
+ * Respawn all doors on castle grounds
* @param isDoorWeak
*/
public void spawnDoor(boolean isDoorWeak)
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/entity/Fort.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/entity/Fort.java
index 755bee3310..667c694f50 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/entity/Fort.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/entity/Fort.java
@@ -273,8 +273,7 @@ public class Fort extends AbstractResidence
}
/**
- * Move non clan members off fort area and to nearest town.
- *
+ * Move non clan members off fort area and to nearest town.
*/
public void banishForeigners()
{
@@ -516,8 +515,7 @@ public class Fort extends AbstractResidence
}
/**
- * Respawn all doors on fort grounds
- *
+ * Respawn all doors on fort grounds.
*/
public void resetDoors()
{
@@ -976,11 +974,10 @@ public class Fort extends AbstractResidence
}
/**
- * @return Returns state of fortress.
- *
- * 0 - not decided yet
- * 1 - independent
- * 2 - contracted with castle
+ * @return Returns state of fortress.
+ * 0 - not decided yet
+ * 1 - independent
+ * 2 - contracted with castle
*/
public int getFortState()
{
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/entity/FortSiege.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
index fe98f73d82..d4e5ae83b5 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
@@ -703,14 +703,14 @@ public class FortSiege implements Siegable
}
/**
- * Register clan as attacker.
+ * Register clan as attacker.
* @param player The PlayerInstance of the player trying to register.
* @param checkConditions True if should be checked conditions, false otherwise
- * @return Number that defines what happened.
- * 0 - Player don't have clan.
- * 1 - Player don't have enough adena to register.
- * 2 - Is not right time to register Fortress now.
- * 3 - Players clan is already registered to siege.
+ * @return Number that defines what happened.
+ * 0 - Player don't have clan.
+ * 1 - Player don't have enough adena to register.
+ * 2 - Is not right time to register Fortress now.
+ * 3 - Players clan is already registered to siege.
* 4 - Players clan is successfully registered to siege.
*/
public int addAttacker(PlayerInstance player, boolean checkConditions)
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/entity/Hero.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/entity/Hero.java
index 49b405d179..8c9bbb0bc0 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/entity/Hero.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/entity/Hero.java
@@ -866,7 +866,7 @@ public class Hero
}
/**
- * Saving task for {@link Hero}
+ * Saving task for {@link Hero}
* Save all hero messages to DB.
*/
public void shutdown()
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/entity/Siege.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/entity/Siege.java
index 0bcd190ec1..f714cb5ce1 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/entity/Siege.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/entity/Siege.java
@@ -383,8 +383,7 @@ public class Siege implements Siegable
}
/**
- * When control of castle changed during siege
- *
+ * When control of castle changed during siege.
*/
public void midVictory()
{
@@ -470,8 +469,7 @@ public class Siege implements Siegable
}
/**
- * When siege starts
- *
+ * When siege starts.
*/
@Override
public void startSiege()
@@ -529,8 +527,7 @@ public class Siege implements Siegable
}
/**
- * Announce to player.
- *
+ * Announce to player.
* @param message The SystemMessage to send to player
* @param bothSides True - broadcast to both attackers and defenders. False - only to defenders.
*/
@@ -682,8 +679,7 @@ public class Siege implements Siegable
}
/**
- * Approve clan as defender for siege
- *
+ * Approve clan as defender for siege
* @param clanId The int of player's clan id
*/
public void approveSiegeDefenderClan(int clanId)
@@ -717,8 +713,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is attacker
- *
+ * Return true if clan is attacker
* @param clan The Clan of the player
*/
@Override
@@ -728,8 +723,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is defender
- *
+ * Return true if clan is defender
* @param clan The Clan of the player
*/
@Override
@@ -866,8 +860,7 @@ public class Siege implements Siegable
}
/**
- * Register clan as attacker
- *
+ * Register clan as attacker
* @param player The PlayerInstance of the player trying to register
*/
public void registerAttacker(PlayerInstance player)
@@ -948,8 +941,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clanId The int of player's clan id
*/
public void removeSiegeClan(int clanId)
@@ -975,8 +967,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clan clan being removed
*/
public void removeSiegeClan(Clan clan)
@@ -989,8 +980,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param player The PlayerInstance of player/clan being removed
*/
public void removeSiegeClan(PlayerInstance player)
@@ -999,8 +989,7 @@ public class Siege implements Siegable
}
/**
- * Start the auto tasks
- *
+ * Start the auto tasks.
*/
public void startAutoTask()
{
@@ -1073,8 +1062,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as attacker
- *
+ * Add clan as attacker
* @param clanId The int of clan's id
*/
private void addAttacker(int clanId)
@@ -1083,8 +1071,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender
- *
+ * Add clan as defender
* @param clanId The int of clan's id
*/
private void addDefender(int clanId)
@@ -1105,8 +1092,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender waiting approval
- *
+ * Add clan as defender waiting approval
* @param clanId The int of clan's id
*/
private void addDefenderWaiting(int clanId)
@@ -1198,8 +1184,7 @@ public class Siege implements Siegable
}
/**
- * Return the correct siege date as Calendar.
- *
+ * Return the correct siege date as Calendar.
*/
public void correctSiegeDateTime()
{
@@ -1348,8 +1333,7 @@ public class Siege implements Siegable
}
/**
- * Save registration to database.
- *
+ * Save registration to database.
* @param clan The Clan of player
* @param typeId -1 = owner 0 = defender, 1 = attacker, 2 = defender waiting
* @param isUpdateRegistration
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/events/AbstractScript.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
index 6369448951..6c02d5efb1 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
@@ -2993,7 +2993,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param array of values.
* @return one value from array.
@@ -3009,7 +3009,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param list of values.
* @return one value from list.
@@ -3024,7 +3024,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param array of Integers.
* @return one Integer from array.
*/
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
index 0da0f1ff20..a4335762c0 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
@@ -53,7 +53,7 @@ public class PlayerSkillHolder implements ISkillsHolder
}
/**
- * Add a skill to the skills map.
+ * Add a skill to the skills map.
* @param skill
*/
@Override
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/instancezone/Instance.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
index d68ded49eb..e368c9ec27 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
@@ -329,7 +329,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Get player by ID from instance.
+ * Get player by ID from instance.
* @param id objectId of player
* @return first player by ID, otherwise {@code null}
*/
@@ -803,7 +803,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Set reenter penalty for players associated with current instance.
+ * Set reenter penalty for players associated with current instance.
* @param time penalty time in milliseconds since January 1, 1970
*/
public void setReenterTime(long time)
@@ -860,8 +860,7 @@ public class Instance implements IIdentifiable, INamable
/**
* Set instance world to finish state.
- * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
- * See {@link Instance#finishInstance(int)} for more details.
+ * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
*/
public void finishInstance()
{
@@ -1016,7 +1015,7 @@ public class Instance implements IIdentifiable, INamable
// Template methods
// ----------------------------------------------
/**
- * Get parameters from instance template.
+ * Get parameters from instance template.
* @return template parameters
*/
public StatSet getTemplateParameters()
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
index 7df6792cc9..9ae4f1c79c 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
@@ -999,7 +999,7 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Drop item from inventory by using its objectID and updates database
+ * Drop item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
@@ -1303,7 +1303,7 @@ public abstract class Inventory extends ItemContainer
/**
* Equips an item in the given slot of the paperdoll.
- * Remark : The item must be in the inventory already.
+ * Remark : The item must be in the inventory already.
* @param slot : int pointing out the slot of the paperdoll
* @param item : ItemInstance pointing out the item to add in slot
* @return ItemInstance designating the item placed in the slot before
@@ -1546,8 +1546,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in body slot and returns alterations.
- * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(long)} instead
+ * Unequips item in body slot and returns alterations.
+ * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(long)} instead
* @param slot : int designating the slot of the paperdoll
* @return ItemInstance[] : list of changes
*/
@@ -1577,8 +1577,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in slot and returns alterations
- * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
+ * Unequips item in slot and returns alterations
+ * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
* @param slot : int designating the slot
* @return ItemInstance[] : list of items altered
*/
@@ -1732,8 +1732,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Equips item and returns list of alterations
- * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
+ * Equips item and returns list of alterations
+ * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
* @param item : ItemInstance corresponding to the item
* @return ItemInstance[] : list of alterations
*/
@@ -2494,8 +2494,9 @@ public abstract class Inventory extends ItemContainer
/**
* Reduce the arrow number of the Creature.
- * Overridden in :
- *
PlayerInstance
+ *
+ * Overridden in:
+ *
PlayerInstance
* @param type
*/
public void reduceArrowCount(EtcItemType type)
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
index 2847ecdcd5..2e5f90dcee 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
@@ -530,7 +530,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its objectID and updates database
+ * Destroy item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -545,7 +545,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its itemId and updates database
+ * Destroy item from inventory by using its itemId and updates database
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
index 0a9e6cc66d..5d3bed530d 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
@@ -113,7 +113,7 @@ public class PetInventory extends Inventory
public void restore()
{
super.restore();
- // check for equiped items from other pets
+ // check for equipped items from other pets
for (ItemInstance item : _items.values())
{
if (item.isEquipped() && !item.getItem().checkCondition(_owner, _owner, false))
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
index ccf7bbc0d6..dd03785a1a 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
@@ -586,7 +586,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
+ * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -632,7 +632,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
+ * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/items/Item.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/items/Item.java
index 58d9e23de0..2461bd922b 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/items/Item.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/items/Item.java
@@ -58,7 +58,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
/**
- * This class contains all informations concerning the item (weapon, armor, etc).
+ * This class contains all informations concerning the item (weapon, armor, etc).
* Mother class of :
*
*
Armor
@@ -176,8 +176,7 @@ public abstract class Item extends ListenersContainer implements IIdentifiable
private boolean _isBlessed;
/**
- * Constructor of the Item that fill class variables.
- *
+ * Constructor of the Item that fill class variables.
* @param set : StatSet corresponding to a set of couples (key,value) for description of the item
*/
protected Item(StatSet set)
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
index ffea6dc3ea..bf2b368ddb 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.items.type.CrystalType;
import org.l2jmobius.gameserver.model.items.type.ItemType;
/**
- * This class contains ItemInstance
+ * This class contains ItemInstance
* Use to sort ItemInstance of :
*
*
Armor
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
index c1c4b0bf16..1f7b469358 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
@@ -263,19 +263,15 @@ public class ItemInstance extends WorldObject
}
/**
- * Remove a ItemInstance from the world and send server->client GetItem packets.
- *
- * Actions :
- *
+ * Remove a ItemInstance from the world and send server->client GetItem packets.
+ *
+ * Actions:
*
Send a Server->Client Packet GetItem to player that pick up and its _knowPlayers member
- *
Remove the WorldObject from the world
- *
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- *
- * Example of use :
- *
- *
Do Pickup Item : PCInstance and Pet
- *
+ *
Remove the WorldObject from the world
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ *
+ * Example of use:
+ *
Do Pickup Item : PCInstance and Pet
* @param creature Character that pick up the item
*/
public void pickupMe(Creature creature)
@@ -406,9 +402,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the location of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the location of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param loc : ItemLocation (enumeration)
* @param locData : int designating the slot where the item is stored or the village for freights
*/
@@ -437,8 +432,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
+ * Sets the quantity of the item.
* @param count the new count to set
*/
public void setCount(long count)
@@ -461,9 +455,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the quantity of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param process : String Identifier of process triggering this action
* @param count : int
* @param creator : PlayerInstance Player requesting the item creation
@@ -1469,7 +1462,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
*/
public void updateDatabase()
{
@@ -1477,7 +1470,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
* @param force if the update should necessarilly be done.
*/
public void updateDatabase(boolean force)
@@ -1513,20 +1506,17 @@ public class ItemInstance extends WorldObject
}
/**
- * Init a dropped ItemInstance and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a dropped ItemInstance and add it in the world as a visible object.
+ *
+ * Actions:
*
Set the x,y,z position of the ItemInstance dropped and update its _worldregion
*
Add the ItemInstance dropped to _visibleObjects of its WorldRegion
- *
Add the ItemInstance dropped in the world as a visible object
- *
- * Caution : This method DOESN'T ADD the object to _allObjects of World
- *
- * Example of use :
- *
+ *
Add the ItemInstance dropped in the world as a visible object
+ * Caution: This method DOESN'T ADD the object to _allObjects of World
+ *
+ * Example of use:
*
Drop item
- *
Call Pet
+ *
Call Pet
*/
public class ItemDropTask implements Runnable
{
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/quest/Quest.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/quest/Quest.java
index a74f5a2a86..c399ac294d 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/quest/Quest.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/quest/Quest.java
@@ -982,7 +982,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever a player attacks an NPC that is registered for the quest.
- * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
+ * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
* @param npc this parameter contains a reference to the exact instance of the NPC that got attacked.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked the NPC.
* @param damage this parameter represents the total damage that this attack has inflicted to the NPC.
@@ -1119,7 +1119,7 @@ public class Quest extends AbstractScript implements IIdentifiable
* The coder of the script may need to create a new quest state (if necessary).
* Note 3:
* The returned value of onFirstTalk replaces the default HTML that would have otherwise been loaded from a sub-folder of DatapackRoot/game/data/html/.
- * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
+ * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
* @param npc this parameter contains a reference to the exact instance of the NPC that the player is talking with.
* @param player this parameter contains a reference to the exact instance of the player who is talking to the NPC.
* @return the text returned by the event (may be {@code null}, a filename or just text)
@@ -1246,7 +1246,7 @@ public class Quest extends AbstractScript implements IIdentifiable
}
/**
- * This function is called whenever an NPC is teleport.
+ * This function is called whenever an NPC is teleport.
* @param npc this parameter contains a reference to the exact instance of the NPC who just teleport.
*/
protected void onTeleport(Npc npc)
@@ -1256,7 +1256,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever an NPC is called by another NPC in the same faction.
* @param npc this parameter contains a reference to the exact instance of the NPC who is being asked for help.
- * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
+ * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked.
* @param isSummon this parameter if it's {@code false} it denotes that the attacker was indeed the player, else it specifies that the attacker was the player's summon.
* @return
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
index b527d15bb8..f4662c2b87 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
@@ -695,7 +695,7 @@ public class SkillCaster implements Runnable
}
/**
- * Stops this casting and cleans all cast parameters.
+ * Stops this casting and cleans all cast parameters.
* @param aborted if {@code true}, server will send packets to the player, notifying him that the skill has been aborted.
*/
public void stopCasting(boolean aborted)
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/stats/Formulas.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/stats/Formulas.java
index 7dfb1604f4..21cf6d8cd5 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/stats/Formulas.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/stats/Formulas.java
@@ -551,7 +551,7 @@ public class Formulas
* Returns:
* 0 = shield defense doesn't succeed
* 1 = shield defense succeed
- * 2 = perfect block
+ * 2 = perfect block
* @param attacker
* @param target
* @param sendSysMsg
@@ -656,7 +656,7 @@ public class Formulas
}
/**
- * Calculates the effect landing success.
+ * Calculates the effect landing success.
* @param attacker the attacker
* @param target the target
* @param skill the skill
@@ -964,9 +964,9 @@ public class Formulas
}
/**
- * Calculates the attribute bonus with the following formula:
- * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
- * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
+ * Calculates the attribute bonus with the following formula:
+ * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
+ * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
* diff == 0, so AttBonus = 1
* It has been tested that physical skills do get affected by attack attribute even
* if they don't have any attribute. In that case only the biggest attack attribute is taken.
@@ -1208,7 +1208,7 @@ public class Formulas
* Confuse
* Compelling,
* Knockback
- * Pull
+ * Pull
* @param baseChance chance from effect parameter
* @param attacker
* @param target
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
index 2988807295..c621fab8f6 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
* A Function object is a component of a Calculator created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...).
* In fact, each calculator is a table of functions object in which each function represents a mathematics function:
* FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
+ * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
* Indeed, functions with lowest priority order is executed first and functions with the same order are executed in unspecified order.
* @author Zoey76
*/
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
index 1cb8bc9d02..d898d2c397 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
@@ -71,7 +71,7 @@ public class TaxZone extends ZoneType
}
/**
- * Gets castle associated with tax zone.
+ * Gets castle associated with tax zone.
* @return instance of {@link Castle} if found otherwise {@code null}
*/
public Castle getCastle()
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
index ca7f8d6d99..dee0ea769d 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
@@ -55,8 +55,8 @@ public class BlowFishKeygen
}
/**
- * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
- * Thus when getting a key with interests other then read-only a copy must be performed.
+ * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
+ * Thus when getting a key with interests other then read-only a copy must be performed.
* @return A key from this keygen pool.
*/
public static byte[] getRandomKey()
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
index 67b2253e32..30c764dd07 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
@@ -546,7 +546,7 @@ public class RequestAcquireSkill implements IClientIncomingPacket
/**
* Perform a simple check for current player and skill.
* Takes the needed SP if the skill require it and all requirements are meet.
- * Consume required items if the skill require it and all requirements are meet.
+ * Consume required items if the skill require it and all requirements are meet.
* @param player the skill learning player.
* @param trainer the skills teaching Npc.
* @param skillLearn the skill to be learn.
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
index e87e99057f..72f5e507d2 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
@@ -96,7 +96,7 @@ public class RequestDestroyItem implements IClientIncomingPacket
// if we can't find the requested item, its actually a cheat
if (itemToRemove == null)
{
- // gm can destroy other player items
+ // GM can destroy other player items
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
index 183ca83e49..1df78a5548 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
@@ -49,7 +49,7 @@ public class RequestGMCommand implements IClientIncomingPacket
@Override
public void run(GameClient client)
{
- // prevent non gm or low level GMs from vieweing player stuff
+ // prevent non GM or low level GMs from vieweing player stuff
if (!client.getPlayer().isGM() || !client.getPlayer().getAccessLevel().allowAltG())
{
return;
@@ -99,7 +99,7 @@ public class RequestGMCommand implements IClientIncomingPacket
}
case 6: // player warehouse
{
- // gm warehouse view to be implemented
+ // GM warehouse view to be implemented
if (player != null)
{
client.sendPacket(new GMViewWarehouseWithdrawList(1, player));
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
index 52c27df9ca..7c3fc1f3e2 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
@@ -90,7 +90,7 @@ public class UseItem implements IClientIncomingPacket
final ItemInstance item = player.getInventory().getItemByObjectId(_objectId);
if (item == null)
{
- // gm can use other player item
+ // GM can use other player item
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
index d19f06f141..f4f0c5ca81 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.network.OutgoingPackets;
import org.l2jmobius.gameserver.network.clientpackets.RequestAllyInfo;
/**
- * Sent in response to {@link RequestAllyInfo}, if applicable.
+ * Sent in response to {@link RequestAllyInfo}, if applicable.
* @author afk5min
*/
public class AllianceInfo implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
index 80a7042463..1fd7ec663a 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
@@ -20,9 +20,9 @@ import org.l2jmobius.commons.network.PacketWriter;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Eva's Inferno event packet. info params:
- * type (1 - %, 2 - npcId),
- * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
+ * Eva's Inferno event packet. info params:
+ * type (1 - %, 2 - npcId),
+ * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
* state (0-1), endtime (only when type 2)
*/
public class ExBrBuffEventState implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
index 00cc64147b..ba6bb59e06 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
@@ -141,7 +141,7 @@ public interface IClientOutgoingPacket extends IOutgoingPacket
}
/**
- * Sends this packet to the target player, useful for lambda operations like
+ * Sends this packet to the target player, useful for lambda operations like
* {@code World.getInstance().getPlayers().forEach(packet::sendTo)}
* @param player
*/
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
index 1a0c26e078..7fd8a52be7 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
@@ -24,25 +24,25 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Attacker List in the SiegeInfo Window
- *
- * c = ca
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Attackers Clans?
- * d = Number of Attackers Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Attacker List in the SiegeInfo Window
+ *
+ * c = ca
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Attackers Clans?
+ * d = Number of Attackers Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeAttackerList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
index 7066b92fa1..52e10be7c6 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
@@ -25,26 +25,26 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Defender List in the SiegeInfo Window
- *
- * c = 0xcb
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Defending Clans?
- * d = Number of Defending Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Defender List in the SiegeInfo Window
+ *
+ * c = 0xcb
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Defending Clans?
+ * d = Number of Defending Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeDefenderList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
index 355cea9565..6c647eec90 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
@@ -27,18 +27,18 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Shows the Siege Info
- *
- * c = c9
- * d = CastleID
- * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
- * d = Owner ClanID
- * S = Owner ClanName
- * S = Owner Clan LeaderName
- * d = Owner AllyID
- * S = Owner AllyName
- * d = current time (seconds)
- * d = Siege time (seconds) (0 for selectable)
+ * Shows the Siege Info
+ *
+ * c = c9
+ * d = CastleID
+ * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
+ * d = Owner ClanID
+ * S = Owner ClanName
+ * S = Owner Clan LeaderName
+ * d = Owner AllyID
+ * S = Owner AllyName
+ * d = current time (seconds)
+ * d = Siege time (seconds) (0 for selectable)
* d = (UNKNOW) Siege Time Select Related?
* @author KenM
*/
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/scripting/ManagedScript.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
index f2b91791ab..00235baa25 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
@@ -21,7 +21,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
/**
- * Abstract class for classes that are meant to be implemented by scripts.
+ * Abstract class for classes that are meant to be implemented by scripts.
* @author KenM
*/
public abstract class ManagedScript
@@ -41,7 +41,7 @@ public abstract class ManagedScript
public abstract Path getScriptPath();
/**
- * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
+ * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
* Subclasses of this class should override this method to properly refresh their bindings when necessary.
* @return true if and only if the script was reloaded, false otherwise.
*/
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
index 34ba313686..620f020f4e 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
@@ -77,7 +77,7 @@ public class AttackStanceTaskManager
}
/**
- * Checks for attack stance task.
+ * Checks for attack stance task.
* @param actor the actor
* @return {@code true} if the character has an attack stance task, {@code false} otherwise
*/
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/ui/frmAbout.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/ui/frmAbout.java
index a3e5c2cc67..4d161afb73 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/ui/frmAbout.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/ui/frmAbout.java
@@ -83,7 +83,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblProtocols);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 128, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/util/Broadcast.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/util/Broadcast.java
index e0d798deff..5a7eb1a4df 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/util/Broadcast.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/util/Broadcast.java
@@ -40,11 +40,13 @@ public class Broadcast
private static final Logger LOGGER = Logger.getLogger(Broadcast.class.getName());
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -60,11 +62,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -108,11 +112,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
* @param radius
@@ -128,10 +134,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param creature
* @param mov
*/
@@ -162,10 +170,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance present in the world.
- * Concept :
- * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance present in the world.
+ *
+ * Concept:
+ *
+ * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param packet
*/
public static void toAllOnlinePlayers(IClientOutgoingPacket packet)
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/util/MinionList.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/util/MinionList.java
index 29a8c04c1e..9a6f694eaa 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/util/MinionList.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/util/MinionList.java
@@ -58,13 +58,11 @@ public class MinionList
}
/**
- * Manage the spawn of Minions.
- *
- * Actions :
- *
+ * Manage the spawn of Minions.
+ *
+ * Actions:
*
Get the Minion data of all Minions that must be spawn
- *
For each Minion type, spawn the amount of Minion needed
- *
+ *
For each Minion type, spawn the amount of Minion needed
* @param minions
*/
public void spawnMinions(List minions)
@@ -260,16 +258,14 @@ public class MinionList
}
/**
- * Init a Minion and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a Minion and add it in the world as a visible object.
+ *
+ * Actions:
*
Get the template of the Minion to spawn
*
Create and Init the Minion and generate its Identifier
*
Set the Minion HP, MP and Heading
*
Set the Minion leader to this RaidBoss
- *
Init the position of the Minion and add it in the world as a visible object
- *
+ *
Init the position of the Minion and add it in the world as a visible object
* @param master MonsterInstance used as master for this minion
* @param minionId The NpcTemplate Identifier of the Minion to spawn
* @return
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/util/PrimeFinder.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/util/PrimeFinder.java
index c9532000c8..20016811a1 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/util/PrimeFinder.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/util/PrimeFinder.java
@@ -33,7 +33,7 @@ import java.util.Arrays;
public class PrimeFinder
{
/**
- * The largest prime this class can generate; currently equal to Integer.MAX_VALUE.
+ * The largest prime this class can generate; currently equal to Integer.MAX_VALUE
*/
public static final int LARGEST_PRIME = Integer.MAX_VALUE; // yes, it is prime.
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
index 2e46e0a048..0a81e323a3 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
@@ -67,8 +67,7 @@ public class TimeAmountInterpreter
}
/**
- * Appends an user-friendly description of the given amount of time to the specified text builder.
- *
+ * Appends an user-friendly description of the given amount of time to the specified text builder.
* Please keep in mind, that this method is primarily designed to be used with heap text builders. Therefore, if the given text builder throws an {@link IOException}, this exception will be wrapped in a {@link RuntimeException} and returned to the caller as an unchecked exception.
* @param
* @param textBuilder a character sequence builder
diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/loginserver/ui/frmAbout.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/loginserver/ui/frmAbout.java
index 8488868090..06a5d95539 100644
--- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/loginserver/ui/frmAbout.java
+++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/loginserver/ui/frmAbout.java
@@ -75,7 +75,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblLoginServer);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 148, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/ai/bosses/LimitBarrier.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/ai/bosses/LimitBarrier.java
index 9698726015..8b916c2fa2 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/ai/bosses/LimitBarrier.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/ai/bosses/LimitBarrier.java
@@ -38,7 +38,7 @@ import ai.AbstractNpcAI;
* OK - Epic Bosses Orfen, Queen Ant and Core also use Limit Barrier.
* OK - Epic Bosses Antharas, Zaken and Baium and their analogues in instance zones do not use Limit Barrier.
* OK - Raid Bosses in Clan Arena do not use Limit Barrier.
- * OK - All Raid Bosses who use Limit Barrier are listed below:
+ * OK - All Raid Bosses who use Limit Barrier are listed below:
*/
public final class LimitBarrier extends AbstractNpcAI
{
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/custom/listeners/ListenerTest.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/custom/listeners/ListenerTest.java
index 0f855db33f..ed9d1c76f4 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/custom/listeners/ListenerTest.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/custom/listeners/ListenerTest.java
@@ -114,7 +114,7 @@ public class ListenerTest extends AbstractNpcAI
}
/**
- * Prioritized event notification
+ * Prioritized event notification
* This method will be invoked as soon as creature from level range between 1 and 10 dies.
* This listener is registered into individual npcs container.
* @param event
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
index 4185463b7a..a20f09c9cd 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
@@ -26,18 +26,15 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
public class ArtefactInstanceAction implements IActionHandler
{
/**
- * Manage actions when a player click on the ArtefactInstance.
- *
- * Actions :
- *
+ * Manage actions when a player click on the ArtefactInstance.
+ *
+ * Actions:
*
Set the NpcInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
- *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
*/
@Override
public boolean action(PlayerInstance player, WorldObject target, boolean interact)
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
index bb73cd0bae..1f204280f0 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
@@ -36,27 +36,22 @@ import org.l2jmobius.gameserver.network.serverpackets.MoveToPawn;
public class NpcAction implements IActionHandler
{
/**
- * Manage actions when a player click on the Npc.
- *
- * Actions on first click on the Npc (Select it) :
- *
+ * Manage actions when a player click on the Npc.
+ *
+ * Actions on first click on the Npc (Select it):
*
Set the Npc as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, send a Server->Client packet StatusUpdate to the PlayerInstance in order to update Npc HP bar
- *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
- *
- * Actions on second click on the Npc (Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
+ *
+ * Actions on second click on the Npc (Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, notify the PlayerInstance AI with AI_INTENTION_ATTACK (after a height verification)
- *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
- *
- * Caution : Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
+ * Caution: Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The PlayerInstance that start an action on the Npc
*/
@Override
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
index 28aa39ab39..d52da54398 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
@@ -31,25 +31,20 @@ public class PlayerInstanceAction implements IActionHandler
private static final int CURSED_WEAPON_VICTIM_MIN_LEVEL = 21;
/**
- * Manage actions when a player click on this PlayerInstance.
- *
- * Actions on first click on the PlayerInstance (Select it) :
- *
+ * Manage actions when a player click on this PlayerInstance.
+ *
+ * Actions on first click on the PlayerInstance (Select it):
*
Set the target of the player
- *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
- *
- * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
+ *
+ * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the player (display the select window)
*
If target PlayerInstance has a Private Store, notify the player AI with AI_INTENTION_INTERACT
- *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
- *
- *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
+ *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The player that start an action on target PlayerInstance
*/
@Override
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
index 20a4e8f57c..6da5c01385 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
@@ -29,7 +29,7 @@ public class PlayerInstanceActionShift implements IActionShiftHandler
{
if (player.isGM())
{
- // Check if the gm already target this l2pcinstance
+ // Check if the GM already target this l2pcinstance
if (player.getTarget() != target)
{
// Set the target of the PlayerInstance player
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
index ea73fa17a1..1aa5e5074a 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
@@ -86,13 +86,13 @@ public class AdminAdmin implements IAdminCommandHandler
else if (command.startsWith("admin_gmliston"))
{
AdminData.getInstance().showGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Registered into gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Registered into GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_gmlistoff"))
{
AdminData.getInstance().hideGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Removed from gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Removed from GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_silence"))
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
index 2efc2df69a..3fed3db486 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
@@ -486,7 +486,7 @@ public class AdminEventEngine implements IAdminCommandHandler
sb.append("
");
sb.append("
");
sb.append("
");
- sb.append("
");
+ sb.append("
");
sb.append("Teams' names:
");
for (int i = 1; (i - 1) < teamnumbers; i++) // Team names params
{
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
index 5e3fc05aa9..91259505bf 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
@@ -31,7 +31,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
/**
- * This class handles following admin commands: - gm = turns gm mode on/off
+ * This class handles following admin commands: - GM = turns GM mode on/off
* @version $Revision: 1.1.2.1 $ $Date: 2005/03/15 21:32:48 $
*/
public class AdminFightCalculator implements IAdminCommandHandler
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
index a32a84dd35..e9acb6a1f6 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles following admin commands: - gm = turns gm mode off
+ * This class handles following admin commands: - GM = turns GM mode off
* @version $Revision: 1.2.4.4 $ $Date: 2005/04/11 10:06:06 $
*/
public class AdminGm implements IAdminCommandHandler
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
index 364bba90a9..f0b2f857a4 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles commands for gm to forge packets
+ * This class handles commands for GM to forge packets
* @author Maktakien, HorridoJoho
*/
public class AdminPForge implements IAdminCommandHandler
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
index 9dd195001c..b5e732f3f7 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
@@ -30,14 +30,14 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * Pledge Manipulation:
- *
With target in a character without clan:
+ * Pledge Manipulation:
+ *
With target in a character without clan:
* //pledge create clanname
- *
With target in a clan leader:
- * //pledge info
- * //pledge dismiss
- * //pledge setlevel level
- * //pledge rep reputation_points
+ *
With target in a clan leader:
+ * //pledge info
+ * //pledge dismiss
+ * //pledge setlevel level
+ * //pledge rep reputation_points
*/
public class AdminPledge implements IAdminCommandHandler
{
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
index fb1eed2f9f..9be9eb040d 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
@@ -78,8 +78,9 @@ public class QuestLink implements IBypassHandler
/**
* Open a choose quest window on client with all quests available of the NpcInstance.
+ *
* Actions:
- *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
+ *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
* @param player The PlayerInstance that talk with the NpcInstance
* @param npc The table containing quests of the NpcInstance
* @param quests
@@ -231,6 +232,7 @@ public class QuestLink implements IBypassHandler
/**
* Open a quest window on client with the text of the NpcInstance.
+ *
* Actions:
*
*
Get the text of the quest state in the folder data/scripts/quests/questId/stateId.htm
Fly Radius means the distance between starting point and final point, it must be an integer.
*
Fly Course means the movement direction: imagine a compass above player's head, making north player's heading. So if fly course is 180, player will go backwards (good for blink, e.g.).
*
- * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
+ * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
* If target is effector, put in XML self="1", this will make _actor = getEffector(). This, combined with target type, allows more complex actions like flying target's backwards or player's backwards.
* @author DrHouse
*/
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
index ca935396a6..e4e937ef41 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.network.serverpackets.ValidateLocation;
/**
* This Blink effect switches the location of the caster and the target.
- * This effect is totally done based on client description.
+ * This effect is totally done based on client description.
* Assume that geodata checks are done on the skill cast and not needed to repeat here.
* @author Nik
*/
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
index 0f1802d986..00474ef88a 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.effects.EffectFlag;
import org.l2jmobius.gameserver.model.effects.EffectType;
/**
- * An effect that blocks the player (NPC?) control.
+ * An effect that blocks the player (NPC?) control.
* It prevents moving, casting, social actions, etc.
* @author Nik
*/
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
index 6b463fd9d2..f94ecb0b46 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
@@ -21,7 +21,7 @@ import org.l2jmobius.gameserver.model.effects.AbstractEffect;
import org.l2jmobius.gameserver.model.effects.EffectFlag;
/**
- * Effect that blocks damage and heals to HP/MP.
+ * Effect that blocks damage and heals to HP/MP.
* Regeneration or DOT shouldn't be blocked, Vampiric Rage and Balance Life as well.
* @author Nik
*/
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
index 3d8985d1d8..0cc43483f5 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
/**
* An effect that changes damage taken from an attack.
- * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
+ * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
* Exceptions for this effect appears to be DOT effects and terrain damage, they are unaffected by this stat.
* As for example in retail this effect does reduce reflected damage taken (because it is received damage), as well as it does not decrease reflected damage done,
* because reflected damage is being calculated with the original attack damage and not this altered one.
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
index a4808a3312..5624fe4e60 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
@@ -34,10 +34,10 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
- * Current formulas were tested to be the best matching retail, damage appears to be identical:
- * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
- * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
+ * Physical Attack effect implementation.
+ * Current formulas were tested to be the best matching retail, damage appears to be identical:
+ * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
+ * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
* @author Nik
*/
public class PhysicalAttack extends AbstractEffect
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
index 332fa3fa4f..17f093e386 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
index 34e643a5b1..4f29f685f7 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
index e1c554d674..92d5fb7d96 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.zone.ZoneId;
/**
* Not Friend affect object implementation. Based on Gracia Final retail tests.
* Such are considered flagged/karma players (except party/clan/ally). Doesn't matter if in command channel.
- * In arena such are considered clan/ally/command channel (except party).
+ * In arena such are considered clan/ally/command channel (except party).
* In peace zone such are considered monsters.
* Monsters consider such all players, npcs (Citizens, Guild Masters, Merchants, Guards, etc. except monsters). Doesn't matter if in peace zone or arena.
* @author Nik
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/instances/AbstractInstance.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/instances/AbstractInstance.java
index b4165adac1..1cfccdbae0 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/instances/AbstractInstance.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/instances/AbstractInstance.java
@@ -62,7 +62,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Get instance world associated with {@code player}.
+ * Get instance world associated with {@code player}.
* @param player player who wants get instance world
* @return instance world if found, otherwise null
*/
@@ -229,8 +229,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Sets instance to finish state.
- * See {@link Instance#finishInstance()} for more details.
+ * Sets instance to finish state.
* @param player player used for determine current instance world
*/
protected void finishInstance(PlayerInstance player)
@@ -244,7 +243,6 @@ public abstract class AbstractInstance extends AbstractNpcAI
/**
* Sets instance to finish state.
- * See {@link Instance#finishInstance(int)} for more details.
* @param player player used for determine current instance world
* @param delay finish delay in minutes
*/
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
index 93028744ee..aa8ac8f064 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
@@ -1232,8 +1232,7 @@ public class BlowfishEngine
/**
* Method to encrypt the block at the given index.
- * The encrypted block goes to the destination array at the given index.
- *
+ * The encrypted block goes to the destination array at the given index.
* @param src source array with the plain data
* @param srcIndex index where the block to encrypt is located
* @param dst destination array the encryption will go to
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/GameTimeController.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/GameTimeController.java
index 131fb28d3d..aa4d359090 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/GameTimeController.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/GameTimeController.java
@@ -118,10 +118,13 @@ public class GameTimeController extends Thread
}
/**
- * Move all Creatures contained in movingObjects of GameTimeController.
- * Concept :
- * All Creature in movement are identified in movingObjects of GameTimeController.
- * Actions :
+ * Move all Creatures contained in movingObjects of GameTimeController.
+ *
+ * Concept:
+ *
+ * All Creature in movement are identified in movingObjects of GameTimeController.
+ *
+ * Actions:
*
*
Update the position of each Creature
*
If movement is finished, the Creature is removed from movingObjects
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/LoginServerThread.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/LoginServerThread.java
index bafacc7045..39bf2b4f51 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/LoginServerThread.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/LoginServerThread.java
@@ -95,7 +95,6 @@ public class LoginServerThread extends Thread
* The BlowFish engine used to encrypt packets
* It is first initialized with a unified key:
* "_;v.]05-31!|+-%xT!^[$\00"
- *
* and then after handshake, with a new key sent by
* login server during the handshake. This new key is stored
* in blowfishKey
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/Shutdown.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/Shutdown.java
index 3dd56d3db8..e07ac52791 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/Shutdown.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/Shutdown.java
@@ -233,7 +233,7 @@ public class Shutdown extends Thread
}
else
{
- // gm shutdown: send warnings and then call exit to start shutdown sequence
+ // GM shutdown: send warnings and then call exit to start shutdown sequence
countdown();
// last point where logging is operational :(
LOGGER.warning("GM shutdown countdown is over. " + MODE_TEXT[_shutdownMode] + " NOW!");
@@ -543,7 +543,7 @@ public class Shutdown extends Thread
}
/**
- * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
+ * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
* @return instance of Shutdown, to be used as shutdown hook
*/
public static Shutdown getInstance()
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/ai/AbstractAI.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/ai/AbstractAI.java
index 95f441a5d6..c544548976 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/ai/AbstractAI.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/ai/AbstractAI.java
@@ -45,7 +45,7 @@ import org.l2jmobius.gameserver.taskmanager.AttackStanceTaskManager;
/**
* Mother class of all objects AI in the world.
- * AbastractAI :
+ * AbastractAI:
*
CreatureAI
*/
public abstract class AbstractAI implements Ctrl
@@ -126,10 +126,10 @@ public abstract class AbstractAI implements Ctrl
/**
* Set the Intention of this AbstractAI.
- * Caution : This method is USED by AI classes
- * Overridden in :
- * AttackableAI : Create an AI Task executed every 1s (if necessary)
- * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
+ * Caution: This method is USED by AI classes
+ * Overridden in:
+ * AttackableAI : Create an AI Task executed every 1s (if necessary)
+ * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -141,7 +141,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
*/
@Override
@@ -152,7 +152,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
* @param args The first parameters of the Intention (optional target)
*/
@@ -225,7 +225,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onEvt method corresponding to the Event.
- * Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
*/
@Override
@@ -235,7 +235,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
*/
@@ -246,7 +246,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
* @param arg1 The second parameter of the Event (optional target)
@@ -419,7 +419,7 @@ public abstract class AbstractAI implements Ctrl
protected abstract void onEvtFinishCasting();
/**
- * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution : Low level function, used by AI subclasses
+ * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution: Low level function, used by AI subclasses
*/
protected void clientActionFailed()
{
@@ -430,8 +430,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param pawn
* @param offset
*/
@@ -514,8 +514,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param x
* @param y
* @param z
@@ -542,8 +542,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param loc
*/
public void clientStopMoving(Location loc)
@@ -591,8 +591,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
public void clientStartAutoAttack()
{
@@ -632,8 +632,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
void clientStopAutoAttack()
{
@@ -661,8 +661,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
protected void clientNotifyDead()
{
@@ -679,7 +679,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Update the state of this actor client side by sending Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance player.
- * Caution : Low level function, used by AI subclasses
+ * Caution: Low level function, used by AI subclasses
* @param player The PlayerIstance to notify with state of this Creature
*/
public void describeStateToPlayer(PlayerInstance player)
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/ai/AttackableAI.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/ai/AttackableAI.java
index 28bb61cbff..6075092cb6 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/ai/AttackableAI.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/ai/AttackableAI.java
@@ -212,7 +212,7 @@ public class AttackableAI extends CreatureAI
/**
* Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
- * Caution : If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
+ * Caution: If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -317,7 +317,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update every 1s the _globalAggro counter to come close to 0
*
If the actor is Aggressive and can attack, add all autoAttackable Creature in its Aggro Range to its _aggroList, chose a target and order to attack it
@@ -612,7 +612,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update the attack timeout if actor is running
*
If target is dead or timeout is expired, stop this attack and set the Intention to AI_INTENTION_ACTIVE
@@ -1237,7 +1237,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Attacked.
- * Actions :
+ *
+ * Actions:
*
*
Init the attack : Calculate the attack timeout, Set the _globalAggro to 0, Add the attacker to the actor _aggroList
*
Set the Creature movement type to run and send Server->Client packet ChangeMoveType to all others PlayerInstance
@@ -1301,7 +1302,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Aggression.
- * Actions :
+ *
+ * Actions:
*
*
Add the target to the actor _aggroList or update hate if already present
*
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/ai/CreatureAI.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/ai/CreatureAI.java
index 34be02f105..3b29875b4a 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/ai/CreatureAI.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/ai/CreatureAI.java
@@ -139,7 +139,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Idle Intention : Stop Attack, Movement and Stand Up the actor.
- * Actions :
+ *
+ * Actions:
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
Init cast and attack target
@@ -164,7 +165,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Active Intention : Stop Attack, Movement and Launch Think Event.
- * Actions : if the Intention is not already Active
+ *
+ * Actions : if the Intention is not already Active
*
*
Set the AI Intention to AI_INTENTION_ACTIVE
*
Init cast and attack target
@@ -195,7 +197,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Rest Intention.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
@@ -209,7 +212,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Attack Intention : Stop current Attack (if necessary), Start a new Attack and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_ATTACK
@@ -217,7 +221,8 @@ public class CreatureAI extends AbstractAI
*
Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast)
*
Launch the Think Event
*
- * Overridden in :
+ *
+ * Overridden in:
*
*
AttackableAI : Calculate attack timeout
*
@@ -281,7 +286,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Cast Intention : Stop current Attack, Init the AI in order to cast and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI cast target
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
@@ -331,7 +337,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
@@ -370,7 +377,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Follow Intention : Stop current Attack and Launch a Follow Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_FOLLOW
@@ -427,7 +435,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the PickUp Intention : Set the pick up target and Launch a Move To Pawn Task (offset=20).
- * Actions :
+ *
+ * Actions :
*
*
Set the AI pick up target
*
Set the Intention of this AI to AI_INTENTION_PICK_UP
@@ -476,7 +485,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Interact Intention : Set the interact target and Launch a Move To Pawn Task (offset=60).
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the AI interact target
@@ -537,7 +547,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Stunned then onAttacked Event.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
@@ -565,7 +576,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Rooted.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -588,7 +600,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Confused.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -606,7 +619,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Muted.
- * Actions :
+ *
+ * Actions:
*
*
Break a cast and send Server->Client ActionFailed packet and a System Message to the Creature
*
@@ -629,7 +643,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -643,7 +658,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Arrived.
- * Actions :
+ *
+ * Actions:
*
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
*
Launch actions corresponding to the Event Think
@@ -686,7 +702,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedRevalidate.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -700,7 +717,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedBlocked.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
@@ -725,7 +743,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ForgetObject.
- * Actions :
+ *
+ * Actions:
*
*
If the object was targeted and the Intention was AI_INTENTION_INTERACT or AI_INTENTION_PICK_UP, set the Intention to AI_INTENTION_ACTIVE
*
If the object was targeted to attack, stop the auto-attack, cancel target and set the Intention to AI_INTENTION_ACTIVE
@@ -781,7 +800,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -806,7 +826,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Dead.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast)
@@ -829,7 +850,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Fake Death.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
@@ -910,13 +932,15 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move to Pawn action in function of the distance and of the Interact area.
- * Actions :
+ *
+ * Actions:
*
*
Get the distance between the current position of the Creature and the target (x,y)
*
If the distance > offset+20, move the actor (by running) to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast)
*
If the distance <= offset+20, Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1017,13 +1041,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost or dead.
- * Actions : If the target is lost or dead
+ *
+ * Actions : If the target is lost or dead
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1050,13 +1076,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost.
- * Actions : If the target is lost
+ *
+ * Actions : If the target is lost
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/ai/PlayerAI.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/ai/PlayerAI.java
index 1af86289ec..72cd985005 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/ai/PlayerAI.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/ai/PlayerAI.java
@@ -90,7 +90,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -109,7 +110,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -124,7 +126,7 @@ public class PlayerAI extends PlayableAI
/**
* Finalize the casting of a skill. This method overrides CreatureAI method.
- * What it does:
+ * What it does:
* Check if actual intention is set to CAST and, if so, retrieves latest intention before the actual CAST and set it as the current intention for the player.
*/
@Override
@@ -197,7 +199,8 @@ public class PlayerAI extends PlayableAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
index a6c22e57af..dcfcbb433f 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
@@ -158,7 +158,7 @@ public class AdminData implements IXmlReader
AdminCommandAccessRight acar = _adminCommandAccessRights.get(adminCommand);
if (acar == null)
{
- // Trying to avoid the spam for next time when the gm would try to use the same command
+ // Trying to avoid the spam for next time when the GM would try to use the same command
if ((accessLevel.getLevel() > 0) && (accessLevel.getLevel() == _highestLevel))
{
acar = new AdminCommandAccessRight(adminCommand, true, accessLevel.getLevel());
@@ -341,7 +341,7 @@ public class AdminData implements IXmlReader
/**
* Gets the single instance of AdminTable.
- * @return AccessLevels: the one and only instance of this class
+ * @return AccessLevels: the one and only instance of this class
*/
public static AdminData getInstance()
{
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
index f11acfd056..0407de3b99 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
@@ -63,7 +63,7 @@ import org.l2jmobius.gameserver.model.skills.Skill;
* Here can be found the following skill trees:
*
*
Class skill trees: player skill trees for each class.
- *
Transfer skill trees: player skill trees for each healer class.
+ *
Transfer skill trees: player skill trees for each healer class.
*
Collect skill tree: player skill tree for Gracia related skills.
*
Fishing skill tree: player skill tree for fishing related skills.
*
Transform skill tree: player skill tree for transformation related skills.
@@ -464,7 +464,7 @@ public class SkillTreeData implements IXmlReader
}
/**
- * Gets the race skill tree.
+ * Gets the race skill tree.
* @param race the race skill tree Id
* @return the complete race Skill Tree for a given {@code Race}
*/
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/datatables/BotReportTable.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
index df93e82f1e..7f43f75eed 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
@@ -206,7 +206,7 @@ public class BotReportTable
}
/**
- * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
+ * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
* @param reporter (PlayerInstance who issued the report)
* @return True, if the report was registered, False otherwise
*/
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/datatables/ItemTable.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/datatables/ItemTable.java
index 569bf7eea4..ffbc08a6d9 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/datatables/ItemTable.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/datatables/ItemTable.java
@@ -198,10 +198,10 @@ public class ItemTable
}
/**
- * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions :
+ * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions:
*
Create and Init the ItemInstance corresponding to the Item Identifier and quantity
*
Add the ItemInstance object to _allObjects of L2world
- *
Logs Item creation according to log settings
+ *
Logs Item creation according to log settings
* @param process : String Identifier of process triggering this action
* @param itemId : int Item Identifier of the item to be created
* @param count : int Quantity of items to be created for stackable items
@@ -307,7 +307,8 @@ public class ItemTable
/**
* Destroys the ItemInstance.
- * Actions :
+ *
+ * Actions:
*
*
Sets ItemInstance parameters to be unusable
*
Removes the ItemInstance object to _allObjects of L2world
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/enums/BasicProperty.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/enums/BasicProperty.java
index 77a2a7a477..1e5cac18dd 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/enums/BasicProperty.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/enums/BasicProperty.java
@@ -17,17 +17,17 @@
package org.l2jmobius.gameserver.enums;
/**
- * Basic property type of skills.
- * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
- * After, only 3 types are used: physical, magic and none.
- *
- * Quote from Juji:
- * ----------------------------------------------------------------------
- * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
- * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
- * ----------------------------------------------------------------------
- * All other are considered with no basic property aka NONE.
- *
+ * Basic property type of skills.
+ * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
+ * After, only 3 types are used: physical, magic and none.
+ *
+ * Quote from Juji:
+ * ----------------------------------------------------------------------
+ * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
+ * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
+ * ----------------------------------------------------------------------
+ * All other are considered with no basic property aka NONE.
+ *
* @author Nik
*/
public enum BasicProperty
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/handler/ItemHandler.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/handler/ItemHandler.java
index 939d8263da..a815f2646e 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/handler/ItemHandler.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/handler/ItemHandler.java
@@ -38,10 +38,9 @@ public class ItemHandler implements IHandler
}
/**
- * Adds handler of item type in datatable.
- *
- * Concept :
- * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
+ * Adds handler of item type in datatable.
+ * Concept :
+ * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
* @param handler (IItemHandler)
*/
@Override
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
index 7d6c13d3b9..b510fdc4ee 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
@@ -456,7 +456,7 @@ public class InstanceManager implements IXmlReader
}
/**
- * Register instance world.
+ * Register instance world.
* @param instance instance which should be registered
*/
public void register(Instance instance)
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/AccessLevel.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/AccessLevel.java
index ced434ddda..2dac00e406 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/AccessLevel.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/AccessLevel.java
@@ -87,9 +87,8 @@ public class AccessLevel
}
/**
- * Returns the access level
- *
- * @return int: access level
+ * Returns the access level
+ * @return int: access level
*/
public int getLevel()
{
@@ -97,9 +96,8 @@ public class AccessLevel
}
/**
- * Returns the access level name
- *
- * @return String: access level name
+ * Returns the access level name
+ * @return String: access level name
*/
public String getName()
{
@@ -107,9 +105,8 @@ public class AccessLevel
}
/**
- * Returns the name color of the access level
- *
- * @return int: the name color for the access level
+ * Returns the name color of the access level
+ * @return int: the name color for the access level
*/
public int getNameColor()
{
@@ -117,9 +114,8 @@ public class AccessLevel
}
/**
- * Returns the title color color of the access level
- *
- * @return int: the title color for the access level
+ * Returns the title color color of the access level
+ * @return int: the title color for the access level
*/
public int getTitleColor()
{
@@ -127,9 +123,8 @@ public class AccessLevel
}
/**
- * Retuns if the access level has gm access or not
- *
- * @return boolean: true if access level have gm access, otherwise false
+ * Retuns if the access level has GM access or not
+ * @return boolean: true if access level have GM access, otherwise false
*/
public boolean isGm()
{
@@ -137,9 +132,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to attack in peace zone or not
- *
- * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
+ * Returns if the access level is allowed to attack in peace zone or not
+ * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
*/
public boolean allowPeaceAttack()
{
@@ -147,9 +141,8 @@ public class AccessLevel
}
/**
- * Retruns if the access level is allowed to use fixed res or not
- *
- * @return true if the access level is allowed to use fixed res, otherwise false
+ * Retruns if the access level is allowed to use fixed res or not
+ * @return true if the access level is allowed to use fixed res, otherwise false
*/
public boolean allowFixedRes()
{
@@ -157,9 +150,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to perform transactions or not
- *
- * @return boolean: true if access level is allowed to perform transactions, otherwise false
+ * Returns if the access level is allowed to perform transactions or not
+ * @return boolean: true if access level is allowed to perform transactions, otherwise false
*/
public boolean allowTransaction()
{
@@ -167,9 +159,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to use AltG commands or not
- *
- * @return boolean: true if access level is allowed to use AltG commands, otherwise false
+ * Returns if the access level is allowed to use AltG commands or not
+ * @return boolean: true if access level is allowed to use AltG commands, otherwise false
*/
public boolean allowAltG()
{
@@ -177,9 +168,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can give damage or not
- *
- * @return boolean: true if the access level can give damage, otherwise false
+ * Returns if the access level can give damage or not
+ * @return boolean: true if the access level can give damage, otherwise false
*/
public boolean canGiveDamage()
{
@@ -187,9 +177,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can take aggro or not
- *
- * @return boolean: true if the access level can take aggro, otherwise false
+ * Returns if the access level can take aggro or not
+ * @return boolean: true if the access level can take aggro, otherwise false
*/
public boolean canTakeAggro()
{
@@ -197,9 +186,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can gain exp or not
- *
- * @return boolean: true if the access level can gain exp, otherwise false
+ * Returns if the access level can gain exp or not
+ * @return boolean: true if the access level can gain exp, otherwise false
*/
public boolean canGainExp()
{
@@ -207,9 +195,9 @@ public class AccessLevel
}
/**
- * Returns if the access level contains allowedAccess as child
- * @param accessLevel as AccessLevel
- * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
+ * Returns if the access level contains allowedAccess as child
+ * @param accessLevel as AccessLevel
+ * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
*/
public boolean hasChildAccess(AccessLevel accessLevel)
{
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/EffectList.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/EffectList.java
index 72d713b173..78596bd21e 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/EffectList.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/EffectList.java
@@ -159,7 +159,7 @@ public class EffectList
}
/**
- * Verifies if this effect list contains the given skill ID.
+ * Verifies if this effect list contains the given skill ID.
* @param skillId the skill ID to verify
* @return {@code true} if the skill ID is present in the effect list (includes active and passive effects), {@code false} otherwise
*/
@@ -179,7 +179,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param type the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching the specified {@code AbnormalType}, {@code false} otherwise
*/
@@ -189,7 +189,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param types the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching one of the specified {@code AbnormalType}s, {@code false} otherwise
*/
@@ -421,7 +421,7 @@ public class EffectList
}
/**
- * Exit all effects having a specified flag.
+ * Exit all effects having a specified flag.
* @param effectFlag the flag of the effect to stop
*/
public void stopEffects(EffectFlag effectFlag)
@@ -438,7 +438,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, Skill)}
+ * {@link #stopSkillEffects(boolean, Skill)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skillId the skill ID
*/
@@ -457,7 +457,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, int)}
+ * {@link #stopSkillEffects(boolean, int)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skill the skill
*/
@@ -483,7 +483,7 @@ public class EffectList
}
/**
- * Exits all effects created by a specific skill {@code AbnormalType}s.
+ * Exits all effects created by a specific skill {@code AbnormalType}s.
* @param types the skill {@code AbnormalType}s to be checked and removed.
* @return {@code true} if there was any {@code BuffInfo} with one of the given {@code AbnormalType}s, {@code false} otherwise
*/
@@ -498,7 +498,7 @@ public class EffectList
}
/**
- * Exits all effects matched by a specific filter.
+ * Exits all effects matched by a specific filter.
* @param filter any filter to apply when selecting which {@code BuffInfo}s to be removed.
* @param update update effect flags and icons after the operation finishes.
* @param broadcast {@code true} to broadcast update packets if updating, {@code false} otherwise.
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/Party.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/Party.java
index bfa180535b..e5518154d9 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/Party.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/Party.java
@@ -142,7 +142,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Set invitation process flag and store time for expiration.
+ * Set invitation process flag and store time for expiration.
* Happens when a player joins party or declines to join.
* @param value the pending invitation state to set
*/
@@ -273,8 +273,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Send a Server->Client packet to all other PlayerInstance of the Party.
- *
+ * Send a Server->Client packet to all other PlayerInstance of the Party.
* @param player
* @param msg
*/
@@ -821,12 +820,12 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
- *
- * Actions :
+ * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
+ *
+ * Actions:
*
Get the PlayerInstance owner of the ServitorInstance (if necessary)
*
Calculate the Experience and SP reward distribution rate
- *
Add Experience and SP to the PlayerInstance
+ *
Add Experience and SP to the PlayerInstance
* @param xpReward The Experience reward to distribute
* @param spReward The SP reward to distribute
* @param rewardedMembers The list of PlayerInstance to reward
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/Spawn.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/Spawn.java
index e9068a0b5f..9f8d6a075f 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/Spawn.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/Spawn.java
@@ -41,7 +41,7 @@ import org.l2jmobius.gameserver.util.Util;
/**
* This class manages the spawn and respawn of a group of NpcInstance that are in the same are and have the same type.
- * Concept:
+ * Concept:
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
* @author Nightmare
@@ -78,13 +78,16 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Constructor of Spawn.
- * Concept:
+ *
+ * Concept:
+ *
* Each Spawn owns generic and static properties (ex : RewardExp, RewardSP, AggroRange...).
* All of those properties are stored in a different NpcTemplate for each type of Spawn. Each template is loaded once in the server cache memory (reduce memory use).
* When a new instance of Spawn is created, server just create a link between the instance and the template.
- * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
- * This link is stored in _spawn of the NpcInstance.
- * Actions:
+ * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
+ * This link is stored in _spawn of the NpcInstance.
+ *
+ * Actions:
*
*
Set the _template of the Spawn
*
Calculate the implementationName used to generate the generic constructor of NpcInstance managed by this Spawn
@@ -227,11 +230,11 @@ public class Spawn extends Location implements IIdentifiable, INamable
}
/**
- * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions :
+ * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions:
*
Decrease the current number of NpcInstance of this Spawn
*
Check if respawn is possible to prevent multiple respawning caused by lag
*
Update the current number of SpawnTask in progress or stand by of this Spawn
- *
Create a new SpawnTask to launch after the respawn Delay
Caution : A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
+ *
Create a new SpawnTask to launch after the respawn Delay
Caution: A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
* @param oldNpc
*/
public void decreaseCount(Npc oldNpc)
@@ -305,10 +308,13 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Create the NpcInstance, add it to the world and lauch its OnSpawn action.
- * Concept:
+ *
+ * Concept:
+ *
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
- * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
+ *
+ * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
*
*
Get NpcInstance Init parameters and its generate an Identifier
*
Call the constructor of the NpcInstance
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/World.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/World.java
index 0b8cd8b4f1..09579e901c 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/World.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/World.java
@@ -132,7 +132,8 @@ public class World
/**
* Adds an object to the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Withdraw an item from the warehouse, create an item
*
Spawn a Creature (PC, NPC, Pet)
@@ -172,7 +173,8 @@ public class World
/**
* Removes an object from the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Delete item from inventory, transfer Item from inventory to warehouse
*
Crystallize item
@@ -209,7 +211,7 @@ public class World
}
/**
- * Example of use:
+ * Example of use:
*
@@ -251,7 +253,7 @@ public class World
}
/**
- * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
+ * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
* @param name Name of the player to get Instance
* @return the player instance corresponding to the given name.
*/
@@ -299,18 +301,18 @@ public class World
}
/**
- * Add a WorldObject in the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Add a WorldObject in the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Add the WorldObject object in _allPlayers* of World
*
Add the WorldObject object in _gmList** of GmListTable
- *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
- * * only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstanceCaution : This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
- * Caution : This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use :
+ *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
+ * * only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstanceCaution: This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
+ * Caution: This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use:
*
Drop an Item
*
Spawn a Creature
- *
Apply Death Penalty of a PlayerInstance
+ *
Apply Death Penalty of a PlayerInstance
* @param object L2object to add in the world
* @param newRegion WorldRegion in wich the object will be add (not used)
*/
@@ -382,16 +384,16 @@ public class World
}
/**
- * Remove a WorldObject from the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Remove a WorldObject from the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Remove the WorldObject object from _allPlayers* of World
*
Remove the WorldObject object from _visibleObjects and _allPlayers* of WorldRegion
*
Remove the WorldObject object from _gmList** of GmListTable
- *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution : This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstance Example of use :
+ *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution: This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstance Example of use:
*
Pickup an Item
- *
Decay a Creature
+ *
Decay a Creature
* @param object L2object to remove from the world
* @param oldRegion WorldRegion in which the object was before removing
*/
@@ -690,9 +692,9 @@ public class World
}
/**
- * Calculate the current WorldRegions of the object according to its position (x,y). Example of use :
+ * Calculate the current WorldRegions of the object according to its position (x,y). Example of use:
*
Set position of a new WorldObject (drop, spawn...)
- *
Update position of a WorldObject after a movement
+ *
Update position of a WorldObject after a movement
* @param object the object
* @return
*/
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/WorldObject.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/WorldObject.java
index 63e719d10f..adc7402c47 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/WorldObject.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/WorldObject.java
@@ -670,7 +670,7 @@ public abstract class WorldObject extends ListenersContainer implements IIdentif
}
/**
- * Sets instance for current object by instance ID.
+ * Sets instance for current object by instance ID.
* @param id ID of instance world which should be set (0 means normal world)
*/
public void setInstanceById(int id)
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/WorldRegion.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/WorldRegion.java
index 4a166d2b8a..25ada44e59 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/WorldRegion.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/WorldRegion.java
@@ -195,8 +195,8 @@ public class WorldRegion
}
/**
- * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
- * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
+ * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
+ * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
* @param object
*/
public void addVisibleObject(WorldObject object)
@@ -216,7 +216,7 @@ public class WorldRegion
}
/**
- * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
+ * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
* @param object
*/
public void removeVisibleObject(WorldObject object)
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 a998425662..3f8e1a88c1 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
@@ -1071,7 +1071,7 @@ public class Attackable extends Npc
* During a Special Event all Attackable can drop extra Items.
* Those extra Items are defined in the table allNpcDateDrops of the EventDroplist.
* Each Special Event has a start and end date to stop to drop extra Items automatically.
- * Actions: If an extra drop must be generated
+ * Actions: If an extra drop must be generated
* Get an Item Identifier (random) from the DateDrop Item table of this Event.
* Get the Item quantity dropped (random).
* Create this or these ItemInstance corresponding to this Item Identifier.
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Creature.java
index 253052b1d8..29fb386a1b 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Creature.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Creature.java
@@ -168,7 +168,6 @@ import org.l2jmobius.gameserver.util.Util;
*
Trap
*
Vehicle
*
- *
* Concept of CreatureTemplate:
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
@@ -295,11 +294,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Constructor of Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature. Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
- * Actions:
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
+ *
+ * Actions:
*
*
Set the _template of the Creature
*
Set _overloaded to false (the character can take more items)
@@ -542,8 +544,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Remove the Creature from the world when the decay task is launched.
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
public void onDecay()
{
@@ -603,8 +605,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
*/
@@ -621,8 +625,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the radius (max knownlist radius) from the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
* @param radiusInKnownlist
@@ -678,12 +684,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send the Server->Client packet StatusUpdate with current HP and MP to all other PlayerInstance to inform.
- * Actions:
+ *
+ * Actions:
*
*
Create the Server->Client packet StatusUpdate with current HP and MP
*
Send the Server->Client packet StatusUpdate with current HP and MP to all Creature called _statusListener that must be informed of HP/MP updates of this Creature
*
- * Caution: This method DOESN'T SEND CP information
+ * Caution: This method DOESN'T SEND CP information
* @param caster TODO
*/
public void broadcastStatusUpdate(Creature caster)
@@ -714,7 +721,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Teleport a Creature and its pet if necessary.
- * Actions:
+ *
+ * Actions:
*
*
Stop the movement of the Creature
*
Set the x,y,z position of the WorldObject and if necessary modify its _worldRegion
@@ -883,7 +891,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a physical attack against a target (Simple, Bow, Pole or Dual).
- * Actions:
+ *
+ * Actions:
*
*
Get the active weapon (always equipped in the right hand)
*
If weapon is a bow, check for arrows, MP and bow re-use delay (if necessary, equip the PlayerInstance with arrows in left hand)
@@ -1274,7 +1283,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Manage the casting task (casting and interrupt time, re-use delay...) and display the casting bar and animation on client.
- * Actions:
+ *
+ * Actions:
*
*
Verify the possibility of the the cast : skill is a spell, caster isn't muted...
*
Get the list of all targets (ex : area effects) and define the Creature targeted (its stats will be used in calculation)
@@ -1564,7 +1574,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Kill the Creature.
- * Actions:
+ *
+ * Actions:
*
*
Set target to null and cancel Attack or Cast
*
Stop movement
@@ -2191,11 +2202,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Set the template of the Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
* Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
* @param template
*/
protected final void setTemplate(CreatureTemplate template)
@@ -2372,7 +2385,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop a specified/all Fake Death abnormal Effect.
- * Actions:
+ *
+ * Actions:
*
*
Delete a specified/all (if effect=null) Fake Death abnormal Effect from Creature and update client magic icon
*
Set the abnormal effect flag _fake_death to False
@@ -2400,7 +2414,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Stop all block actions (stun) effects.
+ * Stop all block actions (stun) effects.
* @param removeEffects {@code true} removes all block actions effects, {@code false} only notifies AI to think.
*/
public void stopStunning(boolean removeEffects)
@@ -2418,7 +2432,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop Effect: Transformation.
- * Actions:
+ *
+ * Actions:
*
*
Remove Transformation Effect
*
Notify the Creature AI
@@ -2447,7 +2462,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Updates the visual abnormal state of this character.
+ * Updates the visual abnormal state of this character.
*/
public void updateAbnormalVisualEffects()
{
@@ -2456,9 +2471,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update active skills in progress (In Use and Not In Use because stacked) icons on client.
- * Concept:
+ *
+ * Concept:
+ *
* All active skills effects in progress (In Use and Not In Use because stacked) are represented by an icon on the client.
- * Caution : This method ONLY UPDATE the client of the player and not clients of all players in the party.
+ * Caution: This method ONLY UPDATE the client of the player and not clients of all players in the party.
*/
public void updateEffectIcons()
{
@@ -2492,7 +2509,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* This class group all movement data.
- * Data :
+ *
+ * Data:
*
*
_moveTimestamp : Last time position update
*
_xDestination, _yDestination, _zDestination : Position of the destination
@@ -2798,7 +2816,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * @return True if the Creature is travelling a calculated path.
+ * @return True if the Creature is traveling a calculated path.
*/
public boolean isOnGeodataPath()
{
@@ -2908,16 +2926,18 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update the position of the Creature during a movement and return True if the movement is finished.
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
* When the movement is started (ex : by MovetoLocation), this method will be called each 0.1 sec to estimate and update the Creature position on the server.
* Note, that the current server position can differe from the current client position even if each movement is straight foward.
* That's why, client send regularly a Client->Server ValidatePosition packet to eventually correct the gap on the server.
* But, it's always the server position that is used in range calculation. At the end of the estimated movement time,
* the Creature position is automatically set to the destination position even if the movement is not finished.
- * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
- * But x and y positions must be calculated to avoid that players try to modify their movement speed.
+ * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
+ * But x and y positions must be calculated to avoid that players try to modify their movement speed.
* @return True if the movement is finished
*/
public boolean updatePosition()
@@ -3085,14 +3105,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop movement of the Creature (Called by AI Accessor only).
- * Actions:
+ *
+ * Actions:
*
*
Delete movement data of the Creature
*
Set the current position (x,y,z), its current WorldRegion if necessary and its heading
*
Remove the WorldObject object from _gmList of GmListTable
*
Remove object from _knownObjects and _knownPlayer of all surrounding WorldRegion Creatures
*
- * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
+ * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
* @param loc
*/
public void stopMove(Location loc)
@@ -3129,9 +3150,12 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Target a WorldObject (add the target to the Creature _target, _knownObject and Creature to _KnownObject of the WorldObject).
- * Concept:
- * The WorldObject (including Creature) targeted is identified in _target of the Creature.
- * Actions:
+ *
+ * Concept:
+ *
+ * The WorldObject (including Creature) targeted is identified in _target of the Creature.
+ *
+ * Actions:
*
*
Set the _target of Creature to WorldObject
*
If necessary, add WorldObject to _knownObject of the Creature
@@ -3174,11 +3198,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Calculate movement data for a move to location action and add the Creature to movingObjects of GameTimeController (only called by AI Accessor).
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
- * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
- * Actions:
+ * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
+ *
+ * Actions:
*
*
Get current position of the Creature
*
Calculate distance (dx,dy) between current position and destination including offset
@@ -3187,8 +3214,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
*
Add the Creature to movingObjects of the GameTimeController
*
Create a task to notify the AI that Creature arrives at a check point of the movement
*
- * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
- * Example of use:
+ * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
+ *
+ * Example of use:
*
*
AI : onIntentionMoveTo(Location), onIntentionPickUp(WorldObject), onIntentionInteract(WorldObject)
*
FollowTask
@@ -3592,7 +3620,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
* @return True if arrows are available.
* @param type
@@ -3604,9 +3632,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add Exp and Sp to the Creature.
- * Overridden in :
+ *
+ * Overridden in:
*
PlayerInstance
- *
PetInstance
+ *
PetInstance
* @param addToExp
* @param addToSp
*/
@@ -3616,36 +3645,37 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon instance (always equiped in the right hand).
+ * @return the active weapon instance (always equipped in the right hand).
*/
public abstract ItemInstance getActiveWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon item (always equiped in the right hand).
+ * @return the active weapon item (always equipped in the right hand).
*/
public abstract Weapon getActiveWeaponItem();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary weapon instance (always equiped in the left hand).
+ * @return the secondary weapon instance (always equipped in the left hand).
*/
public abstract ItemInstance getSecondaryWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary {@link Item} item (always equiped in the left hand).
+ * @return the secondary {@link Item} item (always equipped in the left hand).
*/
public abstract Item getSecondaryWeaponItem();
/**
* Manage hit process (called by Hit Task).
- * Actions:
+ *
+ * Actions:
*
*
If the attacker/target is dead or use fake death, notify the AI with EVT_CANCEL and send a Server->Client packet ActionFailed (if attacker is a PlayerInstance)
*
If attack isn't aborted, send a message system (critical hit, missed...) to attacker/target if they are PlayerInstance
If Creature or target is in a town area, send a system message TARGET_IN_PEACEZONE a Server->Client packet ActionFailed
*
If target is confused, send a Server->Client packet ActionFailed
@@ -3965,15 +3996,19 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add a skill to the Creature _skills and its Func objects to the calculator set of the Creature.
- * Concept:
- * All skills own by a Creature are identified in _skills
- * Actions:
+ *
+ * Concept:
+ *
+ * All skills own by a Creature are identified in _skills
+ *
+ * Actions:
*
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
*
Add Func objects of newSkill to the calculator set of the Creature
*
- * Overridden in:
+ *
+ * Overridden in:
*
*
PlayerInstance : Save update in the character_skills table of the database
*
@@ -5269,7 +5304,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
+ * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
* @param range
*/
public void initSeenCreatures(int range)
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Npc.java
index da169c4b56..94169ca3ae 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Npc.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Npc.java
@@ -159,7 +159,8 @@ public class Npc extends Creature
/**
* Constructor of NpcInstance (use Creature constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the Creature (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the Creature
@@ -579,7 +580,8 @@ public class Npc extends Creature
/**
* Open a quest or chat window on client with the text of the NpcInstance in function of the command.
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : RequestBypassToServer
*
@@ -639,11 +641,11 @@ public class Npc extends Creature
}
/**
- * :
+ * :
*
- *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
- *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
- *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
+ *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
+ *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
+ *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -706,7 +708,8 @@ public class Npc extends Creature
/**
* Open a chat window on client with the text of the NpcInstance.
- * Actions:
+ *
+ * Actions:
*
*
Get the text of the selected HTML file in function of the npcId and of the page number
*
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
@@ -877,7 +880,8 @@ public class Npc extends Creature
/**
* Kill the NpcInstance (the corpse disappeared after 7 seconds).
- * Actions:
+ *
+ * Actions:
*
*
Create a DecayTask to remove the corpse of the NpcInstance after 7 seconds
*
Set target to null and cancel Attack or Cast
@@ -1103,14 +1107,15 @@ public class Npc extends Creature
/**
* Remove the NpcInstance from the world and update its spawn object (for a complete removal use the deleteMe method).
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world when the decay task is launched
*
Decrease its spawn counter
*
Manage Siege task (killFlag, killCT)
*
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
@Override
public void onDecay()
@@ -1149,13 +1154,14 @@ public class Npc extends Creature
/**
* Remove PROPERLY the NpcInstance from the world.
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world and update its spawn object
*
Remove all WorldObject from _knownObjects and _knownPlayer of the NpcInstance then cancel Attack or Cast and notify AI
*
Remove WorldObject object from _allObjects of World
*
- * Caution: This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T SEND Server->Client packets to players
* UnAfraid: TODO: Add Listener here
*/
@Override
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Playable.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Playable.java
index 622442ab2e..750bdba19c 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Playable.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Playable.java
@@ -52,7 +52,8 @@ public abstract class Playable extends Creature
/**
* Constructor of Playable.
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and link copy basic Calculator set to this Playable
*
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Summon.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Summon.java
index ceae8467d7..46c221036a 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Summon.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Summon.java
@@ -588,7 +588,8 @@ public abstract class Summon extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the target is correct
*
Check if the target is in the skill cast range
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
index 5af1884bac..ba0920369e 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
@@ -24,21 +24,19 @@ import org.l2jmobius.gameserver.model.skills.Skill;
import org.l2jmobius.gameserver.network.serverpackets.ActionFailed;
/**
- * This class manages all Castle Siege Artefacts.
- *
+ * This class manages all Castle Siege Artefacts.
+ *
* @version $Revision: 1.11.2.1.2.7 $ $Date: 2005/04/06 16:13:40 $
*/
public class ArtefactInstance extends Npc
{
/**
- * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
- *
- * Actions :
- *
+ * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
+ *
+ * Actions:
*
Call the Creature constructor to set the _template of the ArtefactInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the ArtefactInstance
- *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
- *
+ *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
* @param template to apply to the NPC
*/
public ArtefactInstance(NpcTemplate template)
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 5f34d57abe..d359c8335b 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
@@ -36,7 +36,8 @@ public class GuardInstance extends Attackable
{
/**
* Constructor of GuardInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the GuardInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the GuardInstance
@@ -100,10 +101,11 @@ public class GuardInstance extends Attackable
/**
* Return the pathfile of the selected HTML file in function of the GuardInstance Identifier and of the page number.
- * Format of the pathfile :
+ *
+ * Format of the pathfile:
*
- *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
- *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
+ *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
+ *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -125,19 +127,22 @@ public class GuardInstance extends Attackable
/**
* Manage actions when a player click on the GuardInstance.
- * Actions on first click on the GuardInstance (Select it) :
+ *
+ * Actions on first click on the GuardInstance (Select it):
*
*
Set the GuardInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
Set the PlayerInstance Intention to AI_INTENTION_IDLE
*
Send a Server->Client packet ValidateLocation to correct the GuardInstance position and heading on the client
*
- * Actions on second click on the GuardInstance (Attack it/Interact with it) :
+ *
+ * Actions on second click on the GuardInstance (Attack it/Interact with it):
*
*
If PlayerInstance is in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_ATTACK
*
If PlayerInstance is NOT in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_INTERACT (after a distance verification) and show message
*
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : Action, AttackRequest
*
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
index 2b71cdcfe3..bee6060aec 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
@@ -43,7 +43,8 @@ public class MonsterInstance extends Attackable
/**
* Constructor of MonsterInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the MonsterInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the MonsterInstance
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
index 96d217da08..e399a38dad 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
@@ -122,7 +122,7 @@ public class PetInstance extends Summon
}
/**
- * Manage Feeding Task.
+ * Manage Feeding Task.
* Feed or kill the pet depending on hunger level.
* If pet has food in inventory and feed level drops below 55% then consume food from inventory.
* Send a broadcastStatusUpdate packet for this PetInstance
@@ -418,7 +418,7 @@ public class PetInstance extends Summon
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -1136,8 +1136,7 @@ public class PetInstance extends Summon
}
/**
- * Restore the specified % of experience this PetInstance has lost.
- *
+ * Restore the specified % of experience this PetInstance has lost.
* @param restorePercent
*/
public void restoreExp(double restorePercent)
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
index 10f22b45ab..141354a045 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
@@ -883,7 +883,8 @@ public class PlayerInstance extends Playable
/**
* Create a new PlayerInstance and add it in the characters table of the database.
- * Actions :
+ *
+ * Actions:
*
*
Create a new PlayerInstance with an account name
*
Set the name, the Hair Style, the Hair Color and the Face type of the PlayerInstance
@@ -1074,7 +1075,8 @@ public class PlayerInstance extends Playable
/**
* Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world (call restore method).
- * Actions :
+ *
+ * Actions:
*
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
@@ -1101,12 +1103,13 @@ public class PlayerInstance extends Playable
/**
* Constructor of PlayerInstance (use Creature constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and copy basic Calculator set to this PlayerInstance
*
Set the name of the PlayerInstance
*
- * Caution : This method SET the level of the PlayerInstance to 1
+ * Caution: This method SET the level of the PlayerInstance to 1
* @param objectId Identifier of the object to initialized
* @param template The PlayerTemplate to apply to the PlayerInstance
* @param accountName The name of the account including this PlayerInstance
@@ -2541,7 +2544,7 @@ public class PlayerInstance extends Playable
}
/**
- * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
+ * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
*/
public void regiveTemporarySkills()
{
@@ -3484,7 +3487,7 @@ public class PlayerInstance extends Playable
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -3725,7 +3728,7 @@ public class PlayerInstance extends Playable
}
/**
- * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : long Quantity of items to be dropped
@@ -3992,9 +3995,9 @@ public class PlayerInstance extends Playable
}
/**
- * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions :
- *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
- *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution : This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
+ * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions:
+ *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
+ *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution: This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
*/
@Override
public void broadcastStatusUpdate(Creature caster)
@@ -4061,11 +4064,11 @@ public class PlayerInstance extends Playable
}
/**
- * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept : Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
- * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions :
+ * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept: Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
+ * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions:
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
- *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as
- * MaxHP, STR, DEX...
+ *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP,
+ * STR, DEX...
*/
public void broadcastUserInfo()
{
@@ -4219,10 +4222,10 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Interact Task with another PlayerInstance. Actions :
+ * Manage Interact Task with another PlayerInstance. Actions:
*
If the private store is a STORE_PRIVATE_SELL, send a Server->Client PrivateBuyListSell packet to the PlayerInstance
*
If the private store is a STORE_PRIVATE_BUY, send a Server->Client PrivateBuyListBuy packet to the PlayerInstance
- *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
+ *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
* @param target The Creature targeted
*/
public void doInteract(Creature target)
@@ -4271,7 +4274,7 @@ public class PlayerInstance extends Playable
*
Send a Server->Client packet InventoryUpdate to this player with NewItem (use a new slot) or ModifiedItem (increase amount).
*
Send a Server->Client packet StatusUpdate to this player with current weight.
*
- * Caution: If a party is in progress, distribute the items between the party members!
+ * Caution: If a party is in progress, distribute the items between the party members!
* @param target the NPC dropping the item
* @param itemId the item ID
* @param itemCount the item count
@@ -4303,13 +4306,13 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Pickup Task. Actions :
+ * Manage Pickup Task. Actions:
*
Send a Server->Client packet StopMove to this PlayerInstance
*
Remove the ItemInstance from the world and send server->client GetItem packets
*
Send a System Message to the PlayerInstance : YOU_PICKED_UP_S1_ADENA or YOU_PICKED_UP_S1_S2
*
Add the Item to the PlayerInstance inventory
*
Send a Server->Client packet InventoryUpdate to this PlayerInstance with NewItem (use a new slot) or ModifiedItem (increase amount)
- *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution : If a Party is in progress, distribute Items between party members
+ *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution: If a Party is in progress, distribute Items between party members
* @param object The ItemInstance to pick up
*/
@Override
@@ -4573,7 +4576,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set a target. Actions :
+ * Set a target. Actions:
*
*
Remove the PlayerInstance from the _statusListener of the old target if it was a Creature
*
Add the PlayerInstance to the _statusListener of the new target if it's a Creature
@@ -4665,7 +4668,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon instance (always equiped in the right hand).
+ * Return the active weapon instance (always equipped in the right hand).
*/
@Override
public ItemInstance getActiveWeaponInstance()
@@ -4674,7 +4677,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon item (always equiped in the right hand).
+ * Return the active weapon item (always equipped in the right hand).
*/
@Override
public Weapon getActiveWeaponItem()
@@ -4763,7 +4766,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary weapon instance (always equiped in the left hand).
+ * Return the secondary weapon instance (always equipped in the left hand).
*/
@Override
public ItemInstance getSecondaryWeaponInstance()
@@ -4772,8 +4775,8 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary Item item (always equiped in the left hand).
- * Arrows, Shield..
+ * Return the secondary Item item (always equipped in the left hand).
+ * Arrows, Shield..
*/
@Override
public Item getSecondaryWeaponItem()
@@ -4787,12 +4790,12 @@ public class PlayerInstance extends Playable
}
/**
- * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions :
+ * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions:
*
Reduce the Experience of the PlayerInstance in function of the calculated Death Penalty
*
If necessary, unsummon the Pet of the killed PlayerInstance
*
Manage Karma gain for attacker and Karam loss for the killed PlayerInstance
*
If the killed PlayerInstance has Karma, manage Drop Item
- *
Kill the PlayerInstance
+ *
Kill the PlayerInstance
* @param killer
*/
@Override
@@ -5264,12 +5267,13 @@ public class PlayerInstance extends Playable
}
/**
- * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
- * Actions :
+ * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
+ *
+ * Actions:
*
Calculate the Experience loss
*
Set the value of _expBeforeDeath
*
Set the new Experience value of the PlayerInstance and Decrease its level if necessary
- *
Send a Server->Client StatusUpdate packet with its new Experience
+ *
Send a Server->Client StatusUpdate packet with its new Experience
* @param killer
*/
public void calculateDeathExpPenalty(Creature killer)
@@ -5321,7 +5325,7 @@ public class PlayerInstance extends Playable
}
/**
- * Stop the HP/MP/CP Regeneration task. Actions :
+ * Stop the HP/MP/CP Regeneration task. Actions:
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
*/
@@ -5669,13 +5673,13 @@ public class PlayerInstance extends Playable
}
/**
- * Set the Private Store type of the PlayerInstance. Values :
+ * Set the Private Store type of the PlayerInstance. Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @param privateStoreType
*/
public void setPrivateStoreType(PrivateStoreType privateStoreType)
@@ -5688,13 +5692,13 @@ public class PlayerInstance extends Playable
}
/**
- * Values :
+ * Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @return the Private Store type of the PlayerInstance.
*/
public PrivateStoreType getPrivateStoreType()
@@ -6412,11 +6416,11 @@ public class PlayerInstance extends Playable
}
/**
- * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions :
+ * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions:
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
*
Set the x,y,z position of the PlayerInstance and make it invisible
- *
Update the overloaded status of the PlayerInstance
+ *
Update the overloaded status of the PlayerInstance
* @param objectId Identifier of the object to initialized
* @return The PlayerInstance loaded from the database
*/
@@ -7329,10 +7333,10 @@ public class PlayerInstance extends Playable
}
/**
- * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept : All skills own by a PlayerInstance are identified in _skills Actions :
+ * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept: All skills own by a PlayerInstance are identified in _skills Actions:
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
- *
Add Func objects of newSkill to the calculator set of the Creature
+ *
Add Func objects of newSkill to the calculator set of the Creature
* @param newSkill The Skill to add to the Creature
* @param store
* @return The Skill replaced or null if just added a new Skill
@@ -7363,10 +7367,10 @@ public class PlayerInstance extends Playable
}
/**
- * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept : All skills own by a Creature are identified in _skills Actions :
+ * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept: All skills own by a Creature are identified in _skills Actions:
*
Remove the skill from the Creature _skills
- *
Remove all its Func objects from the Creature calculator set
Overridden in :
- *
PlayerInstance : Save update in the character_skills table of the database
+ *
Remove all its Func objects from the Creature calculator set
Overridden in:
+ *
PlayerInstance : Save update in the character_skills table of the database
* @param skill The Skill to remove from the Creature
* @return The Skill removed
*/
@@ -8053,7 +8057,8 @@ public class PlayerInstance extends Playable
/**
* Return True if the PlayerInstance is autoAttackable.
- * Actions:
+ *
+ * Actions:
*
*
Check if the attacker isn't the PlayerInstance Pet
*
Check if the attacker is MonsterInstance
@@ -8215,7 +8220,8 @@ public class PlayerInstance extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the skill isn't toggle and is offensive
*
Check if the target is in the skill cast range
@@ -8566,15 +8572,18 @@ public class PlayerInstance extends Playable
/**
* Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers.
- * Concept:
- * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
* In order to inform other players of this PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet
- * Actions:
+ *
+ * Actions:
*
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
*
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
*
- * Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
+ * Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
*/
@Override
public void updateAbnormalVisualEffects()
@@ -9397,7 +9406,7 @@ public class PlayerInstance extends Playable
}
/**
- * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
+ * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
* 2. This method no longer changes the active _classIndex of the player. This is only done by the calling of setActiveClass() method as that should be the only way to do so.
* @param classId
* @param classIndex
@@ -10571,7 +10580,8 @@ public class PlayerInstance extends Playable
/**
* Manage the delete task of a PlayerInstance (Leave Party, Unsummon pet, Save its inventory in the database, Remove it from the world...).
- * Actions:
+ *
+ * Actions:
*
*
If the PlayerInstance is in observer mode, set its position to its position before entering in observer mode
*
Set the online Flag to True or False and update the characters table of the database with online status and lastAccess
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
index d58c4a2344..1538e27eb0 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
@@ -31,7 +31,8 @@ public class RaidBossInstance extends MonsterInstance
/**
* Constructor of RaidBossInstance (use Creature and NpcInstance constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the RaidBossInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the RaidBossInstance
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
index 0746dde009..e66a7d8d7f 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
@@ -152,7 +152,8 @@ public class StaticObjectInstance extends Creature
/**
* Set the meshIndex of the object.
- * Values :
+ *
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
@@ -166,7 +167,7 @@ public class StaticObjectInstance extends Creature
}
/**
- * Values :
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
index b8258c55cc..1eb09ebcb7 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
@@ -265,7 +265,8 @@ public class CreatureStat
/**
* Return the MAtk (base+modifier) of the Creature.
- * Example of use: Calculate Magic damage
+ *
+ * Example of use: Calculate Magic damage
* @return
*/
public int getMAtk()
@@ -290,7 +291,7 @@ public class CreatureStat
}
/**
- * Example of use : Calculate Magic damage.
+ * Example of use : Calculate Magic damage.
* @return the MDef (base+modifier) of the Creature against a skill in function of abnormal effects in progress.
*/
public int getMDef()
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
index a34f446f36..ecb6ca7cf2 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
@@ -57,11 +57,14 @@ public class CreatureStatus
/**
* Add the object to the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use:
+ *
+ * Example of use:
*
*
Target a PC or NPC
*
@@ -79,11 +82,14 @@ public class CreatureStatus
/**
* Remove the object from the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use :
+ *
+ * Example of use :
*
*
Untarget a PC or NPC
*
@@ -96,8 +102,10 @@ public class CreatureStatus
/**
* Return the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
* @return The list of Creature to inform or null if empty
@@ -188,7 +196,8 @@ public class CreatureStatus
/**
* Start the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Calculate the regen task period
*
Launch the HP/MP/CP Regeneration task with Medium priority
@@ -208,7 +217,8 @@ public class CreatureStatus
/**
* Stop the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/base/SubClass.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/base/SubClass.java
index 6e1b4abe48..8e382665f8 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/base/SubClass.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/base/SubClass.java
@@ -20,7 +20,7 @@ import org.l2jmobius.Config;
import org.l2jmobius.gameserver.data.xml.impl.ExperienceData;
/**
- * Character Sub-Class Definition
+ * Character Sub-Class Definition
* Used to store key information about a character's sub-class.
* @author Tempy
*/
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
index ee74925752..a54baee819 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
@@ -62,7 +62,7 @@ public abstract class AbstractEffect
/**
* Calculates whether this effects land or not.
* If it lands will be scheduled and added to the character effect list.
- * Override in effect implementation to change behavior.
+ * Override in effect implementation to change behavior.
* Warning: Must be used only for instant effects continuous effects will not call this they have their success handled by activate_rate.
* @param effector
* @param effected
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/entity/Castle.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/entity/Castle.java
index 84bd945a23..c67b32e5be 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/entity/Castle.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/entity/Castle.java
@@ -616,8 +616,7 @@ public class Castle extends AbstractResidence
}
/**
- * Respawn all doors on castle grounds
- *
+ * Respawn all doors on castle grounds
* @param isDoorWeak
*/
public void spawnDoor(boolean isDoorWeak)
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/entity/Fort.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/entity/Fort.java
index 755bee3310..667c694f50 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/entity/Fort.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/entity/Fort.java
@@ -273,8 +273,7 @@ public class Fort extends AbstractResidence
}
/**
- * Move non clan members off fort area and to nearest town.
- *
+ * Move non clan members off fort area and to nearest town.
*/
public void banishForeigners()
{
@@ -516,8 +515,7 @@ public class Fort extends AbstractResidence
}
/**
- * Respawn all doors on fort grounds
- *
+ * Respawn all doors on fort grounds.
*/
public void resetDoors()
{
@@ -976,11 +974,10 @@ public class Fort extends AbstractResidence
}
/**
- * @return Returns state of fortress.
- *
- * 0 - not decided yet
- * 1 - independent
- * 2 - contracted with castle
+ * @return Returns state of fortress.
+ * 0 - not decided yet
+ * 1 - independent
+ * 2 - contracted with castle
*/
public int getFortState()
{
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/entity/FortSiege.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
index fe98f73d82..d4e5ae83b5 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
@@ -703,14 +703,14 @@ public class FortSiege implements Siegable
}
/**
- * Register clan as attacker.
+ * Register clan as attacker.
* @param player The PlayerInstance of the player trying to register.
* @param checkConditions True if should be checked conditions, false otherwise
- * @return Number that defines what happened.
- * 0 - Player don't have clan.
- * 1 - Player don't have enough adena to register.
- * 2 - Is not right time to register Fortress now.
- * 3 - Players clan is already registered to siege.
+ * @return Number that defines what happened.
+ * 0 - Player don't have clan.
+ * 1 - Player don't have enough adena to register.
+ * 2 - Is not right time to register Fortress now.
+ * 3 - Players clan is already registered to siege.
* 4 - Players clan is successfully registered to siege.
*/
public int addAttacker(PlayerInstance player, boolean checkConditions)
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/entity/Hero.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/entity/Hero.java
index 49b405d179..8c9bbb0bc0 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/entity/Hero.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/entity/Hero.java
@@ -866,7 +866,7 @@ public class Hero
}
/**
- * Saving task for {@link Hero}
+ * Saving task for {@link Hero}
* Save all hero messages to DB.
*/
public void shutdown()
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/entity/Siege.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/entity/Siege.java
index 0bcd190ec1..f714cb5ce1 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/entity/Siege.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/entity/Siege.java
@@ -383,8 +383,7 @@ public class Siege implements Siegable
}
/**
- * When control of castle changed during siege
- *
+ * When control of castle changed during siege.
*/
public void midVictory()
{
@@ -470,8 +469,7 @@ public class Siege implements Siegable
}
/**
- * When siege starts
- *
+ * When siege starts.
*/
@Override
public void startSiege()
@@ -529,8 +527,7 @@ public class Siege implements Siegable
}
/**
- * Announce to player.
- *
+ * Announce to player.
* @param message The SystemMessage to send to player
* @param bothSides True - broadcast to both attackers and defenders. False - only to defenders.
*/
@@ -682,8 +679,7 @@ public class Siege implements Siegable
}
/**
- * Approve clan as defender for siege
- *
+ * Approve clan as defender for siege
* @param clanId The int of player's clan id
*/
public void approveSiegeDefenderClan(int clanId)
@@ -717,8 +713,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is attacker
- *
+ * Return true if clan is attacker
* @param clan The Clan of the player
*/
@Override
@@ -728,8 +723,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is defender
- *
+ * Return true if clan is defender
* @param clan The Clan of the player
*/
@Override
@@ -866,8 +860,7 @@ public class Siege implements Siegable
}
/**
- * Register clan as attacker
- *
+ * Register clan as attacker
* @param player The PlayerInstance of the player trying to register
*/
public void registerAttacker(PlayerInstance player)
@@ -948,8 +941,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clanId The int of player's clan id
*/
public void removeSiegeClan(int clanId)
@@ -975,8 +967,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clan clan being removed
*/
public void removeSiegeClan(Clan clan)
@@ -989,8 +980,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param player The PlayerInstance of player/clan being removed
*/
public void removeSiegeClan(PlayerInstance player)
@@ -999,8 +989,7 @@ public class Siege implements Siegable
}
/**
- * Start the auto tasks
- *
+ * Start the auto tasks.
*/
public void startAutoTask()
{
@@ -1073,8 +1062,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as attacker
- *
+ * Add clan as attacker
* @param clanId The int of clan's id
*/
private void addAttacker(int clanId)
@@ -1083,8 +1071,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender
- *
+ * Add clan as defender
* @param clanId The int of clan's id
*/
private void addDefender(int clanId)
@@ -1105,8 +1092,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender waiting approval
- *
+ * Add clan as defender waiting approval
* @param clanId The int of clan's id
*/
private void addDefenderWaiting(int clanId)
@@ -1198,8 +1184,7 @@ public class Siege implements Siegable
}
/**
- * Return the correct siege date as Calendar.
- *
+ * Return the correct siege date as Calendar.
*/
public void correctSiegeDateTime()
{
@@ -1348,8 +1333,7 @@ public class Siege implements Siegable
}
/**
- * Save registration to database.
- *
+ * Save registration to database.
* @param clan The Clan of player
* @param typeId -1 = owner 0 = defender, 1 = attacker, 2 = defender waiting
* @param isUpdateRegistration
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/events/AbstractScript.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
index 6369448951..6c02d5efb1 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
@@ -2993,7 +2993,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param array of values.
* @return one value from array.
@@ -3009,7 +3009,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param list of values.
* @return one value from list.
@@ -3024,7 +3024,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param array of Integers.
* @return one Integer from array.
*/
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
index 0da0f1ff20..a4335762c0 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
@@ -53,7 +53,7 @@ public class PlayerSkillHolder implements ISkillsHolder
}
/**
- * Add a skill to the skills map.
+ * Add a skill to the skills map.
* @param skill
*/
@Override
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/instancezone/Instance.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
index d68ded49eb..e368c9ec27 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
@@ -329,7 +329,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Get player by ID from instance.
+ * Get player by ID from instance.
* @param id objectId of player
* @return first player by ID, otherwise {@code null}
*/
@@ -803,7 +803,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Set reenter penalty for players associated with current instance.
+ * Set reenter penalty for players associated with current instance.
* @param time penalty time in milliseconds since January 1, 1970
*/
public void setReenterTime(long time)
@@ -860,8 +860,7 @@ public class Instance implements IIdentifiable, INamable
/**
* Set instance world to finish state.
- * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
- * See {@link Instance#finishInstance(int)} for more details.
+ * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
*/
public void finishInstance()
{
@@ -1016,7 +1015,7 @@ public class Instance implements IIdentifiable, INamable
// Template methods
// ----------------------------------------------
/**
- * Get parameters from instance template.
+ * Get parameters from instance template.
* @return template parameters
*/
public StatSet getTemplateParameters()
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
index 7df6792cc9..9ae4f1c79c 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
@@ -999,7 +999,7 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Drop item from inventory by using its objectID and updates database
+ * Drop item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
@@ -1303,7 +1303,7 @@ public abstract class Inventory extends ItemContainer
/**
* Equips an item in the given slot of the paperdoll.
- * Remark : The item must be in the inventory already.
+ * Remark : The item must be in the inventory already.
* @param slot : int pointing out the slot of the paperdoll
* @param item : ItemInstance pointing out the item to add in slot
* @return ItemInstance designating the item placed in the slot before
@@ -1546,8 +1546,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in body slot and returns alterations.
- * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(long)} instead
+ * Unequips item in body slot and returns alterations.
+ * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(long)} instead
* @param slot : int designating the slot of the paperdoll
* @return ItemInstance[] : list of changes
*/
@@ -1577,8 +1577,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in slot and returns alterations
- * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
+ * Unequips item in slot and returns alterations
+ * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
* @param slot : int designating the slot
* @return ItemInstance[] : list of items altered
*/
@@ -1732,8 +1732,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Equips item and returns list of alterations
- * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
+ * Equips item and returns list of alterations
+ * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
* @param item : ItemInstance corresponding to the item
* @return ItemInstance[] : list of alterations
*/
@@ -2494,8 +2494,9 @@ public abstract class Inventory extends ItemContainer
/**
* Reduce the arrow number of the Creature.
- * Overridden in :
- *
PlayerInstance
+ *
+ * Overridden in:
+ *
PlayerInstance
* @param type
*/
public void reduceArrowCount(EtcItemType type)
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
index 2847ecdcd5..2e5f90dcee 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
@@ -530,7 +530,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its objectID and updates database
+ * Destroy item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -545,7 +545,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its itemId and updates database
+ * Destroy item from inventory by using its itemId and updates database
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
index 0a9e6cc66d..5d3bed530d 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
@@ -113,7 +113,7 @@ public class PetInventory extends Inventory
public void restore()
{
super.restore();
- // check for equiped items from other pets
+ // check for equipped items from other pets
for (ItemInstance item : _items.values())
{
if (item.isEquipped() && !item.getItem().checkCondition(_owner, _owner, false))
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
index ccf7bbc0d6..dd03785a1a 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
@@ -586,7 +586,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
+ * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -632,7 +632,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
+ * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/items/Item.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/items/Item.java
index 58d9e23de0..2461bd922b 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/items/Item.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/items/Item.java
@@ -58,7 +58,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
/**
- * This class contains all informations concerning the item (weapon, armor, etc).
+ * This class contains all informations concerning the item (weapon, armor, etc).
* Mother class of :
*
*
Armor
@@ -176,8 +176,7 @@ public abstract class Item extends ListenersContainer implements IIdentifiable
private boolean _isBlessed;
/**
- * Constructor of the Item that fill class variables.
- *
+ * Constructor of the Item that fill class variables.
* @param set : StatSet corresponding to a set of couples (key,value) for description of the item
*/
protected Item(StatSet set)
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
index ffea6dc3ea..bf2b368ddb 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.items.type.CrystalType;
import org.l2jmobius.gameserver.model.items.type.ItemType;
/**
- * This class contains ItemInstance
+ * This class contains ItemInstance
* Use to sort ItemInstance of :
*
*
Armor
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
index c1c4b0bf16..1f7b469358 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
@@ -263,19 +263,15 @@ public class ItemInstance extends WorldObject
}
/**
- * Remove a ItemInstance from the world and send server->client GetItem packets.
- *
- * Actions :
- *
+ * Remove a ItemInstance from the world and send server->client GetItem packets.
+ *
+ * Actions:
*
Send a Server->Client Packet GetItem to player that pick up and its _knowPlayers member
- *
Remove the WorldObject from the world
- *
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- *
- * Example of use :
- *
- *
Do Pickup Item : PCInstance and Pet
- *
+ *
Remove the WorldObject from the world
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ *
+ * Example of use:
+ *
Do Pickup Item : PCInstance and Pet
* @param creature Character that pick up the item
*/
public void pickupMe(Creature creature)
@@ -406,9 +402,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the location of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the location of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param loc : ItemLocation (enumeration)
* @param locData : int designating the slot where the item is stored or the village for freights
*/
@@ -437,8 +432,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
+ * Sets the quantity of the item.
* @param count the new count to set
*/
public void setCount(long count)
@@ -461,9 +455,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the quantity of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param process : String Identifier of process triggering this action
* @param count : int
* @param creator : PlayerInstance Player requesting the item creation
@@ -1469,7 +1462,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
*/
public void updateDatabase()
{
@@ -1477,7 +1470,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
* @param force if the update should necessarilly be done.
*/
public void updateDatabase(boolean force)
@@ -1513,20 +1506,17 @@ public class ItemInstance extends WorldObject
}
/**
- * Init a dropped ItemInstance and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a dropped ItemInstance and add it in the world as a visible object.
+ *
+ * Actions:
*
Set the x,y,z position of the ItemInstance dropped and update its _worldregion
*
Add the ItemInstance dropped to _visibleObjects of its WorldRegion
- *
Add the ItemInstance dropped in the world as a visible object
- *
- * Caution : This method DOESN'T ADD the object to _allObjects of World
- *
- * Example of use :
- *
+ *
Add the ItemInstance dropped in the world as a visible object
+ * Caution: This method DOESN'T ADD the object to _allObjects of World
+ *
+ * Example of use:
*
Drop item
- *
Call Pet
+ *
Call Pet
*/
public class ItemDropTask implements Runnable
{
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/quest/Quest.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/quest/Quest.java
index a74f5a2a86..c399ac294d 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/quest/Quest.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/quest/Quest.java
@@ -982,7 +982,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever a player attacks an NPC that is registered for the quest.
- * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
+ * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
* @param npc this parameter contains a reference to the exact instance of the NPC that got attacked.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked the NPC.
* @param damage this parameter represents the total damage that this attack has inflicted to the NPC.
@@ -1119,7 +1119,7 @@ public class Quest extends AbstractScript implements IIdentifiable
* The coder of the script may need to create a new quest state (if necessary).
* Note 3:
* The returned value of onFirstTalk replaces the default HTML that would have otherwise been loaded from a sub-folder of DatapackRoot/game/data/html/.
- * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
+ * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
* @param npc this parameter contains a reference to the exact instance of the NPC that the player is talking with.
* @param player this parameter contains a reference to the exact instance of the player who is talking to the NPC.
* @return the text returned by the event (may be {@code null}, a filename or just text)
@@ -1246,7 +1246,7 @@ public class Quest extends AbstractScript implements IIdentifiable
}
/**
- * This function is called whenever an NPC is teleport.
+ * This function is called whenever an NPC is teleport.
* @param npc this parameter contains a reference to the exact instance of the NPC who just teleport.
*/
protected void onTeleport(Npc npc)
@@ -1256,7 +1256,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever an NPC is called by another NPC in the same faction.
* @param npc this parameter contains a reference to the exact instance of the NPC who is being asked for help.
- * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
+ * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked.
* @param isSummon this parameter if it's {@code false} it denotes that the attacker was indeed the player, else it specifies that the attacker was the player's summon.
* @return
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
index b527d15bb8..f4662c2b87 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
@@ -695,7 +695,7 @@ public class SkillCaster implements Runnable
}
/**
- * Stops this casting and cleans all cast parameters.
+ * Stops this casting and cleans all cast parameters.
* @param aborted if {@code true}, server will send packets to the player, notifying him that the skill has been aborted.
*/
public void stopCasting(boolean aborted)
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/stats/Formulas.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/stats/Formulas.java
index 7dfb1604f4..21cf6d8cd5 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/stats/Formulas.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/stats/Formulas.java
@@ -551,7 +551,7 @@ public class Formulas
* Returns:
* 0 = shield defense doesn't succeed
* 1 = shield defense succeed
- * 2 = perfect block
+ * 2 = perfect block
* @param attacker
* @param target
* @param sendSysMsg
@@ -656,7 +656,7 @@ public class Formulas
}
/**
- * Calculates the effect landing success.
+ * Calculates the effect landing success.
* @param attacker the attacker
* @param target the target
* @param skill the skill
@@ -964,9 +964,9 @@ public class Formulas
}
/**
- * Calculates the attribute bonus with the following formula:
- * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
- * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
+ * Calculates the attribute bonus with the following formula:
+ * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
+ * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
* diff == 0, so AttBonus = 1
* It has been tested that physical skills do get affected by attack attribute even
* if they don't have any attribute. In that case only the biggest attack attribute is taken.
@@ -1208,7 +1208,7 @@ public class Formulas
* Confuse
* Compelling,
* Knockback
- * Pull
+ * Pull
* @param baseChance chance from effect parameter
* @param attacker
* @param target
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
index 2988807295..c621fab8f6 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
* A Function object is a component of a Calculator created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...).
* In fact, each calculator is a table of functions object in which each function represents a mathematics function:
* FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
+ * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
* Indeed, functions with lowest priority order is executed first and functions with the same order are executed in unspecified order.
* @author Zoey76
*/
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
index 1cb8bc9d02..d898d2c397 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
@@ -71,7 +71,7 @@ public class TaxZone extends ZoneType
}
/**
- * Gets castle associated with tax zone.
+ * Gets castle associated with tax zone.
* @return instance of {@link Castle} if found otherwise {@code null}
*/
public Castle getCastle()
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
index ca7f8d6d99..dee0ea769d 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
@@ -55,8 +55,8 @@ public class BlowFishKeygen
}
/**
- * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
- * Thus when getting a key with interests other then read-only a copy must be performed.
+ * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
+ * Thus when getting a key with interests other then read-only a copy must be performed.
* @return A key from this keygen pool.
*/
public static byte[] getRandomKey()
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
index 67b2253e32..30c764dd07 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
@@ -546,7 +546,7 @@ public class RequestAcquireSkill implements IClientIncomingPacket
/**
* Perform a simple check for current player and skill.
* Takes the needed SP if the skill require it and all requirements are meet.
- * Consume required items if the skill require it and all requirements are meet.
+ * Consume required items if the skill require it and all requirements are meet.
* @param player the skill learning player.
* @param trainer the skills teaching Npc.
* @param skillLearn the skill to be learn.
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
index 16624b7447..0f8f2ab22f 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
@@ -96,7 +96,7 @@ public class RequestDestroyItem implements IClientIncomingPacket
// if we can't find the requested item, its actually a cheat
if (itemToRemove == null)
{
- // gm can destroy other player items
+ // GM can destroy other player items
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
index 183ca83e49..1df78a5548 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
@@ -49,7 +49,7 @@ public class RequestGMCommand implements IClientIncomingPacket
@Override
public void run(GameClient client)
{
- // prevent non gm or low level GMs from vieweing player stuff
+ // prevent non GM or low level GMs from vieweing player stuff
if (!client.getPlayer().isGM() || !client.getPlayer().getAccessLevel().allowAltG())
{
return;
@@ -99,7 +99,7 @@ public class RequestGMCommand implements IClientIncomingPacket
}
case 6: // player warehouse
{
- // gm warehouse view to be implemented
+ // GM warehouse view to be implemented
if (player != null)
{
client.sendPacket(new GMViewWarehouseWithdrawList(1, player));
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
index 52c27df9ca..7c3fc1f3e2 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
@@ -90,7 +90,7 @@ public class UseItem implements IClientIncomingPacket
final ItemInstance item = player.getInventory().getItemByObjectId(_objectId);
if (item == null)
{
- // gm can use other player item
+ // GM can use other player item
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
index d19f06f141..f4f0c5ca81 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.network.OutgoingPackets;
import org.l2jmobius.gameserver.network.clientpackets.RequestAllyInfo;
/**
- * Sent in response to {@link RequestAllyInfo}, if applicable.
+ * Sent in response to {@link RequestAllyInfo}, if applicable.
* @author afk5min
*/
public class AllianceInfo implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
index 80a7042463..1fd7ec663a 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
@@ -20,9 +20,9 @@ import org.l2jmobius.commons.network.PacketWriter;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Eva's Inferno event packet. info params:
- * type (1 - %, 2 - npcId),
- * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
+ * Eva's Inferno event packet. info params:
+ * type (1 - %, 2 - npcId),
+ * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
* state (0-1), endtime (only when type 2)
*/
public class ExBrBuffEventState implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
index 00cc64147b..ba6bb59e06 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
@@ -141,7 +141,7 @@ public interface IClientOutgoingPacket extends IOutgoingPacket
}
/**
- * Sends this packet to the target player, useful for lambda operations like
+ * Sends this packet to the target player, useful for lambda operations like
* {@code World.getInstance().getPlayers().forEach(packet::sendTo)}
* @param player
*/
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
index 1a0c26e078..7fd8a52be7 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
@@ -24,25 +24,25 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Attacker List in the SiegeInfo Window
- *
- * c = ca
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Attackers Clans?
- * d = Number of Attackers Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Attacker List in the SiegeInfo Window
+ *
+ * c = ca
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Attackers Clans?
+ * d = Number of Attackers Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeAttackerList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
index 7066b92fa1..52e10be7c6 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
@@ -25,26 +25,26 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Defender List in the SiegeInfo Window
- *
- * c = 0xcb
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Defending Clans?
- * d = Number of Defending Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Defender List in the SiegeInfo Window
+ *
+ * c = 0xcb
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Defending Clans?
+ * d = Number of Defending Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeDefenderList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
index 355cea9565..6c647eec90 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
@@ -27,18 +27,18 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Shows the Siege Info
- *
- * c = c9
- * d = CastleID
- * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
- * d = Owner ClanID
- * S = Owner ClanName
- * S = Owner Clan LeaderName
- * d = Owner AllyID
- * S = Owner AllyName
- * d = current time (seconds)
- * d = Siege time (seconds) (0 for selectable)
+ * Shows the Siege Info
+ *
+ * c = c9
+ * d = CastleID
+ * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
+ * d = Owner ClanID
+ * S = Owner ClanName
+ * S = Owner Clan LeaderName
+ * d = Owner AllyID
+ * S = Owner AllyName
+ * d = current time (seconds)
+ * d = Siege time (seconds) (0 for selectable)
* d = (UNKNOW) Siege Time Select Related?
* @author KenM
*/
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/scripting/ManagedScript.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
index f2b91791ab..00235baa25 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
@@ -21,7 +21,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
/**
- * Abstract class for classes that are meant to be implemented by scripts.
+ * Abstract class for classes that are meant to be implemented by scripts.
* @author KenM
*/
public abstract class ManagedScript
@@ -41,7 +41,7 @@ public abstract class ManagedScript
public abstract Path getScriptPath();
/**
- * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
+ * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
* Subclasses of this class should override this method to properly refresh their bindings when necessary.
* @return true if and only if the script was reloaded, false otherwise.
*/
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
index 34ba313686..620f020f4e 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
@@ -77,7 +77,7 @@ public class AttackStanceTaskManager
}
/**
- * Checks for attack stance task.
+ * Checks for attack stance task.
* @param actor the actor
* @return {@code true} if the character has an attack stance task, {@code false} otherwise
*/
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/ui/frmAbout.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/ui/frmAbout.java
index a3e5c2cc67..4d161afb73 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/ui/frmAbout.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/ui/frmAbout.java
@@ -83,7 +83,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblProtocols);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 128, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/util/Broadcast.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/util/Broadcast.java
index e0d798deff..5a7eb1a4df 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/util/Broadcast.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/util/Broadcast.java
@@ -40,11 +40,13 @@ public class Broadcast
private static final Logger LOGGER = Logger.getLogger(Broadcast.class.getName());
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -60,11 +62,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -108,11 +112,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
* @param radius
@@ -128,10 +134,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param creature
* @param mov
*/
@@ -162,10 +170,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance present in the world.
- * Concept :
- * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance present in the world.
+ *
+ * Concept:
+ *
+ * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param packet
*/
public static void toAllOnlinePlayers(IClientOutgoingPacket packet)
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/util/MinionList.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/util/MinionList.java
index 29a8c04c1e..9a6f694eaa 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/util/MinionList.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/util/MinionList.java
@@ -58,13 +58,11 @@ public class MinionList
}
/**
- * Manage the spawn of Minions.
- *
- * Actions :
- *
+ * Manage the spawn of Minions.
+ *
+ * Actions:
*
Get the Minion data of all Minions that must be spawn
- *
For each Minion type, spawn the amount of Minion needed
- *
+ *
For each Minion type, spawn the amount of Minion needed
* @param minions
*/
public void spawnMinions(List minions)
@@ -260,16 +258,14 @@ public class MinionList
}
/**
- * Init a Minion and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a Minion and add it in the world as a visible object.
+ *
+ * Actions:
*
Get the template of the Minion to spawn
*
Create and Init the Minion and generate its Identifier
*
Set the Minion HP, MP and Heading
*
Set the Minion leader to this RaidBoss
- *
Init the position of the Minion and add it in the world as a visible object
- *
+ *
Init the position of the Minion and add it in the world as a visible object
* @param master MonsterInstance used as master for this minion
* @param minionId The NpcTemplate Identifier of the Minion to spawn
* @return
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/util/PrimeFinder.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/util/PrimeFinder.java
index c9532000c8..20016811a1 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/util/PrimeFinder.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/util/PrimeFinder.java
@@ -33,7 +33,7 @@ import java.util.Arrays;
public class PrimeFinder
{
/**
- * The largest prime this class can generate; currently equal to Integer.MAX_VALUE.
+ * The largest prime this class can generate; currently equal to Integer.MAX_VALUE
*/
public static final int LARGEST_PRIME = Integer.MAX_VALUE; // yes, it is prime.
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
index 2e46e0a048..0a81e323a3 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
@@ -67,8 +67,7 @@ public class TimeAmountInterpreter
}
/**
- * Appends an user-friendly description of the given amount of time to the specified text builder.
- *
+ * Appends an user-friendly description of the given amount of time to the specified text builder.
* Please keep in mind, that this method is primarily designed to be used with heap text builders. Therefore, if the given text builder throws an {@link IOException}, this exception will be wrapped in a {@link RuntimeException} and returned to the caller as an unchecked exception.
* @param
* @param textBuilder a character sequence builder
diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/loginserver/ui/frmAbout.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/loginserver/ui/frmAbout.java
index 8488868090..06a5d95539 100644
--- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/loginserver/ui/frmAbout.java
+++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/loginserver/ui/frmAbout.java
@@ -75,7 +75,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblLoginServer);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 148, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/ai/bosses/LimitBarrier.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/ai/bosses/LimitBarrier.java
index 2b0e95dc8e..a7051db3e5 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/ai/bosses/LimitBarrier.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/ai/bosses/LimitBarrier.java
@@ -38,7 +38,7 @@ import ai.AbstractNpcAI;
* OK - Epic Bosses Orfen, Queen Ant and Core also use Limit Barrier.
* OK - Epic Bosses Antharas, Zaken and Baium and their analogues in instance zones do not use Limit Barrier.
* OK - Raid Bosses in Clan Arena do not use Limit Barrier.
- * OK - All Raid Bosses who use Limit Barrier are listed below:
+ * OK - All Raid Bosses who use Limit Barrier are listed below:
*/
public final class LimitBarrier extends AbstractNpcAI
{
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/custom/listeners/ListenerTest.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/custom/listeners/ListenerTest.java
index 0f855db33f..ed9d1c76f4 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/custom/listeners/ListenerTest.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/custom/listeners/ListenerTest.java
@@ -114,7 +114,7 @@ public class ListenerTest extends AbstractNpcAI
}
/**
- * Prioritized event notification
+ * Prioritized event notification
* This method will be invoked as soon as creature from level range between 1 and 10 dies.
* This listener is registered into individual npcs container.
* @param event
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
index 4185463b7a..a20f09c9cd 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
@@ -26,18 +26,15 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
public class ArtefactInstanceAction implements IActionHandler
{
/**
- * Manage actions when a player click on the ArtefactInstance.
- *
- * Actions :
- *
+ * Manage actions when a player click on the ArtefactInstance.
+ *
+ * Actions:
*
Set the NpcInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
- *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
*/
@Override
public boolean action(PlayerInstance player, WorldObject target, boolean interact)
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
index bb73cd0bae..1f204280f0 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
@@ -36,27 +36,22 @@ import org.l2jmobius.gameserver.network.serverpackets.MoveToPawn;
public class NpcAction implements IActionHandler
{
/**
- * Manage actions when a player click on the Npc.
- *
- * Actions on first click on the Npc (Select it) :
- *
+ * Manage actions when a player click on the Npc.
+ *
+ * Actions on first click on the Npc (Select it):
*
Set the Npc as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, send a Server->Client packet StatusUpdate to the PlayerInstance in order to update Npc HP bar
- *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
- *
- * Actions on second click on the Npc (Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
+ *
+ * Actions on second click on the Npc (Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, notify the PlayerInstance AI with AI_INTENTION_ATTACK (after a height verification)
- *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
- *
- * Caution : Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
+ * Caution: Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The PlayerInstance that start an action on the Npc
*/
@Override
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
index 28aa39ab39..d52da54398 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
@@ -31,25 +31,20 @@ public class PlayerInstanceAction implements IActionHandler
private static final int CURSED_WEAPON_VICTIM_MIN_LEVEL = 21;
/**
- * Manage actions when a player click on this PlayerInstance.
- *
- * Actions on first click on the PlayerInstance (Select it) :
- *
+ * Manage actions when a player click on this PlayerInstance.
+ *
+ * Actions on first click on the PlayerInstance (Select it):
*
Set the target of the player
- *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
- *
- * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
+ *
+ * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the player (display the select window)
*
If target PlayerInstance has a Private Store, notify the player AI with AI_INTENTION_INTERACT
- *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
- *
- *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
+ *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The player that start an action on target PlayerInstance
*/
@Override
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
index 20a4e8f57c..6da5c01385 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
@@ -29,7 +29,7 @@ public class PlayerInstanceActionShift implements IActionShiftHandler
{
if (player.isGM())
{
- // Check if the gm already target this l2pcinstance
+ // Check if the GM already target this l2pcinstance
if (player.getTarget() != target)
{
// Set the target of the PlayerInstance player
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
index ea73fa17a1..1aa5e5074a 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
@@ -86,13 +86,13 @@ public class AdminAdmin implements IAdminCommandHandler
else if (command.startsWith("admin_gmliston"))
{
AdminData.getInstance().showGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Registered into gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Registered into GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_gmlistoff"))
{
AdminData.getInstance().hideGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Removed from gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Removed from GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_silence"))
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
index 2efc2df69a..3fed3db486 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
@@ -486,7 +486,7 @@ public class AdminEventEngine implements IAdminCommandHandler
sb.append("
");
sb.append("
");
sb.append("
");
- sb.append("
");
+ sb.append("
");
sb.append("Teams' names:
");
for (int i = 1; (i - 1) < teamnumbers; i++) // Team names params
{
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
index 5e3fc05aa9..91259505bf 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
@@ -31,7 +31,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
/**
- * This class handles following admin commands: - gm = turns gm mode on/off
+ * This class handles following admin commands: - GM = turns GM mode on/off
* @version $Revision: 1.1.2.1 $ $Date: 2005/03/15 21:32:48 $
*/
public class AdminFightCalculator implements IAdminCommandHandler
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
index a32a84dd35..e9acb6a1f6 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles following admin commands: - gm = turns gm mode off
+ * This class handles following admin commands: - GM = turns GM mode off
* @version $Revision: 1.2.4.4 $ $Date: 2005/04/11 10:06:06 $
*/
public class AdminGm implements IAdminCommandHandler
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
index 364bba90a9..f0b2f857a4 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles commands for gm to forge packets
+ * This class handles commands for GM to forge packets
* @author Maktakien, HorridoJoho
*/
public class AdminPForge implements IAdminCommandHandler
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
index 9dd195001c..b5e732f3f7 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
@@ -30,14 +30,14 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * Pledge Manipulation:
- *
With target in a character without clan:
+ * Pledge Manipulation:
+ *
With target in a character without clan:
* //pledge create clanname
- *
With target in a clan leader:
- * //pledge info
- * //pledge dismiss
- * //pledge setlevel level
- * //pledge rep reputation_points
+ *
With target in a clan leader:
+ * //pledge info
+ * //pledge dismiss
+ * //pledge setlevel level
+ * //pledge rep reputation_points
*/
public class AdminPledge implements IAdminCommandHandler
{
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
index fb1eed2f9f..9be9eb040d 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
@@ -78,8 +78,9 @@ public class QuestLink implements IBypassHandler
/**
* Open a choose quest window on client with all quests available of the NpcInstance.
+ *
* Actions:
- *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
+ *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
* @param player The PlayerInstance that talk with the NpcInstance
* @param npc The table containing quests of the NpcInstance
* @param quests
@@ -231,6 +232,7 @@ public class QuestLink implements IBypassHandler
/**
* Open a quest window on client with the text of the NpcInstance.
+ *
* Actions:
*
*
Get the text of the quest state in the folder data/scripts/quests/questId/stateId.htm
Fly Radius means the distance between starting point and final point, it must be an integer.
*
Fly Course means the movement direction: imagine a compass above player's head, making north player's heading. So if fly course is 180, player will go backwards (good for blink, e.g.).
*
- * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
+ * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
* If target is effector, put in XML self="1", this will make _actor = getEffector(). This, combined with target type, allows more complex actions like flying target's backwards or player's backwards.
* @author DrHouse
*/
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
index ca935396a6..e4e937ef41 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.network.serverpackets.ValidateLocation;
/**
* This Blink effect switches the location of the caster and the target.
- * This effect is totally done based on client description.
+ * This effect is totally done based on client description.
* Assume that geodata checks are done on the skill cast and not needed to repeat here.
* @author Nik
*/
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
index 0f1802d986..00474ef88a 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.effects.EffectFlag;
import org.l2jmobius.gameserver.model.effects.EffectType;
/**
- * An effect that blocks the player (NPC?) control.
+ * An effect that blocks the player (NPC?) control.
* It prevents moving, casting, social actions, etc.
* @author Nik
*/
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
index 6b463fd9d2..f94ecb0b46 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
@@ -21,7 +21,7 @@ import org.l2jmobius.gameserver.model.effects.AbstractEffect;
import org.l2jmobius.gameserver.model.effects.EffectFlag;
/**
- * Effect that blocks damage and heals to HP/MP.
+ * Effect that blocks damage and heals to HP/MP.
* Regeneration or DOT shouldn't be blocked, Vampiric Rage and Balance Life as well.
* @author Nik
*/
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
index 3d8985d1d8..0cc43483f5 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
/**
* An effect that changes damage taken from an attack.
- * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
+ * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
* Exceptions for this effect appears to be DOT effects and terrain damage, they are unaffected by this stat.
* As for example in retail this effect does reduce reflected damage taken (because it is received damage), as well as it does not decrease reflected damage done,
* because reflected damage is being calculated with the original attack damage and not this altered one.
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
index a4808a3312..5624fe4e60 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
@@ -34,10 +34,10 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
- * Current formulas were tested to be the best matching retail, damage appears to be identical:
- * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
- * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
+ * Physical Attack effect implementation.
+ * Current formulas were tested to be the best matching retail, damage appears to be identical:
+ * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
+ * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
* @author Nik
*/
public class PhysicalAttack extends AbstractEffect
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
index 332fa3fa4f..17f093e386 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
index 34e643a5b1..4f29f685f7 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
index e1c554d674..92d5fb7d96 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.zone.ZoneId;
/**
* Not Friend affect object implementation. Based on Gracia Final retail tests.
* Such are considered flagged/karma players (except party/clan/ally). Doesn't matter if in command channel.
- * In arena such are considered clan/ally/command channel (except party).
+ * In arena such are considered clan/ally/command channel (except party).
* In peace zone such are considered monsters.
* Monsters consider such all players, npcs (Citizens, Guild Masters, Merchants, Guards, etc. except monsters). Doesn't matter if in peace zone or arena.
* @author Nik
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/instances/AbstractInstance.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/instances/AbstractInstance.java
index b4165adac1..1cfccdbae0 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/instances/AbstractInstance.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/instances/AbstractInstance.java
@@ -62,7 +62,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Get instance world associated with {@code player}.
+ * Get instance world associated with {@code player}.
* @param player player who wants get instance world
* @return instance world if found, otherwise null
*/
@@ -229,8 +229,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Sets instance to finish state.
- * See {@link Instance#finishInstance()} for more details.
+ * Sets instance to finish state.
* @param player player used for determine current instance world
*/
protected void finishInstance(PlayerInstance player)
@@ -244,7 +243,6 @@ public abstract class AbstractInstance extends AbstractNpcAI
/**
* Sets instance to finish state.
- * See {@link Instance#finishInstance(int)} for more details.
* @param player player used for determine current instance world
* @param delay finish delay in minutes
*/
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
index 93028744ee..aa8ac8f064 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
@@ -1232,8 +1232,7 @@ public class BlowfishEngine
/**
* Method to encrypt the block at the given index.
- * The encrypted block goes to the destination array at the given index.
- *
+ * The encrypted block goes to the destination array at the given index.
* @param src source array with the plain data
* @param srcIndex index where the block to encrypt is located
* @param dst destination array the encryption will go to
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/GameTimeController.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/GameTimeController.java
index 131fb28d3d..aa4d359090 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/GameTimeController.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/GameTimeController.java
@@ -118,10 +118,13 @@ public class GameTimeController extends Thread
}
/**
- * Move all Creatures contained in movingObjects of GameTimeController.
- * Concept :
- * All Creature in movement are identified in movingObjects of GameTimeController.
- * Actions :
+ * Move all Creatures contained in movingObjects of GameTimeController.
+ *
+ * Concept:
+ *
+ * All Creature in movement are identified in movingObjects of GameTimeController.
+ *
+ * Actions:
*
*
Update the position of each Creature
*
If movement is finished, the Creature is removed from movingObjects
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/LoginServerThread.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/LoginServerThread.java
index bafacc7045..39bf2b4f51 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/LoginServerThread.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/LoginServerThread.java
@@ -95,7 +95,6 @@ public class LoginServerThread extends Thread
* The BlowFish engine used to encrypt packets
* It is first initialized with a unified key:
* "_;v.]05-31!|+-%xT!^[$\00"
- *
* and then after handshake, with a new key sent by
* login server during the handshake. This new key is stored
* in blowfishKey
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/Shutdown.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/Shutdown.java
index 3dd56d3db8..e07ac52791 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/Shutdown.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/Shutdown.java
@@ -233,7 +233,7 @@ public class Shutdown extends Thread
}
else
{
- // gm shutdown: send warnings and then call exit to start shutdown sequence
+ // GM shutdown: send warnings and then call exit to start shutdown sequence
countdown();
// last point where logging is operational :(
LOGGER.warning("GM shutdown countdown is over. " + MODE_TEXT[_shutdownMode] + " NOW!");
@@ -543,7 +543,7 @@ public class Shutdown extends Thread
}
/**
- * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
+ * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
* @return instance of Shutdown, to be used as shutdown hook
*/
public static Shutdown getInstance()
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/ai/AbstractAI.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/ai/AbstractAI.java
index 95f441a5d6..c544548976 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/ai/AbstractAI.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/ai/AbstractAI.java
@@ -45,7 +45,7 @@ import org.l2jmobius.gameserver.taskmanager.AttackStanceTaskManager;
/**
* Mother class of all objects AI in the world.
- * AbastractAI :
+ * AbastractAI:
*
CreatureAI
*/
public abstract class AbstractAI implements Ctrl
@@ -126,10 +126,10 @@ public abstract class AbstractAI implements Ctrl
/**
* Set the Intention of this AbstractAI.
- * Caution : This method is USED by AI classes
- * Overridden in :
- * AttackableAI : Create an AI Task executed every 1s (if necessary)
- * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
+ * Caution: This method is USED by AI classes
+ * Overridden in:
+ * AttackableAI : Create an AI Task executed every 1s (if necessary)
+ * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -141,7 +141,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
*/
@Override
@@ -152,7 +152,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
* @param args The first parameters of the Intention (optional target)
*/
@@ -225,7 +225,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onEvt method corresponding to the Event.
- * Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
*/
@Override
@@ -235,7 +235,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
*/
@@ -246,7 +246,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
* @param arg1 The second parameter of the Event (optional target)
@@ -419,7 +419,7 @@ public abstract class AbstractAI implements Ctrl
protected abstract void onEvtFinishCasting();
/**
- * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution : Low level function, used by AI subclasses
+ * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution: Low level function, used by AI subclasses
*/
protected void clientActionFailed()
{
@@ -430,8 +430,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param pawn
* @param offset
*/
@@ -514,8 +514,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param x
* @param y
* @param z
@@ -542,8 +542,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param loc
*/
public void clientStopMoving(Location loc)
@@ -591,8 +591,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
public void clientStartAutoAttack()
{
@@ -632,8 +632,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
void clientStopAutoAttack()
{
@@ -661,8 +661,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
protected void clientNotifyDead()
{
@@ -679,7 +679,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Update the state of this actor client side by sending Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance player.
- * Caution : Low level function, used by AI subclasses
+ * Caution: Low level function, used by AI subclasses
* @param player The PlayerIstance to notify with state of this Creature
*/
public void describeStateToPlayer(PlayerInstance player)
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/ai/AttackableAI.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/ai/AttackableAI.java
index 28bb61cbff..6075092cb6 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/ai/AttackableAI.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/ai/AttackableAI.java
@@ -212,7 +212,7 @@ public class AttackableAI extends CreatureAI
/**
* Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
- * Caution : If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
+ * Caution: If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -317,7 +317,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update every 1s the _globalAggro counter to come close to 0
*
If the actor is Aggressive and can attack, add all autoAttackable Creature in its Aggro Range to its _aggroList, chose a target and order to attack it
@@ -612,7 +612,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update the attack timeout if actor is running
*
If target is dead or timeout is expired, stop this attack and set the Intention to AI_INTENTION_ACTIVE
@@ -1237,7 +1237,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Attacked.
- * Actions :
+ *
+ * Actions:
*
*
Init the attack : Calculate the attack timeout, Set the _globalAggro to 0, Add the attacker to the actor _aggroList
*
Set the Creature movement type to run and send Server->Client packet ChangeMoveType to all others PlayerInstance
@@ -1301,7 +1302,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Aggression.
- * Actions :
+ *
+ * Actions:
*
*
Add the target to the actor _aggroList or update hate if already present
*
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/ai/CreatureAI.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/ai/CreatureAI.java
index 34be02f105..3b29875b4a 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/ai/CreatureAI.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/ai/CreatureAI.java
@@ -139,7 +139,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Idle Intention : Stop Attack, Movement and Stand Up the actor.
- * Actions :
+ *
+ * Actions:
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
Init cast and attack target
@@ -164,7 +165,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Active Intention : Stop Attack, Movement and Launch Think Event.
- * Actions : if the Intention is not already Active
+ *
+ * Actions : if the Intention is not already Active
*
*
Set the AI Intention to AI_INTENTION_ACTIVE
*
Init cast and attack target
@@ -195,7 +197,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Rest Intention.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
@@ -209,7 +212,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Attack Intention : Stop current Attack (if necessary), Start a new Attack and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_ATTACK
@@ -217,7 +221,8 @@ public class CreatureAI extends AbstractAI
*
Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast)
*
Launch the Think Event
*
- * Overridden in :
+ *
+ * Overridden in:
*
*
AttackableAI : Calculate attack timeout
*
@@ -281,7 +286,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Cast Intention : Stop current Attack, Init the AI in order to cast and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI cast target
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
@@ -331,7 +337,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
@@ -370,7 +377,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Follow Intention : Stop current Attack and Launch a Follow Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_FOLLOW
@@ -427,7 +435,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the PickUp Intention : Set the pick up target and Launch a Move To Pawn Task (offset=20).
- * Actions :
+ *
+ * Actions :
*
*
Set the AI pick up target
*
Set the Intention of this AI to AI_INTENTION_PICK_UP
@@ -476,7 +485,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Interact Intention : Set the interact target and Launch a Move To Pawn Task (offset=60).
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the AI interact target
@@ -537,7 +547,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Stunned then onAttacked Event.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
@@ -565,7 +576,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Rooted.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -588,7 +600,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Confused.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -606,7 +619,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Muted.
- * Actions :
+ *
+ * Actions:
*
*
Break a cast and send Server->Client ActionFailed packet and a System Message to the Creature
*
@@ -629,7 +643,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -643,7 +658,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Arrived.
- * Actions :
+ *
+ * Actions:
*
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
*
Launch actions corresponding to the Event Think
@@ -686,7 +702,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedRevalidate.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -700,7 +717,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedBlocked.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
@@ -725,7 +743,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ForgetObject.
- * Actions :
+ *
+ * Actions:
*
*
If the object was targeted and the Intention was AI_INTENTION_INTERACT or AI_INTENTION_PICK_UP, set the Intention to AI_INTENTION_ACTIVE
*
If the object was targeted to attack, stop the auto-attack, cancel target and set the Intention to AI_INTENTION_ACTIVE
@@ -781,7 +800,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -806,7 +826,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Dead.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast)
@@ -829,7 +850,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Fake Death.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
@@ -910,13 +932,15 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move to Pawn action in function of the distance and of the Interact area.
- * Actions :
+ *
+ * Actions:
*
*
Get the distance between the current position of the Creature and the target (x,y)
*
If the distance > offset+20, move the actor (by running) to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast)
*
If the distance <= offset+20, Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1017,13 +1041,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost or dead.
- * Actions : If the target is lost or dead
+ *
+ * Actions : If the target is lost or dead
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1050,13 +1076,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost.
- * Actions : If the target is lost
+ *
+ * Actions : If the target is lost
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/ai/PlayerAI.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/ai/PlayerAI.java
index 1af86289ec..72cd985005 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/ai/PlayerAI.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/ai/PlayerAI.java
@@ -90,7 +90,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -109,7 +110,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -124,7 +126,7 @@ public class PlayerAI extends PlayableAI
/**
* Finalize the casting of a skill. This method overrides CreatureAI method.
- * What it does:
+ * What it does:
* Check if actual intention is set to CAST and, if so, retrieves latest intention before the actual CAST and set it as the current intention for the player.
*/
@Override
@@ -197,7 +199,8 @@ public class PlayerAI extends PlayableAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
index a6c22e57af..dcfcbb433f 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
@@ -158,7 +158,7 @@ public class AdminData implements IXmlReader
AdminCommandAccessRight acar = _adminCommandAccessRights.get(adminCommand);
if (acar == null)
{
- // Trying to avoid the spam for next time when the gm would try to use the same command
+ // Trying to avoid the spam for next time when the GM would try to use the same command
if ((accessLevel.getLevel() > 0) && (accessLevel.getLevel() == _highestLevel))
{
acar = new AdminCommandAccessRight(adminCommand, true, accessLevel.getLevel());
@@ -341,7 +341,7 @@ public class AdminData implements IXmlReader
/**
* Gets the single instance of AdminTable.
- * @return AccessLevels: the one and only instance of this class
+ * @return AccessLevels: the one and only instance of this class
*/
public static AdminData getInstance()
{
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
index af951373f5..50d2b66c7e 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
@@ -62,7 +62,7 @@ import org.l2jmobius.gameserver.model.skills.Skill;
* Here can be found the following skill trees:
*
*
Class skill trees: player skill trees for each class.
- *
Transfer skill trees: player skill trees for each healer class.
+ *
Transfer skill trees: player skill trees for each healer class.
*
Collect skill tree: player skill tree for Gracia related skills.
*
Fishing skill tree: player skill tree for fishing related skills.
*
Transform skill tree: player skill tree for transformation related skills.
@@ -463,7 +463,7 @@ public class SkillTreeData implements IXmlReader
}
/**
- * Gets the race skill tree.
+ * Gets the race skill tree.
* @param race the race skill tree Id
* @return the complete race Skill Tree for a given {@code Race}
*/
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/datatables/BotReportTable.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
index df93e82f1e..7f43f75eed 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
@@ -206,7 +206,7 @@ public class BotReportTable
}
/**
- * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
+ * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
* @param reporter (PlayerInstance who issued the report)
* @return True, if the report was registered, False otherwise
*/
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/datatables/ItemTable.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/datatables/ItemTable.java
index 569bf7eea4..ffbc08a6d9 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/datatables/ItemTable.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/datatables/ItemTable.java
@@ -198,10 +198,10 @@ public class ItemTable
}
/**
- * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions :
+ * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions:
*
Create and Init the ItemInstance corresponding to the Item Identifier and quantity
*
Add the ItemInstance object to _allObjects of L2world
- *
Logs Item creation according to log settings
+ *
Logs Item creation according to log settings
* @param process : String Identifier of process triggering this action
* @param itemId : int Item Identifier of the item to be created
* @param count : int Quantity of items to be created for stackable items
@@ -307,7 +307,8 @@ public class ItemTable
/**
* Destroys the ItemInstance.
- * Actions :
+ *
+ * Actions:
*
*
Sets ItemInstance parameters to be unusable
*
Removes the ItemInstance object to _allObjects of L2world
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/enums/BasicProperty.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/enums/BasicProperty.java
index 77a2a7a477..1e5cac18dd 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/enums/BasicProperty.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/enums/BasicProperty.java
@@ -17,17 +17,17 @@
package org.l2jmobius.gameserver.enums;
/**
- * Basic property type of skills.
- * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
- * After, only 3 types are used: physical, magic and none.
- *
- * Quote from Juji:
- * ----------------------------------------------------------------------
- * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
- * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
- * ----------------------------------------------------------------------
- * All other are considered with no basic property aka NONE.
- *
+ * Basic property type of skills.
+ * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
+ * After, only 3 types are used: physical, magic and none.
+ *
+ * Quote from Juji:
+ * ----------------------------------------------------------------------
+ * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
+ * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
+ * ----------------------------------------------------------------------
+ * All other are considered with no basic property aka NONE.
+ *
* @author Nik
*/
public enum BasicProperty
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/handler/ItemHandler.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/handler/ItemHandler.java
index 939d8263da..a815f2646e 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/handler/ItemHandler.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/handler/ItemHandler.java
@@ -38,10 +38,9 @@ public class ItemHandler implements IHandler
}
/**
- * Adds handler of item type in datatable.
- *
- * Concept :
- * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
+ * Adds handler of item type in datatable.
+ * Concept :
+ * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
* @param handler (IItemHandler)
*/
@Override
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
index 7d6c13d3b9..b510fdc4ee 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
@@ -456,7 +456,7 @@ public class InstanceManager implements IXmlReader
}
/**
- * Register instance world.
+ * Register instance world.
* @param instance instance which should be registered
*/
public void register(Instance instance)
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/AccessLevel.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/AccessLevel.java
index ced434ddda..2dac00e406 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/AccessLevel.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/AccessLevel.java
@@ -87,9 +87,8 @@ public class AccessLevel
}
/**
- * Returns the access level
- *
- * @return int: access level
+ * Returns the access level
+ * @return int: access level
*/
public int getLevel()
{
@@ -97,9 +96,8 @@ public class AccessLevel
}
/**
- * Returns the access level name
- *
- * @return String: access level name
+ * Returns the access level name
+ * @return String: access level name
*/
public String getName()
{
@@ -107,9 +105,8 @@ public class AccessLevel
}
/**
- * Returns the name color of the access level
- *
- * @return int: the name color for the access level
+ * Returns the name color of the access level
+ * @return int: the name color for the access level
*/
public int getNameColor()
{
@@ -117,9 +114,8 @@ public class AccessLevel
}
/**
- * Returns the title color color of the access level
- *
- * @return int: the title color for the access level
+ * Returns the title color color of the access level
+ * @return int: the title color for the access level
*/
public int getTitleColor()
{
@@ -127,9 +123,8 @@ public class AccessLevel
}
/**
- * Retuns if the access level has gm access or not
- *
- * @return boolean: true if access level have gm access, otherwise false
+ * Retuns if the access level has GM access or not
+ * @return boolean: true if access level have GM access, otherwise false
*/
public boolean isGm()
{
@@ -137,9 +132,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to attack in peace zone or not
- *
- * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
+ * Returns if the access level is allowed to attack in peace zone or not
+ * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
*/
public boolean allowPeaceAttack()
{
@@ -147,9 +141,8 @@ public class AccessLevel
}
/**
- * Retruns if the access level is allowed to use fixed res or not
- *
- * @return true if the access level is allowed to use fixed res, otherwise false
+ * Retruns if the access level is allowed to use fixed res or not
+ * @return true if the access level is allowed to use fixed res, otherwise false
*/
public boolean allowFixedRes()
{
@@ -157,9 +150,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to perform transactions or not
- *
- * @return boolean: true if access level is allowed to perform transactions, otherwise false
+ * Returns if the access level is allowed to perform transactions or not
+ * @return boolean: true if access level is allowed to perform transactions, otherwise false
*/
public boolean allowTransaction()
{
@@ -167,9 +159,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to use AltG commands or not
- *
- * @return boolean: true if access level is allowed to use AltG commands, otherwise false
+ * Returns if the access level is allowed to use AltG commands or not
+ * @return boolean: true if access level is allowed to use AltG commands, otherwise false
*/
public boolean allowAltG()
{
@@ -177,9 +168,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can give damage or not
- *
- * @return boolean: true if the access level can give damage, otherwise false
+ * Returns if the access level can give damage or not
+ * @return boolean: true if the access level can give damage, otherwise false
*/
public boolean canGiveDamage()
{
@@ -187,9 +177,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can take aggro or not
- *
- * @return boolean: true if the access level can take aggro, otherwise false
+ * Returns if the access level can take aggro or not
+ * @return boolean: true if the access level can take aggro, otherwise false
*/
public boolean canTakeAggro()
{
@@ -197,9 +186,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can gain exp or not
- *
- * @return boolean: true if the access level can gain exp, otherwise false
+ * Returns if the access level can gain exp or not
+ * @return boolean: true if the access level can gain exp, otherwise false
*/
public boolean canGainExp()
{
@@ -207,9 +195,9 @@ public class AccessLevel
}
/**
- * Returns if the access level contains allowedAccess as child
- * @param accessLevel as AccessLevel
- * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
+ * Returns if the access level contains allowedAccess as child
+ * @param accessLevel as AccessLevel
+ * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
*/
public boolean hasChildAccess(AccessLevel accessLevel)
{
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/EffectList.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/EffectList.java
index 72d713b173..78596bd21e 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/EffectList.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/EffectList.java
@@ -159,7 +159,7 @@ public class EffectList
}
/**
- * Verifies if this effect list contains the given skill ID.
+ * Verifies if this effect list contains the given skill ID.
* @param skillId the skill ID to verify
* @return {@code true} if the skill ID is present in the effect list (includes active and passive effects), {@code false} otherwise
*/
@@ -179,7 +179,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param type the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching the specified {@code AbnormalType}, {@code false} otherwise
*/
@@ -189,7 +189,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param types the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching one of the specified {@code AbnormalType}s, {@code false} otherwise
*/
@@ -421,7 +421,7 @@ public class EffectList
}
/**
- * Exit all effects having a specified flag.
+ * Exit all effects having a specified flag.
* @param effectFlag the flag of the effect to stop
*/
public void stopEffects(EffectFlag effectFlag)
@@ -438,7 +438,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, Skill)}
+ * {@link #stopSkillEffects(boolean, Skill)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skillId the skill ID
*/
@@ -457,7 +457,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, int)}
+ * {@link #stopSkillEffects(boolean, int)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skill the skill
*/
@@ -483,7 +483,7 @@ public class EffectList
}
/**
- * Exits all effects created by a specific skill {@code AbnormalType}s.
+ * Exits all effects created by a specific skill {@code AbnormalType}s.
* @param types the skill {@code AbnormalType}s to be checked and removed.
* @return {@code true} if there was any {@code BuffInfo} with one of the given {@code AbnormalType}s, {@code false} otherwise
*/
@@ -498,7 +498,7 @@ public class EffectList
}
/**
- * Exits all effects matched by a specific filter.
+ * Exits all effects matched by a specific filter.
* @param filter any filter to apply when selecting which {@code BuffInfo}s to be removed.
* @param update update effect flags and icons after the operation finishes.
* @param broadcast {@code true} to broadcast update packets if updating, {@code false} otherwise.
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/Party.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/Party.java
index bfa180535b..e5518154d9 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/Party.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/Party.java
@@ -142,7 +142,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Set invitation process flag and store time for expiration.
+ * Set invitation process flag and store time for expiration.
* Happens when a player joins party or declines to join.
* @param value the pending invitation state to set
*/
@@ -273,8 +273,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Send a Server->Client packet to all other PlayerInstance of the Party.
- *
+ * Send a Server->Client packet to all other PlayerInstance of the Party.
* @param player
* @param msg
*/
@@ -821,12 +820,12 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
- *
- * Actions :
+ * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
+ *
+ * Actions:
*
Get the PlayerInstance owner of the ServitorInstance (if necessary)
*
Calculate the Experience and SP reward distribution rate
- *
Add Experience and SP to the PlayerInstance
+ *
Add Experience and SP to the PlayerInstance
* @param xpReward The Experience reward to distribute
* @param spReward The SP reward to distribute
* @param rewardedMembers The list of PlayerInstance to reward
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/Spawn.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/Spawn.java
index e9068a0b5f..9f8d6a075f 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/Spawn.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/Spawn.java
@@ -41,7 +41,7 @@ import org.l2jmobius.gameserver.util.Util;
/**
* This class manages the spawn and respawn of a group of NpcInstance that are in the same are and have the same type.
- * Concept:
+ * Concept:
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
* @author Nightmare
@@ -78,13 +78,16 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Constructor of Spawn.
- * Concept:
+ *
+ * Concept:
+ *
* Each Spawn owns generic and static properties (ex : RewardExp, RewardSP, AggroRange...).
* All of those properties are stored in a different NpcTemplate for each type of Spawn. Each template is loaded once in the server cache memory (reduce memory use).
* When a new instance of Spawn is created, server just create a link between the instance and the template.
- * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
- * This link is stored in _spawn of the NpcInstance.
- * Actions:
+ * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
+ * This link is stored in _spawn of the NpcInstance.
+ *
+ * Actions:
*
*
Set the _template of the Spawn
*
Calculate the implementationName used to generate the generic constructor of NpcInstance managed by this Spawn
@@ -227,11 +230,11 @@ public class Spawn extends Location implements IIdentifiable, INamable
}
/**
- * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions :
+ * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions:
*
Decrease the current number of NpcInstance of this Spawn
*
Check if respawn is possible to prevent multiple respawning caused by lag
*
Update the current number of SpawnTask in progress or stand by of this Spawn
- *
Create a new SpawnTask to launch after the respawn Delay
Caution : A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
+ *
Create a new SpawnTask to launch after the respawn Delay
Caution: A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
* @param oldNpc
*/
public void decreaseCount(Npc oldNpc)
@@ -305,10 +308,13 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Create the NpcInstance, add it to the world and lauch its OnSpawn action.
- * Concept:
+ *
+ * Concept:
+ *
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
- * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
+ *
+ * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
*
*
Get NpcInstance Init parameters and its generate an Identifier
*
Call the constructor of the NpcInstance
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/World.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/World.java
index 0b8cd8b4f1..09579e901c 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/World.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/World.java
@@ -132,7 +132,8 @@ public class World
/**
* Adds an object to the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Withdraw an item from the warehouse, create an item
*
Spawn a Creature (PC, NPC, Pet)
@@ -172,7 +173,8 @@ public class World
/**
* Removes an object from the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Delete item from inventory, transfer Item from inventory to warehouse
*
Crystallize item
@@ -209,7 +211,7 @@ public class World
}
/**
- * Example of use:
+ * Example of use:
*
@@ -251,7 +253,7 @@ public class World
}
/**
- * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
+ * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
* @param name Name of the player to get Instance
* @return the player instance corresponding to the given name.
*/
@@ -299,18 +301,18 @@ public class World
}
/**
- * Add a WorldObject in the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Add a WorldObject in the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Add the WorldObject object in _allPlayers* of World
*
Add the WorldObject object in _gmList** of GmListTable
- *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
- * * only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstanceCaution : This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
- * Caution : This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use :
+ *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
+ * * only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstanceCaution: This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
+ * Caution: This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use:
*
Drop an Item
*
Spawn a Creature
- *
Apply Death Penalty of a PlayerInstance
+ *
Apply Death Penalty of a PlayerInstance
* @param object L2object to add in the world
* @param newRegion WorldRegion in wich the object will be add (not used)
*/
@@ -382,16 +384,16 @@ public class World
}
/**
- * Remove a WorldObject from the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Remove a WorldObject from the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Remove the WorldObject object from _allPlayers* of World
*
Remove the WorldObject object from _visibleObjects and _allPlayers* of WorldRegion
*
Remove the WorldObject object from _gmList** of GmListTable
- *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution : This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstance Example of use :
+ *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution: This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstance Example of use:
*
Pickup an Item
- *
Decay a Creature
+ *
Decay a Creature
* @param object L2object to remove from the world
* @param oldRegion WorldRegion in which the object was before removing
*/
@@ -690,9 +692,9 @@ public class World
}
/**
- * Calculate the current WorldRegions of the object according to its position (x,y). Example of use :
+ * Calculate the current WorldRegions of the object according to its position (x,y). Example of use:
*
Set position of a new WorldObject (drop, spawn...)
- *
Update position of a WorldObject after a movement
+ *
Update position of a WorldObject after a movement
* @param object the object
* @return
*/
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/WorldObject.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/WorldObject.java
index 63e719d10f..adc7402c47 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/WorldObject.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/WorldObject.java
@@ -670,7 +670,7 @@ public abstract class WorldObject extends ListenersContainer implements IIdentif
}
/**
- * Sets instance for current object by instance ID.
+ * Sets instance for current object by instance ID.
* @param id ID of instance world which should be set (0 means normal world)
*/
public void setInstanceById(int id)
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/WorldRegion.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/WorldRegion.java
index 4a166d2b8a..25ada44e59 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/WorldRegion.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/WorldRegion.java
@@ -195,8 +195,8 @@ public class WorldRegion
}
/**
- * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
- * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
+ * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
+ * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
* @param object
*/
public void addVisibleObject(WorldObject object)
@@ -216,7 +216,7 @@ public class WorldRegion
}
/**
- * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
+ * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
* @param object
*/
public void removeVisibleObject(WorldObject object)
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 a998425662..3f8e1a88c1 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
@@ -1071,7 +1071,7 @@ public class Attackable extends Npc
* During a Special Event all Attackable can drop extra Items.
* Those extra Items are defined in the table allNpcDateDrops of the EventDroplist.
* Each Special Event has a start and end date to stop to drop extra Items automatically.
- * Actions: If an extra drop must be generated
+ * Actions: If an extra drop must be generated
* Get an Item Identifier (random) from the DateDrop Item table of this Event.
* Get the Item quantity dropped (random).
* Create this or these ItemInstance corresponding to this Item Identifier.
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/Creature.java
index 92c4de45dc..1ea7f94f2d 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/Creature.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/Creature.java
@@ -168,7 +168,6 @@ import org.l2jmobius.gameserver.util.Util;
*
Trap
*
Vehicle
*
- *
* Concept of CreatureTemplate:
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
@@ -295,11 +294,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Constructor of Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature. Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
- * Actions:
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
+ *
+ * Actions:
*
*
Set the _template of the Creature
*
Set _overloaded to false (the character can take more items)
@@ -542,8 +544,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Remove the Creature from the world when the decay task is launched.
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
public void onDecay()
{
@@ -603,8 +605,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
*/
@@ -621,8 +625,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the radius (max knownlist radius) from the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
* @param radiusInKnownlist
@@ -678,12 +684,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send the Server->Client packet StatusUpdate with current HP and MP to all other PlayerInstance to inform.
- * Actions:
+ *
+ * Actions:
*
*
Create the Server->Client packet StatusUpdate with current HP and MP
*
Send the Server->Client packet StatusUpdate with current HP and MP to all Creature called _statusListener that must be informed of HP/MP updates of this Creature
*
- * Caution: This method DOESN'T SEND CP information
+ * Caution: This method DOESN'T SEND CP information
* @param caster TODO
*/
public void broadcastStatusUpdate(Creature caster)
@@ -714,7 +721,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Teleport a Creature and its pet if necessary.
- * Actions:
+ *
+ * Actions:
*
*
Stop the movement of the Creature
*
Set the x,y,z position of the WorldObject and if necessary modify its _worldRegion
@@ -883,7 +891,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a physical attack against a target (Simple, Bow, Pole or Dual).
- * Actions:
+ *
+ * Actions:
*
*
Get the active weapon (always equipped in the right hand)
*
If weapon is a bow, check for arrows, MP and bow re-use delay (if necessary, equip the PlayerInstance with arrows in left hand)
@@ -1274,7 +1283,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Manage the casting task (casting and interrupt time, re-use delay...) and display the casting bar and animation on client.
- * Actions:
+ *
+ * Actions:
*
*
Verify the possibility of the the cast : skill is a spell, caster isn't muted...
*
Get the list of all targets (ex : area effects) and define the Creature targeted (its stats will be used in calculation)
@@ -1564,7 +1574,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Kill the Creature.
- * Actions:
+ *
+ * Actions:
*
*
Set target to null and cancel Attack or Cast
*
Stop movement
@@ -2191,11 +2202,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Set the template of the Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
* Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
* @param template
*/
protected final void setTemplate(CreatureTemplate template)
@@ -2372,7 +2385,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop a specified/all Fake Death abnormal Effect.
- * Actions:
+ *
+ * Actions:
*
*
Delete a specified/all (if effect=null) Fake Death abnormal Effect from Creature and update client magic icon
*
Set the abnormal effect flag _fake_death to False
@@ -2400,7 +2414,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Stop all block actions (stun) effects.
+ * Stop all block actions (stun) effects.
* @param removeEffects {@code true} removes all block actions effects, {@code false} only notifies AI to think.
*/
public void stopStunning(boolean removeEffects)
@@ -2418,7 +2432,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop Effect: Transformation.
- * Actions:
+ *
+ * Actions:
*
*
Remove Transformation Effect
*
Notify the Creature AI
@@ -2447,7 +2462,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Updates the visual abnormal state of this character.
+ * Updates the visual abnormal state of this character.
*/
public void updateAbnormalVisualEffects()
{
@@ -2456,9 +2471,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update active skills in progress (In Use and Not In Use because stacked) icons on client.
- * Concept:
+ *
+ * Concept:
+ *
* All active skills effects in progress (In Use and Not In Use because stacked) are represented by an icon on the client.
- * Caution : This method ONLY UPDATE the client of the player and not clients of all players in the party.
+ * Caution: This method ONLY UPDATE the client of the player and not clients of all players in the party.
*/
public void updateEffectIcons()
{
@@ -2492,7 +2509,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* This class group all movement data.
- * Data :
+ *
+ * Data:
*
*
_moveTimestamp : Last time position update
*
_xDestination, _yDestination, _zDestination : Position of the destination
@@ -2797,7 +2815,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * @return True if the Creature is travelling a calculated path.
+ * @return True if the Creature is traveling a calculated path.
*/
public boolean isOnGeodataPath()
{
@@ -2907,16 +2925,18 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update the position of the Creature during a movement and return True if the movement is finished.
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
* When the movement is started (ex : by MovetoLocation), this method will be called each 0.1 sec to estimate and update the Creature position on the server.
* Note, that the current server position can differe from the current client position even if each movement is straight foward.
* That's why, client send regularly a Client->Server ValidatePosition packet to eventually correct the gap on the server.
* But, it's always the server position that is used in range calculation. At the end of the estimated movement time,
* the Creature position is automatically set to the destination position even if the movement is not finished.
- * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
- * But x and y positions must be calculated to avoid that players try to modify their movement speed.
+ * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
+ * But x and y positions must be calculated to avoid that players try to modify their movement speed.
* @return True if the movement is finished
*/
public boolean updatePosition()
@@ -3084,14 +3104,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop movement of the Creature (Called by AI Accessor only).
- * Actions:
+ *
+ * Actions:
*
*
Delete movement data of the Creature
*
Set the current position (x,y,z), its current WorldRegion if necessary and its heading
*
Remove the WorldObject object from _gmList of GmListTable
*
Remove object from _knownObjects and _knownPlayer of all surrounding WorldRegion Creatures
*
- * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
+ * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
* @param loc
*/
public void stopMove(Location loc)
@@ -3128,9 +3149,12 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Target a WorldObject (add the target to the Creature _target, _knownObject and Creature to _KnownObject of the WorldObject).
- * Concept:
- * The WorldObject (including Creature) targeted is identified in _target of the Creature.
- * Actions:
+ *
+ * Concept:
+ *
+ * The WorldObject (including Creature) targeted is identified in _target of the Creature.
+ *
+ * Actions:
*
*
Set the _target of Creature to WorldObject
*
If necessary, add WorldObject to _knownObject of the Creature
@@ -3173,11 +3197,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Calculate movement data for a move to location action and add the Creature to movingObjects of GameTimeController (only called by AI Accessor).
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
- * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
- * Actions:
+ * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
+ *
+ * Actions:
*
*
Get current position of the Creature
*
Calculate distance (dx,dy) between current position and destination including offset
@@ -3186,8 +3213,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
*
Add the Creature to movingObjects of the GameTimeController
*
Create a task to notify the AI that Creature arrives at a check point of the movement
*
- * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
- * Example of use:
+ * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
+ *
+ * Example of use:
*
*
AI : onIntentionMoveTo(Location), onIntentionPickUp(WorldObject), onIntentionInteract(WorldObject)
*
FollowTask
@@ -3591,7 +3619,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
* @return True if arrows are available.
* @param type
@@ -3603,9 +3631,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add Exp and Sp to the Creature.
- * Overridden in :
+ *
+ * Overridden in:
*
PlayerInstance
- *
PetInstance
+ *
PetInstance
* @param addToExp
* @param addToSp
*/
@@ -3615,36 +3644,37 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon instance (always equiped in the right hand).
+ * @return the active weapon instance (always equipped in the right hand).
*/
public abstract ItemInstance getActiveWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon item (always equiped in the right hand).
+ * @return the active weapon item (always equipped in the right hand).
*/
public abstract Weapon getActiveWeaponItem();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary weapon instance (always equiped in the left hand).
+ * @return the secondary weapon instance (always equipped in the left hand).
*/
public abstract ItemInstance getSecondaryWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary {@link Item} item (always equiped in the left hand).
+ * @return the secondary {@link Item} item (always equipped in the left hand).
*/
public abstract Item getSecondaryWeaponItem();
/**
* Manage hit process (called by Hit Task).
- * Actions:
+ *
+ * Actions:
*
*
If the attacker/target is dead or use fake death, notify the AI with EVT_CANCEL and send a Server->Client packet ActionFailed (if attacker is a PlayerInstance)
*
If attack isn't aborted, send a message system (critical hit, missed...) to attacker/target if they are PlayerInstance
If Creature or target is in a town area, send a system message TARGET_IN_PEACEZONE a Server->Client packet ActionFailed
*
If target is confused, send a Server->Client packet ActionFailed
@@ -3964,15 +3995,19 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add a skill to the Creature _skills and its Func objects to the calculator set of the Creature.
- * Concept:
- * All skills own by a Creature are identified in _skills
- * Actions:
+ *
+ * Concept:
+ *
+ * All skills own by a Creature are identified in _skills
+ *
+ * Actions:
*
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
*
Add Func objects of newSkill to the calculator set of the Creature
*
- * Overridden in:
+ *
+ * Overridden in:
*
*
PlayerInstance : Save update in the character_skills table of the database
*
@@ -5268,7 +5303,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
+ * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
* @param range
*/
public void initSeenCreatures(int range)
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/Npc.java
index da169c4b56..94169ca3ae 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/Npc.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/Npc.java
@@ -159,7 +159,8 @@ public class Npc extends Creature
/**
* Constructor of NpcInstance (use Creature constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the Creature (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the Creature
@@ -579,7 +580,8 @@ public class Npc extends Creature
/**
* Open a quest or chat window on client with the text of the NpcInstance in function of the command.
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : RequestBypassToServer
*
@@ -639,11 +641,11 @@ public class Npc extends Creature
}
/**
- * :
+ * :
*
- *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
- *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
- *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
+ *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
+ *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
+ *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -706,7 +708,8 @@ public class Npc extends Creature
/**
* Open a chat window on client with the text of the NpcInstance.
- * Actions:
+ *
+ * Actions:
*
*
Get the text of the selected HTML file in function of the npcId and of the page number
*
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
@@ -877,7 +880,8 @@ public class Npc extends Creature
/**
* Kill the NpcInstance (the corpse disappeared after 7 seconds).
- * Actions:
+ *
+ * Actions:
*
*
Create a DecayTask to remove the corpse of the NpcInstance after 7 seconds
*
Set target to null and cancel Attack or Cast
@@ -1103,14 +1107,15 @@ public class Npc extends Creature
/**
* Remove the NpcInstance from the world and update its spawn object (for a complete removal use the deleteMe method).
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world when the decay task is launched
*
Decrease its spawn counter
*
Manage Siege task (killFlag, killCT)
*
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
@Override
public void onDecay()
@@ -1149,13 +1154,14 @@ public class Npc extends Creature
/**
* Remove PROPERLY the NpcInstance from the world.
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world and update its spawn object
*
Remove all WorldObject from _knownObjects and _knownPlayer of the NpcInstance then cancel Attack or Cast and notify AI
*
Remove WorldObject object from _allObjects of World
*
- * Caution: This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T SEND Server->Client packets to players
* UnAfraid: TODO: Add Listener here
*/
@Override
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/Playable.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/Playable.java
index 622442ab2e..750bdba19c 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/Playable.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/Playable.java
@@ -52,7 +52,8 @@ public abstract class Playable extends Creature
/**
* Constructor of Playable.
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and link copy basic Calculator set to this Playable
*
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/Summon.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/Summon.java
index ceae8467d7..46c221036a 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/Summon.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/Summon.java
@@ -588,7 +588,8 @@ public abstract class Summon extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the target is correct
*
Check if the target is in the skill cast range
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
index 5af1884bac..ba0920369e 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
@@ -24,21 +24,19 @@ import org.l2jmobius.gameserver.model.skills.Skill;
import org.l2jmobius.gameserver.network.serverpackets.ActionFailed;
/**
- * This class manages all Castle Siege Artefacts.
- *
+ * This class manages all Castle Siege Artefacts.
+ *
* @version $Revision: 1.11.2.1.2.7 $ $Date: 2005/04/06 16:13:40 $
*/
public class ArtefactInstance extends Npc
{
/**
- * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
- *
- * Actions :
- *
+ * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
+ *
+ * Actions:
*
Call the Creature constructor to set the _template of the ArtefactInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the ArtefactInstance
- *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
- *
+ *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
* @param template to apply to the NPC
*/
public ArtefactInstance(NpcTemplate template)
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 5f34d57abe..d359c8335b 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
@@ -36,7 +36,8 @@ public class GuardInstance extends Attackable
{
/**
* Constructor of GuardInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the GuardInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the GuardInstance
@@ -100,10 +101,11 @@ public class GuardInstance extends Attackable
/**
* Return the pathfile of the selected HTML file in function of the GuardInstance Identifier and of the page number.
- * Format of the pathfile :
+ *
+ * Format of the pathfile:
*
- *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
- *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
+ *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
+ *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -125,19 +127,22 @@ public class GuardInstance extends Attackable
/**
* Manage actions when a player click on the GuardInstance.
- * Actions on first click on the GuardInstance (Select it) :
+ *
+ * Actions on first click on the GuardInstance (Select it):
*
*
Set the GuardInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
Set the PlayerInstance Intention to AI_INTENTION_IDLE
*
Send a Server->Client packet ValidateLocation to correct the GuardInstance position and heading on the client
*
- * Actions on second click on the GuardInstance (Attack it/Interact with it) :
+ *
+ * Actions on second click on the GuardInstance (Attack it/Interact with it):
*
*
If PlayerInstance is in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_ATTACK
*
If PlayerInstance is NOT in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_INTERACT (after a distance verification) and show message
*
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : Action, AttackRequest
*
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
index 2b71cdcfe3..bee6060aec 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
@@ -43,7 +43,8 @@ public class MonsterInstance extends Attackable
/**
* Constructor of MonsterInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the MonsterInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the MonsterInstance
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
index 96d217da08..e399a38dad 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
@@ -122,7 +122,7 @@ public class PetInstance extends Summon
}
/**
- * Manage Feeding Task.
+ * Manage Feeding Task.
* Feed or kill the pet depending on hunger level.
* If pet has food in inventory and feed level drops below 55% then consume food from inventory.
* Send a broadcastStatusUpdate packet for this PetInstance
@@ -418,7 +418,7 @@ public class PetInstance extends Summon
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -1136,8 +1136,7 @@ public class PetInstance extends Summon
}
/**
- * Restore the specified % of experience this PetInstance has lost.
- *
+ * Restore the specified % of experience this PetInstance has lost.
* @param restorePercent
*/
public void restoreExp(double restorePercent)
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
index e9b17986c9..d588ce455f 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
@@ -893,7 +893,8 @@ public class PlayerInstance extends Playable
/**
* Create a new PlayerInstance and add it in the characters table of the database.
- * Actions :
+ *
+ * Actions:
*
*
Create a new PlayerInstance with an account name
*
Set the name, the Hair Style, the Hair Color and the Face type of the PlayerInstance
@@ -1084,7 +1085,8 @@ public class PlayerInstance extends Playable
/**
* Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world (call restore method).
- * Actions :
+ *
+ * Actions:
*
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
@@ -1111,12 +1113,13 @@ public class PlayerInstance extends Playable
/**
* Constructor of PlayerInstance (use Creature constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and copy basic Calculator set to this PlayerInstance
*
Set the name of the PlayerInstance
*
- * Caution : This method SET the level of the PlayerInstance to 1
+ * Caution: This method SET the level of the PlayerInstance to 1
* @param objectId Identifier of the object to initialized
* @param template The PlayerTemplate to apply to the PlayerInstance
* @param accountName The name of the account including this PlayerInstance
@@ -2456,7 +2459,7 @@ public class PlayerInstance extends Playable
}
/**
- * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
+ * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
*/
public void regiveTemporarySkills()
{
@@ -3399,7 +3402,7 @@ public class PlayerInstance extends Playable
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -3640,7 +3643,7 @@ public class PlayerInstance extends Playable
}
/**
- * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : long Quantity of items to be dropped
@@ -3907,9 +3910,9 @@ public class PlayerInstance extends Playable
}
/**
- * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions :
- *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
- *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution : This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
+ * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions:
+ *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
+ *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution: This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
*/
@Override
public void broadcastStatusUpdate(Creature caster)
@@ -3976,11 +3979,11 @@ public class PlayerInstance extends Playable
}
/**
- * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept : Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
- * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions :
+ * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept: Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
+ * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions:
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
- *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as
- * MaxHP, STR, DEX...
+ *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP,
+ * STR, DEX...
*/
public void broadcastUserInfo()
{
@@ -4134,10 +4137,10 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Interact Task with another PlayerInstance. Actions :
+ * Manage Interact Task with another PlayerInstance. Actions:
*
If the private store is a STORE_PRIVATE_SELL, send a Server->Client PrivateBuyListSell packet to the PlayerInstance
*
If the private store is a STORE_PRIVATE_BUY, send a Server->Client PrivateBuyListBuy packet to the PlayerInstance
- *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
+ *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
* @param target The Creature targeted
*/
public void doInteract(Creature target)
@@ -4186,7 +4189,7 @@ public class PlayerInstance extends Playable
*
Send a Server->Client packet InventoryUpdate to this player with NewItem (use a new slot) or ModifiedItem (increase amount).
*
Send a Server->Client packet StatusUpdate to this player with current weight.
*
- * Caution: If a party is in progress, distribute the items between the party members!
+ * Caution: If a party is in progress, distribute the items between the party members!
* @param target the NPC dropping the item
* @param itemId the item ID
* @param itemCount the item count
@@ -4218,13 +4221,13 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Pickup Task. Actions :
+ * Manage Pickup Task. Actions:
*
Send a Server->Client packet StopMove to this PlayerInstance
*
Remove the ItemInstance from the world and send server->client GetItem packets
*
Send a System Message to the PlayerInstance : YOU_PICKED_UP_S1_ADENA or YOU_PICKED_UP_S1_S2
*
Add the Item to the PlayerInstance inventory
*
Send a Server->Client packet InventoryUpdate to this PlayerInstance with NewItem (use a new slot) or ModifiedItem (increase amount)
- *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution : If a Party is in progress, distribute Items between party members
+ *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution: If a Party is in progress, distribute Items between party members
* @param object The ItemInstance to pick up
*/
@Override
@@ -4488,7 +4491,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set a target. Actions :
+ * Set a target. Actions:
*
*
Remove the PlayerInstance from the _statusListener of the old target if it was a Creature
*
Add the PlayerInstance to the _statusListener of the new target if it's a Creature
@@ -4580,7 +4583,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon instance (always equiped in the right hand).
+ * Return the active weapon instance (always equipped in the right hand).
*/
@Override
public ItemInstance getActiveWeaponInstance()
@@ -4589,7 +4592,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon item (always equiped in the right hand).
+ * Return the active weapon item (always equipped in the right hand).
*/
@Override
public Weapon getActiveWeaponItem()
@@ -4678,7 +4681,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary weapon instance (always equiped in the left hand).
+ * Return the secondary weapon instance (always equipped in the left hand).
*/
@Override
public ItemInstance getSecondaryWeaponInstance()
@@ -4687,8 +4690,8 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary Item item (always equiped in the left hand).
- * Arrows, Shield..
+ * Return the secondary Item item (always equipped in the left hand).
+ * Arrows, Shield..
*/
@Override
public Item getSecondaryWeaponItem()
@@ -4702,12 +4705,12 @@ public class PlayerInstance extends Playable
}
/**
- * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions :
+ * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions:
*
Reduce the Experience of the PlayerInstance in function of the calculated Death Penalty
*
If necessary, unsummon the Pet of the killed PlayerInstance
*
Manage Karma gain for attacker and Karam loss for the killed PlayerInstance
*
If the killed PlayerInstance has Karma, manage Drop Item
- *
Kill the PlayerInstance
+ *
Kill the PlayerInstance
* @param killer
*/
@Override
@@ -5179,12 +5182,13 @@ public class PlayerInstance extends Playable
}
/**
- * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
- * Actions :
+ * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
+ *
+ * Actions:
*
Calculate the Experience loss
*
Set the value of _expBeforeDeath
*
Set the new Experience value of the PlayerInstance and Decrease its level if necessary
- *
Send a Server->Client StatusUpdate packet with its new Experience
+ *
Send a Server->Client StatusUpdate packet with its new Experience
* @param killer
*/
public void calculateDeathExpPenalty(Creature killer)
@@ -5236,7 +5240,7 @@ public class PlayerInstance extends Playable
}
/**
- * Stop the HP/MP/CP Regeneration task. Actions :
+ * Stop the HP/MP/CP Regeneration task. Actions:
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
*/
@@ -5584,13 +5588,13 @@ public class PlayerInstance extends Playable
}
/**
- * Set the Private Store type of the PlayerInstance. Values :
+ * Set the Private Store type of the PlayerInstance. Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @param privateStoreType
*/
public void setPrivateStoreType(PrivateStoreType privateStoreType)
@@ -5603,13 +5607,13 @@ public class PlayerInstance extends Playable
}
/**
- * Values :
+ * Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @return the Private Store type of the PlayerInstance.
*/
public PrivateStoreType getPrivateStoreType()
@@ -6326,11 +6330,11 @@ public class PlayerInstance extends Playable
}
/**
- * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions :
+ * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions:
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
*
Set the x,y,z position of the PlayerInstance and make it invisible
- *
Update the overloaded status of the PlayerInstance
+ *
Update the overloaded status of the PlayerInstance
* @param objectId Identifier of the object to initialized
* @return The PlayerInstance loaded from the database
*/
@@ -7240,10 +7244,10 @@ public class PlayerInstance extends Playable
}
/**
- * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept : All skills own by a PlayerInstance are identified in _skills Actions :
+ * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept: All skills own by a PlayerInstance are identified in _skills Actions:
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
- *
Add Func objects of newSkill to the calculator set of the Creature
+ *
Add Func objects of newSkill to the calculator set of the Creature
* @param newSkill The Skill to add to the Creature
* @param store
* @return The Skill replaced or null if just added a new Skill
@@ -7274,10 +7278,10 @@ public class PlayerInstance extends Playable
}
/**
- * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept : All skills own by a Creature are identified in _skills Actions :
+ * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept: All skills own by a Creature are identified in _skills Actions:
*
Remove the skill from the Creature _skills
- *
Remove all its Func objects from the Creature calculator set
Overridden in :
- *
PlayerInstance : Save update in the character_skills table of the database
+ *
Remove all its Func objects from the Creature calculator set
Overridden in:
+ *
PlayerInstance : Save update in the character_skills table of the database
* @param skill The Skill to remove from the Creature
* @return The Skill removed
*/
@@ -7965,7 +7969,8 @@ public class PlayerInstance extends Playable
/**
* Return True if the PlayerInstance is autoAttackable.
- * Actions:
+ *
+ * Actions:
*
*
Check if the attacker isn't the PlayerInstance Pet
*
Check if the attacker is MonsterInstance
@@ -8127,7 +8132,8 @@ public class PlayerInstance extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the skill isn't toggle and is offensive
*
Check if the target is in the skill cast range
@@ -8478,15 +8484,18 @@ public class PlayerInstance extends Playable
/**
* Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers.
- * Concept:
- * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
* In order to inform other players of this PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet
- * Actions:
+ *
+ * Actions:
*
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
*
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
*
- * Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
+ * Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
*/
@Override
public void updateAbnormalVisualEffects()
@@ -9309,7 +9318,7 @@ public class PlayerInstance extends Playable
}
/**
- * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
+ * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
* 2. This method no longer changes the active _classIndex of the player. This is only done by the calling of setActiveClass() method as that should be the only way to do so.
* @param classId
* @param classIndex
@@ -10469,7 +10478,8 @@ public class PlayerInstance extends Playable
/**
* Manage the delete task of a PlayerInstance (Leave Party, Unsummon pet, Save its inventory in the database, Remove it from the world...).
- * Actions:
+ *
+ * Actions:
*
*
If the PlayerInstance is in observer mode, set its position to its position before entering in observer mode
*
Set the online Flag to True or False and update the characters table of the database with online status and lastAccess
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
index d58c4a2344..1538e27eb0 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
@@ -31,7 +31,8 @@ public class RaidBossInstance extends MonsterInstance
/**
* Constructor of RaidBossInstance (use Creature and NpcInstance constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the RaidBossInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the RaidBossInstance
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
index 0746dde009..e66a7d8d7f 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
@@ -152,7 +152,8 @@ public class StaticObjectInstance extends Creature
/**
* Set the meshIndex of the object.
- * Values :
+ *
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
@@ -166,7 +167,7 @@ public class StaticObjectInstance extends Creature
}
/**
- * Values :
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
index b8258c55cc..1eb09ebcb7 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
@@ -265,7 +265,8 @@ public class CreatureStat
/**
* Return the MAtk (base+modifier) of the Creature.
- * Example of use: Calculate Magic damage
+ *
+ * Example of use: Calculate Magic damage
* @return
*/
public int getMAtk()
@@ -290,7 +291,7 @@ public class CreatureStat
}
/**
- * Example of use : Calculate Magic damage.
+ * Example of use : Calculate Magic damage.
* @return the MDef (base+modifier) of the Creature against a skill in function of abnormal effects in progress.
*/
public int getMDef()
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
index a34f446f36..ecb6ca7cf2 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
@@ -57,11 +57,14 @@ public class CreatureStatus
/**
* Add the object to the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use:
+ *
+ * Example of use:
*
*
Target a PC or NPC
*
@@ -79,11 +82,14 @@ public class CreatureStatus
/**
* Remove the object from the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use :
+ *
+ * Example of use :
*
*
Untarget a PC or NPC
*
@@ -96,8 +102,10 @@ public class CreatureStatus
/**
* Return the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
* @return The list of Creature to inform or null if empty
@@ -188,7 +196,8 @@ public class CreatureStatus
/**
* Start the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Calculate the regen task period
*
Launch the HP/MP/CP Regeneration task with Medium priority
@@ -208,7 +217,8 @@ public class CreatureStatus
/**
* Stop the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/base/SubClass.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/base/SubClass.java
index 6e1b4abe48..8e382665f8 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/base/SubClass.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/base/SubClass.java
@@ -20,7 +20,7 @@ import org.l2jmobius.Config;
import org.l2jmobius.gameserver.data.xml.impl.ExperienceData;
/**
- * Character Sub-Class Definition
+ * Character Sub-Class Definition
* Used to store key information about a character's sub-class.
* @author Tempy
*/
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
index ee74925752..a54baee819 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
@@ -62,7 +62,7 @@ public abstract class AbstractEffect
/**
* Calculates whether this effects land or not.
* If it lands will be scheduled and added to the character effect list.
- * Override in effect implementation to change behavior.
+ * Override in effect implementation to change behavior.
* Warning: Must be used only for instant effects continuous effects will not call this they have their success handled by activate_rate.
* @param effector
* @param effected
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/entity/Castle.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/entity/Castle.java
index 84bd945a23..c67b32e5be 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/entity/Castle.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/entity/Castle.java
@@ -616,8 +616,7 @@ public class Castle extends AbstractResidence
}
/**
- * Respawn all doors on castle grounds
- *
+ * Respawn all doors on castle grounds
* @param isDoorWeak
*/
public void spawnDoor(boolean isDoorWeak)
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/entity/Fort.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/entity/Fort.java
index 755bee3310..667c694f50 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/entity/Fort.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/entity/Fort.java
@@ -273,8 +273,7 @@ public class Fort extends AbstractResidence
}
/**
- * Move non clan members off fort area and to nearest town.
- *
+ * Move non clan members off fort area and to nearest town.
*/
public void banishForeigners()
{
@@ -516,8 +515,7 @@ public class Fort extends AbstractResidence
}
/**
- * Respawn all doors on fort grounds
- *
+ * Respawn all doors on fort grounds.
*/
public void resetDoors()
{
@@ -976,11 +974,10 @@ public class Fort extends AbstractResidence
}
/**
- * @return Returns state of fortress.
- *
- * 0 - not decided yet
- * 1 - independent
- * 2 - contracted with castle
+ * @return Returns state of fortress.
+ * 0 - not decided yet
+ * 1 - independent
+ * 2 - contracted with castle
*/
public int getFortState()
{
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/entity/FortSiege.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
index fe98f73d82..d4e5ae83b5 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
@@ -703,14 +703,14 @@ public class FortSiege implements Siegable
}
/**
- * Register clan as attacker.
+ * Register clan as attacker.
* @param player The PlayerInstance of the player trying to register.
* @param checkConditions True if should be checked conditions, false otherwise
- * @return Number that defines what happened.
- * 0 - Player don't have clan.
- * 1 - Player don't have enough adena to register.
- * 2 - Is not right time to register Fortress now.
- * 3 - Players clan is already registered to siege.
+ * @return Number that defines what happened.
+ * 0 - Player don't have clan.
+ * 1 - Player don't have enough adena to register.
+ * 2 - Is not right time to register Fortress now.
+ * 3 - Players clan is already registered to siege.
* 4 - Players clan is successfully registered to siege.
*/
public int addAttacker(PlayerInstance player, boolean checkConditions)
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/entity/Hero.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/entity/Hero.java
index 65ed747453..a0bcd7b98f 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/entity/Hero.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/entity/Hero.java
@@ -891,7 +891,7 @@ public class Hero
}
/**
- * Saving task for {@link Hero}
+ * Saving task for {@link Hero}
* Save all hero messages to DB.
*/
public void shutdown()
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/entity/Siege.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/entity/Siege.java
index 0bcd190ec1..f714cb5ce1 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/entity/Siege.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/entity/Siege.java
@@ -383,8 +383,7 @@ public class Siege implements Siegable
}
/**
- * When control of castle changed during siege
- *
+ * When control of castle changed during siege.
*/
public void midVictory()
{
@@ -470,8 +469,7 @@ public class Siege implements Siegable
}
/**
- * When siege starts
- *
+ * When siege starts.
*/
@Override
public void startSiege()
@@ -529,8 +527,7 @@ public class Siege implements Siegable
}
/**
- * Announce to player.
- *
+ * Announce to player.
* @param message The SystemMessage to send to player
* @param bothSides True - broadcast to both attackers and defenders. False - only to defenders.
*/
@@ -682,8 +679,7 @@ public class Siege implements Siegable
}
/**
- * Approve clan as defender for siege
- *
+ * Approve clan as defender for siege
* @param clanId The int of player's clan id
*/
public void approveSiegeDefenderClan(int clanId)
@@ -717,8 +713,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is attacker
- *
+ * Return true if clan is attacker
* @param clan The Clan of the player
*/
@Override
@@ -728,8 +723,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is defender
- *
+ * Return true if clan is defender
* @param clan The Clan of the player
*/
@Override
@@ -866,8 +860,7 @@ public class Siege implements Siegable
}
/**
- * Register clan as attacker
- *
+ * Register clan as attacker
* @param player The PlayerInstance of the player trying to register
*/
public void registerAttacker(PlayerInstance player)
@@ -948,8 +941,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clanId The int of player's clan id
*/
public void removeSiegeClan(int clanId)
@@ -975,8 +967,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clan clan being removed
*/
public void removeSiegeClan(Clan clan)
@@ -989,8 +980,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param player The PlayerInstance of player/clan being removed
*/
public void removeSiegeClan(PlayerInstance player)
@@ -999,8 +989,7 @@ public class Siege implements Siegable
}
/**
- * Start the auto tasks
- *
+ * Start the auto tasks.
*/
public void startAutoTask()
{
@@ -1073,8 +1062,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as attacker
- *
+ * Add clan as attacker
* @param clanId The int of clan's id
*/
private void addAttacker(int clanId)
@@ -1083,8 +1071,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender
- *
+ * Add clan as defender
* @param clanId The int of clan's id
*/
private void addDefender(int clanId)
@@ -1105,8 +1092,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender waiting approval
- *
+ * Add clan as defender waiting approval
* @param clanId The int of clan's id
*/
private void addDefenderWaiting(int clanId)
@@ -1198,8 +1184,7 @@ public class Siege implements Siegable
}
/**
- * Return the correct siege date as Calendar.
- *
+ * Return the correct siege date as Calendar.
*/
public void correctSiegeDateTime()
{
@@ -1348,8 +1333,7 @@ public class Siege implements Siegable
}
/**
- * Save registration to database.
- *
+ * Save registration to database.
* @param clan The Clan of player
* @param typeId -1 = owner 0 = defender, 1 = attacker, 2 = defender waiting
* @param isUpdateRegistration
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/events/AbstractScript.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
index 6369448951..6c02d5efb1 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
@@ -2993,7 +2993,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param array of values.
* @return one value from array.
@@ -3009,7 +3009,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param list of values.
* @return one value from list.
@@ -3024,7 +3024,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param array of Integers.
* @return one Integer from array.
*/
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
index 0da0f1ff20..a4335762c0 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
@@ -53,7 +53,7 @@ public class PlayerSkillHolder implements ISkillsHolder
}
/**
- * Add a skill to the skills map.
+ * Add a skill to the skills map.
* @param skill
*/
@Override
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/instancezone/Instance.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
index d68ded49eb..e368c9ec27 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
@@ -329,7 +329,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Get player by ID from instance.
+ * Get player by ID from instance.
* @param id objectId of player
* @return first player by ID, otherwise {@code null}
*/
@@ -803,7 +803,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Set reenter penalty for players associated with current instance.
+ * Set reenter penalty for players associated with current instance.
* @param time penalty time in milliseconds since January 1, 1970
*/
public void setReenterTime(long time)
@@ -860,8 +860,7 @@ public class Instance implements IIdentifiable, INamable
/**
* Set instance world to finish state.
- * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
- * See {@link Instance#finishInstance(int)} for more details.
+ * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
*/
public void finishInstance()
{
@@ -1016,7 +1015,7 @@ public class Instance implements IIdentifiable, INamable
// Template methods
// ----------------------------------------------
/**
- * Get parameters from instance template.
+ * Get parameters from instance template.
* @return template parameters
*/
public StatSet getTemplateParameters()
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
index 9500e708e6..06ebee3817 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
@@ -992,7 +992,7 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Drop item from inventory by using its objectID and updates database
+ * Drop item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
@@ -1296,7 +1296,7 @@ public abstract class Inventory extends ItemContainer
/**
* Equips an item in the given slot of the paperdoll.
- * Remark : The item must be in the inventory already.
+ * Remark : The item must be in the inventory already.
* @param slot : int pointing out the slot of the paperdoll
* @param item : ItemInstance pointing out the item to add in slot
* @return ItemInstance designating the item placed in the slot before
@@ -1539,8 +1539,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in body slot and returns alterations.
- * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(long)} instead
+ * Unequips item in body slot and returns alterations.
+ * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(long)} instead
* @param slot : int designating the slot of the paperdoll
* @return ItemInstance[] : list of changes
*/
@@ -1570,8 +1570,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in slot and returns alterations
- * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
+ * Unequips item in slot and returns alterations
+ * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
* @param slot : int designating the slot
* @return ItemInstance[] : list of items altered
*/
@@ -1716,8 +1716,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Equips item and returns list of alterations
- * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
+ * Equips item and returns list of alterations
+ * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
* @param item : ItemInstance corresponding to the item
* @return ItemInstance[] : list of alterations
*/
@@ -2478,8 +2478,9 @@ public abstract class Inventory extends ItemContainer
/**
* Reduce the arrow number of the Creature.
- * Overridden in :
- *
PlayerInstance
+ *
+ * Overridden in:
+ *
PlayerInstance
* @param type
*/
public void reduceArrowCount(EtcItemType type)
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
index 2847ecdcd5..2e5f90dcee 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
@@ -530,7 +530,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its objectID and updates database
+ * Destroy item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -545,7 +545,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its itemId and updates database
+ * Destroy item from inventory by using its itemId and updates database
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
index 0a9e6cc66d..5d3bed530d 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
@@ -113,7 +113,7 @@ public class PetInventory extends Inventory
public void restore()
{
super.restore();
- // check for equiped items from other pets
+ // check for equipped items from other pets
for (ItemInstance item : _items.values())
{
if (item.isEquipped() && !item.getItem().checkCondition(_owner, _owner, false))
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
index ccf7bbc0d6..dd03785a1a 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
@@ -586,7 +586,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
+ * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -632,7 +632,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
+ * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/items/Item.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/items/Item.java
index 58d9e23de0..2461bd922b 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/items/Item.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/items/Item.java
@@ -58,7 +58,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
/**
- * This class contains all informations concerning the item (weapon, armor, etc).
+ * This class contains all informations concerning the item (weapon, armor, etc).
* Mother class of :
*
*
Armor
@@ -176,8 +176,7 @@ public abstract class Item extends ListenersContainer implements IIdentifiable
private boolean _isBlessed;
/**
- * Constructor of the Item that fill class variables.
- *
+ * Constructor of the Item that fill class variables.
* @param set : StatSet corresponding to a set of couples (key,value) for description of the item
*/
protected Item(StatSet set)
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
index ffea6dc3ea..bf2b368ddb 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.items.type.CrystalType;
import org.l2jmobius.gameserver.model.items.type.ItemType;
/**
- * This class contains ItemInstance
+ * This class contains ItemInstance
* Use to sort ItemInstance of :
*
*
Armor
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
index c1c4b0bf16..1f7b469358 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
@@ -263,19 +263,15 @@ public class ItemInstance extends WorldObject
}
/**
- * Remove a ItemInstance from the world and send server->client GetItem packets.
- *
- * Actions :
- *
+ * Remove a ItemInstance from the world and send server->client GetItem packets.
+ *
+ * Actions:
*
Send a Server->Client Packet GetItem to player that pick up and its _knowPlayers member
- *
Remove the WorldObject from the world
- *
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- *
- * Example of use :
- *
- *
Do Pickup Item : PCInstance and Pet
- *
+ *
Remove the WorldObject from the world
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ *
+ * Example of use:
+ *
Do Pickup Item : PCInstance and Pet
* @param creature Character that pick up the item
*/
public void pickupMe(Creature creature)
@@ -406,9 +402,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the location of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the location of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param loc : ItemLocation (enumeration)
* @param locData : int designating the slot where the item is stored or the village for freights
*/
@@ -437,8 +432,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
+ * Sets the quantity of the item.
* @param count the new count to set
*/
public void setCount(long count)
@@ -461,9 +455,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the quantity of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param process : String Identifier of process triggering this action
* @param count : int
* @param creator : PlayerInstance Player requesting the item creation
@@ -1469,7 +1462,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
*/
public void updateDatabase()
{
@@ -1477,7 +1470,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
* @param force if the update should necessarilly be done.
*/
public void updateDatabase(boolean force)
@@ -1513,20 +1506,17 @@ public class ItemInstance extends WorldObject
}
/**
- * Init a dropped ItemInstance and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a dropped ItemInstance and add it in the world as a visible object.
+ *
+ * Actions:
*
Set the x,y,z position of the ItemInstance dropped and update its _worldregion
*
Add the ItemInstance dropped to _visibleObjects of its WorldRegion
- *
Add the ItemInstance dropped in the world as a visible object
- *
- * Caution : This method DOESN'T ADD the object to _allObjects of World
- *
- * Example of use :
- *
+ *
Add the ItemInstance dropped in the world as a visible object
+ * Caution: This method DOESN'T ADD the object to _allObjects of World
+ *
+ * Example of use:
*
Drop item
- *
Call Pet
+ *
Call Pet
*/
public class ItemDropTask implements Runnable
{
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/quest/Quest.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/quest/Quest.java
index a74f5a2a86..c399ac294d 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/quest/Quest.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/quest/Quest.java
@@ -982,7 +982,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever a player attacks an NPC that is registered for the quest.
- * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
+ * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
* @param npc this parameter contains a reference to the exact instance of the NPC that got attacked.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked the NPC.
* @param damage this parameter represents the total damage that this attack has inflicted to the NPC.
@@ -1119,7 +1119,7 @@ public class Quest extends AbstractScript implements IIdentifiable
* The coder of the script may need to create a new quest state (if necessary).
* Note 3:
* The returned value of onFirstTalk replaces the default HTML that would have otherwise been loaded from a sub-folder of DatapackRoot/game/data/html/.
- * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
+ * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
* @param npc this parameter contains a reference to the exact instance of the NPC that the player is talking with.
* @param player this parameter contains a reference to the exact instance of the player who is talking to the NPC.
* @return the text returned by the event (may be {@code null}, a filename or just text)
@@ -1246,7 +1246,7 @@ public class Quest extends AbstractScript implements IIdentifiable
}
/**
- * This function is called whenever an NPC is teleport.
+ * This function is called whenever an NPC is teleport.
* @param npc this parameter contains a reference to the exact instance of the NPC who just teleport.
*/
protected void onTeleport(Npc npc)
@@ -1256,7 +1256,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever an NPC is called by another NPC in the same faction.
* @param npc this parameter contains a reference to the exact instance of the NPC who is being asked for help.
- * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
+ * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked.
* @param isSummon this parameter if it's {@code false} it denotes that the attacker was indeed the player, else it specifies that the attacker was the player's summon.
* @return
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
index b527d15bb8..f4662c2b87 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
@@ -695,7 +695,7 @@ public class SkillCaster implements Runnable
}
/**
- * Stops this casting and cleans all cast parameters.
+ * Stops this casting and cleans all cast parameters.
* @param aborted if {@code true}, server will send packets to the player, notifying him that the skill has been aborted.
*/
public void stopCasting(boolean aborted)
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/stats/Formulas.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/stats/Formulas.java
index 7dfb1604f4..21cf6d8cd5 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/stats/Formulas.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/stats/Formulas.java
@@ -551,7 +551,7 @@ public class Formulas
* Returns:
* 0 = shield defense doesn't succeed
* 1 = shield defense succeed
- * 2 = perfect block
+ * 2 = perfect block
* @param attacker
* @param target
* @param sendSysMsg
@@ -656,7 +656,7 @@ public class Formulas
}
/**
- * Calculates the effect landing success.
+ * Calculates the effect landing success.
* @param attacker the attacker
* @param target the target
* @param skill the skill
@@ -964,9 +964,9 @@ public class Formulas
}
/**
- * Calculates the attribute bonus with the following formula:
- * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
- * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
+ * Calculates the attribute bonus with the following formula:
+ * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
+ * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
* diff == 0, so AttBonus = 1
* It has been tested that physical skills do get affected by attack attribute even
* if they don't have any attribute. In that case only the biggest attack attribute is taken.
@@ -1208,7 +1208,7 @@ public class Formulas
* Confuse
* Compelling,
* Knockback
- * Pull
+ * Pull
* @param baseChance chance from effect parameter
* @param attacker
* @param target
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
index 2988807295..c621fab8f6 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
* A Function object is a component of a Calculator created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...).
* In fact, each calculator is a table of functions object in which each function represents a mathematics function:
* FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
+ * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
* Indeed, functions with lowest priority order is executed first and functions with the same order are executed in unspecified order.
* @author Zoey76
*/
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
index 1cb8bc9d02..d898d2c397 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
@@ -71,7 +71,7 @@ public class TaxZone extends ZoneType
}
/**
- * Gets castle associated with tax zone.
+ * Gets castle associated with tax zone.
* @return instance of {@link Castle} if found otherwise {@code null}
*/
public Castle getCastle()
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
index ca7f8d6d99..dee0ea769d 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
@@ -55,8 +55,8 @@ public class BlowFishKeygen
}
/**
- * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
- * Thus when getting a key with interests other then read-only a copy must be performed.
+ * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
+ * Thus when getting a key with interests other then read-only a copy must be performed.
* @return A key from this keygen pool.
*/
public static byte[] getRandomKey()
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
index 3ddec8e6c5..04a100a125 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
@@ -465,7 +465,7 @@ public class RequestAcquireSkill implements IClientIncomingPacket
/**
* Perform a simple check for current player and skill.
* Takes the needed SP if the skill require it and all requirements are meet.
- * Consume required items if the skill require it and all requirements are meet.
+ * Consume required items if the skill require it and all requirements are meet.
* @param player the skill learning player.
* @param trainer the skills teaching Npc.
* @param skillLearn the skill to be learn.
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
index 16624b7447..0f8f2ab22f 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
@@ -96,7 +96,7 @@ public class RequestDestroyItem implements IClientIncomingPacket
// if we can't find the requested item, its actually a cheat
if (itemToRemove == null)
{
- // gm can destroy other player items
+ // GM can destroy other player items
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
index 183ca83e49..1df78a5548 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
@@ -49,7 +49,7 @@ public class RequestGMCommand implements IClientIncomingPacket
@Override
public void run(GameClient client)
{
- // prevent non gm or low level GMs from vieweing player stuff
+ // prevent non GM or low level GMs from vieweing player stuff
if (!client.getPlayer().isGM() || !client.getPlayer().getAccessLevel().allowAltG())
{
return;
@@ -99,7 +99,7 @@ public class RequestGMCommand implements IClientIncomingPacket
}
case 6: // player warehouse
{
- // gm warehouse view to be implemented
+ // GM warehouse view to be implemented
if (player != null)
{
client.sendPacket(new GMViewWarehouseWithdrawList(1, player));
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
index 52c27df9ca..7c3fc1f3e2 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
@@ -90,7 +90,7 @@ public class UseItem implements IClientIncomingPacket
final ItemInstance item = player.getInventory().getItemByObjectId(_objectId);
if (item == null)
{
- // gm can use other player item
+ // GM can use other player item
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
index d19f06f141..f4f0c5ca81 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.network.OutgoingPackets;
import org.l2jmobius.gameserver.network.clientpackets.RequestAllyInfo;
/**
- * Sent in response to {@link RequestAllyInfo}, if applicable.
+ * Sent in response to {@link RequestAllyInfo}, if applicable.
* @author afk5min
*/
public class AllianceInfo implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
index 80a7042463..1fd7ec663a 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
@@ -20,9 +20,9 @@ import org.l2jmobius.commons.network.PacketWriter;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Eva's Inferno event packet. info params:
- * type (1 - %, 2 - npcId),
- * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
+ * Eva's Inferno event packet. info params:
+ * type (1 - %, 2 - npcId),
+ * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
* state (0-1), endtime (only when type 2)
*/
public class ExBrBuffEventState implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
index 00cc64147b..ba6bb59e06 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
@@ -141,7 +141,7 @@ public interface IClientOutgoingPacket extends IOutgoingPacket
}
/**
- * Sends this packet to the target player, useful for lambda operations like
+ * Sends this packet to the target player, useful for lambda operations like
* {@code World.getInstance().getPlayers().forEach(packet::sendTo)}
* @param player
*/
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
index 1a0c26e078..7fd8a52be7 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
@@ -24,25 +24,25 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Attacker List in the SiegeInfo Window
- *
- * c = ca
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Attackers Clans?
- * d = Number of Attackers Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Attacker List in the SiegeInfo Window
+ *
+ * c = ca
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Attackers Clans?
+ * d = Number of Attackers Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeAttackerList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
index 7066b92fa1..52e10be7c6 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
@@ -25,26 +25,26 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Defender List in the SiegeInfo Window
- *
- * c = 0xcb
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Defending Clans?
- * d = Number of Defending Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Defender List in the SiegeInfo Window
+ *
+ * c = 0xcb
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Defending Clans?
+ * d = Number of Defending Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeDefenderList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
index 355cea9565..6c647eec90 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
@@ -27,18 +27,18 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Shows the Siege Info
- *
- * c = c9
- * d = CastleID
- * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
- * d = Owner ClanID
- * S = Owner ClanName
- * S = Owner Clan LeaderName
- * d = Owner AllyID
- * S = Owner AllyName
- * d = current time (seconds)
- * d = Siege time (seconds) (0 for selectable)
+ * Shows the Siege Info
+ *
+ * c = c9
+ * d = CastleID
+ * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
+ * d = Owner ClanID
+ * S = Owner ClanName
+ * S = Owner Clan LeaderName
+ * d = Owner AllyID
+ * S = Owner AllyName
+ * d = current time (seconds)
+ * d = Siege time (seconds) (0 for selectable)
* d = (UNKNOW) Siege Time Select Related?
* @author KenM
*/
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/scripting/ManagedScript.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
index f2b91791ab..00235baa25 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
@@ -21,7 +21,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
/**
- * Abstract class for classes that are meant to be implemented by scripts.
+ * Abstract class for classes that are meant to be implemented by scripts.
* @author KenM
*/
public abstract class ManagedScript
@@ -41,7 +41,7 @@ public abstract class ManagedScript
public abstract Path getScriptPath();
/**
- * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
+ * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
* Subclasses of this class should override this method to properly refresh their bindings when necessary.
* @return true if and only if the script was reloaded, false otherwise.
*/
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
index 34ba313686..620f020f4e 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
@@ -77,7 +77,7 @@ public class AttackStanceTaskManager
}
/**
- * Checks for attack stance task.
+ * Checks for attack stance task.
* @param actor the actor
* @return {@code true} if the character has an attack stance task, {@code false} otherwise
*/
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/ui/frmAbout.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/ui/frmAbout.java
index a3e5c2cc67..4d161afb73 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/ui/frmAbout.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/ui/frmAbout.java
@@ -83,7 +83,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblProtocols);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 128, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/util/Broadcast.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/util/Broadcast.java
index e0d798deff..5a7eb1a4df 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/util/Broadcast.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/util/Broadcast.java
@@ -40,11 +40,13 @@ public class Broadcast
private static final Logger LOGGER = Logger.getLogger(Broadcast.class.getName());
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -60,11 +62,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -108,11 +112,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
* @param radius
@@ -128,10 +134,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param creature
* @param mov
*/
@@ -162,10 +170,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance present in the world.
- * Concept :
- * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance present in the world.
+ *
+ * Concept:
+ *
+ * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param packet
*/
public static void toAllOnlinePlayers(IClientOutgoingPacket packet)
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/util/MinionList.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/util/MinionList.java
index 29a8c04c1e..9a6f694eaa 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/util/MinionList.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/util/MinionList.java
@@ -58,13 +58,11 @@ public class MinionList
}
/**
- * Manage the spawn of Minions.
- *
- * Actions :
- *
+ * Manage the spawn of Minions.
+ *
+ * Actions:
*
Get the Minion data of all Minions that must be spawn
- *
For each Minion type, spawn the amount of Minion needed
- *
+ *
For each Minion type, spawn the amount of Minion needed
* @param minions
*/
public void spawnMinions(List minions)
@@ -260,16 +258,14 @@ public class MinionList
}
/**
- * Init a Minion and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a Minion and add it in the world as a visible object.
+ *
+ * Actions:
*
Get the template of the Minion to spawn
*
Create and Init the Minion and generate its Identifier
*
Set the Minion HP, MP and Heading
*
Set the Minion leader to this RaidBoss
- *
Init the position of the Minion and add it in the world as a visible object
- *
+ *
Init the position of the Minion and add it in the world as a visible object
* @param master MonsterInstance used as master for this minion
* @param minionId The NpcTemplate Identifier of the Minion to spawn
* @return
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/util/PrimeFinder.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/util/PrimeFinder.java
index c9532000c8..20016811a1 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/util/PrimeFinder.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/util/PrimeFinder.java
@@ -33,7 +33,7 @@ import java.util.Arrays;
public class PrimeFinder
{
/**
- * The largest prime this class can generate; currently equal to Integer.MAX_VALUE.
+ * The largest prime this class can generate; currently equal to Integer.MAX_VALUE
*/
public static final int LARGEST_PRIME = Integer.MAX_VALUE; // yes, it is prime.
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
index 2e46e0a048..0a81e323a3 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
@@ -67,8 +67,7 @@ public class TimeAmountInterpreter
}
/**
- * Appends an user-friendly description of the given amount of time to the specified text builder.
- *
+ * Appends an user-friendly description of the given amount of time to the specified text builder.
* Please keep in mind, that this method is primarily designed to be used with heap text builders. Therefore, if the given text builder throws an {@link IOException}, this exception will be wrapped in a {@link RuntimeException} and returned to the caller as an unchecked exception.
* @param
* @param textBuilder a character sequence builder
diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/loginserver/ui/frmAbout.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/loginserver/ui/frmAbout.java
index 8488868090..06a5d95539 100644
--- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/loginserver/ui/frmAbout.java
+++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/loginserver/ui/frmAbout.java
@@ -75,7 +75,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblLoginServer);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 148, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/custom/listeners/ListenerTest.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/custom/listeners/ListenerTest.java
index 0f855db33f..ed9d1c76f4 100644
--- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/custom/listeners/ListenerTest.java
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/custom/listeners/ListenerTest.java
@@ -114,7 +114,7 @@ public class ListenerTest extends AbstractNpcAI
}
/**
- * Prioritized event notification
+ * Prioritized event notification
* This method will be invoked as soon as creature from level range between 1 and 10 dies.
* This listener is registered into individual npcs container.
* @param event
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
index 4185463b7a..a20f09c9cd 100644
--- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/actionhandlers/ArtefactInstanceAction.java
@@ -26,18 +26,15 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
public class ArtefactInstanceAction implements IActionHandler
{
/**
- * Manage actions when a player click on the ArtefactInstance.
- *
- * Actions :
- *
+ * Manage actions when a player click on the ArtefactInstance.
+ *
+ * Actions:
*
Set the NpcInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
- *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
Send a Server->Client packet ValidateLocation to correct the NpcInstance position and heading on the client
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
*/
@Override
public boolean action(PlayerInstance player, WorldObject target, boolean interact)
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
index bb73cd0bae..1f204280f0 100644
--- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/actionhandlers/NpcAction.java
@@ -36,27 +36,22 @@ import org.l2jmobius.gameserver.network.serverpackets.MoveToPawn;
public class NpcAction implements IActionHandler
{
/**
- * Manage actions when a player click on the Npc.
- *
- * Actions on first click on the Npc (Select it) :
- *
+ * Manage actions when a player click on the Npc.
+ *
+ * Actions on first click on the Npc (Select it):
*
Set the Npc as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, send a Server->Client packet StatusUpdate to the PlayerInstance in order to update Npc HP bar
- *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
- *
- * Actions on second click on the Npc (Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet ValidateLocation to correct the Npc position and heading on the client
+ *
+ * Actions on second click on the Npc (Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
If Npc is autoAttackable, notify the PlayerInstance AI with AI_INTENTION_ATTACK (after a height verification)
- *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
- *
- * Caution : Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If Npc is NOT autoAttackable, notify the PlayerInstance AI with AI_INTENTION_INTERACT (after a distance verification) and show message
+ * Caution: Each group of Server->Client packet must be terminated by a ActionFailed packet in order to avoid that client wait an other packet
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The PlayerInstance that start an action on the Npc
*/
@Override
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
index 28aa39ab39..d52da54398 100644
--- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/actionhandlers/PlayerInstanceAction.java
@@ -31,25 +31,20 @@ public class PlayerInstanceAction implements IActionHandler
private static final int CURSED_WEAPON_VICTIM_MIN_LEVEL = 21;
/**
- * Manage actions when a player click on this PlayerInstance.
- *
- * Actions on first click on the PlayerInstance (Select it) :
- *
+ * Manage actions when a player click on this PlayerInstance.
+ *
+ * Actions on first click on the PlayerInstance (Select it):
*
Set the target of the player
- *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
- *
- * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it) :
- *
+ *
Send a Server->Client packet MyTargetSelected to the player (display the select window)
+ *
+ * Actions on second click on the PlayerInstance (Follow it/Attack it/Intercat with it):
*
Send a Server->Client packet MyTargetSelected to the player (display the select window)
*
If target PlayerInstance has a Private Store, notify the player AI with AI_INTENTION_INTERACT
- *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
- *
- *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
- *
- * Example of use :
- *
- *
Client packet : Action, AttackRequest
- *
+ *
If target PlayerInstance is autoAttackable, notify the player AI with AI_INTENTION_ATTACK
+ *
If target PlayerInstance is NOT autoAttackable, notify the player AI with AI_INTENTION_FOLLOW
+ *
+ * Example of use:
+ *
Client packet : Action, AttackRequest
* @param player The player that start an action on target PlayerInstance
*/
@Override
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
index 20a4e8f57c..6da5c01385 100644
--- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/actionshifthandlers/PlayerInstanceActionShift.java
@@ -29,7 +29,7 @@ public class PlayerInstanceActionShift implements IActionShiftHandler
{
if (player.isGM())
{
- // Check if the gm already target this l2pcinstance
+ // Check if the GM already target this l2pcinstance
if (player.getTarget() != target)
{
// Set the target of the PlayerInstance player
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
index ea73fa17a1..1aa5e5074a 100644
--- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
@@ -86,13 +86,13 @@ public class AdminAdmin implements IAdminCommandHandler
else if (command.startsWith("admin_gmliston"))
{
AdminData.getInstance().showGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Registered into gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Registered into GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_gmlistoff"))
{
AdminData.getInstance().hideGm(activeChar);
- BuilderUtil.sendSysMessage(activeChar, "Removed from gm list.");
+ BuilderUtil.sendSysMessage(activeChar, "Removed from GM list.");
AdminHtml.showAdminHtml(activeChar, "gm_menu.htm");
}
else if (command.startsWith("admin_silence"))
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
index 2efc2df69a..3fed3db486 100644
--- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminEventEngine.java
@@ -486,7 +486,7 @@ public class AdminEventEngine implements IAdminCommandHandler
sb.append("
");
sb.append("
");
sb.append("
");
- sb.append("
");
+ sb.append("
");
sb.append("Teams' names:
");
for (int i = 1; (i - 1) < teamnumbers; i++) // Team names params
{
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
index 5e3fc05aa9..91259505bf 100644
--- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminFightCalculator.java
@@ -31,7 +31,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
/**
- * This class handles following admin commands: - gm = turns gm mode on/off
+ * This class handles following admin commands: - GM = turns GM mode on/off
* @version $Revision: 1.1.2.1 $ $Date: 2005/03/15 21:32:48 $
*/
public class AdminFightCalculator implements IAdminCommandHandler
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
index a32a84dd35..e9acb6a1f6 100644
--- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminGm.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles following admin commands: - gm = turns gm mode off
+ * This class handles following admin commands: - GM = turns GM mode off
* @version $Revision: 1.2.4.4 $ $Date: 2005/04/11 10:06:06 $
*/
public class AdminGm implements IAdminCommandHandler
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
index 364bba90a9..f0b2f857a4 100644
--- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminPForge.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * This class handles commands for gm to forge packets
+ * This class handles commands for GM to forge packets
* @author Maktakien, HorridoJoho
*/
public class AdminPForge implements IAdminCommandHandler
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
index 9dd195001c..b5e732f3f7 100644
--- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminPledge.java
@@ -30,14 +30,14 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.BuilderUtil;
/**
- * Pledge Manipulation:
- *
With target in a character without clan:
+ * Pledge Manipulation:
+ *
With target in a character without clan:
* //pledge create clanname
- *
With target in a clan leader:
- * //pledge info
- * //pledge dismiss
- * //pledge setlevel level
- * //pledge rep reputation_points
+ *
With target in a clan leader:
+ * //pledge info
+ * //pledge dismiss
+ * //pledge setlevel level
+ * //pledge rep reputation_points
*/
public class AdminPledge implements IAdminCommandHandler
{
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/bypasshandlers/Loto.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/bypasshandlers/Loto.java
index 1e25e2baf2..54e95bfd4e 100644
--- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/bypasshandlers/Loto.java
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/bypasshandlers/Loto.java
@@ -69,13 +69,12 @@ public class Loto implements IBypassHandler
}
/**
- * Open a Loto window on client with the text of the NpcInstance.
- *
- * Actions :
- *
+ * Open a Loto window on client with the text of the NpcInstance.
+ *
+ * Actions:
*
Get the text of the selected HTML file in function of the npcId and of the page number
*
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
- *
Send a Server->Client ActionFailed to the PlayerInstance in order to avoid that the client wait another packet
+ *
Send a Server->Client ActionFailed to the PlayerInstance in order to avoid that the client wait another packet
* @param player The PlayerInstance that talk with the NpcInstance
* @param npc Npc loto instance
* @param value The number of the page of the NpcInstance to display
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
index fb1eed2f9f..9be9eb040d 100644
--- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java
@@ -78,8 +78,9 @@ public class QuestLink implements IBypassHandler
/**
* Open a choose quest window on client with all quests available of the NpcInstance.
+ *
* Actions:
- *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
+ *
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
* @param player The PlayerInstance that talk with the NpcInstance
* @param npc The table containing quests of the NpcInstance
* @param quests
@@ -231,6 +232,7 @@ public class QuestLink implements IBypassHandler
/**
* Open a quest window on client with the text of the NpcInstance.
+ *
* Actions:
*
*
Get the text of the quest state in the folder data/scripts/quests/questId/stateId.htm
Fly Radius means the distance between starting point and final point, it must be an integer.
*
Fly Course means the movement direction: imagine a compass above player's head, making north player's heading. So if fly course is 180, player will go backwards (good for blink, e.g.).
*
- * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
+ * By the way, if flyCourse = 360 or 0, player will be moved in in front of him.
* If target is effector, put in XML self="1", this will make _actor = getEffector(). This, combined with target type, allows more complex actions like flying target's backwards or player's backwards.
* @author DrHouse
*/
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
index ca935396a6..e4e937ef41 100644
--- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/BlinkSwap.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.network.serverpackets.ValidateLocation;
/**
* This Blink effect switches the location of the caster and the target.
- * This effect is totally done based on client description.
+ * This effect is totally done based on client description.
* Assume that geodata checks are done on the skill cast and not needed to repeat here.
* @author Nik
*/
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
index 0f1802d986..00474ef88a 100644
--- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/BlockControl.java
@@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.effects.EffectFlag;
import org.l2jmobius.gameserver.model.effects.EffectType;
/**
- * An effect that blocks the player (NPC?) control.
+ * An effect that blocks the player (NPC?) control.
* It prevents moving, casting, social actions, etc.
* @author Nik
*/
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
index 6b463fd9d2..f94ecb0b46 100644
--- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/DamageBlock.java
@@ -21,7 +21,7 @@ import org.l2jmobius.gameserver.model.effects.AbstractEffect;
import org.l2jmobius.gameserver.model.effects.EffectFlag;
/**
- * Effect that blocks damage and heals to HP/MP.
+ * Effect that blocks damage and heals to HP/MP.
* Regeneration or DOT shouldn't be blocked, Vampiric Rage and Balance Life as well.
* @author Nik
*/
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
index 9eb0b4e233..8c7fddca06 100644
--- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/DamageByAttack.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
/**
* An effect that changes damage taken from an attack.
- * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
+ * The retail implementation seems to be altering whatever damage is taken after the attack has been done and not when attack is being done.
* Exceptions for this effect appears to be DOT effects and terrain damage, they are unaffected by this stat.
* As for example in retail this effect does reduce reflected damage taken (because it is received damage), as well as it does not decrease reflected damage done,
* because reflected damage is being calculated with the original attack damage and not this altered one.
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
index a4808a3312..5624fe4e60 100644
--- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
@@ -34,10 +34,10 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
- * Current formulas were tested to be the best matching retail, damage appears to be identical:
- * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
- * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
+ * Physical Attack effect implementation.
+ * Current formulas were tested to be the best matching retail, damage appears to be identical:
+ * For melee skills: 70 * graciaSkillBonus1.10113 * (patk * lvlmod + power) * crit * ss * skillpowerbonus / pdef
+ * For ranged skills: 70 * (patk * lvlmod + power + patk + power) * crit * ss * skillpower / pdef
* @author Nik
*/
public class PhysicalAttack extends AbstractEffect
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
index 332fa3fa4f..17f093e386 100644
--- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackSaveHp.java
@@ -29,7 +29,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
index 34e643a5b1..4f29f685f7 100644
--- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttackWeaponBonus.java
@@ -33,7 +33,7 @@ import org.l2jmobius.gameserver.model.stats.Formulas;
import org.l2jmobius.gameserver.model.stats.Stat;
/**
- * Physical Attack effect implementation.
+ * Physical Attack effect implementation.
* Note: Initial formula taken from PhysicalAttack.
* @author Adry_85, Nik
*/
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
index e1c554d674..92d5fb7d96 100644
--- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.zone.ZoneId;
/**
* Not Friend affect object implementation. Based on Gracia Final retail tests.
* Such are considered flagged/karma players (except party/clan/ally). Doesn't matter if in command channel.
- * In arena such are considered clan/ally/command channel (except party).
+ * In arena such are considered clan/ally/command channel (except party).
* In peace zone such are considered monsters.
* Monsters consider such all players, npcs (Citizens, Guild Masters, Merchants, Guards, etc. except monsters). Doesn't matter if in peace zone or arena.
* @author Nik
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/instances/AbstractInstance.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/instances/AbstractInstance.java
index 17d748fad2..354b0d5137 100644
--- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/instances/AbstractInstance.java
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/instances/AbstractInstance.java
@@ -62,7 +62,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Get instance world associated with {@code player}.
+ * Get instance world associated with {@code player}.
* @param player player who wants get instance world
* @return instance world if found, otherwise null
*/
@@ -229,8 +229,7 @@ public abstract class AbstractInstance extends AbstractNpcAI
}
/**
- * Sets instance to finish state.
- * See {@link Instance#finishInstance()} for more details.
+ * Sets instance to finish state.
* @param player player used for determine current instance world
*/
protected void finishInstance(PlayerInstance player)
@@ -244,7 +243,6 @@ public abstract class AbstractInstance extends AbstractNpcAI
/**
* Sets instance to finish state.
- * See {@link Instance#finishInstance(int)} for more details.
* @param player player used for determine current instance world
* @param delay finish delay in minutes
*/
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
index 93028744ee..aa8ac8f064 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/commons/util/crypt/BlowfishEngine.java
@@ -1232,8 +1232,7 @@ public class BlowfishEngine
/**
* Method to encrypt the block at the given index.
- * The encrypted block goes to the destination array at the given index.
- *
+ * The encrypted block goes to the destination array at the given index.
* @param src source array with the plain data
* @param srcIndex index where the block to encrypt is located
* @param dst destination array the encryption will go to
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/GameTimeController.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/GameTimeController.java
index 131fb28d3d..aa4d359090 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/GameTimeController.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/GameTimeController.java
@@ -118,10 +118,13 @@ public class GameTimeController extends Thread
}
/**
- * Move all Creatures contained in movingObjects of GameTimeController.
- * Concept :
- * All Creature in movement are identified in movingObjects of GameTimeController.
- * Actions :
+ * Move all Creatures contained in movingObjects of GameTimeController.
+ *
+ * Concept:
+ *
+ * All Creature in movement are identified in movingObjects of GameTimeController.
+ *
+ * Actions:
*
*
Update the position of each Creature
*
If movement is finished, the Creature is removed from movingObjects
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/LoginServerThread.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/LoginServerThread.java
index bafacc7045..39bf2b4f51 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/LoginServerThread.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/LoginServerThread.java
@@ -95,7 +95,6 @@ public class LoginServerThread extends Thread
* The BlowFish engine used to encrypt packets
* It is first initialized with a unified key:
* "_;v.]05-31!|+-%xT!^[$\00"
- *
* and then after handshake, with a new key sent by
* login server during the handshake. This new key is stored
* in blowfishKey
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/Shutdown.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/Shutdown.java
index 3dd56d3db8..e07ac52791 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/Shutdown.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/Shutdown.java
@@ -233,7 +233,7 @@ public class Shutdown extends Thread
}
else
{
- // gm shutdown: send warnings and then call exit to start shutdown sequence
+ // GM shutdown: send warnings and then call exit to start shutdown sequence
countdown();
// last point where logging is operational :(
LOGGER.warning("GM shutdown countdown is over. " + MODE_TEXT[_shutdownMode] + " NOW!");
@@ -543,7 +543,7 @@ public class Shutdown extends Thread
}
/**
- * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
+ * Get the shutdown-hook instance the shutdown-hook instance is created by the first call of this function, but it has to be registered externally.
* @return instance of Shutdown, to be used as shutdown hook
*/
public static Shutdown getInstance()
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/ai/AbstractAI.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/ai/AbstractAI.java
index 95f441a5d6..c544548976 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/ai/AbstractAI.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/ai/AbstractAI.java
@@ -45,7 +45,7 @@ import org.l2jmobius.gameserver.taskmanager.AttackStanceTaskManager;
/**
* Mother class of all objects AI in the world.
- * AbastractAI :
+ * AbastractAI:
*
CreatureAI
*/
public abstract class AbstractAI implements Ctrl
@@ -126,10 +126,10 @@ public abstract class AbstractAI implements Ctrl
/**
* Set the Intention of this AbstractAI.
- * Caution : This method is USED by AI classes
- * Overridden in :
- * AttackableAI : Create an AI Task executed every 1s (if necessary)
- * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
+ * Caution: This method is USED by AI classes
+ * Overridden in:
+ * AttackableAI : Create an AI Task executed every 1s (if necessary)
+ * L2PlayerAI : Stores the current AI intention parameters to later restore it if necessary.
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -141,7 +141,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
*/
@Override
@@ -152,7 +152,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onIntention method corresponding to the new Intention.
- * Caution : Stop the FOLLOW mode if necessary
+ * Caution: Stop the FOLLOW mode if necessary
* @param intention The new Intention to set to the AI
* @param args The first parameters of the Intention (optional target)
*/
@@ -225,7 +225,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Launch the CreatureAI onEvt method corresponding to the Event.
- * Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
*/
@Override
@@ -235,7 +235,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
*/
@@ -246,7 +246,7 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Launch the CreatureAI onEvt method corresponding to the Event. Caution : The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
+ * Launch the CreatureAI onEvt method corresponding to the Event. Caution: The current general intention won't be change (ex : If the character attack and is stunned, he will attack again after the stunned period)
* @param evt The event whose the AI must be notified
* @param arg0 The first parameter of the Event (optional target)
* @param arg1 The second parameter of the Event (optional target)
@@ -419,7 +419,7 @@ public abstract class AbstractAI implements Ctrl
protected abstract void onEvtFinishCasting();
/**
- * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution : Low level function, used by AI subclasses
+ * Cancel action client side by sending Server->Client packet ActionFailed to the PlayerInstance actor. Caution: Low level function, used by AI subclasses
*/
protected void clientActionFailed()
{
@@ -430,8 +430,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param pawn
* @param offset
*/
@@ -514,8 +514,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Move the actor to Location (x,y,z) server side AND client side by sending Server->Client packet CharMoveToLocation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param x
* @param y
* @param z
@@ -542,8 +542,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast).
+ * Caution: Low level function, used by AI subclasses
* @param loc
*/
public void clientStopMoving(Location loc)
@@ -591,8 +591,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
public void clientStartAutoAttack()
{
@@ -632,8 +632,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
void clientStopAutoAttack()
{
@@ -661,8 +661,8 @@ public abstract class AbstractAI implements Ctrl
}
/**
- * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
- * Caution : Low level function, used by AI subclasses
+ * Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast).
+ * Caution: Low level function, used by AI subclasses
*/
protected void clientNotifyDead()
{
@@ -679,7 +679,7 @@ public abstract class AbstractAI implements Ctrl
/**
* Update the state of this actor client side by sending Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance player.
- * Caution : Low level function, used by AI subclasses
+ * Caution: Low level function, used by AI subclasses
* @param player The PlayerIstance to notify with state of this Creature
*/
public void describeStateToPlayer(PlayerInstance player)
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/ai/AttackableAI.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/ai/AttackableAI.java
index dcbcece191..86871742ad 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/ai/AttackableAI.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/ai/AttackableAI.java
@@ -212,7 +212,7 @@ public class AttackableAI extends CreatureAI
/**
* Set the Intention of this CreatureAI and create an AI Task executed every 1s (call onEvtThink method) for this Attackable.
- * Caution : If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
+ * Caution: If actor _knowPlayer isn't EMPTY, AI_INTENTION_IDLE will be change in AI_INTENTION_ACTIVE
* @param intention The new Intention to set to the AI
* @param args The first parameter of the Intention
*/
@@ -317,7 +317,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI standard thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update every 1s the _globalAggro counter to come close to 0
*
If the actor is Aggressive and can attack, add all autoAttackable Creature in its Aggro Range to its _aggroList, chose a target and order to attack it
@@ -612,7 +612,7 @@ public class AttackableAI extends CreatureAI
}
/**
- * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions :
+ * Manage AI attack thinks of a Attackable (called by onEvtThink). Actions:
*
*
Update the attack timeout if actor is running
*
If target is dead or timeout is expired, stop this attack and set the Intention to AI_INTENTION_ACTIVE
@@ -1243,7 +1243,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Attacked.
- * Actions :
+ *
+ * Actions:
*
*
Init the attack : Calculate the attack timeout, Set the _globalAggro to 0, Add the attacker to the actor _aggroList
*
Set the Creature movement type to run and send Server->Client packet ChangeMoveType to all others PlayerInstance
@@ -1307,7 +1308,8 @@ public class AttackableAI extends CreatureAI
/**
* Launch actions corresponding to the Event Aggression.
- * Actions :
+ *
+ * Actions:
*
*
Add the target to the actor _aggroList or update hate if already present
*
Set the actor Intention to AI_INTENTION_ATTACK (if actor is GuardInstance check if it isn't too far from its home location)
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/ai/CreatureAI.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/ai/CreatureAI.java
index 34be02f105..3b29875b4a 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/ai/CreatureAI.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/ai/CreatureAI.java
@@ -139,7 +139,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Idle Intention : Stop Attack, Movement and Stand Up the actor.
- * Actions :
+ *
+ * Actions:
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
Init cast and attack target
@@ -164,7 +165,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Active Intention : Stop Attack, Movement and Launch Think Event.
- * Actions : if the Intention is not already Active
+ *
+ * Actions : if the Intention is not already Active
*
*
Set the AI Intention to AI_INTENTION_ACTIVE
*
Init cast and attack target
@@ -195,7 +197,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Rest Intention.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI Intention to AI_INTENTION_IDLE
*
@@ -209,7 +212,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Attack Intention : Stop current Attack (if necessary), Start a new Attack and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_ATTACK
@@ -217,7 +221,8 @@ public class CreatureAI extends AbstractAI
*
Start the actor Auto Attack client side by sending Server->Client packet AutoAttackStart (broadcast)
*
Launch the Think Event
*
- * Overridden in :
+ *
+ * Overridden in:
*
*
AttackableAI : Calculate attack timeout
*
@@ -281,7 +286,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Cast Intention : Stop current Attack, Init the AI in order to cast and Launch Think Event.
- * Actions :
+ *
+ * Actions :
*
*
Set the AI cast target
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
@@ -331,7 +337,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
@@ -370,7 +377,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Follow Intention : Stop current Attack and Launch a Follow Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_FOLLOW
@@ -427,7 +435,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the PickUp Intention : Set the pick up target and Launch a Move To Pawn Task (offset=20).
- * Actions :
+ *
+ * Actions :
*
*
Set the AI pick up target
*
Set the Intention of this AI to AI_INTENTION_PICK_UP
@@ -476,7 +485,8 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Interact Intention : Set the interact target and Launch a Move To Pawn Task (offset=60).
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the AI interact target
@@ -537,7 +547,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Stunned then onAttacked Event.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
@@ -565,7 +576,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Rooted.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -588,7 +600,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Confused.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Launch actions corresponding to the Event onAttacked
@@ -606,7 +619,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Muted.
- * Actions :
+ *
+ * Actions:
*
*
Break a cast and send Server->Client ActionFailed packet and a System Message to the Creature
*
@@ -629,7 +643,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -643,7 +658,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Arrived.
- * Actions :
+ *
+ * Actions:
*
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
*
Launch actions corresponding to the Event Think
@@ -686,7 +702,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedRevalidate.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -700,7 +717,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ArrivedBlocked.
- * Actions :
+ *
+ * Actions:
*
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
If the Intention was AI_INTENTION_MOVE_TO, set the Intention to AI_INTENTION_ACTIVE
@@ -725,7 +743,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event ForgetObject.
- * Actions :
+ *
+ * Actions:
*
*
If the object was targeted and the Intention was AI_INTENTION_INTERACT or AI_INTENTION_PICK_UP, set the Intention to AI_INTENTION_ACTIVE
*
If the object was targeted to attack, stop the auto-attack, cancel target and set the Intention to AI_INTENTION_ACTIVE
@@ -781,7 +800,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -806,7 +826,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Dead.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Kill the actor client side by sending Server->Client packet AutoAttackStop, StopMove/StopRotation, Die (broadcast)
@@ -829,7 +850,8 @@ public class CreatureAI extends AbstractAI
/**
* Launch actions corresponding to the Event Fake Death.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
@@ -910,13 +932,15 @@ public class CreatureAI extends AbstractAI
/**
* Manage the Move to Pawn action in function of the distance and of the Interact area.
- * Actions :
+ *
+ * Actions:
*
*
Get the distance between the current position of the Creature and the target (x,y)
*
If the distance > offset+20, move the actor (by running) to Pawn server side AND client side by sending Server->Client packet MoveToPawn (broadcast)
*
If the distance <= offset+20, Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1017,13 +1041,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost or dead.
- * Actions : If the target is lost or dead
+ *
+ * Actions : If the target is lost or dead
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
@@ -1050,13 +1076,15 @@ public class CreatureAI extends AbstractAI
/**
* Modify current Intention and actions if the target is lost.
- * Actions : If the target is lost
+ *
+ * Actions : If the target is lost
*
*
Stop the actor auto-attack client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Stop the actor movement server side AND client side by sending Server->Client packet StopMove/StopRotation (broadcast)
*
Set the Intention of this AbstractAI to AI_INTENTION_ACTIVE
*
- * Example of use :
+ *
+ * Example of use:
*
*
PLayerAI, SummonAI
*
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/ai/PlayerAI.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/ai/PlayerAI.java
index 1af86289ec..72cd985005 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/ai/PlayerAI.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/ai/PlayerAI.java
@@ -90,7 +90,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event ReadyToAct.
- * Actions :
+ *
+ * Actions:
*
*
Launch actions corresponding to the Event Think
*
@@ -109,7 +110,8 @@ public class PlayerAI extends PlayableAI
/**
* Launch actions corresponding to the Event Cancel.
- * Actions :
+ *
+ * Actions:
*
*
Stop an AI Follow Task
*
Launch actions corresponding to the Event Think
@@ -124,7 +126,7 @@ public class PlayerAI extends PlayableAI
/**
* Finalize the casting of a skill. This method overrides CreatureAI method.
- * What it does:
+ * What it does:
* Check if actual intention is set to CAST and, if so, retrieves latest intention before the actual CAST and set it as the current intention for the player.
*/
@Override
@@ -197,7 +199,8 @@ public class PlayerAI extends PlayableAI
/**
* Manage the Move To Intention : Stop current Attack and Launch a Move to Location Task.
- * Actions :
+ *
+ * Actions :
*
*
Stop the actor auto-attack server side AND client side by sending Server->Client packet AutoAttackStop (broadcast)
*
Set the Intention of this AI to AI_INTENTION_MOVE_TO
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
index a6c22e57af..dcfcbb433f 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/data/xml/impl/AdminData.java
@@ -158,7 +158,7 @@ public class AdminData implements IXmlReader
AdminCommandAccessRight acar = _adminCommandAccessRights.get(adminCommand);
if (acar == null)
{
- // Trying to avoid the spam for next time when the gm would try to use the same command
+ // Trying to avoid the spam for next time when the GM would try to use the same command
if ((accessLevel.getLevel() > 0) && (accessLevel.getLevel() == _highestLevel))
{
acar = new AdminCommandAccessRight(adminCommand, true, accessLevel.getLevel());
@@ -341,7 +341,7 @@ public class AdminData implements IXmlReader
/**
* Gets the single instance of AdminTable.
- * @return AccessLevels: the one and only instance of this class
+ * @return AccessLevels: the one and only instance of this class
*/
public static AdminData getInstance()
{
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
index f11acfd056..0407de3b99 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/data/xml/impl/SkillTreeData.java
@@ -63,7 +63,7 @@ import org.l2jmobius.gameserver.model.skills.Skill;
* Here can be found the following skill trees:
*
*
Class skill trees: player skill trees for each class.
- *
Transfer skill trees: player skill trees for each healer class.
+ *
Transfer skill trees: player skill trees for each healer class.
*
Collect skill tree: player skill tree for Gracia related skills.
*
Fishing skill tree: player skill tree for fishing related skills.
*
Transform skill tree: player skill tree for transformation related skills.
@@ -464,7 +464,7 @@ public class SkillTreeData implements IXmlReader
}
/**
- * Gets the race skill tree.
+ * Gets the race skill tree.
* @param race the race skill tree Id
* @return the complete race Skill Tree for a given {@code Race}
*/
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/datatables/BotReportTable.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
index df93e82f1e..7f43f75eed 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/datatables/BotReportTable.java
@@ -206,7 +206,7 @@ public class BotReportTable
}
/**
- * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
+ * Attempts to perform a bot report. R/W to ip and char id registry is synchronized. Triggers bot punish management
* @param reporter (PlayerInstance who issued the report)
* @return True, if the report was registered, False otherwise
*/
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/datatables/ItemTable.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/datatables/ItemTable.java
index d63129deff..bfae3f7a36 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/datatables/ItemTable.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/datatables/ItemTable.java
@@ -195,10 +195,10 @@ public class ItemTable
}
/**
- * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions :
+ * Create the ItemInstance corresponding to the Item Identifier and quantitiy add logs the activity. Actions:
*
Create and Init the ItemInstance corresponding to the Item Identifier and quantity
*
Add the ItemInstance object to _allObjects of L2world
- *
Logs Item creation according to log settings
+ *
Logs Item creation according to log settings
* @param process : String Identifier of process triggering this action
* @param itemId : int Item Identifier of the item to be created
* @param count : int Quantity of items to be created for stackable items
@@ -304,7 +304,8 @@ public class ItemTable
/**
* Destroys the ItemInstance.
- * Actions :
+ *
+ * Actions:
*
*
Sets ItemInstance parameters to be unusable
*
Removes the ItemInstance object to _allObjects of L2world
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/enums/BasicProperty.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/enums/BasicProperty.java
index 77a2a7a477..1e5cac18dd 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/enums/BasicProperty.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/enums/BasicProperty.java
@@ -17,17 +17,17 @@
package org.l2jmobius.gameserver.enums;
/**
- * Basic property type of skills.
- * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
- * After, only 3 types are used: physical, magic and none.
- *
- * Quote from Juji:
- * ----------------------------------------------------------------------
- * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
- * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
- * ----------------------------------------------------------------------
- * All other are considered with no basic property aka NONE.
- *
+ * Basic property type of skills.
+ * Before Goddess of Destruction, BaseStats was used. CON for physical, MEN for magical, and others for special cases.
+ * After, only 3 types are used: physical, magic and none.
+ *
+ * Quote from Juji:
+ * ----------------------------------------------------------------------
+ * Physical: Stun, Paralyze, Knockback, Knock Down, Hold, Disarm, Petrify
+ * Mental: Sleep, Mutate, Fear, Aerial Yoke, Silence
+ * ----------------------------------------------------------------------
+ * All other are considered with no basic property aka NONE.
+ *
* @author Nik
*/
public enum BasicProperty
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/handler/ItemHandler.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/handler/ItemHandler.java
index 939d8263da..a815f2646e 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/handler/ItemHandler.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/handler/ItemHandler.java
@@ -38,10 +38,9 @@ public class ItemHandler implements IHandler
}
/**
- * Adds handler of item type in datatable.
- *
- * Concept :
- * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
+ * Adds handler of item type in datatable.
+ * Concept :
+ * This handler is put in datatable Map <String ; IItemHandler > for each ID corresponding to an item type (existing in classes of package itemhandlers) sets as key of the Map.
* @param handler (IItemHandler)
*/
@Override
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
index 7d6c13d3b9..b510fdc4ee 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/instancemanager/InstanceManager.java
@@ -456,7 +456,7 @@ public class InstanceManager implements IXmlReader
}
/**
- * Register instance world.
+ * Register instance world.
* @param instance instance which should be registered
*/
public void register(Instance instance)
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/AccessLevel.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/AccessLevel.java
index ced434ddda..2dac00e406 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/AccessLevel.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/AccessLevel.java
@@ -87,9 +87,8 @@ public class AccessLevel
}
/**
- * Returns the access level
- *
- * @return int: access level
+ * Returns the access level
+ * @return int: access level
*/
public int getLevel()
{
@@ -97,9 +96,8 @@ public class AccessLevel
}
/**
- * Returns the access level name
- *
- * @return String: access level name
+ * Returns the access level name
+ * @return String: access level name
*/
public String getName()
{
@@ -107,9 +105,8 @@ public class AccessLevel
}
/**
- * Returns the name color of the access level
- *
- * @return int: the name color for the access level
+ * Returns the name color of the access level
+ * @return int: the name color for the access level
*/
public int getNameColor()
{
@@ -117,9 +114,8 @@ public class AccessLevel
}
/**
- * Returns the title color color of the access level
- *
- * @return int: the title color for the access level
+ * Returns the title color color of the access level
+ * @return int: the title color for the access level
*/
public int getTitleColor()
{
@@ -127,9 +123,8 @@ public class AccessLevel
}
/**
- * Retuns if the access level has gm access or not
- *
- * @return boolean: true if access level have gm access, otherwise false
+ * Retuns if the access level has GM access or not
+ * @return boolean: true if access level have GM access, otherwise false
*/
public boolean isGm()
{
@@ -137,9 +132,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to attack in peace zone or not
- *
- * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
+ * Returns if the access level is allowed to attack in peace zone or not
+ * @return boolean: true if the access level is allowed to attack in peace zone, otherwise false
*/
public boolean allowPeaceAttack()
{
@@ -147,9 +141,8 @@ public class AccessLevel
}
/**
- * Retruns if the access level is allowed to use fixed res or not
- *
- * @return true if the access level is allowed to use fixed res, otherwise false
+ * Retruns if the access level is allowed to use fixed res or not
+ * @return true if the access level is allowed to use fixed res, otherwise false
*/
public boolean allowFixedRes()
{
@@ -157,9 +150,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to perform transactions or not
- *
- * @return boolean: true if access level is allowed to perform transactions, otherwise false
+ * Returns if the access level is allowed to perform transactions or not
+ * @return boolean: true if access level is allowed to perform transactions, otherwise false
*/
public boolean allowTransaction()
{
@@ -167,9 +159,8 @@ public class AccessLevel
}
/**
- * Returns if the access level is allowed to use AltG commands or not
- *
- * @return boolean: true if access level is allowed to use AltG commands, otherwise false
+ * Returns if the access level is allowed to use AltG commands or not
+ * @return boolean: true if access level is allowed to use AltG commands, otherwise false
*/
public boolean allowAltG()
{
@@ -177,9 +168,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can give damage or not
- *
- * @return boolean: true if the access level can give damage, otherwise false
+ * Returns if the access level can give damage or not
+ * @return boolean: true if the access level can give damage, otherwise false
*/
public boolean canGiveDamage()
{
@@ -187,9 +177,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can take aggro or not
- *
- * @return boolean: true if the access level can take aggro, otherwise false
+ * Returns if the access level can take aggro or not
+ * @return boolean: true if the access level can take aggro, otherwise false
*/
public boolean canTakeAggro()
{
@@ -197,9 +186,8 @@ public class AccessLevel
}
/**
- * Returns if the access level can gain exp or not
- *
- * @return boolean: true if the access level can gain exp, otherwise false
+ * Returns if the access level can gain exp or not
+ * @return boolean: true if the access level can gain exp, otherwise false
*/
public boolean canGainExp()
{
@@ -207,9 +195,9 @@ public class AccessLevel
}
/**
- * Returns if the access level contains allowedAccess as child
- * @param accessLevel as AccessLevel
- * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
+ * Returns if the access level contains allowedAccess as child
+ * @param accessLevel as AccessLevel
+ * @return boolean: true if a child access level is equals to allowedAccess, otherwise false
*/
public boolean hasChildAccess(AccessLevel accessLevel)
{
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/EffectList.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/EffectList.java
index 72d713b173..78596bd21e 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/EffectList.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/EffectList.java
@@ -159,7 +159,7 @@ public class EffectList
}
/**
- * Verifies if this effect list contains the given skill ID.
+ * Verifies if this effect list contains the given skill ID.
* @param skillId the skill ID to verify
* @return {@code true} if the skill ID is present in the effect list (includes active and passive effects), {@code false} otherwise
*/
@@ -179,7 +179,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param type the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching the specified {@code AbnormalType}, {@code false} otherwise
*/
@@ -189,7 +189,7 @@ public class EffectList
}
/**
- * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
+ * Check if any active {@code BuffInfo} of this {@code AbnormalType} exists.
* @param types the abnormal skill type
* @return {@code true} if there is any {@code BuffInfo} matching one of the specified {@code AbnormalType}s, {@code false} otherwise
*/
@@ -421,7 +421,7 @@ public class EffectList
}
/**
- * Exit all effects having a specified flag.
+ * Exit all effects having a specified flag.
* @param effectFlag the flag of the effect to stop
*/
public void stopEffects(EffectFlag effectFlag)
@@ -438,7 +438,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, Skill)}
+ * {@link #stopSkillEffects(boolean, Skill)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skillId the skill ID
*/
@@ -457,7 +457,7 @@ public class EffectList
* Removes the stats from the creature.
* Updates the effect flags and icons.
* Presents overload:
- * {@link #stopSkillEffects(boolean, int)}
+ * {@link #stopSkillEffects(boolean, int)}
* @param removed {@code true} if the effect is removed, {@code false} otherwise
* @param skill the skill
*/
@@ -483,7 +483,7 @@ public class EffectList
}
/**
- * Exits all effects created by a specific skill {@code AbnormalType}s.
+ * Exits all effects created by a specific skill {@code AbnormalType}s.
* @param types the skill {@code AbnormalType}s to be checked and removed.
* @return {@code true} if there was any {@code BuffInfo} with one of the given {@code AbnormalType}s, {@code false} otherwise
*/
@@ -498,7 +498,7 @@ public class EffectList
}
/**
- * Exits all effects matched by a specific filter.
+ * Exits all effects matched by a specific filter.
* @param filter any filter to apply when selecting which {@code BuffInfo}s to be removed.
* @param update update effect flags and icons after the operation finishes.
* @param broadcast {@code true} to broadcast update packets if updating, {@code false} otherwise.
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/Party.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/Party.java
index bfa180535b..e5518154d9 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/Party.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/Party.java
@@ -142,7 +142,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Set invitation process flag and store time for expiration.
+ * Set invitation process flag and store time for expiration.
* Happens when a player joins party or declines to join.
* @param value the pending invitation state to set
*/
@@ -273,8 +273,7 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Send a Server->Client packet to all other PlayerInstance of the Party.
- *
+ * Send a Server->Client packet to all other PlayerInstance of the Party.
* @param player
* @param msg
*/
@@ -821,12 +820,12 @@ public class Party extends AbstractPlayerGroup
}
/**
- * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
- *
- * Actions :
+ * Distribute Experience and SP rewards to PlayerInstance Party members in the known area of the last attacker.
+ *
+ * Actions:
*
Get the PlayerInstance owner of the ServitorInstance (if necessary)
*
Calculate the Experience and SP reward distribution rate
- *
Add Experience and SP to the PlayerInstance
+ *
Add Experience and SP to the PlayerInstance
* @param xpReward The Experience reward to distribute
* @param spReward The SP reward to distribute
* @param rewardedMembers The list of PlayerInstance to reward
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/Spawn.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/Spawn.java
index e9068a0b5f..9f8d6a075f 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/Spawn.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/Spawn.java
@@ -41,7 +41,7 @@ import org.l2jmobius.gameserver.util.Util;
/**
* This class manages the spawn and respawn of a group of NpcInstance that are in the same are and have the same type.
- * Concept:
+ * Concept:
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
* @author Nightmare
@@ -78,13 +78,16 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Constructor of Spawn.
- * Concept:
+ *
+ * Concept:
+ *
* Each Spawn owns generic and static properties (ex : RewardExp, RewardSP, AggroRange...).
* All of those properties are stored in a different NpcTemplate for each type of Spawn. Each template is loaded once in the server cache memory (reduce memory use).
* When a new instance of Spawn is created, server just create a link between the instance and the template.
- * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
- * This link is stored in _spawn of the NpcInstance.
- * Actions:
+ * This link is stored in _template Each NpcInstance is linked to a Spawn that manages its spawn and respawn (delay, location...).
+ * This link is stored in _spawn of the NpcInstance.
+ *
+ * Actions:
*
*
Set the _template of the Spawn
*
Calculate the implementationName used to generate the generic constructor of NpcInstance managed by this Spawn
@@ -227,11 +230,11 @@ public class Spawn extends Location implements IIdentifiable, INamable
}
/**
- * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions :
+ * Decrease the current number of NpcInstance of this Spawn and if necessary create a SpawnTask to launch after the respawn Delay. Actions:
*
Decrease the current number of NpcInstance of this Spawn
*
Check if respawn is possible to prevent multiple respawning caused by lag
*
Update the current number of SpawnTask in progress or stand by of this Spawn
- *
Create a new SpawnTask to launch after the respawn Delay
Caution : A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
+ *
Create a new SpawnTask to launch after the respawn Delay
Caution: A respawn is possible ONLY if _doRespawn=True and _scheduledCount + _currentCount < _maximumCount
* @param oldNpc
*/
public void decreaseCount(Npc oldNpc)
@@ -305,10 +308,13 @@ public class Spawn extends Location implements IIdentifiable, INamable
/**
* Create the NpcInstance, add it to the world and lauch its OnSpawn action.
- * Concept:
+ *
+ * Concept:
+ *
* NpcInstance can be spawned either in a random position into a location area (if Lox=0 and Locy=0), either at an exact position.
* The heading of the NpcInstance can be a random heading if not defined (value= -1) or an exact heading (ex : merchant...).
- * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
+ *
+ * Actions for an random spawn into location area: (if Locx=0 and Locy=0)
*
*
Get NpcInstance Init parameters and its generate an Identifier
*
Call the constructor of the NpcInstance
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/World.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/World.java
index 0b8cd8b4f1..09579e901c 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/World.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/World.java
@@ -132,7 +132,8 @@ public class World
/**
* Adds an object to the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Withdraw an item from the warehouse, create an item
*
Spawn a Creature (PC, NPC, Pet)
@@ -172,7 +173,8 @@ public class World
/**
* Removes an object from the world.
- * Example of use:
+ *
+ * Example of use:
*
*
Delete item from inventory, transfer Item from inventory to warehouse
*
Crystallize item
@@ -209,7 +211,7 @@ public class World
}
/**
- * Example of use:
+ * Example of use:
*
@@ -251,7 +253,7 @@ public class World
}
/**
- * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
+ * If you have access to player objectId use {@link #getPlayer(int playerObjId)}
* @param name Name of the player to get Instance
* @return the player instance corresponding to the given name.
*/
@@ -299,18 +301,18 @@ public class World
}
/**
- * Add a WorldObject in the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Add a WorldObject in the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Add the WorldObject object in _allPlayers* of World
*
Add the WorldObject object in _gmList** of GmListTable
- *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
- * * only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstanceCaution : This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
- * Caution : This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use :
+ *
Add object in _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, add all surrounding WorldObject in its _knownObjects and all surrounding PlayerInstance in its _knownPlayer
+ * * only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstanceCaution: This method DOESN'T ADD the object in _visibleObjects and _allPlayers* of WorldRegion (need synchronisation)
+ * Caution: This method DOESN'T ADD the object to _allObjects and _allPlayers* of World (need synchronisation) Example of use:
*
Drop an Item
*
Spawn a Creature
- *
Apply Death Penalty of a PlayerInstance
+ *
Apply Death Penalty of a PlayerInstance
* @param object L2object to add in the world
* @param newRegion WorldRegion in wich the object will be add (not used)
*/
@@ -382,16 +384,16 @@ public class World
}
/**
- * Remove a WorldObject from the world. Concept : WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
- * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions :
+ * Remove a WorldObject from the world. Concept: WorldObject (including PlayerInstance) are identified in _visibleObjects of his current WorldRegion and in _knownObjects of other surrounding Creatures
+ * PlayerInstance are identified in _allPlayers of World, in _allPlayers of his current WorldRegion and in _knownPlayer of other surrounding Creatures Actions:
*
Remove the WorldObject object from _allPlayers* of World
*
Remove the WorldObject object from _visibleObjects and _allPlayers* of WorldRegion
*
Remove the WorldObject object from _gmList** of GmListTable
- *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
- *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution : This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
- * ** only if object is a GM PlayerInstance Example of use :
+ *
Remove object from _knownObjects and _knownPlayer* of all surrounding WorldRegion Creatures
+ *
If object is a Creature, remove all WorldObject from its _knownObjects and all PlayerInstance from its _knownPlayer
Caution: This method DOESN'T REMOVE the object from _allObjects of World* only if object is a PlayerInstance
+ * ** only if object is a GM PlayerInstance Example of use:
*
Pickup an Item
- *
Decay a Creature
+ *
Decay a Creature
* @param object L2object to remove from the world
* @param oldRegion WorldRegion in which the object was before removing
*/
@@ -690,9 +692,9 @@ public class World
}
/**
- * Calculate the current WorldRegions of the object according to its position (x,y). Example of use :
+ * Calculate the current WorldRegions of the object according to its position (x,y). Example of use:
*
Set position of a new WorldObject (drop, spawn...)
- *
Update position of a WorldObject after a movement
+ *
Update position of a WorldObject after a movement
* @param object the object
* @return
*/
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/WorldObject.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/WorldObject.java
index 63e719d10f..adc7402c47 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/WorldObject.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/WorldObject.java
@@ -670,7 +670,7 @@ public abstract class WorldObject extends ListenersContainer implements IIdentif
}
/**
- * Sets instance for current object by instance ID.
+ * Sets instance for current object by instance ID.
* @param id ID of instance world which should be set (0 means normal world)
*/
public void setInstanceById(int id)
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/WorldRegion.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/WorldRegion.java
index 4a166d2b8a..25ada44e59 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/WorldRegion.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/WorldRegion.java
@@ -195,8 +195,8 @@ public class WorldRegion
}
/**
- * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
- * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
+ * Add the WorldObject in the WorldObjectHashSet(WorldObject) _visibleObjects containing WorldObject visible in this WorldRegion
+ * If WorldObject is a PlayerInstance, Add the PlayerInstance in the WorldObjectHashSet(PlayerInstance) _allPlayable containing PlayerInstance of all player in game in this WorldRegion
* @param object
*/
public void addVisibleObject(WorldObject object)
@@ -216,7 +216,7 @@ public class WorldRegion
}
/**
- * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
+ * Remove the WorldObject from the WorldObjectHashSet(WorldObject) _visibleObjects in this WorldRegion. If WorldObject is a PlayerInstance, remove it from the WorldObjectHashSet(PlayerInstance) _allPlayable of this WorldRegion
* @param object
*/
public void removeVisibleObject(WorldObject object)
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 add262d883..a2d0913b21 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
@@ -1050,7 +1050,7 @@ public class Attackable extends Npc
* During a Special Event all Attackable can drop extra Items.
* Those extra Items are defined in the table allNpcDateDrops of the EventDroplist.
* Each Special Event has a start and end date to stop to drop extra Items automatically.
- * Actions: If an extra drop must be generated
+ * Actions: If an extra drop must be generated
* Get an Item Identifier (random) from the DateDrop Item table of this Event.
* Get the Item quantity dropped (random).
* Create this or these ItemInstance corresponding to this Item Identifier.
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/Creature.java
index 4f62904ce0..7a602aa860 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/Creature.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/Creature.java
@@ -167,7 +167,6 @@ import org.l2jmobius.gameserver.util.Util;
*
Trap
*
Vehicle
*
- *
* Concept of CreatureTemplate:
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
@@ -294,11 +293,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Constructor of Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature. Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
- * Actions:
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template
+ *
+ * Actions:
*
*
Set the _template of the Creature
*
Set _overloaded to false (the character can take more items)
@@ -541,8 +543,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Remove the Creature from the world when the decay task is launched.
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
public void onDecay()
{
@@ -602,8 +604,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
*/
@@ -620,8 +624,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send a packet to the Creature AND to all PlayerInstance in the radius (max knownlist radius) from the Creature.
- * Concept:
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
* In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param mov
* @param radiusInKnownlist
@@ -677,12 +683,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Send the Server->Client packet StatusUpdate with current HP and MP to all other PlayerInstance to inform.
- * Actions:
+ *
+ * Actions:
*
*
Create the Server->Client packet StatusUpdate with current HP and MP
*
Send the Server->Client packet StatusUpdate with current HP and MP to all Creature called _statusListener that must be informed of HP/MP updates of this Creature
*
- * Caution: This method DOESN'T SEND CP information
+ * Caution: This method DOESN'T SEND CP information
* @param caster TODO
*/
public void broadcastStatusUpdate(Creature caster)
@@ -713,7 +720,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Teleport a Creature and its pet if necessary.
- * Actions:
+ *
+ * Actions:
*
*
Stop the movement of the Creature
*
Set the x,y,z position of the WorldObject and if necessary modify its _worldRegion
@@ -882,7 +890,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Launch a physical attack against a target (Simple, Bow, Pole or Dual).
- * Actions:
+ *
+ * Actions:
*
*
Get the active weapon (always equipped in the right hand)
*
If weapon is a bow, check for arrows, MP and bow re-use delay (if necessary, equip the PlayerInstance with arrows in left hand)
@@ -1273,7 +1282,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Manage the casting task (casting and interrupt time, re-use delay...) and display the casting bar and animation on client.
- * Actions:
+ *
+ * Actions:
*
*
Verify the possibility of the the cast : skill is a spell, caster isn't muted...
*
Get the list of all targets (ex : area effects) and define the Creature targeted (its stats will be used in calculation)
@@ -1563,7 +1573,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Kill the Creature.
- * Actions:
+ *
+ * Actions:
*
*
Set target to null and cancel Attack or Cast
*
Stop movement
@@ -2190,11 +2201,13 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Set the template of the Creature.
- * Concept:
+ *
+ * Concept:
+ *
* Each Creature owns generic and static properties (ex : all Keltir have the same number of HP...).
* All of those properties are stored in a different template for each type of Creature.
* Each template is loaded once in the server cache memory (reduce memory use).
- * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
+ * When a new instance of Creature is spawned, server just create a link between the instance and the template This link is stored in _template.
* @param template
*/
protected final void setTemplate(CreatureTemplate template)
@@ -2371,7 +2384,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop a specified/all Fake Death abnormal Effect.
- * Actions:
+ *
+ * Actions:
*
*
Delete a specified/all (if effect=null) Fake Death abnormal Effect from Creature and update client magic icon
*
Set the abnormal effect flag _fake_death to False
@@ -2399,7 +2413,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Stop all block actions (stun) effects.
+ * Stop all block actions (stun) effects.
* @param removeEffects {@code true} removes all block actions effects, {@code false} only notifies AI to think.
*/
public void stopStunning(boolean removeEffects)
@@ -2417,7 +2431,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop Effect: Transformation.
- * Actions:
+ *
+ * Actions:
*
*
Remove Transformation Effect
*
Notify the Creature AI
@@ -2446,7 +2461,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Updates the visual abnormal state of this character.
+ * Updates the visual abnormal state of this character.
*/
public void updateAbnormalVisualEffects()
{
@@ -2455,9 +2470,11 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update active skills in progress (In Use and Not In Use because stacked) icons on client.
- * Concept:
+ *
+ * Concept:
+ *
* All active skills effects in progress (In Use and Not In Use because stacked) are represented by an icon on the client.
- * Caution : This method ONLY UPDATE the client of the player and not clients of all players in the party.
+ * Caution: This method ONLY UPDATE the client of the player and not clients of all players in the party.
*/
public void updateEffectIcons()
{
@@ -2491,7 +2508,8 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* This class group all movement data.
- * Data :
+ *
+ * Data:
*
*
_moveTimestamp : Last time position update
*
_xDestination, _yDestination, _zDestination : Position of the destination
@@ -2785,7 +2803,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * @return True if the Creature is travelling a calculated path.
+ * @return True if the Creature is traveling a calculated path.
*/
public boolean isOnGeodataPath()
{
@@ -2895,16 +2913,18 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Update the position of the Creature during a movement and return True if the movement is finished.
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
* When the movement is started (ex : by MovetoLocation), this method will be called each 0.1 sec to estimate and update the Creature position on the server.
* Note, that the current server position can differe from the current client position even if each movement is straight foward.
* That's why, client send regularly a Client->Server ValidatePosition packet to eventually correct the gap on the server.
* But, it's always the server position that is used in range calculation. At the end of the estimated movement time,
* the Creature position is automatically set to the destination position even if the movement is not finished.
- * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
- * But x and y positions must be calculated to avoid that players try to modify their movement speed.
+ * Caution: The current Z position is obtained FROM THE CLIENT by the Client->Server ValidatePosition Packet.
+ * But x and y positions must be calculated to avoid that players try to modify their movement speed.
* @return True if the movement is finished
*/
public boolean updatePosition()
@@ -3072,14 +3092,15 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Stop movement of the Creature (Called by AI Accessor only).
- * Actions:
+ *
+ * Actions:
*
*
Delete movement data of the Creature
*
Set the current position (x,y,z), its current WorldRegion if necessary and its heading
*
Remove the WorldObject object from _gmList of GmListTable
*
Remove object from _knownObjects and _knownPlayer of all surrounding WorldRegion Creatures
*
- * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
+ * Caution: This method DOESN'T send Server->Client packet StopMove/StopRotation
* @param loc
*/
public void stopMove(Location loc)
@@ -3116,9 +3137,12 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Target a WorldObject (add the target to the Creature _target, _knownObject and Creature to _KnownObject of the WorldObject).
- * Concept:
- * The WorldObject (including Creature) targeted is identified in _target of the Creature.
- * Actions:
+ *
+ * Concept:
+ *
+ * The WorldObject (including Creature) targeted is identified in _target of the Creature.
+ *
+ * Actions:
*
*
Set the _target of Creature to WorldObject
*
If necessary, add WorldObject to _knownObject of the Creature
@@ -3161,11 +3185,14 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Calculate movement data for a move to location action and add the Creature to movingObjects of GameTimeController (only called by AI Accessor).
- * Concept:
- * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
+ *
+ * Concept:
+ *
+ * At the beginning of the move action, all properties of the movement are stored in the MoveData object called _move of the Creature.
* The position of the start point and of the destination permit to estimated in function of the movement speed the time to achieve the destination.
- * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
- * Actions:
+ * All Creature in movement are identified in movingObjects of GameTimeController that will call the updatePosition method of those Creature each 0.1s.
+ *
+ * Actions:
*
*
Get current position of the Creature
*
Calculate distance (dx,dy) between current position and destination including offset
@@ -3174,8 +3201,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
*
Add the Creature to movingObjects of the GameTimeController
*
Create a task to notify the AI that Creature arrives at a check point of the movement
*
- * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
- * Example of use:
+ * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
+ *
+ * Example of use:
*
*
AI : onIntentionMoveTo(Location), onIntentionPickUp(WorldObject), onIntentionInteract(WorldObject)
*
FollowTask
@@ -3579,7 +3607,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
* @return True if arrows are available.
* @param type
@@ -3591,9 +3619,10 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add Exp and Sp to the Creature.
- * Overridden in :
+ *
+ * Overridden in:
*
PlayerInstance
- *
PetInstance
+ *
PetInstance
* @param addToExp
* @param addToSp
*/
@@ -3603,36 +3632,37 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon instance (always equiped in the right hand).
+ * @return the active weapon instance (always equipped in the right hand).
*/
public abstract ItemInstance getActiveWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the active weapon item (always equiped in the right hand).
+ * @return the active weapon item (always equipped in the right hand).
*/
public abstract Weapon getActiveWeaponItem();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary weapon instance (always equiped in the left hand).
+ * @return the secondary weapon instance (always equipped in the left hand).
*/
public abstract ItemInstance getSecondaryWeaponInstance();
/**
- * Overridden in :
+ * Overridden in:
*
PlayerInstance
- * @return the secondary {@link Item} item (always equiped in the left hand).
+ * @return the secondary {@link Item} item (always equipped in the left hand).
*/
public abstract Item getSecondaryWeaponItem();
/**
* Manage hit process (called by Hit Task).
- * Actions:
+ *
+ * Actions:
*
*
If the attacker/target is dead or use fake death, notify the AI with EVT_CANCEL and send a Server->Client packet ActionFailed (if attacker is a PlayerInstance)
*
If attack isn't aborted, send a message system (critical hit, missed...) to attacker/target if they are PlayerInstance
If Creature or target is in a town area, send a system message TARGET_IN_PEACEZONE a Server->Client packet ActionFailed
*
If target is confused, send a Server->Client packet ActionFailed
@@ -3952,15 +3983,19 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
/**
* Add a skill to the Creature _skills and its Func objects to the calculator set of the Creature.
- * Concept:
- * All skills own by a Creature are identified in _skills
- * Actions:
+ *
+ * Concept:
+ *
+ * All skills own by a Creature are identified in _skills
+ *
+ * Actions:
*
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
*
Add Func objects of newSkill to the calculator set of the Creature
*
- * Overridden in:
+ *
+ * Overridden in:
*
*
PlayerInstance : Save update in the character_skills table of the database
*
@@ -5241,7 +5276,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
}
/**
- * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
+ * Initialize creature container that looks up for creatures around its owner, and notifies with onCreatureSee upon discovery.
* @param range
*/
public void initSeenCreatures(int range)
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/Npc.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/Npc.java
index f1533c1f6e..6e287c4990 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/Npc.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/Npc.java
@@ -158,7 +158,8 @@ public class Npc extends Creature
/**
* Constructor of NpcInstance (use Creature constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the Creature (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the Creature
@@ -578,7 +579,8 @@ public class Npc extends Creature
/**
* Open a quest or chat window on client with the text of the NpcInstance in function of the command.
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : RequestBypassToServer
*
@@ -638,11 +640,11 @@ public class Npc extends Creature
}
/**
- * :
+ * :
*
- *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
- *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
- *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
+ *
if the file exists on the server (page number = 0) : data/html/default/12006.htm (npcId-page number)
+ *
if the file exists on the server (page number > 0) : data/html/default/12006-1.htm (npcId-page number)
+ *
if the file doesn't exist on the server : data/html/npcdefault.htm (message : "I have nothing to say to you")
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -705,7 +707,8 @@ public class Npc extends Creature
/**
* Open a chat window on client with the text of the NpcInstance.
- * Actions:
+ *
+ * Actions:
*
*
Get the text of the selected HTML file in function of the npcId and of the page number
*
Send a Server->Client NpcHtmlMessage containing the text of the NpcInstance to the PlayerInstance
@@ -865,7 +868,8 @@ public class Npc extends Creature
/**
* Kill the NpcInstance (the corpse disappeared after 7 seconds).
- * Actions:
+ *
+ * Actions:
*
*
Create a DecayTask to remove the corpse of the NpcInstance after 7 seconds
*
Set target to null and cancel Attack or Cast
@@ -1091,14 +1095,15 @@ public class Npc extends Creature
/**
* Remove the NpcInstance from the world and update its spawn object (for a complete removal use the deleteMe method).
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world when the decay task is launched
*
Decrease its spawn counter
*
Manage Siege task (killFlag, killCT)
*
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- * Caution : This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ * Caution: This method DOESN'T SEND Server->Client packets to players
*/
@Override
public void onDecay()
@@ -1137,13 +1142,14 @@ public class Npc extends Creature
/**
* Remove PROPERLY the NpcInstance from the world.
- * Actions:
+ *
+ * Actions:
*
*
Remove the NpcInstance from the world and update its spawn object
*
Remove all WorldObject from _knownObjects and _knownPlayer of the NpcInstance then cancel Attack or Cast and notify AI
*
Remove WorldObject object from _allObjects of World
*
- * Caution: This method DOESN'T SEND Server->Client packets to players
+ * Caution: This method DOESN'T SEND Server->Client packets to players
* UnAfraid: TODO: Add Listener here
*/
@Override
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/Playable.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/Playable.java
index 622442ab2e..750bdba19c 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/Playable.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/Playable.java
@@ -52,7 +52,8 @@ public abstract class Playable extends Creature
/**
* Constructor of Playable.
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and link copy basic Calculator set to this Playable
*
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/Summon.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/Summon.java
index 060b158a8e..4ad20cafbf 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/Summon.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/Summon.java
@@ -588,7 +588,8 @@ public abstract class Summon extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the target is correct
*
Check if the target is in the skill cast range
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
index 5af1884bac..ba0920369e 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/ArtefactInstance.java
@@ -24,21 +24,19 @@ import org.l2jmobius.gameserver.model.skills.Skill;
import org.l2jmobius.gameserver.network.serverpackets.ActionFailed;
/**
- * This class manages all Castle Siege Artefacts.
- *
+ * This class manages all Castle Siege Artefacts.
+ *
* @version $Revision: 1.11.2.1.2.7 $ $Date: 2005/04/06 16:13:40 $
*/
public class ArtefactInstance extends Npc
{
/**
- * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
- *
- * Actions :
- *
+ * Constructor of ArtefactInstance (use Creature and NpcInstance constructor).
+ *
+ * Actions:
*
Call the Creature constructor to set the _template of the ArtefactInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the ArtefactInstance
- *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
- *
+ *
Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it
* @param template to apply to the NPC
*/
public ArtefactInstance(NpcTemplate template)
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 5f34d57abe..d359c8335b 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
@@ -36,7 +36,8 @@ public class GuardInstance extends Attackable
{
/**
* Constructor of GuardInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the GuardInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the GuardInstance
@@ -100,10 +101,11 @@ public class GuardInstance extends Attackable
/**
* Return the pathfile of the selected HTML file in function of the GuardInstance Identifier and of the page number.
- * Format of the pathfile :
+ *
+ * Format of the pathfile:
*
- *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
- *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
+ *
if page number = 0 : data/html/guard/12006.htm (npcId-page number)
+ *
if page number > 0 : data/html/guard/12006-1.htm (npcId-page number)
*
* @param npcId The Identifier of the NpcInstance whose text must be display
* @param value The number of the page to display
@@ -125,19 +127,22 @@ public class GuardInstance extends Attackable
/**
* Manage actions when a player click on the GuardInstance.
- * Actions on first click on the GuardInstance (Select it) :
+ *
+ * Actions on first click on the GuardInstance (Select it):
*
*
Set the GuardInstance as target of the PlayerInstance player (if necessary)
*
Send a Server->Client packet MyTargetSelected to the PlayerInstance player (display the select window)
*
Set the PlayerInstance Intention to AI_INTENTION_IDLE
*
Send a Server->Client packet ValidateLocation to correct the GuardInstance position and heading on the client
*
- * Actions on second click on the GuardInstance (Attack it/Interact with it) :
+ *
+ * Actions on second click on the GuardInstance (Attack it/Interact with it):
*
*
If PlayerInstance is in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_ATTACK
*
If PlayerInstance is NOT in the _aggroList of the GuardInstance, set the PlayerInstance Intention to AI_INTENTION_INTERACT (after a distance verification) and show message
*
- * Example of use :
+ *
+ * Example of use:
*
*
Client packet : Action, AttackRequest
*
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
index 2b71cdcfe3..bee6060aec 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/MonsterInstance.java
@@ -43,7 +43,8 @@ public class MonsterInstance extends Attackable
/**
* Constructor of MonsterInstance (use Creature and NpcInstance constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the MonsterInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the MonsterInstance
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
index ba902887c1..e4a3b06ba0 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/PetInstance.java
@@ -121,7 +121,7 @@ public class PetInstance extends Summon
}
/**
- * Manage Feeding Task.
+ * Manage Feeding Task.
* Feed or kill the pet depending on hunger level.
* If pet has food in inventory and feed level drops below 55% then consume food from inventory.
* Send a broadcastStatusUpdate packet for this PetInstance
@@ -417,7 +417,7 @@ public class PetInstance extends Summon
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -1133,8 +1133,7 @@ public class PetInstance extends Summon
}
/**
- * Restore the specified % of experience this PetInstance has lost.
- *
+ * Restore the specified % of experience this PetInstance has lost.
* @param restorePercent
*/
public void restoreExp(double restorePercent)
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
index af81a537ee..102955aab2 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/PlayerInstance.java
@@ -877,7 +877,8 @@ public class PlayerInstance extends Playable
/**
* Create a new PlayerInstance and add it in the characters table of the database.
- * Actions :
+ *
+ * Actions:
*
*
Create a new PlayerInstance with an account name
*
Set the name, the Hair Style, the Hair Color and the Face type of the PlayerInstance
@@ -1068,7 +1069,8 @@ public class PlayerInstance extends Playable
/**
* Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world (call restore method).
- * Actions :
+ *
+ * Actions:
*
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
@@ -1095,12 +1097,13 @@ public class PlayerInstance extends Playable
/**
* Constructor of PlayerInstance (use Creature constructor).
- * Actions :
+ *
+ * Actions:
*
*
Call the Creature constructor to create an empty _skills slot and copy basic Calculator set to this PlayerInstance
*
Set the name of the PlayerInstance
*
- * Caution : This method SET the level of the PlayerInstance to 1
+ * Caution: This method SET the level of the PlayerInstance to 1
* @param objectId Identifier of the object to initialized
* @param template The PlayerTemplate to apply to the PlayerInstance
* @param accountName The name of the account including this PlayerInstance
@@ -2534,7 +2537,7 @@ public class PlayerInstance extends Playable
}
/**
- * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
+ * Re-give all skills which aren't saved to database, like Noble, Hero, Clan Skills.
*/
public void regiveTemporarySkills()
{
@@ -3477,7 +3480,7 @@ public class PlayerInstance extends Playable
}
/**
- * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Destroy item from inventory by using its itemId and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -3732,7 +3735,7 @@ public class PlayerInstance extends Playable
}
/**
- * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
+ * Drop item from inventory by using its objectID and send a Server->Client InventoryUpdate packet to the PlayerInstance.
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : long Quantity of items to be dropped
@@ -3999,9 +4002,9 @@ public class PlayerInstance extends Playable
}
/**
- * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions :
- *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
- *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution : This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
+ * Send packet StatusUpdate with current HP,MP and CP to the PlayerInstance and only current HP, MP and Level to all other PlayerInstance of the Party. Actions:
+ *
Send the Server->Client packet StatusUpdate with current HP, MP and CP to this PlayerInstance
+ *
Send the Server->Client packet PartySmallWindowUpdate with current HP, MP and Level to all other PlayerInstance of the Party
Caution: This method DOESN'T SEND current HP and MP to all PlayerInstance of the _statusListener
*/
@Override
public void broadcastStatusUpdate(Creature caster)
@@ -4068,11 +4071,11 @@ public class PlayerInstance extends Playable
}
/**
- * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept : Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
- * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions :
+ * Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers. Concept: Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers. In order to inform other players of this
+ * PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet Actions:
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
- *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as
- * MaxHP, STR, DEX...
+ *
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP,
+ * STR, DEX...
*/
public void broadcastUserInfo()
{
@@ -4226,10 +4229,10 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Interact Task with another PlayerInstance. Actions :
+ * Manage Interact Task with another PlayerInstance. Actions:
*
If the private store is a STORE_PRIVATE_SELL, send a Server->Client PrivateBuyListSell packet to the PlayerInstance
*
If the private store is a STORE_PRIVATE_BUY, send a Server->Client PrivateBuyListBuy packet to the PlayerInstance
- *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
+ *
If the private store is a STORE_PRIVATE_MANUFACTURE, send a Server->Client RecipeShopSellList packet to the PlayerInstance
* @param target The Creature targeted
*/
public void doInteract(Creature target)
@@ -4278,7 +4281,7 @@ public class PlayerInstance extends Playable
*
Send a Server->Client packet InventoryUpdate to this player with NewItem (use a new slot) or ModifiedItem (increase amount).
*
Send a Server->Client packet StatusUpdate to this player with current weight.
*
- * Caution: If a party is in progress, distribute the items between the party members!
+ * Caution: If a party is in progress, distribute the items between the party members!
* @param target the NPC dropping the item
* @param itemId the item ID
* @param itemCount the item count
@@ -4310,13 +4313,13 @@ public class PlayerInstance extends Playable
}
/**
- * Manage Pickup Task. Actions :
+ * Manage Pickup Task. Actions:
*
Send a Server->Client packet StopMove to this PlayerInstance
*
Remove the ItemInstance from the world and send server->client GetItem packets
*
Send a System Message to the PlayerInstance : YOU_PICKED_UP_S1_ADENA or YOU_PICKED_UP_S1_S2
*
Add the Item to the PlayerInstance inventory
*
Send a Server->Client packet InventoryUpdate to this PlayerInstance with NewItem (use a new slot) or ModifiedItem (increase amount)
- *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution : If a Party is in progress, distribute Items between party members
+ *
Send a Server->Client packet StatusUpdate to this PlayerInstance with current weight
Caution: If a Party is in progress, distribute Items between party members
* @param object The ItemInstance to pick up
*/
@Override
@@ -4579,7 +4582,7 @@ public class PlayerInstance extends Playable
}
/**
- * Set a target. Actions :
+ * Set a target. Actions:
*
*
Remove the PlayerInstance from the _statusListener of the old target if it was a Creature
*
Add the PlayerInstance to the _statusListener of the new target if it's a Creature
@@ -4671,7 +4674,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon instance (always equiped in the right hand).
+ * Return the active weapon instance (always equipped in the right hand).
*/
@Override
public ItemInstance getActiveWeaponInstance()
@@ -4680,7 +4683,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the active weapon item (always equiped in the right hand).
+ * Return the active weapon item (always equipped in the right hand).
*/
@Override
public Weapon getActiveWeaponItem()
@@ -4769,7 +4772,7 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary weapon instance (always equiped in the left hand).
+ * Return the secondary weapon instance (always equipped in the left hand).
*/
@Override
public ItemInstance getSecondaryWeaponInstance()
@@ -4778,8 +4781,8 @@ public class PlayerInstance extends Playable
}
/**
- * Return the secondary Item item (always equiped in the left hand).
- * Arrows, Shield..
+ * Return the secondary Item item (always equipped in the left hand).
+ * Arrows, Shield..
*/
@Override
public Item getSecondaryWeaponItem()
@@ -4793,12 +4796,12 @@ public class PlayerInstance extends Playable
}
/**
- * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions :
+ * Kill the Creature, Apply Death Penalty, Manage gain/loss Karma and Item Drop. Actions:
*
Reduce the Experience of the PlayerInstance in function of the calculated Death Penalty
*
If necessary, unsummon the Pet of the killed PlayerInstance
*
Manage Karma gain for attacker and Karam loss for the killed PlayerInstance
*
If the killed PlayerInstance has Karma, manage Drop Item
- *
Kill the PlayerInstance
+ *
Kill the PlayerInstance
* @param killer
*/
@Override
@@ -5270,12 +5273,13 @@ public class PlayerInstance extends Playable
}
/**
- * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
- * Actions :
+ * Reduce the Experience (and level if necessary) of the PlayerInstance in function of the calculated Death Penalty.
+ *
+ * Actions:
*
Calculate the Experience loss
*
Set the value of _expBeforeDeath
*
Set the new Experience value of the PlayerInstance and Decrease its level if necessary
- *
Send a Server->Client StatusUpdate packet with its new Experience
+ *
Send a Server->Client StatusUpdate packet with its new Experience
* @param killer
*/
public void calculateDeathExpPenalty(Creature killer)
@@ -5327,7 +5331,7 @@ public class PlayerInstance extends Playable
}
/**
- * Stop the HP/MP/CP Regeneration task. Actions :
+ * Stop the HP/MP/CP Regeneration task. Actions:
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
*/
@@ -5674,13 +5678,13 @@ public class PlayerInstance extends Playable
}
/**
- * Set the Private Store type of the PlayerInstance. Values :
+ * Set the Private Store type of the PlayerInstance. Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @param privateStoreType
*/
public void setPrivateStoreType(PrivateStoreType privateStoreType)
@@ -5693,13 +5697,13 @@ public class PlayerInstance extends Playable
}
/**
- * Values :
+ * Values:
*
0 : STORE_PRIVATE_NONE
*
1 : STORE_PRIVATE_SELL
- *
2 : sellmanage
- *
3 : STORE_PRIVATE_BUY
- *
4 : buymanage
- *
5 : STORE_PRIVATE_MANUFACTURE
+ *
2 : sellmanage
+ *
3 : STORE_PRIVATE_BUY
+ *
4 : buymanage
+ *
5 : STORE_PRIVATE_MANUFACTURE
* @return the Private Store type of the PlayerInstance.
*/
public PrivateStoreType getPrivateStoreType()
@@ -6417,11 +6421,11 @@ public class PlayerInstance extends Playable
}
/**
- * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions :
+ * Retrieve a PlayerInstance from the characters table of the database and add it in _allObjects of the L2world. Actions:
*
Retrieve the PlayerInstance from the characters table of the database
*
Add the PlayerInstance object in _allObjects
*
Set the x,y,z position of the PlayerInstance and make it invisible
- *
Update the overloaded status of the PlayerInstance
+ *
Update the overloaded status of the PlayerInstance
* @param objectId Identifier of the object to initialized
* @return The PlayerInstance loaded from the database
*/
@@ -7318,10 +7322,10 @@ public class PlayerInstance extends Playable
}
/**
- * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept : All skills own by a PlayerInstance are identified in _skills Actions :
+ * Add a skill to the PlayerInstance _skills and its Func objects to the calculator set of the PlayerInstance and save update in the character_skills table of the database. Concept: All skills own by a PlayerInstance are identified in _skills Actions:
*
Replace oldSkill by newSkill or Add the newSkill
*
If an old skill has been replaced, remove all its Func objects of Creature calculator set
- *
Add Func objects of newSkill to the calculator set of the Creature
+ *
Add Func objects of newSkill to the calculator set of the Creature
* @param newSkill The Skill to add to the Creature
* @param store
* @return The Skill replaced or null if just added a new Skill
@@ -7352,10 +7356,10 @@ public class PlayerInstance extends Playable
}
/**
- * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept : All skills own by a Creature are identified in _skills Actions :
+ * Remove a skill from the Creature and its Func objects from calculator set of the Creature and save update in the character_skills table of the database. Concept: All skills own by a Creature are identified in _skills Actions:
*
Remove the skill from the Creature _skills
- *
Remove all its Func objects from the Creature calculator set
Overridden in :
- *
PlayerInstance : Save update in the character_skills table of the database
+ *
Remove all its Func objects from the Creature calculator set
Overridden in:
+ *
PlayerInstance : Save update in the character_skills table of the database
* @param skill The Skill to remove from the Creature
* @return The Skill removed
*/
@@ -8042,7 +8046,8 @@ public class PlayerInstance extends Playable
/**
* Return True if the PlayerInstance is autoAttackable.
- * Actions:
+ *
+ * Actions:
*
*
Check if the attacker isn't the PlayerInstance Pet
*
Check if the attacker is MonsterInstance
@@ -8204,7 +8209,8 @@ public class PlayerInstance extends Playable
/**
* Check if the active Skill can be casted.
- * Actions:
+ *
+ * Actions:
*
*
Check if the skill isn't toggle and is offensive
*
Check if the target is in the skill cast range
@@ -8555,15 +8561,18 @@ public class PlayerInstance extends Playable
/**
* Send a Server->Client packet UserInfo to this PlayerInstance and CharInfo to all PlayerInstance in its _KnownPlayers.
- * Concept:
- * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
+ *
+ * Concept:
+ *
+ * Others PlayerInstance in the detection area of the PlayerInstance are identified in _knownPlayers.
* In order to inform other players of this PlayerInstance state modifications, server just need to go through _knownPlayers to send Server->Client Packet
- * Actions:
+ *
+ * Actions:
*
*
Send a Server->Client packet UserInfo to this PlayerInstance (Public and Private Data)
*
Send a Server->Client packet CharInfo to all PlayerInstance in _KnownPlayers of the PlayerInstance (Public data only)
*
- * Caution : DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
+ * Caution: DON'T SEND UserInfo packet to other players instead of CharInfo packet. Indeed, UserInfo packet contains PRIVATE DATA as MaxHP, STR, DEX...
*/
@Override
public void updateAbnormalVisualEffects()
@@ -9396,7 +9405,7 @@ public class PlayerInstance extends Playable
}
/**
- * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
+ * 1. Add the specified class ID as a subclass (up to the maximum number of three) for this character.
* 2. This method no longer changes the active _classIndex of the player. This is only done by the calling of setActiveClass() method as that should be the only way to do so.
* @param classId
* @param classIndex
@@ -10576,7 +10585,8 @@ public class PlayerInstance extends Playable
/**
* Manage the delete task of a PlayerInstance (Leave Party, Unsummon pet, Save its inventory in the database, Remove it from the world...).
- * Actions:
+ *
+ * Actions:
*
*
If the PlayerInstance is in observer mode, set its position to its position before entering in observer mode
*
Set the online Flag to True or False and update the characters table of the database with online status and lastAccess
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
index d58c4a2344..1538e27eb0 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/RaidBossInstance.java
@@ -31,7 +31,8 @@ public class RaidBossInstance extends MonsterInstance
/**
* Constructor of RaidBossInstance (use Creature and NpcInstance constructor).
- * Actions:
+ *
+ * Actions:
*
*
Call the Creature constructor to set the _template of the RaidBossInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR)
*
Set the name of the RaidBossInstance
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
index 0746dde009..e66a7d8d7f 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/StaticObjectInstance.java
@@ -152,7 +152,8 @@ public class StaticObjectInstance extends Creature
/**
* Set the meshIndex of the object.
- * Values :
+ *
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
@@ -166,7 +167,7 @@ public class StaticObjectInstance extends Creature
}
/**
- * Values :
+ * Values:
*
*
default textures : 0
*
alternate textures : 1
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
index b8258c55cc..1eb09ebcb7 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/stat/CreatureStat.java
@@ -265,7 +265,8 @@ public class CreatureStat
/**
* Return the MAtk (base+modifier) of the Creature.
- * Example of use: Calculate Magic damage
+ *
+ * Example of use: Calculate Magic damage
* @return
*/
public int getMAtk()
@@ -290,7 +291,7 @@ public class CreatureStat
}
/**
- * Example of use : Calculate Magic damage.
+ * Example of use : Calculate Magic damage.
* @return the MDef (base+modifier) of the Creature against a skill in function of abnormal effects in progress.
*/
public int getMDef()
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
index a34f446f36..ecb6ca7cf2 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/status/CreatureStatus.java
@@ -57,11 +57,14 @@ public class CreatureStatus
/**
* Add the object to the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use:
+ *
+ * Example of use:
*
*
Target a PC or NPC
*
@@ -79,11 +82,14 @@ public class CreatureStatus
/**
* Remove the object from the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
- * Example of use :
+ *
+ * Example of use :
*
*
Untarget a PC or NPC
*
@@ -96,8 +102,10 @@ public class CreatureStatus
/**
* Return the list of Creature that must be informed of HP/MP updates of this Creature.
- * Concept:
- * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
+ *
+ * Concept:
+ *
+ * Each Creature owns a list called _statusListener that contains all PlayerInstance to inform of HP/MP updates.
* Players who must be informed are players that target this Creature.
* When a RegenTask is in progress sever just need to go through this list to send Server->Client packet StatusUpdate.
* @return The list of Creature to inform or null if empty
@@ -188,7 +196,8 @@ public class CreatureStatus
/**
* Start the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Calculate the regen task period
*
Launch the HP/MP/CP Regeneration task with Medium priority
@@ -208,7 +217,8 @@ public class CreatureStatus
/**
* Stop the HP/MP/CP Regeneration task.
- * Actions:
+ *
+ * Actions:
*
*
Set the RegenActive flag to False
*
Stop the HP/MP/CP Regeneration task
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/base/SubClass.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/base/SubClass.java
index 6e1b4abe48..8e382665f8 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/base/SubClass.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/base/SubClass.java
@@ -20,7 +20,7 @@ import org.l2jmobius.Config;
import org.l2jmobius.gameserver.data.xml.impl.ExperienceData;
/**
- * Character Sub-Class Definition
+ * Character Sub-Class Definition
* Used to store key information about a character's sub-class.
* @author Tempy
*/
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
index ee74925752..a54baee819 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/effects/AbstractEffect.java
@@ -62,7 +62,7 @@ public abstract class AbstractEffect
/**
* Calculates whether this effects land or not.
* If it lands will be scheduled and added to the character effect list.
- * Override in effect implementation to change behavior.
+ * Override in effect implementation to change behavior.
* Warning: Must be used only for instant effects continuous effects will not call this they have their success handled by activate_rate.
* @param effector
* @param effected
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/entity/Castle.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/entity/Castle.java
index 84bd945a23..c67b32e5be 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/entity/Castle.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/entity/Castle.java
@@ -616,8 +616,7 @@ public class Castle extends AbstractResidence
}
/**
- * Respawn all doors on castle grounds
- *
+ * Respawn all doors on castle grounds
* @param isDoorWeak
*/
public void spawnDoor(boolean isDoorWeak)
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/entity/Fort.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/entity/Fort.java
index 755bee3310..667c694f50 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/entity/Fort.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/entity/Fort.java
@@ -273,8 +273,7 @@ public class Fort extends AbstractResidence
}
/**
- * Move non clan members off fort area and to nearest town.
- *
+ * Move non clan members off fort area and to nearest town.
*/
public void banishForeigners()
{
@@ -516,8 +515,7 @@ public class Fort extends AbstractResidence
}
/**
- * Respawn all doors on fort grounds
- *
+ * Respawn all doors on fort grounds.
*/
public void resetDoors()
{
@@ -976,11 +974,10 @@ public class Fort extends AbstractResidence
}
/**
- * @return Returns state of fortress.
- *
- * 0 - not decided yet
- * 1 - independent
- * 2 - contracted with castle
+ * @return Returns state of fortress.
+ * 0 - not decided yet
+ * 1 - independent
+ * 2 - contracted with castle
*/
public int getFortState()
{
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/entity/FortSiege.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
index fe98f73d82..d4e5ae83b5 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/entity/FortSiege.java
@@ -703,14 +703,14 @@ public class FortSiege implements Siegable
}
/**
- * Register clan as attacker.
+ * Register clan as attacker.
* @param player The PlayerInstance of the player trying to register.
* @param checkConditions True if should be checked conditions, false otherwise
- * @return Number that defines what happened.
- * 0 - Player don't have clan.
- * 1 - Player don't have enough adena to register.
- * 2 - Is not right time to register Fortress now.
- * 3 - Players clan is already registered to siege.
+ * @return Number that defines what happened.
+ * 0 - Player don't have clan.
+ * 1 - Player don't have enough adena to register.
+ * 2 - Is not right time to register Fortress now.
+ * 3 - Players clan is already registered to siege.
* 4 - Players clan is successfully registered to siege.
*/
public int addAttacker(PlayerInstance player, boolean checkConditions)
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/entity/Hero.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/entity/Hero.java
index 49b405d179..8c9bbb0bc0 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/entity/Hero.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/entity/Hero.java
@@ -866,7 +866,7 @@ public class Hero
}
/**
- * Saving task for {@link Hero}
+ * Saving task for {@link Hero}
* Save all hero messages to DB.
*/
public void shutdown()
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/entity/Siege.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/entity/Siege.java
index 0bcd190ec1..f714cb5ce1 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/entity/Siege.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/entity/Siege.java
@@ -383,8 +383,7 @@ public class Siege implements Siegable
}
/**
- * When control of castle changed during siege
- *
+ * When control of castle changed during siege.
*/
public void midVictory()
{
@@ -470,8 +469,7 @@ public class Siege implements Siegable
}
/**
- * When siege starts
- *
+ * When siege starts.
*/
@Override
public void startSiege()
@@ -529,8 +527,7 @@ public class Siege implements Siegable
}
/**
- * Announce to player.
- *
+ * Announce to player.
* @param message The SystemMessage to send to player
* @param bothSides True - broadcast to both attackers and defenders. False - only to defenders.
*/
@@ -682,8 +679,7 @@ public class Siege implements Siegable
}
/**
- * Approve clan as defender for siege
- *
+ * Approve clan as defender for siege
* @param clanId The int of player's clan id
*/
public void approveSiegeDefenderClan(int clanId)
@@ -717,8 +713,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is attacker
- *
+ * Return true if clan is attacker
* @param clan The Clan of the player
*/
@Override
@@ -728,8 +723,7 @@ public class Siege implements Siegable
}
/**
- * Return true if clan is defender
- *
+ * Return true if clan is defender
* @param clan The Clan of the player
*/
@Override
@@ -866,8 +860,7 @@ public class Siege implements Siegable
}
/**
- * Register clan as attacker
- *
+ * Register clan as attacker
* @param player The PlayerInstance of the player trying to register
*/
public void registerAttacker(PlayerInstance player)
@@ -948,8 +941,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clanId The int of player's clan id
*/
public void removeSiegeClan(int clanId)
@@ -975,8 +967,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param clan clan being removed
*/
public void removeSiegeClan(Clan clan)
@@ -989,8 +980,7 @@ public class Siege implements Siegable
}
/**
- * Remove clan from siege
- *
+ * Remove clan from siege
* @param player The PlayerInstance of player/clan being removed
*/
public void removeSiegeClan(PlayerInstance player)
@@ -999,8 +989,7 @@ public class Siege implements Siegable
}
/**
- * Start the auto tasks
- *
+ * Start the auto tasks.
*/
public void startAutoTask()
{
@@ -1073,8 +1062,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as attacker
- *
+ * Add clan as attacker
* @param clanId The int of clan's id
*/
private void addAttacker(int clanId)
@@ -1083,8 +1071,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender
- *
+ * Add clan as defender
* @param clanId The int of clan's id
*/
private void addDefender(int clanId)
@@ -1105,8 +1092,7 @@ public class Siege implements Siegable
}
/**
- * Add clan as defender waiting approval
- *
+ * Add clan as defender waiting approval
* @param clanId The int of clan's id
*/
private void addDefenderWaiting(int clanId)
@@ -1198,8 +1184,7 @@ public class Siege implements Siegable
}
/**
- * Return the correct siege date as Calendar.
- *
+ * Return the correct siege date as Calendar.
*/
public void correctSiegeDateTime()
{
@@ -1348,8 +1333,7 @@ public class Siege implements Siegable
}
/**
- * Save registration to database.
- *
+ * Save registration to database.
* @param clan The Clan of player
* @param typeId -1 = owner 0 = defender, 1 = attacker, 2 = defender waiting
* @param isUpdateRegistration
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/events/AbstractScript.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
index 6369448951..6c02d5efb1 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/events/AbstractScript.java
@@ -2993,7 +2993,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param array of values.
* @return one value from array.
@@ -3009,7 +3009,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param
* @param list of values.
* @return one value from list.
@@ -3024,7 +3024,7 @@ public abstract class AbstractScript extends ManagedScript implements IEventTime
}
/**
- * Get a random entry.
+ * Get a random entry.
* @param array of Integers.
* @return one Integer from array.
*/
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
index 0da0f1ff20..a4335762c0 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/holders/PlayerSkillHolder.java
@@ -53,7 +53,7 @@ public class PlayerSkillHolder implements ISkillsHolder
}
/**
- * Add a skill to the skills map.
+ * Add a skill to the skills map.
* @param skill
*/
@Override
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/instancezone/Instance.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
index 6603cc529b..6fdb98f39a 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/instancezone/Instance.java
@@ -329,7 +329,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Get player by ID from instance.
+ * Get player by ID from instance.
* @param id objectId of player
* @return first player by ID, otherwise {@code null}
*/
@@ -803,7 +803,7 @@ public class Instance implements IIdentifiable, INamable
}
/**
- * Set reenter penalty for players associated with current instance.
+ * Set reenter penalty for players associated with current instance.
* @param time penalty time in milliseconds since January 1, 1970
*/
public void setReenterTime(long time)
@@ -860,8 +860,7 @@ public class Instance implements IIdentifiable, INamable
/**
* Set instance world to finish state.
- * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
- * See {@link Instance#finishInstance(int)} for more details.
+ * Calls method {@link Instance#finishInstance(int)} with {@link Config#INSTANCE_FINISH_TIME} as argument.
*/
public void finishInstance()
{
@@ -1016,7 +1015,7 @@ public class Instance implements IIdentifiable, INamable
// Template methods
// ----------------------------------------------
/**
- * Get parameters from instance template.
+ * Get parameters from instance template.
* @return template parameters
*/
public StatSet getTemplateParameters()
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
index 80a8eef201..7c892faae4 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
@@ -897,7 +897,7 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Drop item from inventory by using its objectID and updates database
+ * Drop item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
@@ -1198,7 +1198,7 @@ public abstract class Inventory extends ItemContainer
/**
* Equips an item in the given slot of the paperdoll.
- * Remark : The item must be in the inventory already.
+ * Remark : The item must be in the inventory already.
* @param slot : int pointing out the slot of the paperdoll
* @param item : ItemInstance pointing out the item to add in slot
* @return ItemInstance designating the item placed in the slot before
@@ -1403,8 +1403,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in body slot and returns alterations.
- * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(int)} instead
+ * Unequips item in body slot and returns alterations.
+ * If you dont need return value use {@link Inventory#unEquipItemInBodySlot(int)} instead
* @param slot : int designating the slot of the paperdoll
* @return ItemInstance[] : list of changes
*/
@@ -1434,8 +1434,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Unequips item in slot and returns alterations
- * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
+ * Unequips item in slot and returns alterations
+ * If you dont need return value use {@link Inventory#unEquipItemInSlot(int)} instead
* @param slot : int designating the slot
* @return ItemInstance[] : list of items altered
*/
@@ -1607,8 +1607,8 @@ public abstract class Inventory extends ItemContainer
}
/**
- * Equips item and returns list of alterations
- * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
+ * Equips item and returns list of alterations
+ * If you don't need return value use {@link Inventory#equipItem(ItemInstance)} instead
* @param item : ItemInstance corresponding to the item
* @return ItemInstance[] : list of alterations
*/
@@ -2184,8 +2184,9 @@ public abstract class Inventory extends ItemContainer
/**
* Reduce the arrow number of the Creature.
- * Overridden in :
- *
PlayerInstance
+ *
+ * Overridden in:
+ *
PlayerInstance
* @param type
*/
public void reduceArrowCount(EtcItemType type)
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
index 2847ecdcd5..2e5f90dcee 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/ItemContainer.java
@@ -530,7 +530,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its objectID and updates database
+ * Destroy item from inventory by using its objectID and updates database
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -545,7 +545,7 @@ public abstract class ItemContainer
}
/**
- * Destroy item from inventory by using its itemId and updates database
+ * Destroy item from inventory by using its itemId and updates database
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
index 0a9e6cc66d..5d3bed530d 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/PetInventory.java
@@ -113,7 +113,7 @@ public class PetInventory extends Inventory
public void restore()
{
super.restore();
- // check for equiped items from other pets
+ // check for equipped items from other pets
for (ItemInstance item : _items.values())
{
if (item.isEquipped() && !item.getItem().checkCondition(_owner, _owner, false))
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
index c4e4fe8fd1..71f513dc71 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/PlayerInventory.java
@@ -586,7 +586,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
+ * Destroy item from inventory by using its itemId and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param itemId : int Item identifier of the item to be destroyed
* @param count : int Quantity of items to be destroyed
@@ -632,7 +632,7 @@ public class PlayerInventory extends Inventory
}
/**
- * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
+ * Drop item from inventory by using its objectID and checks _adena and _ancientAdena
* @param process : String Identifier of process triggering this action
* @param objectId : int Item Instance identifier of the item to be dropped
* @param count : int Quantity of items to be dropped
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/items/Item.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/items/Item.java
index 1bcfe92dd5..6a6a0a407f 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/items/Item.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/items/Item.java
@@ -58,7 +58,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
/**
- * This class contains all informations concerning the item (weapon, armor, etc).
+ * This class contains all informations concerning the item (weapon, armor, etc).
* Mother class of :
*
*
Armor
@@ -173,8 +173,7 @@ public abstract class Item extends ListenersContainer implements IIdentifiable
private boolean _isBlessed;
/**
- * Constructor of the Item that fill class variables.
- *
+ * Constructor of the Item that fill class variables.
* @param set : StatSet corresponding to a set of couples (key,value) for description of the item
*/
protected Item(StatSet set)
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
index 771a5dda71..33205bd282 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/items/WarehouseItem.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.items.type.CrystalType;
import org.l2jmobius.gameserver.model.items.type.ItemType;
/**
- * This class contains ItemInstance
+ * This class contains ItemInstance
* Use to sort ItemInstance of :
*
*
Armor
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
index c1c4b0bf16..1f7b469358 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/items/instance/ItemInstance.java
@@ -263,19 +263,15 @@ public class ItemInstance extends WorldObject
}
/**
- * Remove a ItemInstance from the world and send server->client GetItem packets.
- *
- * Actions :
- *
+ * Remove a ItemInstance from the world and send server->client GetItem packets.
+ *
+ * Actions:
*
Send a Server->Client Packet GetItem to player that pick up and its _knowPlayers member
- *
Remove the WorldObject from the world
- *
- * Caution : This method DOESN'T REMOVE the object from _allObjects of World
- *
- * Example of use :
- *
- *
Do Pickup Item : PCInstance and Pet
- *
+ *
Remove the WorldObject from the world
+ * Caution: This method DOESN'T REMOVE the object from _allObjects of World
+ *
+ * Example of use:
+ *
Do Pickup Item : PCInstance and Pet
* @param creature Character that pick up the item
*/
public void pickupMe(Creature creature)
@@ -406,9 +402,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the location of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the location of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param loc : ItemLocation (enumeration)
* @param locData : int designating the slot where the item is stored or the village for freights
*/
@@ -437,8 +432,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
+ * Sets the quantity of the item.
* @param count the new count to set
*/
public void setCount(long count)
@@ -461,9 +455,8 @@ public class ItemInstance extends WorldObject
}
/**
- * Sets the quantity of the item.
- *
- * Remark : If loc and loc_data different from database, say datas not up-to-date
+ * Sets the quantity of the item.
+ * Remark : If loc and loc_data different from database, say datas not up-to-date
* @param process : String Identifier of process triggering this action
* @param count : int
* @param creator : PlayerInstance Player requesting the item creation
@@ -1469,7 +1462,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
*/
public void updateDatabase()
{
@@ -1477,7 +1470,7 @@ public class ItemInstance extends WorldObject
}
/**
- * Updates the database.
+ * Updates the database.
* @param force if the update should necessarilly be done.
*/
public void updateDatabase(boolean force)
@@ -1513,20 +1506,17 @@ public class ItemInstance extends WorldObject
}
/**
- * Init a dropped ItemInstance and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a dropped ItemInstance and add it in the world as a visible object.
+ *
+ * Actions:
*
Set the x,y,z position of the ItemInstance dropped and update its _worldregion
*
Add the ItemInstance dropped to _visibleObjects of its WorldRegion
- *
Add the ItemInstance dropped in the world as a visible object
- *
- * Caution : This method DOESN'T ADD the object to _allObjects of World
- *
- * Example of use :
- *
+ *
Add the ItemInstance dropped in the world as a visible object
+ * Caution: This method DOESN'T ADD the object to _allObjects of World
+ *
+ * Example of use:
*
Drop item
- *
Call Pet
+ *
Call Pet
*/
public class ItemDropTask implements Runnable
{
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/quest/Quest.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/quest/Quest.java
index a74f5a2a86..c399ac294d 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/quest/Quest.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/quest/Quest.java
@@ -982,7 +982,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever a player attacks an NPC that is registered for the quest.
- * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
+ * If is not overridden by a subclass, then default to the returned value of the simpler (and older) {@link #onAttack(Npc, PlayerInstance, int, boolean)} override.
* @param npc this parameter contains a reference to the exact instance of the NPC that got attacked.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked the NPC.
* @param damage this parameter represents the total damage that this attack has inflicted to the NPC.
@@ -1119,7 +1119,7 @@ public class Quest extends AbstractScript implements IIdentifiable
* The coder of the script may need to create a new quest state (if necessary).
* Note 3:
* The returned value of onFirstTalk replaces the default HTML that would have otherwise been loaded from a sub-folder of DatapackRoot/game/data/html/.
- * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
+ * If you wish to show the default HTML, within onFirstTalk do npc.showChatWindow(player) and then return ""
* @param npc this parameter contains a reference to the exact instance of the NPC that the player is talking with.
* @param player this parameter contains a reference to the exact instance of the player who is talking to the NPC.
* @return the text returned by the event (may be {@code null}, a filename or just text)
@@ -1246,7 +1246,7 @@ public class Quest extends AbstractScript implements IIdentifiable
}
/**
- * This function is called whenever an NPC is teleport.
+ * This function is called whenever an NPC is teleport.
* @param npc this parameter contains a reference to the exact instance of the NPC who just teleport.
*/
protected void onTeleport(Npc npc)
@@ -1256,7 +1256,7 @@ public class Quest extends AbstractScript implements IIdentifiable
/**
* This function is called whenever an NPC is called by another NPC in the same faction.
* @param npc this parameter contains a reference to the exact instance of the NPC who is being asked for help.
- * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
+ * @param caller this parameter contains a reference to the exact instance of the NPC who is asking for help.
* @param attacker this parameter contains a reference to the exact instance of the player who attacked.
* @param isSummon this parameter if it's {@code false} it denotes that the attacker was indeed the player, else it specifies that the attacker was the player's summon.
* @return
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
index b527d15bb8..f4662c2b87 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/skills/SkillCaster.java
@@ -695,7 +695,7 @@ public class SkillCaster implements Runnable
}
/**
- * Stops this casting and cleans all cast parameters.
+ * Stops this casting and cleans all cast parameters.
* @param aborted if {@code true}, server will send packets to the player, notifying him that the skill has been aborted.
*/
public void stopCasting(boolean aborted)
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/stats/Formulas.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/stats/Formulas.java
index 234ae3e729..62a2310ef5 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/stats/Formulas.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/stats/Formulas.java
@@ -550,7 +550,7 @@ public class Formulas
* Returns:
* 0 = shield defense doesn't succeed
* 1 = shield defense succeed
- * 2 = perfect block
+ * 2 = perfect block
* @param attacker
* @param target
* @param sendSysMsg
@@ -655,7 +655,7 @@ public class Formulas
}
/**
- * Calculates the effect landing success.
+ * Calculates the effect landing success.
* @param attacker the attacker
* @param target the target
* @param skill the skill
@@ -963,9 +963,9 @@ public class Formulas
}
/**
- * Calculates the attribute bonus with the following formula:
- * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
- * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
+ * Calculates the attribute bonus with the following formula:
+ * diff > 0, so AttBonus = 1,025 + sqrt[(diff^3) / 2] * 0,0001, cannot be above 1,25!
+ * diff < 0, so AttBonus = 0,975 - sqrt[(diff^3) / 2] * 0,0001, cannot be below 0,75!
* diff == 0, so AttBonus = 1
* It has been tested that physical skills do get affected by attack attribute even
* if they don't have any attribute. In that case only the biggest attack attribute is taken.
@@ -1207,7 +1207,7 @@ public class Formulas
* Confuse
* Compelling,
* Knockback
- * Pull
+ * Pull
* @param baseChance chance from effect parameter
* @param attacker
* @param target
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
index 2988807295..c621fab8f6 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/stats/functions/AbstractFunction.java
@@ -27,7 +27,7 @@ import org.l2jmobius.gameserver.model.stats.Stat;
* A Function object is a component of a Calculator created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...).
* In fact, each calculator is a table of functions object in which each function represents a mathematics function:
* FuncAtkAccuracy -> Math.sqrt(_player.getDEX())*6+_player.getLevel()
- * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
+ * When the calc method of a calculator is launched, each mathematics function is called according to its priority _order.
* Indeed, functions with lowest priority order is executed first and functions with the same order are executed in unspecified order.
* @author Zoey76
*/
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
index 1cb8bc9d02..d898d2c397 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/zone/type/TaxZone.java
@@ -71,7 +71,7 @@ public class TaxZone extends ZoneType
}
/**
- * Gets castle associated with tax zone.
+ * Gets castle associated with tax zone.
* @return instance of {@link Castle} if found otherwise {@code null}
*/
public Castle getCastle()
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
index ca7f8d6d99..dee0ea769d 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/BlowFishKeygen.java
@@ -55,8 +55,8 @@ public class BlowFishKeygen
}
/**
- * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
- * Thus when getting a key with interests other then read-only a copy must be performed.
+ * Returns a key from this keygen pool, the logical ownership is retained by this keygen.
+ * Thus when getting a key with interests other then read-only a copy must be performed.
* @return A key from this keygen pool.
*/
public static byte[] getRandomKey()
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
index 73cf9251ab..6c7b7e4c43 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestAcquireSkill.java
@@ -546,7 +546,7 @@ public class RequestAcquireSkill implements IClientIncomingPacket
/**
* Perform a simple check for current player and skill.
* Takes the needed SP if the skill require it and all requirements are meet.
- * Consume required items if the skill require it and all requirements are meet.
+ * Consume required items if the skill require it and all requirements are meet.
* @param player the skill learning player.
* @param trainer the skills teaching Npc.
* @param skillLearn the skill to be learn.
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
index 99188ca980..a4accd8a47 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestDestroyItem.java
@@ -96,7 +96,7 @@ public class RequestDestroyItem implements IClientIncomingPacket
// if we can't find the requested item, its actually a cheat
if (itemToRemove == null)
{
- // gm can destroy other player items
+ // GM can destroy other player items
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
index 206640aad7..eb85f84823 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/RequestGMCommand.java
@@ -50,7 +50,7 @@ public class RequestGMCommand implements IClientIncomingPacket
@Override
public void run(GameClient client)
{
- // prevent non gm or low level GMs from vieweing player stuff
+ // prevent non GM or low level GMs from vieweing player stuff
if (!client.getPlayer().isGM() || !client.getPlayer().getAccessLevel().allowAltG())
{
return;
@@ -99,7 +99,7 @@ public class RequestGMCommand implements IClientIncomingPacket
}
case 6: // player warehouse
{
- // gm warehouse view to be implemented
+ // GM warehouse view to be implemented
if (player != null)
{
client.sendPacket(new GMViewWarehouseWithdrawList(player));
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
index f87e9f12e3..8802516511 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/clientpackets/UseItem.java
@@ -91,7 +91,7 @@ public class UseItem implements IClientIncomingPacket
final ItemInstance item = player.getInventory().getItemByObjectId(_objectId);
if (item == null)
{
- // gm can use other player item
+ // GM can use other player item
if (player.isGM())
{
final WorldObject obj = World.getInstance().findObject(_objectId);
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
index d19f06f141..f4f0c5ca81 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/AllianceInfo.java
@@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.network.OutgoingPackets;
import org.l2jmobius.gameserver.network.clientpackets.RequestAllyInfo;
/**
- * Sent in response to {@link RequestAllyInfo}, if applicable.
+ * Sent in response to {@link RequestAllyInfo}, if applicable.
* @author afk5min
*/
public class AllianceInfo implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
index 80a7042463..1fd7ec663a 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/ExBrBuffEventState.java
@@ -20,9 +20,9 @@ import org.l2jmobius.commons.network.PacketWriter;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Eva's Inferno event packet. info params:
- * type (1 - %, 2 - npcId),
- * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
+ * Eva's Inferno event packet. info params:
+ * type (1 - %, 2 - npcId),
+ * value (depending on type: for type 1 - % value; for type 2 - 20573-20575),
* state (0-1), endtime (only when type 2)
*/
public class ExBrBuffEventState implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
index 52cadba571..35fcc3b4a8 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/IClientOutgoingPacket.java
@@ -114,7 +114,7 @@ public interface IClientOutgoingPacket extends IOutgoingPacket
}
/**
- * Sends this packet to the target player, useful for lambda operations like
+ * Sends this packet to the target player, useful for lambda operations like
* {@code World.getInstance().getPlayers().forEach(packet::sendTo)}
* @param player
*/
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
index 1a0c26e078..7fd8a52be7 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/SiegeAttackerList.java
@@ -24,25 +24,25 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Attacker List in the SiegeInfo Window
- *
- * c = ca
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Attackers Clans?
- * d = Number of Attackers Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Attacker List in the SiegeInfo Window
+ *
+ * c = ca
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Attackers Clans?
+ * d = Number of Attackers Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeAttackerList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
index 7066b92fa1..52e10be7c6 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/SiegeDefenderList.java
@@ -25,26 +25,26 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Populates the Siege Defender List in the SiegeInfo Window
- *
- * c = 0xcb
- * d = CastleID
- * d = unknow (0x00)
- * d = unknow (0x01)
- * d = unknow (0x00)
- * d = Number of Defending Clans?
- * d = Number of Defending Clans
- * { //repeats
- * d = ClanID
- * S = ClanName
- * S = ClanLeaderName
- * d = ClanCrestID
- * d = signed time (seconds)
- * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
- * d = AllyID
- * S = AllyName
- * S = AllyLeaderName
- * d = AllyCrestID
+ * Populates the Siege Defender List in the SiegeInfo Window
+ *
+ * c = 0xcb
+ * d = CastleID
+ * d = unknow (0x00)
+ * d = unknow (0x01)
+ * d = unknow (0x00)
+ * d = Number of Defending Clans?
+ * d = Number of Defending Clans
+ * { //repeats
+ * d = ClanID
+ * S = ClanName
+ * S = ClanLeaderName
+ * d = ClanCrestID
+ * d = signed time (seconds)
+ * d = Type -> Owner = 0x01 || Waiting = 0x02 || Accepted = 0x03
+ * d = AllyID
+ * S = AllyName
+ * S = AllyLeaderName
+ * d = AllyCrestID
* @author KenM
*/
public class SiegeDefenderList implements IClientOutgoingPacket
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
index 355cea9565..6c647eec90 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/SiegeInfo.java
@@ -27,18 +27,18 @@ import org.l2jmobius.gameserver.model.entity.Castle;
import org.l2jmobius.gameserver.network.OutgoingPackets;
/**
- * Shows the Siege Info
- *
- * c = c9
- * d = CastleID
- * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
- * d = Owner ClanID
- * S = Owner ClanName
- * S = Owner Clan LeaderName
- * d = Owner AllyID
- * S = Owner AllyName
- * d = current time (seconds)
- * d = Siege time (seconds) (0 for selectable)
+ * Shows the Siege Info
+ *
+ * c = c9
+ * d = CastleID
+ * d = Show Owner Controls (0x00 default || >=0x02(mask?) owner)
+ * d = Owner ClanID
+ * S = Owner ClanName
+ * S = Owner Clan LeaderName
+ * d = Owner AllyID
+ * S = Owner AllyName
+ * d = current time (seconds)
+ * d = Siege time (seconds) (0 for selectable)
* d = (UNKNOW) Siege Time Select Related?
* @author KenM
*/
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/scripting/ManagedScript.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
index f2b91791ab..00235baa25 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/scripting/ManagedScript.java
@@ -21,7 +21,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
/**
- * Abstract class for classes that are meant to be implemented by scripts.
+ * Abstract class for classes that are meant to be implemented by scripts.
* @author KenM
*/
public abstract class ManagedScript
@@ -41,7 +41,7 @@ public abstract class ManagedScript
public abstract Path getScriptPath();
/**
- * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
+ * Attempts to reload this script and to refresh the necessary bindings with it ScriptControler.
* Subclasses of this class should override this method to properly refresh their bindings when necessary.
* @return true if and only if the script was reloaded, false otherwise.
*/
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
index 34ba313686..620f020f4e 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/taskmanager/AttackStanceTaskManager.java
@@ -77,7 +77,7 @@ public class AttackStanceTaskManager
}
/**
- * Checks for attack stance task.
+ * Checks for attack stance task.
* @param actor the actor
* @return {@code true} if the character has an attack stance task, {@code false} otherwise
*/
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/ui/frmAbout.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/ui/frmAbout.java
index a3e5c2cc67..4d161afb73 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/ui/frmAbout.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/ui/frmAbout.java
@@ -83,7 +83,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblProtocols);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 128, 140, 14);
site.addMouseListener(new MouseAdapter()
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/util/Broadcast.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/util/Broadcast.java
index e0d798deff..5a7eb1a4df 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/util/Broadcast.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/util/Broadcast.java
@@ -40,11 +40,13 @@ public class Broadcast
private static final Logger LOGGER = Logger.getLogger(Broadcast.class.getName());
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature that have the Character targeted.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -60,11 +62,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
*/
@@ -108,11 +112,13 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance in the _KnownPlayers (in the specified radius) of the Creature.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just needs to go through _knownPlayers to send Server->Client Packet and check the distance between the targets.
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param creature
* @param mov
* @param radius
@@ -128,10 +134,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
- * Concept :
- * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
- * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
+ * Send a packet to all PlayerInstance in the _KnownPlayers of the Creature and to the specified character.
+ *
+ * Concept:
+ *
+ * PlayerInstance in the detection area of the Creature are identified in _knownPlayers.
+ * In order to inform other players of state modification on the Creature, server just need to go through _knownPlayers to send Server->Client Packet
* @param creature
* @param mov
*/
@@ -162,10 +170,12 @@ public class Broadcast
}
/**
- * Send a packet to all PlayerInstance present in the world.
- * Concept :
- * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
- * Caution : This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
+ * Send a packet to all PlayerInstance present in the world.
+ *
+ * Concept:
+ *
+ * In order to inform other players of state modification on the Creature, server just need to go through _allPlayers to send Server->Client Packet
+ * Caution: This method DOESN'T SEND Server->Client packet to this Creature (to do this use method toSelfAndKnownPlayers)
* @param packet
*/
public static void toAllOnlinePlayers(IClientOutgoingPacket packet)
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/util/MinionList.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/util/MinionList.java
index 29a8c04c1e..9a6f694eaa 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/util/MinionList.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/util/MinionList.java
@@ -58,13 +58,11 @@ public class MinionList
}
/**
- * Manage the spawn of Minions.
- *
- * Actions :
- *
+ * Manage the spawn of Minions.
+ *
+ * Actions:
*
Get the Minion data of all Minions that must be spawn
- *
For each Minion type, spawn the amount of Minion needed
- *
+ *
For each Minion type, spawn the amount of Minion needed
* @param minions
*/
public void spawnMinions(List minions)
@@ -260,16 +258,14 @@ public class MinionList
}
/**
- * Init a Minion and add it in the world as a visible object.
- *
- * Actions :
- *
+ * Init a Minion and add it in the world as a visible object.
+ *
+ * Actions:
*
Get the template of the Minion to spawn
*
Create and Init the Minion and generate its Identifier
*
Set the Minion HP, MP and Heading
*
Set the Minion leader to this RaidBoss
- *
Init the position of the Minion and add it in the world as a visible object
- *
+ *
Init the position of the Minion and add it in the world as a visible object
* @param master MonsterInstance used as master for this minion
* @param minionId The NpcTemplate Identifier of the Minion to spawn
* @return
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/util/PrimeFinder.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/util/PrimeFinder.java
index c9532000c8..20016811a1 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/util/PrimeFinder.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/util/PrimeFinder.java
@@ -33,7 +33,7 @@ import java.util.Arrays;
public class PrimeFinder
{
/**
- * The largest prime this class can generate; currently equal to Integer.MAX_VALUE.
+ * The largest prime this class can generate; currently equal to Integer.MAX_VALUE
*/
public static final int LARGEST_PRIME = Integer.MAX_VALUE; // yes, it is prime.
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
index 2e46e0a048..0a81e323a3 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/util/TimeAmountInterpreter.java
@@ -67,8 +67,7 @@ public class TimeAmountInterpreter
}
/**
- * Appends an user-friendly description of the given amount of time to the specified text builder.
- *
+ * Appends an user-friendly description of the given amount of time to the specified text builder.
* Please keep in mind, that this method is primarily designed to be used with heap text builders. Therefore, if the given text builder throws an {@link IOException}, this exception will be wrapped in a {@link RuntimeException} and returned to the caller as an unchecked exception.
* @param
* @param textBuilder a character sequence builder
diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/loginserver/ui/frmAbout.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/loginserver/ui/frmAbout.java
index 8488868090..06a5d95539 100644
--- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/loginserver/ui/frmAbout.java
+++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/loginserver/ui/frmAbout.java
@@ -75,7 +75,7 @@ public class frmAbout
frmAbout.getContentPane().add(lblLoginServer);
final JLabel site = new JLabel(URL);
- site.setText("" + URL + "");
+ site.setText("" + URL + "");
site.setHorizontalAlignment(SwingConstants.CENTER);
site.setBounds(76, 148, 140, 14);
site.addMouseListener(new MouseAdapter()