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 f0b2f857a4..45bf91a663 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 @@ -581,7 +581,7 @@ public class AdminPForge implements IAdminCommandHandler // TODO: Implement me! // @formatter:off /*bb.flip(); - L2GameClientPacket p = (L2GameClientPacket) GameServer.gameServer.getL2GamePacketHandler().handlePacket(bb, activeChar.getClient()); + GameClientPacket p = (GameClientPacket) GameServer.gameServer.getGamePacketHandler().handlePacket(bb, activeChar.getClient()); if (p != null) { p.setBuffers(bb, activeChar.getClient(), new NioNetStringBuffer(2000)); diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java index 652660e016..a3f00b7325 100644 --- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java +++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java @@ -272,7 +272,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.isContinuous() && !skill.isDebuff()) { totalBuffsAvailable++; @@ -360,7 +360,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.isDebuff() && (Rnd.get(3) < 1) && ((attacker != null) && attacker.isAffectedBySkill(skill.getId()))) { sitCastAndFollow(skill, attacker); @@ -380,7 +380,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.hasEffectType(EffectType.CPHEAL, EffectType.HEAL, EffectType.MANAHEAL_BY_LEVEL, EffectType.MANAHEAL_PERCENT)) { sitCastAndFollow(skill, _owner); @@ -529,7 +529,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.isContinuous() && !skill.isDebuff()) { if (i++ == rand) 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 f0b2f857a4..45bf91a663 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 @@ -581,7 +581,7 @@ public class AdminPForge implements IAdminCommandHandler // TODO: Implement me! // @formatter:off /*bb.flip(); - L2GameClientPacket p = (L2GameClientPacket) GameServer.gameServer.getL2GamePacketHandler().handlePacket(bb, activeChar.getClient()); + GameClientPacket p = (GameClientPacket) GameServer.gameServer.getGamePacketHandler().handlePacket(bb, activeChar.getClient()); if (p != null) { p.setBuffers(bb, activeChar.getClient(), new NioNetStringBuffer(2000)); diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java index 652660e016..a3f00b7325 100644 --- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java +++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java @@ -272,7 +272,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.isContinuous() && !skill.isDebuff()) { totalBuffsAvailable++; @@ -360,7 +360,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.isDebuff() && (Rnd.get(3) < 1) && ((attacker != null) && attacker.isAffectedBySkill(skill.getId()))) { sitCastAndFollow(skill, attacker); @@ -380,7 +380,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.hasEffectType(EffectType.CPHEAL, EffectType.HEAL, EffectType.MANAHEAL_BY_LEVEL, EffectType.MANAHEAL_PERCENT)) { sitCastAndFollow(skill, _owner); @@ -529,7 +529,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.isContinuous() && !skill.isDebuff()) { if (i++ == rand) 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 f0b2f857a4..45bf91a663 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 @@ -581,7 +581,7 @@ public class AdminPForge implements IAdminCommandHandler // TODO: Implement me! // @formatter:off /*bb.flip(); - L2GameClientPacket p = (L2GameClientPacket) GameServer.gameServer.getL2GamePacketHandler().handlePacket(bb, activeChar.getClient()); + GameClientPacket p = (GameClientPacket) GameServer.gameServer.getGamePacketHandler().handlePacket(bb, activeChar.getClient()); if (p != null) { p.setBuffers(bb, activeChar.getClient(), new NioNetStringBuffer(2000)); diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java index 652660e016..a3f00b7325 100644 --- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java +++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java @@ -272,7 +272,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.isContinuous() && !skill.isDebuff()) { totalBuffsAvailable++; @@ -360,7 +360,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.isDebuff() && (Rnd.get(3) < 1) && ((attacker != null) && attacker.isAffectedBySkill(skill.getId()))) { sitCastAndFollow(skill, attacker); @@ -380,7 +380,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.hasEffectType(EffectType.CPHEAL, EffectType.HEAL, EffectType.MANAHEAL_BY_LEVEL, EffectType.MANAHEAL_PERCENT)) { sitCastAndFollow(skill, _owner); @@ -529,7 +529,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.isContinuous() && !skill.isDebuff()) { if (i++ == rand) 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 f0b2f857a4..45bf91a663 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 @@ -581,7 +581,7 @@ public class AdminPForge implements IAdminCommandHandler // TODO: Implement me! // @formatter:off /*bb.flip(); - L2GameClientPacket p = (L2GameClientPacket) GameServer.gameServer.getL2GamePacketHandler().handlePacket(bb, activeChar.getClient()); + GameClientPacket p = (GameClientPacket) GameServer.gameServer.getGamePacketHandler().handlePacket(bb, activeChar.getClient()); if (p != null) { p.setBuffers(bb, activeChar.getClient(), new NioNetStringBuffer(2000)); diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java index 652660e016..a3f00b7325 100644 --- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java +++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java @@ -272,7 +272,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.isContinuous() && !skill.isDebuff()) { totalBuffsAvailable++; @@ -360,7 +360,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.isDebuff() && (Rnd.get(3) < 1) && ((attacker != null) && attacker.isAffectedBySkill(skill.getId()))) { sitCastAndFollow(skill, attacker); @@ -380,7 +380,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.hasEffectType(EffectType.CPHEAL, EffectType.HEAL, EffectType.MANAHEAL_BY_LEVEL, EffectType.MANAHEAL_PERCENT)) { sitCastAndFollow(skill, _owner); @@ -529,7 +529,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.isContinuous() && !skill.isDebuff()) { if (i++ == rand) 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 f0b2f857a4..45bf91a663 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 @@ -581,7 +581,7 @@ public class AdminPForge implements IAdminCommandHandler // TODO: Implement me! // @formatter:off /*bb.flip(); - L2GameClientPacket p = (L2GameClientPacket) GameServer.gameServer.getL2GamePacketHandler().handlePacket(bb, activeChar.getClient()); + GameClientPacket p = (GameClientPacket) GameServer.gameServer.getGamePacketHandler().handlePacket(bb, activeChar.getClient()); if (p != null) { p.setBuffers(bb, activeChar.getClient(), new NioNetStringBuffer(2000)); diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java index 652660e016..a3f00b7325 100644 --- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java +++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java @@ -272,7 +272,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.isContinuous() && !skill.isDebuff()) { totalBuffsAvailable++; @@ -360,7 +360,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.isDebuff() && (Rnd.get(3) < 1) && ((attacker != null) && attacker.isAffectedBySkill(skill.getId()))) { sitCastAndFollow(skill, attacker); @@ -380,7 +380,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.hasEffectType(EffectType.CPHEAL, EffectType.HEAL, EffectType.MANAHEAL_BY_LEVEL, EffectType.MANAHEAL_PERCENT)) { sitCastAndFollow(skill, _owner); @@ -529,7 +529,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.isContinuous() && !skill.isDebuff()) { if (i++ == rand) 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 f0b2f857a4..45bf91a663 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 @@ -581,7 +581,7 @@ public class AdminPForge implements IAdminCommandHandler // TODO: Implement me! // @formatter:off /*bb.flip(); - L2GameClientPacket p = (L2GameClientPacket) GameServer.gameServer.getL2GamePacketHandler().handlePacket(bb, activeChar.getClient()); + GameClientPacket p = (GameClientPacket) GameServer.gameServer.getGamePacketHandler().handlePacket(bb, activeChar.getClient()); if (p != null) { p.setBuffers(bb, activeChar.getClient(), new NioNetStringBuffer(2000)); diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java index 652660e016..a3f00b7325 100644 --- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java +++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java @@ -272,7 +272,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.isContinuous() && !skill.isDebuff()) { totalBuffsAvailable++; @@ -360,7 +360,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.isDebuff() && (Rnd.get(3) < 1) && ((attacker != null) && attacker.isAffectedBySkill(skill.getId()))) { sitCastAndFollow(skill, attacker); @@ -380,7 +380,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.hasEffectType(EffectType.CPHEAL, EffectType.HEAL, EffectType.MANAHEAL_BY_LEVEL, EffectType.MANAHEAL_PERCENT)) { sitCastAndFollow(skill, _owner); @@ -529,7 +529,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.isContinuous() && !skill.isDebuff()) { if (i++ == rand) 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 f0b2f857a4..45bf91a663 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 @@ -581,7 +581,7 @@ public class AdminPForge implements IAdminCommandHandler // TODO: Implement me! // @formatter:off /*bb.flip(); - L2GameClientPacket p = (L2GameClientPacket) GameServer.gameServer.getL2GamePacketHandler().handlePacket(bb, activeChar.getClient()); + GameClientPacket p = (GameClientPacket) GameServer.gameServer.getGamePacketHandler().handlePacket(bb, activeChar.getClient()); if (p != null) { p.setBuffers(bb, activeChar.getClient(), new NioNetStringBuffer(2000)); diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java index 652660e016..a3f00b7325 100644 --- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java +++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java @@ -272,7 +272,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.isContinuous() && !skill.isDebuff()) { totalBuffsAvailable++; @@ -360,7 +360,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.isDebuff() && (Rnd.get(3) < 1) && ((attacker != null) && attacker.isAffectedBySkill(skill.getId()))) { sitCastAndFollow(skill, attacker); @@ -380,7 +380,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.hasEffectType(EffectType.CPHEAL, EffectType.HEAL, EffectType.MANAHEAL_BY_LEVEL, EffectType.MANAHEAL_PERCENT)) { sitCastAndFollow(skill, _owner); @@ -529,7 +529,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.isContinuous() && !skill.isDebuff()) { if (i++ == rand) 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 f0b2f857a4..45bf91a663 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 @@ -581,7 +581,7 @@ public class AdminPForge implements IAdminCommandHandler // TODO: Implement me! // @formatter:off /*bb.flip(); - L2GameClientPacket p = (L2GameClientPacket) GameServer.gameServer.getL2GamePacketHandler().handlePacket(bb, activeChar.getClient()); + GameClientPacket p = (GameClientPacket) GameServer.gameServer.getGamePacketHandler().handlePacket(bb, activeChar.getClient()); if (p != null) { p.setBuffers(bb, activeChar.getClient(), new NioNetStringBuffer(2000)); diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java index 652660e016..a3f00b7325 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java +++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java @@ -272,7 +272,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.isContinuous() && !skill.isDebuff()) { totalBuffsAvailable++; @@ -360,7 +360,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.isDebuff() && (Rnd.get(3) < 1) && ((attacker != null) && attacker.isAffectedBySkill(skill.getId()))) { sitCastAndFollow(skill, attacker); @@ -380,7 +380,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.hasEffectType(EffectType.CPHEAL, EffectType.HEAL, EffectType.MANAHEAL_BY_LEVEL, EffectType.MANAHEAL_PERCENT)) { sitCastAndFollow(skill, _owner); @@ -529,7 +529,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.isContinuous() && !skill.isDebuff()) { if (i++ == rand) 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 2d22009ed8..256f5b2c89 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 @@ -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 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 fceecea2a6..6d09a710bf 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 @@ -5487,7 +5487,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder * Caution: This method DOESN'T send Server->Client packet MoveToPawn/CharMoveToLocation
*
* Example of use:
- *
  • AI : onIntentionMoveTo(L2CharPosition), onIntentionPickUp(WorldObject), onIntentionInteract(WorldObject)
  • + *
  • AI : onIntentionMoveTo(Location), onIntentionPickUp(WorldObject), onIntentionInteract(WorldObject)
  • *
  • FollowTask

  • * @param xValue The X position of the destination * @param yValue The Y position of the destination diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/FishermanInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/FishermanInstance.java index 6edf7baf4e..1ee1534eba 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/FishermanInstance.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/FishermanInstance.java @@ -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); } diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/ManorManagerInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/ManorManagerInstance.java index 91309f8b0b..a743554e68 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/ManorManagerInstance.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/ManorManagerInstance.java @@ -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); } diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/MercManagerInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/MercManagerInstance.java index cb02ac62f9..d7e9f2e16b 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/MercManagerInstance.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/MercManagerInstance.java @@ -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); } } diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/MerchantInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/MerchantInstance.java index 06b88f0a8f..7823b673b3 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/MerchantInstance.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/MerchantInstance.java @@ -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); } diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java index a324c04c1c..0ba45e082e 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java @@ -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) diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/multisell/Multisell.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/multisell/Multisell.java index 022836d98c..25a328b0c3 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/multisell/Multisell.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/multisell/Multisell.java @@ -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; } 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 2c2ae086cf..4b8200c20c 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 @@ -582,7 +582,7 @@ public class AdminPForge implements IAdminCommandHandler // TODO: Implement me! // @formatter:off /*bb.flip(); - L2GameClientPacket p = (L2GameClientPacket) GameServer.gameServer.getL2GamePacketHandler().handlePacket(bb, activeChar.getClient()); + GameClientPacket p = (GameClientPacket) GameServer.gameServer.getGamePacketHandler().handlePacket(bb, activeChar.getClient()); if (p != null) { p.setBuffers(bb, activeChar.getClient(), new NioNetStringBuffer(2000)); diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/data/sql/impl/SummonEffectTable.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/data/sql/impl/SummonEffectTable.java index d04b6d7520..696455f697 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/data/sql/impl/SummonEffectTable.java +++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/data/sql/impl/SummonEffectTable.java @@ -115,9 +115,9 @@ public class SummonEffectTable removeEffects(getServitorEffects(owner, referenceSkill), skillId); } - public void applyServitorEffects(ServitorInstance l2ServitorInstance, PlayerInstance owner, int referenceSkill) + public void applyServitorEffects(ServitorInstance servitor, PlayerInstance owner, int referenceSkill) { - applyEffects(l2ServitorInstance, getServitorEffects(owner, referenceSkill)); + applyEffects(servitor, getServitorEffects(owner, referenceSkill)); } /** Pets **/ @@ -133,9 +133,9 @@ public class SummonEffectTable return _petEffects.containsKey(controlObjectId); } - public void applyPetEffects(PetInstance l2PetInstance, int controlObjectId) + public void applyPetEffects(PetInstance pet, int controlObjectId) { - applyEffects(l2PetInstance, _petEffects.get(controlObjectId)); + applyEffects(pet, _petEffects.get(controlObjectId)); } public void clearPetEffects(int controlObjectId) diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java index 42be68b61e..a1a5c12d46 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java +++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java @@ -271,7 +271,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.isContinuous() && !skill.isDebuff()) { totalBuffsAvailable++; @@ -359,7 +359,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.isDebuff() && (Rnd.get(3) < 1) && ((attacker != null) && attacker.isAffectedBySkill(skill.getId()))) { sitCastAndFollow(skill, attacker); @@ -379,7 +379,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.hasEffectType(EffectType.CPHEAL, EffectType.HEAL, EffectType.MANAHEAL_BY_LEVEL, EffectType.MANAHEAL_PERCENT)) { sitCastAndFollow(skill, _owner); @@ -532,7 +532,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.isContinuous() && !skill.isDebuff()) { if (i++ == rand) 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 2c2ae086cf..4b8200c20c 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 @@ -582,7 +582,7 @@ public class AdminPForge implements IAdminCommandHandler // TODO: Implement me! // @formatter:off /*bb.flip(); - L2GameClientPacket p = (L2GameClientPacket) GameServer.gameServer.getL2GamePacketHandler().handlePacket(bb, activeChar.getClient()); + GameClientPacket p = (GameClientPacket) GameServer.gameServer.getGamePacketHandler().handlePacket(bb, activeChar.getClient()); if (p != null) { p.setBuffers(bb, activeChar.getClient(), new NioNetStringBuffer(2000)); diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/data/sql/impl/SummonEffectTable.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/data/sql/impl/SummonEffectTable.java index d04b6d7520..696455f697 100644 --- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/data/sql/impl/SummonEffectTable.java +++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/data/sql/impl/SummonEffectTable.java @@ -115,9 +115,9 @@ public class SummonEffectTable removeEffects(getServitorEffects(owner, referenceSkill), skillId); } - public void applyServitorEffects(ServitorInstance l2ServitorInstance, PlayerInstance owner, int referenceSkill) + public void applyServitorEffects(ServitorInstance servitor, PlayerInstance owner, int referenceSkill) { - applyEffects(l2ServitorInstance, getServitorEffects(owner, referenceSkill)); + applyEffects(servitor, getServitorEffects(owner, referenceSkill)); } /** Pets **/ @@ -133,9 +133,9 @@ public class SummonEffectTable return _petEffects.containsKey(controlObjectId); } - public void applyPetEffects(PetInstance l2PetInstance, int controlObjectId) + public void applyPetEffects(PetInstance pet, int controlObjectId) { - applyEffects(l2PetInstance, _petEffects.get(controlObjectId)); + applyEffects(pet, _petEffects.get(controlObjectId)); } public void clearPetEffects(int controlObjectId) diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java index 42be68b61e..a1a5c12d46 100644 --- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java +++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java @@ -271,7 +271,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.isContinuous() && !skill.isDebuff()) { totalBuffsAvailable++; @@ -359,7 +359,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.isDebuff() && (Rnd.get(3) < 1) && ((attacker != null) && attacker.isAffectedBySkill(skill.getId()))) { sitCastAndFollow(skill, attacker); @@ -379,7 +379,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.hasEffectType(EffectType.CPHEAL, EffectType.HEAL, EffectType.MANAHEAL_BY_LEVEL, EffectType.MANAHEAL_PERCENT)) { sitCastAndFollow(skill, _owner); @@ -532,7 +532,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.isContinuous() && !skill.isDebuff()) { if (i++ == rand) 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 f0b2f857a4..45bf91a663 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 @@ -581,7 +581,7 @@ public class AdminPForge implements IAdminCommandHandler // TODO: Implement me! // @formatter:off /*bb.flip(); - L2GameClientPacket p = (L2GameClientPacket) GameServer.gameServer.getL2GamePacketHandler().handlePacket(bb, activeChar.getClient()); + GameClientPacket p = (GameClientPacket) GameServer.gameServer.getGamePacketHandler().handlePacket(bb, activeChar.getClient()); if (p != null) { p.setBuffers(bb, activeChar.getClient(), new NioNetStringBuffer(2000)); diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java index 652660e016..a3f00b7325 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java @@ -272,7 +272,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.isContinuous() && !skill.isDebuff()) { totalBuffsAvailable++; @@ -360,7 +360,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.isDebuff() && (Rnd.get(3) < 1) && ((attacker != null) && attacker.isAffectedBySkill(skill.getId()))) { sitCastAndFollow(skill, attacker); @@ -380,7 +380,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.hasEffectType(EffectType.CPHEAL, EffectType.HEAL, EffectType.MANAHEAL_BY_LEVEL, EffectType.MANAHEAL_PERCENT)) { sitCastAndFollow(skill, _owner); @@ -529,7 +529,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.isContinuous() && !skill.isDebuff()) { if (i++ == rand) 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 f0b2f857a4..45bf91a663 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 @@ -581,7 +581,7 @@ public class AdminPForge implements IAdminCommandHandler // TODO: Implement me! // @formatter:off /*bb.flip(); - L2GameClientPacket p = (L2GameClientPacket) GameServer.gameServer.getL2GamePacketHandler().handlePacket(bb, activeChar.getClient()); + GameClientPacket p = (GameClientPacket) GameServer.gameServer.getGamePacketHandler().handlePacket(bb, activeChar.getClient()); if (p != null) { p.setBuffers(bb, activeChar.getClient(), new NioNetStringBuffer(2000)); diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java index 652660e016..a3f00b7325 100644 --- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java +++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java @@ -272,7 +272,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.isContinuous() && !skill.isDebuff()) { totalBuffsAvailable++; @@ -360,7 +360,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.isDebuff() && (Rnd.get(3) < 1) && ((attacker != null) && attacker.isAffectedBySkill(skill.getId()))) { sitCastAndFollow(skill, attacker); @@ -380,7 +380,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.hasEffectType(EffectType.CPHEAL, EffectType.HEAL, EffectType.MANAHEAL_BY_LEVEL, EffectType.MANAHEAL_PERCENT)) { sitCastAndFollow(skill, _owner); @@ -529,7 +529,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.isContinuous() && !skill.isDebuff()) { if (i++ == rand) 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 f0b2f857a4..45bf91a663 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 @@ -581,7 +581,7 @@ public class AdminPForge implements IAdminCommandHandler // TODO: Implement me! // @formatter:off /*bb.flip(); - L2GameClientPacket p = (L2GameClientPacket) GameServer.gameServer.getL2GamePacketHandler().handlePacket(bb, activeChar.getClient()); + GameClientPacket p = (GameClientPacket) GameServer.gameServer.getGamePacketHandler().handlePacket(bb, activeChar.getClient()); if (p != null) { p.setBuffers(bb, activeChar.getClient(), new NioNetStringBuffer(2000)); diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java index 652660e016..a3f00b7325 100644 --- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java +++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java @@ -272,7 +272,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.isContinuous() && !skill.isDebuff()) { totalBuffsAvailable++; @@ -360,7 +360,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.isDebuff() && (Rnd.get(3) < 1) && ((attacker != null) && attacker.isAffectedBySkill(skill.getId()))) { sitCastAndFollow(skill, attacker); @@ -380,7 +380,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.hasEffectType(EffectType.CPHEAL, EffectType.HEAL, EffectType.MANAHEAL_BY_LEVEL, EffectType.MANAHEAL_PERCENT)) { sitCastAndFollow(skill, _owner); @@ -529,7 +529,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.isContinuous() && !skill.isDebuff()) { if (i++ == rand) 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 f0b2f857a4..45bf91a663 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 @@ -581,7 +581,7 @@ public class AdminPForge implements IAdminCommandHandler // TODO: Implement me! // @formatter:off /*bb.flip(); - L2GameClientPacket p = (L2GameClientPacket) GameServer.gameServer.getL2GamePacketHandler().handlePacket(bb, activeChar.getClient()); + GameClientPacket p = (GameClientPacket) GameServer.gameServer.getGamePacketHandler().handlePacket(bb, activeChar.getClient()); if (p != null) { p.setBuffers(bb, activeChar.getClient(), new NioNetStringBuffer(2000)); diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java index 652660e016..a3f00b7325 100644 --- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java +++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java @@ -272,7 +272,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.isContinuous() && !skill.isDebuff()) { totalBuffsAvailable++; @@ -360,7 +360,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.isDebuff() && (Rnd.get(3) < 1) && ((attacker != null) && attacker.isAffectedBySkill(skill.getId()))) { sitCastAndFollow(skill, attacker); @@ -380,7 +380,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.hasEffectType(EffectType.CPHEAL, EffectType.HEAL, EffectType.MANAHEAL_BY_LEVEL, EffectType.MANAHEAL_PERCENT)) { sitCastAndFollow(skill, _owner); @@ -529,7 +529,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.isContinuous() && !skill.isDebuff()) { if (i++ == rand) 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 f0b2f857a4..45bf91a663 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 @@ -581,7 +581,7 @@ public class AdminPForge implements IAdminCommandHandler // TODO: Implement me! // @formatter:off /*bb.flip(); - L2GameClientPacket p = (L2GameClientPacket) GameServer.gameServer.getL2GamePacketHandler().handlePacket(bb, activeChar.getClient()); + GameClientPacket p = (GameClientPacket) GameServer.gameServer.getGamePacketHandler().handlePacket(bb, activeChar.getClient()); if (p != null) { p.setBuffers(bb, activeChar.getClient(), new NioNetStringBuffer(2000)); diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java index 652660e016..a3f00b7325 100644 --- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java +++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java @@ -272,7 +272,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.isContinuous() && !skill.isDebuff()) { totalBuffsAvailable++; @@ -360,7 +360,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.isDebuff() && (Rnd.get(3) < 1) && ((attacker != null) && attacker.isAffectedBySkill(skill.getId()))) { sitCastAndFollow(skill, attacker); @@ -380,7 +380,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.hasEffectType(EffectType.CPHEAL, EffectType.HEAL, EffectType.MANAHEAL_BY_LEVEL, EffectType.MANAHEAL_PERCENT)) { sitCastAndFollow(skill, _owner); @@ -529,7 +529,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.isContinuous() && !skill.isDebuff()) { if (i++ == rand) 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 f0b2f857a4..45bf91a663 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 @@ -581,7 +581,7 @@ public class AdminPForge implements IAdminCommandHandler // TODO: Implement me! // @formatter:off /*bb.flip(); - L2GameClientPacket p = (L2GameClientPacket) GameServer.gameServer.getL2GamePacketHandler().handlePacket(bb, activeChar.getClient()); + GameClientPacket p = (GameClientPacket) GameServer.gameServer.getGamePacketHandler().handlePacket(bb, activeChar.getClient()); if (p != null) { p.setBuffers(bb, activeChar.getClient(), new NioNetStringBuffer(2000)); diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java index 652660e016..a3f00b7325 100644 --- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java +++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java @@ -272,7 +272,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.isContinuous() && !skill.isDebuff()) { totalBuffsAvailable++; @@ -360,7 +360,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.isDebuff() && (Rnd.get(3) < 1) && ((attacker != null) && attacker.isAffectedBySkill(skill.getId()))) { sitCastAndFollow(skill, attacker); @@ -380,7 +380,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.hasEffectType(EffectType.CPHEAL, EffectType.HEAL, EffectType.MANAHEAL_BY_LEVEL, EffectType.MANAHEAL_PERCENT)) { sitCastAndFollow(skill, _owner); @@ -529,7 +529,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.isContinuous() && !skill.isDebuff()) { if (i++ == rand) 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 f0b2f857a4..45bf91a663 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 @@ -581,7 +581,7 @@ public class AdminPForge implements IAdminCommandHandler // TODO: Implement me! // @formatter:off /*bb.flip(); - L2GameClientPacket p = (L2GameClientPacket) GameServer.gameServer.getL2GamePacketHandler().handlePacket(bb, activeChar.getClient()); + GameClientPacket p = (GameClientPacket) GameServer.gameServer.getGamePacketHandler().handlePacket(bb, activeChar.getClient()); if (p != null) { p.setBuffers(bb, activeChar.getClient(), new NioNetStringBuffer(2000)); diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java index 652660e016..a3f00b7325 100644 --- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java +++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/TamedBeastInstance.java @@ -272,7 +272,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.isContinuous() && !skill.isDebuff()) { totalBuffsAvailable++; @@ -360,7 +360,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.isDebuff() && (Rnd.get(3) < 1) && ((attacker != null) && attacker.isAffectedBySkill(skill.getId()))) { sitCastAndFollow(skill, attacker); @@ -380,7 +380,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.hasEffectType(EffectType.CPHEAL, EffectType.HEAL, EffectType.MANAHEAL_BY_LEVEL, EffectType.MANAHEAL_PERCENT)) { sitCastAndFollow(skill, _owner); @@ -529,7 +529,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.isContinuous() && !skill.isDebuff()) { if (i++ == rand)