diff --git a/src/engine/objects/AbstractCharacter.java b/src/engine/objects/AbstractCharacter.java index 3b69f13e..a3d1fc1f 100644 --- a/src/engine/objects/AbstractCharacter.java +++ b/src/engine/objects/AbstractCharacter.java @@ -740,8 +740,9 @@ public abstract class AbstractCharacter extends AbstractWorldObject { // mastDam = CharacterSkill.getQuickMastery(this, wb.getMastery()); else mastDam = masteryPercentage; - min = (int)wb.item_weapon_damage.values().toArray()[0]; - max = (int)wb.item_weapon_damage.values().toArray()[1]; + int[] damages = (int[])wb.item_weapon_damage.values().toArray()[0]; + min = damages[0]; + max = damages[1]; strBased = wb.item_primary_attr.equals(AttributeType.Strength); //