Because this way is easier.

This commit is contained in:
GJ
2013-01-17 15:20:20 -05:00
parent c5ae4ca615
commit 857bb00c8a
12 changed files with 23 additions and 23 deletions

View File

@ -49,7 +49,7 @@ public class AxeManager extends SkillManager {
int randomChance = 100;
if (Permissions.luckyAxes(player)) {
randomChance = (int) (randomChance * 0.75);
randomChance = 75;
}
double chance = (Axes.criticalHitMaxChance / Axes.criticalHitMaxBonusLevel) * eventHandler.skillModifier;

View File

@ -64,7 +64,7 @@ public class ImpactEventHandler {
int randomChance = 100;
if (Permissions.luckyAxes(player)) {
randomChance = (int) (randomChance * 0.75);
randomChance = 75;
}
if (Misc.getRandom().nextInt(randomChance) <= Axes.greaterImpactChance) {