refactor(enemy): 敌人专属子类改为零代码配置型行为组件
This commit is contained in:
@@ -99,7 +99,7 @@ Selector
|
||||
├── Sequence [追击]: BD_IsSensorDetecting("aggro") → BD_ChasePlayer
|
||||
└── BD_Patrol
|
||||
```
|
||||
> 预置于天花板的 E003 由场景战斗触发器调用 `E003_YouZhi.ActivateFromCeiling()`;由 E005 死亡生成的走 `OnSpawn()`,均自动触发 `e003_fall`。
|
||||
> 预置于天花板的 E003 由场景战斗触发器调用 `EnemyAbilityTrigger.Trigger()`;由 E005 死亡生成的(对象池路径)经 `_executeOnSpawn` 在出生时自动触发,均执行 `e003_fall` 能力。
|
||||
|
||||
### E004 蛭母(出场→战斗循环:Flip/撕咬/头槌/酸液/靠近)
|
||||
```
|
||||
@@ -120,7 +120,7 @@ Selector
|
||||
### E005 肥蛭(近撕咬+后摇脆弱 / 远酸液 / 追击;死亡生成 E003)
|
||||
```
|
||||
Selector
|
||||
├── Sequence [死亡]: BD_IsStateMatch(Dead) → BD_StopMovement // 死亡生成 E003 由 E005_FeiZhi.SpawnProjectile(AnimationEvent) 处理,不走 BT
|
||||
├── Sequence [死亡]: BD_IsStateMatch(Dead) → BD_StopMovement // 死亡生成 E003 由 EnemySpawnerOnEvent(SpawnProjectile 动画事件路由)处理,不走 BT
|
||||
├── Sequence [撕咬]: BD_CanUseAbility("e005_bite", CheckRange) → BD_UseAbility("e005_bite")
|
||||
├── Sequence [酸液]: BD_CanUseAbility("e005_acid") → BD_UseAbility("e005_acid")
|
||||
└── BD_ChasePlayer
|
||||
|
||||
Reference in New Issue
Block a user