Files
SVSimServer/SVSim.BattleEngine/Engine/Wizard/AIShieldInfo.cs
gamer147 824309ec44 feat(battle-engine): close the AI-simulation subsystem (verbatim)
Copied the 89 uncopied AI*SimulationUtility/extension files defining the
AIVirtualCard/AIVirtualField extension methods; the compile loop then auto-closed
the revealed type deps (~3049 files total, drift-clean). 10.0k -> 62 errors.
2026-06-05 20:30:59 -04:00

36 lines
752 B
C#

using System.Collections.Generic;
namespace Wizard;
public class AIShieldInfo : AIBarrierInfoBase
{
public override AIBarrierType BarrierType => AIBarrierType.Shield;
public AIShieldInfo(AIDamageType damageType, AIBarrierStopTiming stopTiming)
: base(0, damageType, stopTiming)
{
UpdateHash();
}
public AIShieldInfo(AIDamageType damageType, List<AIBarrierStopTiming> stopTimingList)
: base(0, damageType, stopTimingList)
{
UpdateHash();
}
public override bool IsShield()
{
return true;
}
public override AIBarrierInfoBase Clone()
{
return new AIShieldInfo(base.DamageType, base.StopTimingList);
}
protected override int CalcDamage(AIVirtualCard owner, int damage)
{
return 0;
}
}