Changed Iron Grip slightly. Tweaked Inspect to prevent same bug with {0}

showing up in front of power level.
This commit is contained in:
GJ
2012-04-19 09:32:14 -04:00
parent e3267f2e0c
commit 4f1ee03fe8
3 changed files with 3 additions and 3 deletions

View File

@ -88,7 +88,7 @@ public class Unarmed {
int skillLevel = PPd.getSkillLevel(SkillType.UNARMED);
int skillCheck = m.skillCheck(skillLevel, MAX_BONUS_LEVEL);
if (random.nextInt(3000) <= skillCheck) {
if (random.nextInt(1000) <= skillCheck) {
defender.sendMessage(ChatColor.GREEN + "Your iron grip kept you from being disarmed!"); //TODO: Use locale
attacker.sendMessage(ChatColor.RED + "Your opponent has an iron grip!"); //TODO: Use locale
return true;