Farming Skill, Orb Charging, Battle Staff Creation, etc (#377)

- Farming Skill Added
- Orb charging implemented
- Battle staff creation implemented
- Cleaned up some code
- Stuck command will now tele you from further out in wildy if you are not in combat
- Fixed an issue with amulet of glory
- Added forcechats for npcs at Gnome Agility Course, and for Cows, Ducks and Sheeps just like in actual osrs
- Added base for God Book preaching
This commit is contained in:
Mr Extremez
2020-02-19 07:46:00 -06:00
committed by GitHub
parent 9b220ec47c
commit ef6968b283
71 changed files with 12165 additions and 541 deletions
@@ -169,7 +169,7 @@ public int itemAmount(String name, int itemId, int itemX, int itemY) {
}
}
}
if (!com.rebotted.game.items.Item.itemStackable[itemId] && itemAmount > 0) {
if (!com.rebotted.game.items.ItemData.itemStackable[itemId] && itemAmount > 0) {
for (int j = 0; j < itemAmount; j++) {
c.getPacketSender().createGroundItem(itemId, itemX, itemY, 1);
GroundItem item = new GroundItem(itemId, itemX, itemY, c.getH(), 1, c.playerId, HIDE_TICKS, PlayerHandler.players[playerId].playerName);