From c0fdfd4c091c87eb10c3a8571e08e7979c483976 Mon Sep 17 00:00:00 2001 From: Procyonae <45432782+Procyonae@users.noreply.github.com> Date: Sun, 16 Jun 2024 15:14:45 +0100 Subject: [PATCH] Fix a couple of GAME_BALANCE references --- doc/JSON_INFO.md | 2 +- tests/item_test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/JSON_INFO.md b/doc/JSON_INFO.md index 8bf297bd3d9c5..d54670781f5e1 100644 --- a/doc/JSON_INFO.md +++ b/doc/JSON_INFO.md @@ -3413,7 +3413,7 @@ Weakpoints only match if they share the same id, so it's important to define the "bash": 0, "cut": 0 }, -"to_hit" { // (Optional) To hit bonus values, omit if item isn't suited to be used as a melee weapon, see [GAME_BALANCE.md](GAME_BALANCE.md#to-hit-value) Value for individual value breakdowns. +"to_hit" { // (Optional) To hit bonus values, omit if item isn't suited to be used as a melee weapon, see [GAME_BALANCE.md](GAME_BALANCE.md#to-hit-value) for individual value breakdowns. "grip": "solid", // the item's grip value "length": "long", // the item's length value "surface": "point", // the item's striking surface value diff --git a/tests/item_test.cpp b/tests/item_test.cpp index 23d1058d059b0..a59b3047f38eb 100644 --- a/tests/item_test.cpp +++ b/tests/item_test.cpp @@ -743,7 +743,7 @@ TEST_CASE( "item_new_to_hit_enforcement", "[item]" ) } if( msg_enforce != "" ) { msg_enforce += - "The item(s) above use legacy to_hit, please change them to the newer object method (see /docs/GAME_BALANCE.md#To-Hit Value) or remove the to_hit field if the item(s) aren't intended to be used as weapons."; + "The item(s) above use legacy to_hit, please change them to the newer object method (see /docs/GAME_BALANCE.md#to-hit-value) or remove the to_hit field if the item(s) aren't intended to be used as weapons."; } if( msg_prune != "" ) { msg_prune +=