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.
49 lines
1.1 KiB
C#
49 lines
1.1 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace Wizard;
|
|
|
|
public class AIFusionSituationInfo : AISituationInfo
|
|
{
|
|
public List<AIVirtualCard> Targets;
|
|
|
|
public float Priority { get; private set; }
|
|
|
|
public List<AIScriptTokenBase> Range { get; private set; }
|
|
|
|
public AIPolishConvertedExpression PriorityExpression { get; private set; }
|
|
|
|
public bool HasTargets
|
|
{
|
|
get
|
|
{
|
|
if (Targets != null)
|
|
{
|
|
return Targets.Count > 0;
|
|
}
|
|
return false;
|
|
}
|
|
}
|
|
|
|
public AIFusionSituationInfo(AIVirtualCard actor, List<AIVirtualCard> targets)
|
|
: base(actor, null, null, AIOperationType.FUSION)
|
|
{
|
|
Targets = targets;
|
|
}
|
|
|
|
public void UpdatePriority(List<int> playPtn)
|
|
{
|
|
Priority = PriorityExpression.EvalArg(base.Actor, playPtn, base.Actor.SelfField, this);
|
|
}
|
|
|
|
public bool InitializeFusionParameter(AIVirtualField field, List<int> playPtn)
|
|
{
|
|
return base.Actor.TagCollectionContainer.FusionTags.InitializeFusionSituationParameter(base.Actor, field, playPtn, this);
|
|
}
|
|
|
|
public void SetParameter(List<AIScriptTokenBase> range, AIPolishConvertedExpression priority)
|
|
{
|
|
Range = range;
|
|
PriorityExpression = priority;
|
|
}
|
|
}
|