From 2bfc430f198c2fd3328a67b7461a72b2674260a9 Mon Sep 17 00:00:00 2001 From: rope Date: Mon, 9 Nov 2026 22:57:33 +0000 Subject: [PATCH] Hourglass XP: +3% per tier Co-Authored-By: Claude Opus 5.5 --- game.py | 5 ++++- tests/test_game.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/game.py b/game.py index bbae421..8871ba2 100644 --- a/game.py +++ b/game.py @@ -338,7 +338,7 @@ JEWELLERY = [ ("vigour", "amulet", "amulet of vigour", "hp", [5, 10, 16, 23, 31, 40], 2, 1, 2, 8, "heart-necklace"), ("warding", "amulet", "amulet of warding", "ward", [3, 5, 7, 10, 12, 15], 2, 1, 2, 8, "gem-pendant"), ("mending", "amulet", "amulet of mending", "regen", [10, 20, 30, 40, 50, 60], 2, 1, 2, 8, "tribal-pendant"), - ("hourglass", "trinket", "hourglass", "xp", [2, 3, 5, 6, 8, 10], 1, 2, 1, 5, "hourglass"), + ("hourglass", "trinket", "hourglass", "xp", [3, 6, 9, 12, 15, 18], 1, 2, 1, 5, "hourglass"), ("charm", "trinket", "lucky charm", "double", [2, 3, 4, 5, 6, 8], 1, 2, 1, 5, "clover"), ("loupe", "trinket", "loupe", "craft_double", [2, 3, 4, 4, 5, 6], 1, 2, 1, 5, "magnifying-glass"), ] @@ -7790,6 +7790,9 @@ ORDER_RECIPES, ORDER_RAW = _order_sources() # What changed, shown on the Patch notes page. Newest first; every shipped change adds a # line here (new / balance / fix), and a new release a new entry on top. PATCH_NOTES = [ + {"date": "2026-11-09", "title": "Jewelcrafting", "notes": [ + ("balance", "Hourglass XP: 2 / 3 / 5 / 6 / 8 / 10% → 3 / 6 / 9 / 12 / 15 / 18%."), + ]}, {"date": "2026-11-05", "title": "War council", "notes": [ ("balance", "Guard marches between towns: 20h → 10h."), ]}, diff --git a/tests/test_game.py b/tests/test_game.py index 4a82fb9..0f7b03d 100644 --- a/tests/test_game.py +++ b/tests/test_game.py @@ -2943,7 +2943,7 @@ class JewelcraftingTest(unittest.TestCase): self.assertAlmostEqual(after["interval"], round(before["interval"] * 0.93, 2)) self.assertEqual(game.max_hp(p), hp + 10) game.gain_xp(self.world, p, "mining", 100, T0) - self.assertAlmostEqual(p["xp"]["mining"], 103) + self.assertAlmostEqual(p["xp"]["mining"], 106) p["equip"]["ring"] = "garnet_fury" self.assertAlmostEqual(game.fighter(p, game.NO_BLESSING, {})["crit"], before["crit"] + 0.03) p["equip"]["ring"] = "garnet_might"