Put our managers on payroll, rather than firing them at the end of

their shift.
This commit is contained in:
GJ
2013-02-25 16:54:29 -05:00
parent 4c10fdf34a
commit 21b8626366
11 changed files with 65 additions and 80 deletions

View File

@ -79,7 +79,7 @@ public class TamingManager extends SkillManager {
public void gore(EntityDamageEvent event) {
GoreEventHandler eventHandler = new GoreEventHandler(this, event);
float chance = (float) ((Taming.goreMaxChance / Taming.goreMaxBonusLevel) * skillLevel);
float chance = (float) ((Taming.goreMaxChance / Taming.goreMaxBonusLevel) * getSkillLevel());
if (chance > Taming.goreMaxChance) chance = (float) Taming.goreMaxChance;
if (chance > Misc.getRandom().nextInt(activationChance)) {