public static string BasicDisplay(WeaponData weapon)
 {
     return(string.Format("Name: '{1}'{0}Base Price: '{2} gp'{0}Weight: '{3} pound(s)'{0}Damage: '{4} [{5}-20/{6}]' {7}{0}Range Increment: '{8} feet'{0}Hardness: '{9}'{0}Hit Points: '{10}'{0}{11}",
                          Environment.NewLine,
                          weapon.WeaponName,
                          weapon.BasePrice,
                          weapon.WeaponWeight,
                          weapon.WeaponDamage,
                          weapon.WeaponThreatRange,
                          weapon.WeaponCritical,
                          weapon.WeaponDamageType,
                          weapon.RangeIncrement,
                          weapon.WeaponHardness,
                          weapon.WeaponHitPoints,
                          weapon.WeaponText));
 }
 public static string BasicDisplay(WeaponData weapon)
 {
     return string.Format("Name: '{1}'{0}Base Price: '{2} gp'{0}Weight: '{3} pound(s)'{0}Damage: '{4} [{5}-20/{6}]' {7}{0}Range Increment: '{8} feet'{0}Hardness: '{9}'{0}Hit Points: '{10}'{0}{11}",
         Environment.NewLine,
         weapon.WeaponName,
         weapon.BasePrice,
         weapon.WeaponWeight,
         weapon.WeaponDamage,
         weapon.WeaponThreatRange,
         weapon.WeaponCritical,
         weapon.WeaponDamageType,
         weapon.RangeIncrement,
         weapon.WeaponHardness,
         weapon.WeaponHitPoints,
         weapon.WeaponText);
 }
Beispiel #3
0
        private void WeaponInformation(WeaponData data)
        {
            Name = data.WeaponName;
            Cost = data.BasePrice;
            Weight = data.WeaponWeight;
            Description = data.WeaponText;

            Damage = data.WeaponDamage;
            ThreatRange = data.WeaponThreatRange;
            Critical = data.WeaponCritical;
            Range = data.RangeIncrement;
            DamageType = data.WeaponDamageType;
            Proficiency = data.WeaponProficiencyRequirement;
            Category = data.WeaponCategory;
            Hardness = data.WeaponHardness;
            HitPoints = data.WeaponHitPoints;
            Part = data.WeaponPart;
            ToHit = "+0";
        }
Beispiel #4
0
 public WeaponOrder(WeaponData weaponData)
 {
     WeaponInformation(weaponData);
 }