Reworked Unarmed to be easier to level

This commit is contained in:
nossr50
2012-02-23 05:38:50 -08:00
parent 09c5b8727a
commit 2aa7e37e13
14 changed files with 55 additions and 53 deletions

View File

@ -66,10 +66,13 @@ public class Unarmed {
{
PlayerProfile PPa = Users.getProfile(attacker);
int bonus = 0;
if (PPa.getSkillLevel(SkillType.UNARMED) >= 250)
bonus+=2;
if (PPa.getSkillLevel(SkillType.UNARMED) >= 500)
bonus+=4;
//Add 1 DMG for every 50 skill levels
bonus = PPa.getSkillLevel(SkillType.UNARMED)/50;
if(bonus > 6)
bonus = 6;
event.setDamage(event.getDamage()+bonus);
}
public static void disarmProcCheck(Player attacker, Player defender)

View File

@ -135,7 +135,6 @@ public class WoodCutting
player.getItemInHand().setDurability(durability);
}
}
}
private static boolean treeFellerCompatible(Block block)
{