Example #1
0
 public Sword(string name, DamageModified levelOfRarity)
     : base(name, levelOfRarity)
 {
     this.MinDamage = 4 * (int)levelOfRarity;
     this.MaxDamage = 6 * (int)levelOfRarity;
     this.Sockets   = new Gem[3];
 }
Example #2
0
 public Axe(string name, DamageModified levelOfRarity)
     : base(name, levelOfRarity)
 {
     this.MinDamage = 5 * (int)levelOfRarity;
     this.MaxDamage = 10 * (int)levelOfRarity;
     this.Sockets   = new Gem[4];
 }
Example #3
0
 public Knife(string name, DamageModified levelOfRarity)
     : base(name, levelOfRarity)
 {
     this.MinDamage = 3 * (int)levelOfRarity;
     this.MaxDamage = 4 * (int)levelOfRarity;
     this.Sockets   = new Gem[2];
 }
Example #4
0
 public Weapon(string name, DamageModified levelOfRarity)
 {
     this.Name          = name;
     this.LevelOfRarity = levelOfRarity;
     this.strength      = 0;
     this.agility       = 0;
     this.vitality      = 0;
 }