public ClanBossBattle(ClanBoss.Level level, List <ChampionInBattle> championsInBattle) { ClanBossInBattle clanBoss = new ClanBossInBattle(ClanBoss.Get(level)); this.initialState = new CBBState(new List <ChampionInBattle>(championsInBattle), clanBoss); this.GetStunTarget = FindSlowBoi; }
private ClanBossInBattle(ClanBossInBattle other) { this.clanBoss = other.clanBoss; this.TurnCount = other.TurnCount; this.TurnMeter = other.TurnMeter; this.TurnMeterIncreaseOnClockTick = other.TurnMeterIncreaseOnClockTick; this.ActiveBuffs = new Dictionary <Constants.Buff, int>(other.ActiveBuffs); this.ActiveDebuffs = new Dictionary <Constants.Debuff, int>(other.ActiveDebuffs); this.skills = other.skills; }
public CBBState(List <ChampionInBattle> champions, ClanBossInBattle clanBoss) { this.BattleParticipants = new List <IBattleParticipant>(); foreach (ChampionInBattle cib in champions) { this.BattleParticipants.Add(cib); } this.BattleParticipants.Add(clanBoss); this.Results = new List <ClanBossBattleResult>(); }