Ejemplo n.º 1
0
 public Skill(string name, Constants.SkillId id, int cooldown, TurnAction turnAction)
 {
     this.Name       = name;
     this.Id         = id;
     this.Cooldown   = cooldown;
     this.TurnAction = turnAction;
 }
Ejemplo n.º 2
0
 private ClanBoss(int speed)
 {
     this.Speed  = speed;
     this.Skills = new List <Skill>()
     {
         new Skill("Crushing Force", Constants.SkillId.A1, 0, TurnAction.AttackAllEnemies()),
         new Skill("Flesh Wither", Constants.SkillId.A2, 3, TurnAction.AttackAllEnemies()),
         new Skill("Dark Nova", Constants.SkillId.A3, 3, new TurnAction(1, Constants.Target.OneEnemy, null, null, new List <DebuffToApply>()
         {
             new DebuffToApply(Constants.Debuff.Stun, 1, Constants.Target.OneEnemy)
         }))
     };
 }