Esempio n. 1
0
 public WeaponItem(WeaponOrder weapon)
 {
     name        = weapon.Name;
     cost        = weapon.Cost;
     weight      = weapon.Weight;
     description = weapon.Description;
     damage      = weapon.Damage;
     threatRange = weapon.ThreatRange;
     critical    = weapon.Critical;
     range       = weapon.Range;
     damageType  = weapon.DamageType;
     proficiency = weapon.Proficiency;
     category    = weapon.Category;
     hardness    = weapon.Hardness;
     hitPoints   = weapon.HitPoints;
 }
Esempio n. 2
0
 public WeaponItem(WeaponOrder weapon)
 {
     name = weapon.Name;
     cost = weapon.Cost;
     weight = weapon.Weight;
     description = weapon.Description;
     damage = weapon.Damage;
     threatRange = weapon.ThreatRange;
     critical = weapon.Critical;
     range = weapon.Range;
     damageType = weapon.DamageType;
     proficiency = weapon.Proficiency;
     category = weapon.Category;
     hardness = weapon.Hardness;
     hitPoints = weapon.HitPoints;
 }
Esempio n. 3
0
 /*
 * Proofs of Concept
 */
 public static MasterworkWeaponItem OrderBlah(WeaponOrder weapon, string materialComponent)
 {
     var component = new MaterialComponentOrder(MaterialComponentDictionary.GetComponentData(materialComponent));
     return new MasterworkWeaponItem(weapon, component);
 }
Esempio n. 4
0
        /*
         * Proofs of Concept
         */

        public static MasterworkWeaponItem OrderBlah(WeaponOrder weapon, string materialComponent)
        {
            var component = new MaterialComponentOrder(MaterialComponentDictionary.GetComponentData(materialComponent));

            return(new MasterworkWeaponItem(weapon, component));
        }
Esempio n. 5
0
		public MasterworkWeaponItem(WeaponOrder weapon, MaterialComponentOrder component)
		{
			weaponOrder = weapon;
			materialComponent = component;
			AlternateAssignmentPath();
		}