Can now catch implings with use of a hunter potion
This commit is contained in:
@@ -136,7 +136,7 @@ public class BNetNode {
|
||||
* @return {@code} True if so.
|
||||
*/
|
||||
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
|
||||
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.");
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user