Esempio n. 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;
        }
Esempio n. 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;
 }
Esempio n. 3
0
 public ClanBossInBattle(ClanBoss clanBoss)
 {
     this.clanBoss  = clanBoss;
     this.TurnCount = 0;
     this.TurnMeter = 0;
     this.TurnMeterIncreaseOnClockTick = Constants.TurnMeter.DeltaPerTurn(this.clanBoss.Speed);
     this.ActiveBuffs   = new Dictionary <Constants.Buff, int>();
     this.ActiveDebuffs = new Dictionary <Constants.Debuff, int>();
     this.skills        = new Skill[3];
     this.skills[0]     = clanBoss.Skills.Where(s => s.Id == Constants.SkillId.A1).First();
     this.skills[1]     = clanBoss.Skills.Where(s => s.Id == Constants.SkillId.A2).First();
     this.skills[2]     = clanBoss.Skills.Where(s => s.Id == Constants.SkillId.A3).First();
 }