mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-10 10:20:41 -07:00
Fixed rats dropping bones when killed outside of the stronghold of security
This commit is contained in:
parent
9cfa635f0a
commit
6d412048c8
2 changed files with 29 additions and 4 deletions
|
|
@ -63866,5 +63866,33 @@
|
|||
"maxAmount": "42"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"default": [
|
||||
{
|
||||
"minAmount": "1",
|
||||
"weight": "1.0",
|
||||
"id": "526",
|
||||
"maxAmount": "1"
|
||||
}
|
||||
],
|
||||
"charm": [
|
||||
{
|
||||
"minAmount": "1",
|
||||
"weight": "1.0",
|
||||
"id": "0",
|
||||
"maxAmount": "1"
|
||||
}
|
||||
],
|
||||
"ids": "4396,4415",
|
||||
"description": "Rat (Stronghold)",
|
||||
"main": [
|
||||
{
|
||||
"minAmount": "1",
|
||||
"weight": "1.0",
|
||||
"id": "0",
|
||||
"maxAmount": "1"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
]
|
||||
|
|
@ -54,9 +54,6 @@ public class RatNPC extends AbstractNPC {
|
|||
if (p.getQuestRepository().getQuest("Witch's Potion").isStarted(p)) {
|
||||
GroundItemManager.create(RAT_TAIL, getLocation(), p);
|
||||
}
|
||||
if (!getName().equals("Giant rat")) {
|
||||
GroundItemManager.create(new Item(526), getLocation(), (Player) killer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue