Hourglass XP: +3% per tier

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-11-09 22:57:33 +00:00
parent c92cca400f
commit 2bfc430f19
2 changed files with 5 additions and 2 deletions

View file

@ -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."),
]},

View file

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