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
1.2 KiB
SQL

-- xp_reward: tuned with xpprogsim -optimize-types (per-row, no global scale).
-- Constraints: -max-level 29, -enforce-tier-xp (xp_reward non-decreasing with level tier), prorated targets = 10 weeks.
-- Final sim vs prorated target: total ~-1.7%; bands 1→10 / 10→20 / 20→30 within ~4% (MC variance).
-- Regenerate: go run ./cmd/xpprogsim -optimize-types -max-level 29 -enforce-tier-xp -sql-all
UPDATE public.enemies SET xp_reward = 1 WHERE type = 'wolf';
UPDATE public.enemies SET xp_reward = 2 WHERE type = 'boar';
UPDATE public.enemies SET xp_reward = 5 WHERE type = 'zombie';
UPDATE public.enemies SET xp_reward = 7 WHERE type = 'spider';
UPDATE public.enemies SET xp_reward = 8 WHERE type = 'orc';
UPDATE public.enemies SET xp_reward = 9 WHERE type = 'skeleton_archer';
UPDATE public.enemies SET xp_reward = 10 WHERE type = 'battle_lizard';
UPDATE public.enemies SET xp_reward = 11 WHERE type = 'fire_demon';
UPDATE public.enemies SET xp_reward = 18 WHERE type = 'ice_guardian';
UPDATE public.enemies SET xp_reward = 35 WHERE type = 'skeleton_king';
UPDATE public.enemies SET xp_reward = 36 WHERE type = 'water_element';
UPDATE public.enemies SET xp_reward = 37 WHERE type = 'forest_warden';
UPDATE public.enemies SET xp_reward = 38 WHERE type = 'lightning_titan';