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 -2
View File
@@ -94,8 +94,7 @@ daihaoRogue/
| 插件 | 位置 | 功能 |
|:---|:---|:---|
| **🎮 游戏设计器** | `addons/game_designer/` · 底部面板 | 一站式:法术 / 敌人 / 波次 / Core / 平衡 / 共鸣 / 状态 共 7 个表单页 |
| **法术编辑器** | `addons/spell_editor/` | 单独的法术 meta 字段编辑(已并入设计器) |
| **🎮 游戏设计器** | `addons/game_designer/` · 底部面板 | 一站式:法术 / 敌人 / 波次 / Core / 平衡 / 共鸣 / 状态 共 7 个表单页(法术为字段化表单) |
| **Godot MCP** | `addons/godot_mcp/` | AI 辅助开发(截图 / 输入 / 场景检查服务) |
> 修改后需 **F5 重启**生效(内容在 `_ready()` 时加载)。用法见 [`docs/handbook/07_game_designer.md`](docs/handbook/07_game_designer.md)。
+1 -1
View File
@@ -8,7 +8,7 @@ func _init() -> void:
tabs.set_anchors_and_offsets_preset(Control.PRESET_FULL_RECT)
add_child(tabs)
# 法术(复用现有法术编辑器停靠脚本
# 法术(字段化表单 tab
_add_tab(tabs, "✨ 法术", preload("res://addons/game_designer/spell_tab.gd").new())
_add_tab(tabs, "👾 敌人", preload("res://addons/game_designer/enemy_tab.gd").new())
_add_tab(tabs, "🌊 波次", preload("res://addons/game_designer/wave_tab.gd").new())
+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`**无需写代码**。
### 法术定义位置