horsegen: add sp cost to skills

This commit is contained in:
2026-01-10 11:56:07 -05:00
parent 05688a08e2
commit 107a85b384
5 changed files with 431 additions and 423 deletions

View File

@@ -61,9 +61,11 @@ SELECT
d.float_ability_value_2_3 / 1e4 AS float_ability_value_2_3,
d.target_type_2_3,
d.target_value_2_3,
IFNULL(p.need_skill_point, 0) AS sp_cost,
d.icon_id,
ROW_NUMBER() OVER (ORDER BY d.id) - 1 AS "index"
FROM skill_data d
JOIN skill_names n ON d.id = n.id
JOIN skill_groups g ON d.group_id = g.group_id
LEFT JOIN single_mode_skill_need_point p ON d.id = p.id
ORDER BY d.id