diff --git a/CHANGELOG b/CHANGELOG index 12df6628e..a23e47a44 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -56,3 +56,4 @@ - Canoe travel interface now animates correctly - Fix how the attack skill cape perk is calculated. It should now have a much more noticeable effect - Properly track leaf-bladed sword drops in ::stats command +- Make broad bolts tradeable and fix their ranged strength diff --git a/Server/data/configs/item_configs.json b/Server/data/configs/item_configs.json index aa0c6e770..559e30ae3 100644 --- a/Server/data/configs/item_configs.json +++ b/Server/data/configs/item_configs.json @@ -121030,10 +121030,10 @@ "destroy_message": "Drop", "grand_exchange_price": "34", "name": "Broad-tipped bolts", - "tradeable": "false", + "tradeable": "true", "archery_ticket_price": "0", "id": "13280", - "bonuses": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,135" + "bonuses": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,100" }, { "shop_price": "150", diff --git a/Server/src/main/kotlin/rs09/game/system/command/sets/MiscCommandSet.kt b/Server/src/main/kotlin/rs09/game/system/command/sets/MiscCommandSet.kt index be203daf3..65ff7d150 100644 --- a/Server/src/main/kotlin/rs09/game/system/command/sets/MiscCommandSet.kt +++ b/Server/src/main/kotlin/rs09/game/system/command/sets/MiscCommandSet.kt @@ -95,6 +95,12 @@ class MiscCommandSet : CommandSet(Command.Privilege.ADMIN){ notify(player, "Do you mean ::loc?") } + define("calcmaxhit", Command.Privilege.STANDARD) { player, _ -> + val swingHandler = player.getSwingHandler(false) + val hit = swingHandler.calculateHit(player, player, 1.0) + notify(player, "max hit (${(swingHandler as Object).getClass().getName()}): ${hit}") + } + /** * Empty a player's inventory * ADMIN only (for obvious reasons)