Simplify tiered talent editing

This commit is contained in:
JB
2026-07-24 23:08:22 -04:00
parent e605e4c0ee
commit 8ecdfaa319
7 changed files with 178 additions and 59 deletions
+6 -1
View File
@@ -22,7 +22,7 @@ CREATE TABLE IF NOT EXISTS stat_attributes (
type TEXT NOT NULL CHECK(type IN ('Offensive', 'Defensive')),
category TEXT NOT NULL CHECK(category IN ('Weapon', 'Skill', 'Character')),
calculation_type TEXT NOT NULL CHECK(calculation_type IN ('Additive', 'Multiplicative')),
unit TEXT NOT NULL DEFAULT 'flat',
unit TEXT NOT NULL DEFAULT '',
gear_min REAL,
gear_max REAL,
weapon_min REAL,
@@ -91,6 +91,11 @@ CREATE TABLE IF NOT EXISTS talent_tier_effects (
created_at TEXT NOT NULL,
UNIQUE(talent_tier_id, stat_attribute_id)
);
CREATE TABLE IF NOT EXISTS talent_description_templates (
talent_id TEXT PRIMARY KEY REFERENCES talents(id) ON DELETE CASCADE,
template TEXT NOT NULL,
updated_at TEXT NOT NULL
);
CREATE TABLE IF NOT EXISTS brand_sets (
id TEXT PRIMARY KEY,
name TEXT NOT NULL,