Removal of assorted prefix remnants.
This commit is contained in:
@@ -45,7 +45,7 @@ import org.l2jmobius.gameserver.model.actor.instance.SiegeGuardInstance;
|
||||
*/
|
||||
public class SiegeGuardAI extends CreatureAI implements Runnable
|
||||
{
|
||||
// protected static final Logger LOGGER = Logger.getLogger(L2SiegeGuardAI.class);
|
||||
// protected static final Logger LOGGER = Logger.getLogger(SiegeGuardAI.class);
|
||||
|
||||
private static final int MAX_ATTACK_TIMEOUT = 300; // int ticks, i.e. 30 seconds
|
||||
|
||||
|
@@ -5487,7 +5487,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
|
||||
* <font color=#FF0000><b><u>Caution</u>: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation </b></font><br>
|
||||
* <br>
|
||||
* <b><u>Example of use</u>:</b><br>
|
||||
* <li>AI : onIntentionMoveTo(L2CharPosition), onIntentionPickUp(WorldObject), onIntentionInteract(WorldObject)</li>
|
||||
* <li>AI : onIntentionMoveTo(Location), onIntentionPickUp(WorldObject), onIntentionInteract(WorldObject)</li>
|
||||
* <li>FollowTask</li><br>
|
||||
* @param xValue The X position of the destination
|
||||
* @param yValue The Y position of the destination
|
||||
|
@@ -72,7 +72,7 @@ public class FishermanInstance extends FolkInstance
|
||||
}
|
||||
else
|
||||
{
|
||||
LOGGER.warning("possible client hacker: " + player.getName() + " attempting to buy from GM shop! (L2FishermanInstance)");
|
||||
LOGGER.warning("Possible client hacker: " + player.getName() + " attempting to buy from GM shop! (FishermanInstance)");
|
||||
LOGGER.warning("buylist id:" + value);
|
||||
}
|
||||
|
||||
|
@@ -113,7 +113,7 @@ public class ManorManagerInstance extends MerchantInstance
|
||||
}
|
||||
else
|
||||
{
|
||||
LOGGER.info("possible client hacker: " + player.getName() + " attempting to buy from GM shop! (L2ManorManagerIntance)");
|
||||
LOGGER.info("Possible client hacker: " + player.getName() + " attempting to buy from GM shop! (ManorManagerIntance)");
|
||||
LOGGER.info("buylist id:" + value);
|
||||
}
|
||||
|
||||
|
@@ -122,7 +122,7 @@ public class MercManagerInstance extends FolkInstance
|
||||
}
|
||||
else
|
||||
{
|
||||
LOGGER.warning("possible client hacker: " + player.getName() + " attempting to buy from GM shop! (L2MercManagerIntance)");
|
||||
LOGGER.warning("Possible client hacker: " + player.getName() + " attempting to buy from GM shop! (MercManagerIntance)");
|
||||
LOGGER.warning("buylist id:" + value);
|
||||
}
|
||||
}
|
||||
|
@@ -102,7 +102,7 @@ public class MerchantInstance extends FolkInstance
|
||||
}
|
||||
else
|
||||
{
|
||||
LOGGER.warning("possible client hacker: " + player.getName() + " attempting to buy from GM shop! (L2MechantInstance)");
|
||||
LOGGER.warning("Possible client hacker: " + player.getName() + " attempting to buy from GM shop! (MechantInstance)");
|
||||
LOGGER.warning("buylist id:" + value);
|
||||
}
|
||||
|
||||
|
@@ -251,7 +251,7 @@ public class TamedBeastInstance extends FeedableBeastInstance
|
||||
int totalBuffsAvailable = 0;
|
||||
for (Skill skill : getTemplate().getSkills().values())
|
||||
{
|
||||
// if the skill is a buff, check if the owner has it already [ owner.getEffect(L2Skill skill) ]
|
||||
// if the skill is a buff, check if the owner has it already [ owner.getEffect(Skill skill) ]
|
||||
if (skill.getSkillType() == Skill.SkillType.BUFF)
|
||||
{
|
||||
totalBuffsAvailable++;
|
||||
@@ -335,7 +335,7 @@ public class TamedBeastInstance extends FeedableBeastInstance
|
||||
{
|
||||
for (Skill skill : getTemplate().getSkills().values())
|
||||
{
|
||||
// if the skill is a debuff, check if the attacker has it already [ attacker.getEffect(L2Skill skill) ]
|
||||
// if the skill is a debuff, check if the attacker has it already [ attacker.getEffect(Skill skill) ]
|
||||
if ((skill.getSkillType() == Skill.SkillType.DEBUFF) && (Rnd.get(3) < 1) && (attacker.getFirstEffect(skill) != null))
|
||||
{
|
||||
sitCastAndFollow(skill, attacker);
|
||||
@@ -355,7 +355,7 @@ public class TamedBeastInstance extends FeedableBeastInstance
|
||||
// if the owner has a lot of HP, then debuff the enemy with a random debuff among the available skills
|
||||
for (Skill skill : getTemplate().getSkills().values())
|
||||
{
|
||||
// if the skill is a buff, check if the owner has it already [ owner.getEffect(L2Skill skill) ]
|
||||
// if the skill is a buff, check if the owner has it already [ owner.getEffect(Skill skill) ]
|
||||
if ((Rnd.get(5) < chance) && ((skill.getSkillType() == Skill.SkillType.HEAL) || (skill.getSkillType() == Skill.SkillType.HOT) || (skill.getSkillType() == Skill.SkillType.BALANCE_LIFE) || (skill.getSkillType() == Skill.SkillType.HEAL_PERCENT) || (skill.getSkillType() == Skill.SkillType.HEAL_STATIC) || (skill.getSkillType() == Skill.SkillType.COMBATPOINTHEAL) || (skill.getSkillType() == Skill.SkillType.COMBATPOINTPERCENTHEAL) || (skill.getSkillType() == Skill.SkillType.CPHOT) || (skill.getSkillType() == Skill.SkillType.MANAHEAL) || (skill.getSkillType() == Skill.SkillType.MANA_BY_LEVEL) || (skill.getSkillType() == Skill.SkillType.MANAHEAL_PERCENT) || (skill.getSkillType() == Skill.SkillType.MANARECHARGE) || (skill.getSkillType() == Skill.SkillType.MPHOT)))
|
||||
{
|
||||
sitCastAndFollow(skill, _owner);
|
||||
@@ -496,7 +496,7 @@ public class TamedBeastInstance extends FeedableBeastInstance
|
||||
// get this npc's skills: getSkills()
|
||||
for (Skill skill : _tamedBeast.getTemplate().getSkills().values())
|
||||
{
|
||||
// if the skill is a buff, check if the owner has it already [ owner.getEffect(L2Skill skill) ]
|
||||
// if the skill is a buff, check if the owner has it already [ owner.getEffect(Skill skill) ]
|
||||
if (skill.getSkillType() == Skill.SkillType.BUFF)
|
||||
{
|
||||
if (i == rand)
|
||||
|
@@ -57,7 +57,7 @@ public class Multisell
|
||||
}
|
||||
}
|
||||
|
||||
LOGGER.warning("[L2Multisell] can't find list with id: " + id);
|
||||
LOGGER.warning("[Multisell] can't find list with id: " + id);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user