Can now catch implings with use of a hunter potion

This commit is contained in:
Avi Weinstock
2022-03-10 02:13:18 +00:00
committed by Ryan
parent 8617da1961
commit ebc91b522b
2 changed files with 2 additions and 2 deletions
@@ -136,7 +136,7 @@ public class BNetNode {
* @return {@code} True if so. * @return {@code} True if so.
*/ */
public boolean isBareHand(Player player) { public boolean isBareHand(Player player) {
return !hasNet(player) && player.getSkills().getStaticLevel(Skills.HUNTER) >= getBareHandLevel() && player.getSkills().getStaticLevel(Skills.AGILITY) >= getAgilityLevel(); return !hasNet(player) && player.getSkills().getLevel(Skills.HUNTER) >= getBareHandLevel() && player.getSkills().getLevel(Skills.AGILITY) >= getAgilityLevel();
} }
/** /**
@@ -69,7 +69,7 @@ public final class BNetPulse extends SkillPulse<NPC> {
@Override @Override
public boolean checkRequirements() { public boolean checkRequirements() {
if (player.getHunterManager().getStaticLevel() < type.getLevel()) { if (player.getSkills().getLevel(Skills.HUNTER) < type.getLevel()) {
player.sendMessage("You need a Hunter level of at least " + type.getLevel() + " in order to do that."); player.sendMessage("You need a Hunter level of at least " + type.getLevel() + " in order to do that.");
return false; return false;
} }