Some code formatting.
This commit is contained in:
@ -926,7 +926,7 @@ public class L2Attackable extends L2Npc
|
||||
* @param target The L2Character whose hate level must be returned
|
||||
* @return the hate level of the L2Attackable against this L2Character contained in _aggroList.
|
||||
*/
|
||||
public int getHating(final L2Character target)
|
||||
public int getHating(L2Character target)
|
||||
{
|
||||
if (_aggroList.isEmpty() || (target == null))
|
||||
{
|
||||
|
@ -462,7 +462,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
||||
* @param zone
|
||||
* @param state
|
||||
*/
|
||||
public final void setInsideZone(ZoneId zone, final boolean state)
|
||||
public final void setInsideZone(ZoneId zone, boolean state)
|
||||
{
|
||||
synchronized (_zones)
|
||||
{
|
||||
@ -5309,7 +5309,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
||||
* @param weapon
|
||||
* @return the Reuse Time of Attack (used for bow delay)
|
||||
*/
|
||||
public int calculateReuseTime(final L2Weapon weapon)
|
||||
public int calculateReuseTime(L2Weapon weapon)
|
||||
{
|
||||
if (isTransformed())
|
||||
{
|
||||
@ -6655,7 +6655,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
||||
return;
|
||||
}
|
||||
|
||||
L2Object target = getTarget();
|
||||
final L2Object target = getTarget();
|
||||
if ((target != null) && target.isNpc())
|
||||
{
|
||||
EventDispatcher.getInstance().notifyEventAsync(new OnNpcSocialActionSee((L2Npc) target, getActingPlayer(), id), (L2Npc) target);
|
||||
@ -6896,7 +6896,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
||||
* @param target
|
||||
* @param isDot
|
||||
*/
|
||||
public void notifyAttackAvoid(final L2Character target, final boolean isDot)
|
||||
public void notifyAttackAvoid(L2Character target, boolean isDot)
|
||||
{
|
||||
EventDispatcher.getInstance().notifyEventAsync(new OnCreatureAttackAvoid(this, target, isDot), target);
|
||||
}
|
||||
|
@ -1549,7 +1549,7 @@ public class L2Npc extends L2Character
|
||||
* @param paramName the parameter name to check
|
||||
* @return given AI parameter value
|
||||
*/
|
||||
public int getAIValue(final String paramName)
|
||||
public int getAIValue(String paramName)
|
||||
{
|
||||
return hasAIValue(paramName) ? NpcPersonalAIData.getInstance().getAIValue(getSpawn().getName(), paramName) : -1;
|
||||
}
|
||||
@ -1558,7 +1558,7 @@ public class L2Npc extends L2Character
|
||||
* @param paramName the parameter name to check
|
||||
* @return {@code true} if given parameter is set for NPC, {@code false} otherwise
|
||||
*/
|
||||
public boolean hasAIValue(final String paramName)
|
||||
public boolean hasAIValue(String paramName)
|
||||
{
|
||||
return (getSpawn() != null) && (getSpawn().getName() != null) && NpcPersonalAIData.getInstance().hasAIValue(getSpawn().getName(), paramName);
|
||||
}
|
||||
|
@ -4370,7 +4370,7 @@ public final class L2PcInstance extends L2Playable
|
||||
|
||||
public final void broadcastPacket(SocialAction sa)
|
||||
{
|
||||
L2Object target = getTarget();
|
||||
final L2Object target = getTarget();
|
||||
if ((target != null) && target.isNpc())
|
||||
{
|
||||
EventDispatcher.getInstance().notifyEventAsync(new OnNpcSocialActionSee((L2Npc) target, getActingPlayer(), sa.getId()), (L2Npc) target);
|
||||
@ -14410,7 +14410,7 @@ public final class L2PcInstance extends L2Playable
|
||||
return _pcBangPoints;
|
||||
}
|
||||
|
||||
public void setPcBangPoints(final int count)
|
||||
public void setPcBangPoints(int count)
|
||||
{
|
||||
if (count < 200000)
|
||||
{
|
||||
|
Reference in New Issue
Block a user