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.
This commit is contained in:
22
SVSim.BattleEngine/Engine/SetDamageInfo.cs
Normal file
22
SVSim.BattleEngine/Engine/SetDamageInfo.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public class SetDamageInfo : DamageModifier
|
||||
{
|
||||
public int SetDamage { get; private set; }
|
||||
|
||||
public SetDamageInfo(int setDamage, string damageType, CardBasePrm.ClanType damageClan, bool isUseClass, int order)
|
||||
{
|
||||
SetDamage = setDamage;
|
||||
base.DamageType = new List<string>();
|
||||
base.DamageType.AddRange(damageType.Split(new string[1] { "_and_" }, StringSplitOptions.None));
|
||||
base.DamageClan = new List<CardBasePrm.ClanType> { damageClan };
|
||||
base.IsUseClass = isUseClass;
|
||||
base.OrderCount = order;
|
||||
}
|
||||
|
||||
public override int Calc(int damage)
|
||||
{
|
||||
return SetDamage;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user