Removal of assorted prefix remnants.

This commit is contained in:
MobiusDevelopment
2020-06-10 01:05:32 +00:00
parent cb7fafa8bb
commit 4c3faebdf0
44 changed files with 104 additions and 104 deletions

View File

@@ -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));

View File

@@ -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)

View File

@@ -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)