mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-24 14:16:45 +01:00
Trying to resolve conflicts
This commit is contained in:
parent
ed8e2ab8b9
commit
1920433dc9
@ -101,7 +101,7 @@ public class Combat
|
||||
if(PPa.getFistsPreparationMode())
|
||||
Unarmed.berserkActivationCheck(attacker, PPa);
|
||||
|
||||
damage += Unarmed.unarmedBonus(PPa);
|
||||
damage += Unarmed.unarmedBonus(PPa.getSkillLevel(SkillType.UNARMED));
|
||||
|
||||
if(PPa.getBerserkMode())
|
||||
damage *= 1.5;
|
||||
|
@ -54,12 +54,12 @@ public class Unarmed
|
||||
}
|
||||
}
|
||||
|
||||
public static int unarmedBonus(PlayerProfile PPa)
|
||||
public static int unarmedBonus(int skillLevel)
|
||||
{
|
||||
int bonus = 3;
|
||||
|
||||
//Add 1 DMG for every 50 skill levels
|
||||
bonus += PPa.getSkillLevel(SkillType.UNARMED)/50;
|
||||
bonus += skillLevel / 50;
|
||||
|
||||
if(bonus > 8)
|
||||
bonus = 8;
|
||||
|
Loading…
Reference in New Issue
Block a user