fix(content): E001 能力/prefab 对齐设计——技能无CD、伪装期不伤人

ABL_E001_Chase/Alert cooldown 1.5→0(设计:E001无主动技能CD,再入感知立即追击);
ENM_CaoZhi prefab 与脚手架 PlaceE001 的 BodyContactDamage 初始禁用(伪装期不伤人,
追击期由 e001_chase 能力开启)。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-03 16:52:03 +08:00
co-authored by Claude Opus 4.8
parent 4ce798ea6e
commit 150fadb72e
4 changed files with 4 additions and 9 deletions
@@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
abilityId: e001_alert abilityId: e001_alert
attackSequence: [] attackSequence: []
cooldown: 1.5 cooldown: 0
telegraphVfxKey: telegraphVfxKey:
telegraphDuration: 0 telegraphDuration: 0
interruptOnHurt: 1 interruptOnHurt: 1
@@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
abilityId: e001_chase abilityId: e001_chase
attackSequence: [] attackSequence: []
cooldown: 1.5 cooldown: 0
telegraphVfxKey: telegraphVfxKey:
telegraphDuration: 0 telegraphDuration: 0
interruptOnHurt: 1 interruptOnHurt: 1
@@ -295,16 +295,10 @@ MonoBehaviour:
_patrolZone: {fileID: 0} _patrolZone: {fileID: 0}
_onEnemyDied: {fileID: 11400000, guid: def849e2c5ec8204eae6b083b02307aa, type: 2} _onEnemyDied: {fileID: 11400000, guid: def849e2c5ec8204eae6b083b02307aa, type: 2}
_onPlayerSpawned: {fileID: 11400000, guid: 7e2c7e614f6627b449a244ab44443adf, type: 2} _onPlayerSpawned: {fileID: 11400000, guid: 7e2c7e614f6627b449a244ab44443adf, type: 2}
_btIdleTickInterval: 0.3
_btPatrolTickInterval: 0.15
_btAlertTickInterval: 0.08
_btChaseTickInterval: 0.05
_btCombatTickInterval: 0
_dbg_CurrentState: 0 _dbg_CurrentState: 0
_dbg_AiPhase: 0 _dbg_AiPhase: 0
_dbg_HasPlayer: 0 _dbg_HasPlayer: 0
_dbg_LastKnownPos: {x: 0, y: 0} _dbg_LastKnownPos: {x: 0, y: 0}
_dbg_BtTickInterval: 0
_autoPlayPhaseAnimation: 1 _autoPlayPhaseAnimation: 1
--- !u!114 &3227522604157326171 --- !u!114 &3227522604157326171
MonoBehaviour: MonoBehaviour:
@@ -673,7 +667,7 @@ MonoBehaviour:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6788684755218838016} m_GameObject: {fileID: 6788684755218838016}
m_Enabled: 1 m_Enabled: 0
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6def12af0589a9545b80eb5accf61bb6, type: 3} m_Script: {fileID: 11500000, guid: 6def12af0589a9545b80eb5accf61bb6, type: 3}
m_Name: m_Name:
@@ -482,6 +482,7 @@ namespace BaseGames.Editor
contactCol.radius = 0.4f; contactCol.radius = 0.4f;
HitBox contactHitBox = GetOrAddComponent<HitBox>(contactT.gameObject); HitBox contactHitBox = GetOrAddComponent<HitBox>(contactT.gameObject);
BodyContactDamage bodyContact = GetOrAddComponent<BodyContactDamage>(contactT.gameObject); BodyContactDamage bodyContact = GetOrAddComponent<BodyContactDamage>(contactT.gameObject);
bodyContact.enabled = false; // 伪装/待机期不伤人;由 e001_chase 能力在追击期开启
Transform abilitiesT = GetOrCreateChild(go.transform, "Abilities"); Transform abilitiesT = GetOrCreateChild(go.transform, "Abilities");
Transform alertT = GetOrCreateChild(abilitiesT, "PlayClipAbility_Alert"); Transform alertT = GetOrCreateChild(abilitiesT, "PlayClipAbility_Alert");