Fixed an error where Greater Impact was confused with Armor Impact

This commit is contained in:
TfT_02
2012-12-02 22:54:03 +01:00
parent 7f16339bd9
commit de93b11c25
3 changed files with 4 additions and 3 deletions

View File

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