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

@ -34,7 +34,7 @@ public class SwordsManager extends SkillManager {
int randomChance = 100;
if (Permissions.luckySwords(player)) {
randomChance = (int) (randomChance * 0.75);
randomChance = 75;
}
float chance = (float) (((double) Swords.BLEED_CHANCE_MAX / (double) Swords.BLEED_MAX_BONUS_LEVEL) * skillLevel);
@ -63,7 +63,7 @@ public class SwordsManager extends SkillManager {
int randomChance = 100;
if (Permissions.luckySwords(player)) {
randomChance = (int) (randomChance * 0.75);
randomChance = 75;
}
float chance = (float) (((double) Swords.COUNTER_ATTACK_CHANCE_MAX / (double) Swords.COUNTER_ATTACK_MAX_BONUS_LEVEL) * skillLevel);