New stuff 4 (#319)

* Added some sound, refactored fletching and arrowmaking a bit... I've maybe fixed the issue with fletching.. idk

Added some sound, refactored fletching and arrowmaking a bit... I've maybe fixed the issue with fletching.. idk

* Commented clipping server side check so we can work on it

Commented and brought back the old code so gates works while we work in the clipping check server side.

* Added Canifis bank to the bank boolean

* Fixed the drops problem

* Added cannonball making, fixed some typos, added some command for admin to get 999k hp and prayer points(usefull for debugging)

New feature:
- Cannonball making
New Commands:
- ::hp
- ::pray

* Update DwarfCannon.java
This commit is contained in:
Gptaqbc
2019-12-23 22:38:24 -05:00
committed by Daniel Ginovker
parent b1b06e9cb9
commit 10070843e6
8 changed files with 78 additions and 15 deletions
@@ -544,6 +544,7 @@ public class Commands implements PacketType {
player.getDialogueHandler().sendDialogues(dialogueID, npcType);
break;
case "interface":
case "int":
if (arguments.length == 0) {
player.getPacketSender().sendMessage("You must specify an id: ::interface id");
return;
@@ -641,6 +642,14 @@ public class Commands implements PacketType {
case "spec":
player.specAmount = 100.0;
break;
case "hp":
player.getPacketSender().sendMessage("You attributed yourself 999 999 hitpoints.");
player.playerLevel[3] = 999999;
break;
case "pray":
player.getPacketSender().sendMessage("You attributed yourself 999 999 prayer points.");
player.playerLevel[5] = 999999;
break;
case "setlevel":
case "level":
case "skill":
@@ -1,5 +1,6 @@
package com.rebotted.net.packets.impl;
import com.rebotted.game.content.combat.range.DwarfCannon;
import com.rebotted.game.content.skills.cooking.Cooking;
import com.rebotted.game.content.skills.cooking.CookingTutorialIsland;
import com.rebotted.game.content.skills.crafting.JewelryMaking;
@@ -108,6 +109,9 @@ public class ItemOnObject implements PacketType {
/*} else if (itemId == SilverCrafting.SILVER_BAR) {
Menus.sendSkillMenu(c, "silverCrafting");*/
}
if (itemId == 2353 || itemId == 4) {
DwarfCannon.makeBall(player);
}
break;
case 2452: