You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
669 B
SQL

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

-- XP curve: early nonlinear cadence (~100 / ~150 / ~225 XP for L13 with 1 XP per kill),
-- mid/late continuity. Loot: slightly higher gold/equipment roll generosity.
-- Enemy xp_reward: normal 1, elite 3 (per-level XP ramps from instance level 10+ in code).
UPDATE public.runtime_config
SET payload = payload || jsonb_build_object(
'xpCurveEarlyBase', 100,
'xpCurveEarlyScale', 1.5,
'xpCurveMidBase', 2947,
'xpCurveMidScale', 1.15,
'xpCurveLateBase', 48232,
'xpCurveLateScale', 1.10,
'goldLootScale', 0.62,
'equipmentDropBase', 0.2,
'goldDropChance', 0.92,
'potionDropChance', 0.06
),
updated_at = now()
WHERE id = true;