mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 02:04:44 +02:00
That was too OP. Disarm is 1.5x the rate of 1.2.12 now.
This commit is contained in:
@ -26,7 +26,7 @@ public class UnarmedCommand implements CommandExecutor {
|
||||
float skillvalue = (float) PP.getSkillLevel(SkillType.UNARMED);
|
||||
|
||||
if (PP.getSkillLevel(SkillType.UNARMED) < 1000)
|
||||
percentage = String.valueOf((skillvalue / 2000) * 100);
|
||||
percentage = String.valueOf((skillvalue / 3000) * 100);
|
||||
else
|
||||
percentage = "25";
|
||||
|
||||
|
@ -46,7 +46,7 @@ public class Unarmed {
|
||||
{
|
||||
if(skillLevel >= 1000)
|
||||
{
|
||||
if(Math.random() * 2000 <= 1000)
|
||||
if(Math.random() * 3000 <= 1000)
|
||||
{
|
||||
ItemStack item = defender.getItemInHand();
|
||||
if(item != null)
|
||||
@ -59,7 +59,7 @@ public class Unarmed {
|
||||
}
|
||||
else
|
||||
{
|
||||
if(Math.random() * 2000 <= skillLevel)
|
||||
if(Math.random() * 3000 <= skillLevel)
|
||||
{
|
||||
ItemStack item = defender.getItemInHand();
|
||||
if(item != null)
|
||||
|
Reference in New Issue
Block a user