Because otherwise you can't fish at low levels.

This commit is contained in:
GJ 2013-04-10 19:32:26 -04:00
parent 14630fe956
commit 26542f3d6e

View File

@ -92,7 +92,9 @@ public class FishingManager extends SkillManager {
} }
public void masterAngler(Fish hook) { public void masterAngler(Fish hook) {
hook.setBiteChance(Math.min(hook.getBiteChance() * (getSkillLevel() / 10.0), 1.0)); System.out.println("BEFORE: " + hook.getBiteChance());
hook.setBiteChance(Math.min(hook.getBiteChance() * Math.max((getSkillLevel() / 10.0), 1.0), 1.0));
System.out.println("AFTER: " + hook.getBiteChance());
} }
/** /**