1. MaxTargets 现在严格生效(包含玩家候选)
  - 玩家先被加入候选后,会计入 selectedCount,达到上限后不再继续查敌人桶。
2. UseSimulationMovement/UseJobSimulation 战斗中不生效
  - 在 SimulationWorld 的 setter 中增加 Battle 状态保护:战斗中调用会被忽略并打 warning。
  - 在 ProcedureGame 暴露当前状态类型,供 SimulationWorld 判断。
3. AOE 结算不再依赖结算时刻的 Weapon.IsAttacking
  - 在 AOE query 入队时快照 source 活跃状态(武器用 IsAttacking)。
  - Query 数据结构增加 SourceWasActiveAtQueryTime。
  - 结算时使用该快照判定,并通过 AIUtility.PerformCollision(..., ignoreRuntimeState: true) 避免被实时状态误伤。
This commit is contained in:
SepComet
2026-02-23 11:48:05 +08:00
parent 688fefe848
commit 76094b711b
5 changed files with 80 additions and 9 deletions
@@ -35,6 +35,7 @@ namespace Procedure
public Player Player;
public GameStateBase CurrentGameState => _gameStates[_currentGameState];
public GameStateType CurrentGameStateType => _currentGameState;
private void InitGameState()
{
@@ -169,4 +170,4 @@ namespace Procedure
#endregion
}
}
}