Exemple #1
0
        public Flail()
        {
            Name = "Flail";
			Dice = new Dice(10);
            Range = 1;
            Enchanment = 0;
            WeaponType = WeaponTypeEnum.Flail;
        }
 public EnchantedLongSword()
 {
     Name = "Long Sword of Mighty Swing";
     Dice = new Dice(8);
     Enchanment = 1;
     WeaponType = WeaponTypeEnum.HeavyBlade;
     DamageType = "Force";
 }
Exemple #3
0
        public Rapier()
        {
            Name = "Rapier";
			Dice = new Dice(8);
            Range = 1;
            Enchanment = 0;
            DamageType = "Stab";
            WeaponType = WeaponTypeEnum.LightBlade;
        }
Exemple #4
0
        public ShortBow()
        {
            Name = "ShortBow";
			Dice = new Dice(8);
            Range = 30;
            Enchanment = 0;
            DamageType = "Stab";
            WeaponType = WeaponTypeEnum.Bow;
        }
Exemple #5
0
        public Scythe()
        {
            Name = "Scythe";
			Dice = new Dice(4,2);
            Range = 1;
            Enchanment = 0;
            DamageType = "Slash";
            WeaponType = WeaponTypeEnum.HeavyBlade;
        }
Exemple #6
0
        public Handaxe()
        {
            Name = "Handaxe";
			Dice = new Dice(6);
            Range = 1;
            Enchanment = 0;
            DamageType = "Slash";
            WeaponType = WeaponTypeEnum.Axe;
        }
Exemple #7
0
 public LongSword()
 {
     Name = "Longsword";
     Dice = new Dice(8);
     Range = 1;
     Enchanment = 0;
     DamageType = "Slash";
     WeaponType = WeaponTypeEnum.HeavyBlade;
 }
Exemple #8
0
        public Club()
        {
            Name = "Club";
			Dice = new Dice(6);
            Range = 1;
            Enchanment = 0;
            DamageType = "Blunt";
            WeaponType = WeaponTypeEnum.Mace;
        }
Exemple #9
0
        public QwarterStaff()
        {
            Name = "QwarterStaff";
			Dice = new Dice(8);
            Range = 1;
            Enchanment = 0;
            DamageType = "Blunt";
            WeaponType = WeaponTypeEnum.Spear;
        }
Exemple #10
0
        public Scimitar()
        {
            Name = "Scimitar";
			Dice = new Dice(8);
            Range = 1;
            Enchanment = 0;
            DamageType = "Slash";
            WeaponType = WeaponTypeEnum.LightBlade;
        }
Exemple #11
0
        public BattleAxe()
        {
            Name = "BattleAxe";
			Dice = new Dice(10);
            Range = 1;
            Enchanment = 0;
            DamageType = "Slash";
            WeaponType = WeaponTypeEnum.Axe;
        }
Exemple #12
0
 public Mace()
 {
     Name = "Mace";
     Dice = new Dice(8);
     Enchanment = 0;
     Range = 1;
     CanOneHanded = true;
     DamageType = "Blunt";
     WeaponType = WeaponTypeEnum.Mace;
 }
Exemple #13
0
 public GreatSword()
 {
     Name = "GreatSword";
     Dice = new Dice(6,2);
     Enchanment = 0;
     Range = 1;
     CanOneHanded = false;
     DamageType = "Slash";
     WeaponType = WeaponTypeEnum.HeavyBlade;
 }
Exemple #14
0
 public MorningStar()
 {
     Name = "MorningStar";
     Dice = new Dice(10);
     Enchanment = 0;
     Range = 1;
     CanOneHanded = true;
     DamageType = "Blunt";
     WeaponType = WeaponTypeEnum.Flail;
 }
Exemple #15
0
 public Spear()
 {
     Name = "Spear";
     Dice = new Dice(8);
     Enchanment = 0;
     Range = 2;
     CanOneHanded = true;
     DamageType = "Stab";
     WeaponType = WeaponTypeEnum.Spear;
 }
Exemple #16
0
 public Dagger()
 {
     Name = "Dagger";
     Dice = new Dice(4);
     Enchanment = 0;
     Range = 1;
     CanOneHanded = true;
     DamageType = "Stab";
     WeaponType = WeaponTypeEnum.LightBlade;
 }
Exemple #17
0
 public void DieRollDistribution()
 {
     const int numberOfTestRolls = 100000;
     var results = new int[8];
     var d10 = new Dice(8);
     for (var i = 0; i < numberOfTestRolls; i++)
     {
         results[d10.Roll() - 1]++;
     }
     var counter = 1;
     foreach (var result in results)
     {
         Console.WriteLine($"{counter++}: {result}");
     }
     Assert.That(results.Max() - results.Min(), Is.LessThan(numberOfTestRolls*0.02));
 }
Exemple #18
0
 public Gnoll()
 {
     Name = "BeepBoop";
     Size = Size.Medium;
     Basespeed = new BaseSpeed(30);
     Ac = 15;
     TotalHp = new Dice(8, 2).Roll(2);
     CurrentHp = TotalHp;
     FortSave = 4;
     ReflexSave = 0;
     WillSave = 0;
     Equipment.Weapons.Add(new Spear());
     Equipment.Armor.Add(new LeatherArmor());
     Equipment.Shield = new WoodenShield();
     Attributes = new Attributes(15, 10, 13, 8, 11, 8);
     AttackBonus = 1;
 }