diff --git a/trunk/java/com/l2jserver/gameserver/model/actor/L2Character.java b/trunk/java/com/l2jserver/gameserver/model/actor/L2Character.java index 2ecb481037..1e6690857a 100644 --- a/trunk/java/com/l2jserver/gameserver/model/actor/L2Character.java +++ b/trunk/java/com/l2jserver/gameserver/model/actor/L2Character.java @@ -523,7 +523,8 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe /** * Remove the L2Character from the world when the decay task is launched.
- * Caution : This method DOESN'T REMOVE the object from _allObjects of L2World
Caution : This method DOESN'T SEND Server->Client packets to players + * Caution : This method DOESN'T REMOVE the object from _allObjects of L2World
+ * Caution : This method DOESN'T SEND Server->Client packets to players */ public void onDecay() { @@ -3582,7 +3583,13 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe * A L2Character 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 L2PcInstance
Example of use: + * Caution : This method is ONLY for L2PcInstance
+ * Example of use: + * * @param functions The list of Func objects to add to the Calculator corresponding to the state affected */ public final void addStatFuncs(List functions) @@ -3672,7 +3679,12 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe * A L2Character 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 L2PcInstance
Example of use: + * Caution : This method is ONLY for L2PcInstance
+ * Example of use: + * * @param functions The list of Func objects to add to the Calculator corresponding to the state affected */ public final void removeStatFuncs(AbstractFunction[] functions) @@ -4125,7 +4137,8 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe * 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 L2Character 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() @@ -4207,7 +4220,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe double delta = (dx * dx) + (dy * dy); if ((delta < 10000) && ((dz * dz) > 2500) // close enough, allows error between client and server geodata if it cannot be avoided - && !isFloating) + && !isFloating) { delta = Math.sqrt(delta); } @@ -4416,7 +4429,11 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe *
  • Add the L2Character to movingObjects of the GameTimeController
  • *
  • Create a task to notify the AI that L2Character arrives at a check point of the movement
  • * - * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation.
    Example of use: