docs(spell-editor): 清理对已删除 spell_editor 目录的悬挂引用

This commit is contained in:
2026-07-21 16:15:06 +08:00
parent ed89387f2e
commit ac8a4e4392
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
> **⚠️ 实现现状 (2026-07-20 审计)**:法术定义唯一来源是 `res://data/spells.json`,由 `SpellRegistry` 启动时加载。`wand_preset.gd` **已不再定义任何法术**(文件头注:「法术已迁至 SpellRegistry」),下文 `make_frost_bolt` / `make_spell_by_id` / `get_all_spell_ids` 等工厂函数**在代码中已不存在**,请勿添加。详见审计报告 ../../docs_dev/doc_code_audit_2026-07-20.md。
> 💡 **策划优先用可视化工具**:在 [07 游戏设计器](07_game_designer.md) 的「法术」页签(或独立的 [06 法术编辑器](06_spell_editor.md)用表单新增/编辑法术,保存到 `data/spells.json`**无需写代码**。
> 💡 **策划优先用可视化工具**:在 [07 游戏设计器](07_game_designer.md) 的「法术」页签(字段化表单,用法详见 [06 法术编辑器](06_spell_editor.md))新增/编辑法术,保存到 `data/spells.json`**无需写代码**。
### 法术定义位置