Make broad bolts tradeable and fix their ranged strength.

This commit is contained in:
Avi Weinstock 2021-11-21 15:10:44 -05:00
parent 8773a11fa2
commit 13d54e7ae8
3 changed files with 9 additions and 2 deletions

View file

@ -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

View file

@ -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",

View file

@ -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)