Update src/main/java/com/gmail/nossr50/skills/combat/Axes.java

test
This commit is contained in:
vanjavk 2012-12-25 19:41:36 +01:00
parent 71471d3bbc
commit e2d53c4412

View File

@ -130,7 +130,7 @@ public class Axes {
/* Every 30 Skill Levels you gain 1 durability damage */
int impactIncreaseLevel = advancedConfig.getArmorImpactIncreaseLevel();
durabilityDamage += (int) ((double) Users.getProfile(attacker).getSkillLevel(SkillType.AXES) / (double) impactIncreaseLevel);
durabilityDamage += (int) ((double) Users.getProfile(attacker).getSkillLevel(SkillType.AXES) / (double) impactIncreaseLevel) / 10;
if (!hasArmor(targetPlayer)) {
applyGreaterImpact(attacker, target, event);