예제 #1
0
        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;
        }
예제 #2
0
 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;
 }
예제 #3
0
            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>();
            }