feat(battle-engine): M1 auto-copy closure (782 battle-logic files)
Compile-driven bulk-copy loop (tools/engine-port/m1_copy_loop.py) pulled the precise reference closure of the battle-core roots, stopping at the classify god-object/View-VFX-UI boundary. 782 files; no re-explosion (M0 had estimated ~order 1000). Residual frontier = 52 shim-classified + 80 external (Unity/BCL) types to author next.
This commit is contained in:
26
SVSim.BattleEngine/Engine/Wizard/AIAccelerateInformation.cs
Normal file
26
SVSim.BattleEngine/Engine/Wizard/AIAccelerateInformation.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Wizard;
|
||||
|
||||
public class AIAccelerateInformation
|
||||
{
|
||||
public int Cost;
|
||||
|
||||
public int CardId;
|
||||
|
||||
public AIConditionExpressions Condition { get; private set; }
|
||||
|
||||
public void SetCondition(AIConditionExpressions cond)
|
||||
{
|
||||
Condition = cond;
|
||||
}
|
||||
|
||||
public bool CheckCondition(AIVirtualCard owner, AIVirtualField field, List<int> playPtn, AISituationInfo situation)
|
||||
{
|
||||
if (Condition == null || Condition.IsEmpty)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return Condition.CheckCondition(owner, playPtn, field, situation);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user