Example #1
0
 public Melee1(Player.Faction faction, string assetName = "", string id = "") : base(assetName, id)
 {
     this.faction = faction;
     if (this.faction == Player.Faction.nature)
     {
         Damage        = 25;
         maxHealth     = 175;
         health        = maxHealth;
         resourceCosts = new Point(100, 25);
     }
     else
     {
         Damage        = 30;
         maxHealth     = 150;
         health        = maxHealth;
         resourceCosts = new Point(100, 50);
     }
 }
Example #2
0
 public Melee2(Player.Faction faction, string assetName = "", string id = "") : base(assetName, id)
 {
     this.faction = faction;
     this.speed   = 150;
     if (this.faction == Player.Faction.nature)
     {
         Damage             = 30;
         this.unBuffedSpeed = speed;
         this.buffedSpeed   = speed + 100;
         maxHealth          = 225;
         health             = maxHealth;
         this.resourceCosts = new Point(150, 150);
     }
     else
     {
         Damage             = 40;
         maxHealth          = 150;
         health             = maxHealth;
         this.resourceCosts = new Point(150, 100);
     }
 }
Example #3
0
 public Unicorn(Player.Faction faction, string assetName = "", string id = "") : base(assetName, id)
 {
     this.faction = faction;
     if (this.faction == Player.Faction.nature)
     {
         this.Speed         = 250f;
         Damage             = 40;
         maxHealth          = 300;
         health             = maxHealth;
         slowTimer          = new Timer(2f);
         stunTime           = 0.5f;
         this.resourceCosts = new Point(100, 50);
     }
     else
     {
         this.Speed         = 250f;
         Damage             = 50;
         maxHealth          = 240;
         health             = maxHealth;
         slowTimer          = new Timer(2f);
         stunTime           = 0.5f;
         this.resourceCosts = new Point(100, 50);
     }
 }