mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 03:04:44 +02:00
Reworked Unarmed to be easier to level
This commit is contained in:
@ -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)
|
||||
|
@ -135,7 +135,6 @@ public class WoodCutting
|
||||
player.getItemInHand().setDurability(durability);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
private static boolean treeFellerCompatible(Block block)
|
||||
{
|
||||
|
Reference in New Issue
Block a user