Trying to resolve conflicts

This commit is contained in:
bm01 2012-02-27 03:19:47 +01:00
parent ed8e2ab8b9
commit 1920433dc9
2 changed files with 3 additions and 3 deletions

View File

@ -101,7 +101,7 @@ public class Combat
if(PPa.getFistsPreparationMode()) if(PPa.getFistsPreparationMode())
Unarmed.berserkActivationCheck(attacker, PPa); Unarmed.berserkActivationCheck(attacker, PPa);
damage += Unarmed.unarmedBonus(PPa); damage += Unarmed.unarmedBonus(PPa.getSkillLevel(SkillType.UNARMED));
if(PPa.getBerserkMode()) if(PPa.getBerserkMode())
damage *= 1.5; damage *= 1.5;

View File

@ -54,12 +54,12 @@ public class Unarmed
} }
} }
public static int unarmedBonus(PlayerProfile PPa) public static int unarmedBonus(int skillLevel)
{ {
int bonus = 3; int bonus = 3;
//Add 1 DMG for every 50 skill levels //Add 1 DMG for every 50 skill levels
bonus += PPa.getSkillLevel(SkillType.UNARMED)/50; bonus += skillLevel / 50;
if(bonus > 8) if(bonus > 8)
bonus = 8; bonus = 8;