mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
Fixed granite lobster foraging
This commit is contained in:
parent
38a580a431
commit
782a70a582
1 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ public class GraniteLobsterNPC extends Forager {
|
||||||
/**
|
/**
|
||||||
* The fish.
|
* The fish.
|
||||||
*/
|
*/
|
||||||
private static final Item[] FISH = new Item[] { new Item(383), new Item(377) };
|
private static final Item[] FISH = new Item[] { new Item(383), new Item(371) };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a new {@code GraniteLobsterNPC} {@code Object}.
|
* Constructs a new {@code GraniteLobsterNPC} {@code Object}.
|
||||||
|
|
@ -61,7 +61,7 @@ public class GraniteLobsterNPC extends Forager {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void handlePassiveAction() {
|
public void handlePassiveAction() {
|
||||||
if (RandomFunction.random(4) == 1) {
|
if (RandomFunction.random(40) == 1) {
|
||||||
final Item item = FISH[RandomFunction.random(FISH.length)];
|
final Item item = FISH[RandomFunction.random(FISH.length)];
|
||||||
animate(Animation.create(8107));
|
animate(Animation.create(8107));
|
||||||
Fish fish = Fish.forItem(item);
|
Fish fish = Fish.forItem(item);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue