Exemplo 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;
 }
Exemplo 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;
 }
Exemplo 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);
 }
Exemplo 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));
        }
Exemplo n.º 5
0
		public MasterworkWeaponItem(WeaponOrder weapon, MaterialComponentOrder component)
		{
			weaponOrder = weapon;
			materialComponent = component;
			AlternateAssignmentPath();
		}