fix(wizard): 移除 E001 残留的 Alert 能力定义
Alert/警觉张口在 locomotion 重构后已改为纯移动模式(LocomotionMode.Face),
不再是能力(ABL_E001_Alert SO 已删);起手张口并入 ContactChaseAbility 的 Skill_Start。
向导 GetEnemyAbilityDefs 里 E001 仍列 ("Alert","e001_alert") 是残留,
会导致重跑向导时又造一个无用 SO。E001 现只保留 Chase 能力。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -583,8 +583,8 @@ namespace BaseGames.Editor
|
||||
/// <summary>返回指定敌人类型的 (abilityFileName, abilityId, soType) 定义列表。</summary>
|
||||
private static (string ablName, string ablId, System.Type soType)[] GetEnemyAbilityDefs(string enemyId) => enemyId switch
|
||||
{
|
||||
"E001" => new[] { ("Alert", "e001_alert", typeof(EnemyAbilitySO)),
|
||||
("Chase", "e001_chase", typeof(ContactChaseAbilitySO)) },
|
||||
// Alert/警觉张口已是纯 locomotion 模式(LocomotionMode.Face),非能力;起手张口并入 ContactChaseAbility 的 Skill_Start。
|
||||
"E001" => new[] { ("Chase", "e001_chase", typeof(ContactChaseAbilitySO)) },
|
||||
"E002" => new[] { ("CeilingStrike", "e002_ceiling_strike", typeof(CeilingHangStrikeAbilitySO)) },
|
||||
"E003" => new[] { ("Fall", "e003_fall", typeof(AnimatedCeilingDropAbilitySO)) },
|
||||
"E004" => new[] { ("Appear", "e004_appear", typeof(AppearAbilitySO)),
|
||||
|
||||
Reference in New Issue
Block a user