Files
SVSimServer/SVSim.BattleEngine/Engine/Wizard.Battle.Recovery/BattleConditionEnemyInfo.cs
gamer147 0d9d8acae0 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.
2026-06-05 16:57:20 -04:00

34 lines
1020 B
C#

using LitJson;
using Wizard.AutoTest;
namespace Wizard.Battle.Recovery;
public class BattleConditionEnemyInfo : BattleConditionPlayerInfo
{
public int? AIDifficulty { get; private set; }
public int? AILevel { get; private set; }
public int? AIDeckId { get; private set; }
public int? AIMaxLife { get; private set; }
public int? AIStyleId { get; private set; }
public int? AIEmoteId { get; private set; }
public bool? AIUseInnerEmote { get; private set; }
public BattleConditionEnemyInfo(JsonData jsonData, bool useDefaultInPlayCardValue)
: base(jsonData, useDefaultInPlayCardValue)
{
AIDifficulty = jsonData.ToIntOrNull("ai_difficulty");
AILevel = jsonData.ToIntOrNull("ai_logic_level");
AIDeckId = jsonData.ToIntOrNull("ai_deck_id");
AIMaxLife = jsonData.ToIntOrNull("ai_max_life");
AIStyleId = jsonData.ToIntOrNull("ai_style_id");
AIEmoteId = jsonData.ToIntOrNull("ai_emote_id");
AIUseInnerEmote = jsonData.ToBooleanOrNull("ai_use_inner_emote");
}
}