diff --git a/src/engine/objects/AbstractCharacter.java b/src/engine/objects/AbstractCharacter.java index 360e2f4a..3b69f13e 100644 --- a/src/engine/objects/AbstractCharacter.java +++ b/src/engine/objects/AbstractCharacter.java @@ -687,7 +687,7 @@ public abstract class AbstractCharacter extends AbstractWorldObject { } float skillPercentage, masteryPercentage; float mastDam; - float min, max; + int min, max; float speed = 20f; boolean strBased = false; @@ -740,8 +740,8 @@ public abstract class AbstractCharacter extends AbstractWorldObject { // mastDam = CharacterSkill.getQuickMastery(this, wb.getMastery()); else mastDam = masteryPercentage; - min = (float) wb.item_weapon_damage.values().toArray()[0]; - max = (float) wb.item_weapon_damage.values().toArray()[1]; + min = (int)wb.item_weapon_damage.values().toArray()[0]; + max = (int)wb.item_weapon_damage.values().toArray()[1]; strBased = wb.item_primary_attr.equals(AttributeType.Strength); //