diff --git a/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/Elementals.java b/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/Elementals.java index 8d9219dbde..26d0a972c6 100644 --- a/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/Elementals.java +++ b/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/Elementals.java @@ -234,13 +234,13 @@ public final class Elementals return (byte) (((element % 2) == 0) ? (element + 1) : (element - 1)); } - public static class ElementalStatBoni + public static class ElementalStatBonus { private byte _elementalType; private int _elementalValue; private boolean _active; - public ElementalStatBoni(byte type, int value) + public ElementalStatBonus(byte type, int value) { _elementalType = type; _elementalValue = value; @@ -317,7 +317,7 @@ public final class Elementals } // non static: - private ElementalStatBoni _boni = null; + private ElementalStatBonus _bonus = null; private byte _element = NONE; private int _value = 0; @@ -329,7 +329,7 @@ public final class Elementals public void setElement(byte type) { _element = type; - _boni.setElement(type); + _bonus.setElement(type); } public int getValue() @@ -340,7 +340,7 @@ public final class Elementals public void setValue(int val) { _value = val; - _boni.setValue(val); + _bonus.setValue(val); } @Override @@ -353,22 +353,22 @@ public final class Elementals { _element = type; _value = value; - _boni = new ElementalStatBoni(_element, _value); + _bonus = new ElementalStatBonus(_element, _value); } public void applyBonus(L2PcInstance player, boolean isArmor) { - _boni.applyBonus(player, isArmor); + _bonus.applyBonus(player, isArmor); } public void removeBonus(L2PcInstance player) { - _boni.removeBonus(player); + _bonus.removeBonus(player); } public void updateBonus(L2PcInstance player, boolean isArmor) { - _boni.removeBonus(player); - _boni.applyBonus(player, isArmor); + _bonus.removeBonus(player); + _bonus.applyBonus(player, isArmor); } } diff --git a/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/ItemInfo.java b/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/ItemInfo.java index 07f6472f1e..83704167d2 100644 --- a/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/ItemInfo.java +++ b/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/ItemInfo.java @@ -161,7 +161,7 @@ public class ItemInfo // Get the enchant level of the L2ItemInstance _enchant = item.getEnchant(); - // Get the augmentation boni + // Get the augmentation bonus _augmentation = 0; // Get the quantity of the L2ItemInstance diff --git a/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/L2Augmentation.java b/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/L2Augmentation.java index 27d9959496..099a1f6ae5 100644 --- a/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/L2Augmentation.java +++ b/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/L2Augmentation.java @@ -32,21 +32,21 @@ import com.l2jmobius.gameserver.model.options.Options; public final class L2Augmentation { private int _effectsId = 0; - private AugmentationStatBoni _boni = null; + private AugmentationStatBonus _bonus = null; public L2Augmentation(int effects) { _effectsId = effects; - _boni = new AugmentationStatBoni(_effectsId); + _bonus = new AugmentationStatBonus(_effectsId); } - public static class AugmentationStatBoni + public static class AugmentationStatBonus { - private static final Logger LOGGER = Logger.getLogger(AugmentationStatBoni.class.getName()); + private static final Logger LOGGER = Logger.getLogger(AugmentationStatBonus.class.getName()); private final List _options = new ArrayList<>(); private boolean _active; - public AugmentationStatBoni(int augmentationId) + public AugmentationStatBonus(int augmentationId) { _active = false; final int[] stats = new int[2]; @@ -120,7 +120,7 @@ public final class L2Augmentation */ public void applyBonus(L2PcInstance player) { - _boni.applyBonus(player); + _bonus.applyBonus(player); } /** @@ -129,6 +129,6 @@ public final class L2Augmentation */ public void removeBonus(L2PcInstance player) { - _boni.removeBonus(player); + _bonus.removeBonus(player); } }