mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
Merge branch 'fix-broad-bolts' into 'master'
Make broad bolts tradeable and fix their ranged strength. See merge request 2009scape/2009scape!339
This commit is contained in:
commit
b03bbf8a22
3 changed files with 9 additions and 2 deletions
|
|
@ -56,3 +56,4 @@
|
||||||
- Canoe travel interface now animates correctly
|
- Canoe travel interface now animates correctly
|
||||||
- Fix how the attack skill cape perk is calculated. It should now have a much more noticeable effect
|
- 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
|
- Properly track leaf-bladed sword drops in ::stats command
|
||||||
|
- Make broad bolts tradeable and fix their ranged strength
|
||||||
|
|
|
||||||
|
|
@ -121030,10 +121030,10 @@
|
||||||
"destroy_message": "Drop",
|
"destroy_message": "Drop",
|
||||||
"grand_exchange_price": "34",
|
"grand_exchange_price": "34",
|
||||||
"name": "Broad-tipped bolts",
|
"name": "Broad-tipped bolts",
|
||||||
"tradeable": "false",
|
"tradeable": "true",
|
||||||
"archery_ticket_price": "0",
|
"archery_ticket_price": "0",
|
||||||
"id": "13280",
|
"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",
|
"shop_price": "150",
|
||||||
|
|
|
||||||
|
|
@ -95,6 +95,12 @@ class MiscCommandSet : CommandSet(Command.Privilege.ADMIN){
|
||||||
notify(player, "Do you mean ::loc?")
|
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
|
* Empty a player's inventory
|
||||||
* ADMIN only (for obvious reasons)
|
* ADMIN only (for obvious reasons)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue