public EnhancementAttributes( string title ) { Title = title; Attributes = new AosAttributes( null ); WeaponAttributes = new AosWeaponAttributes( null ); ArmorAttributes = new AosArmorAttributes( null ); AbsorptionAttributes = new SAAbsorptionAttributes( null ); }
public EnhancementAttributes(string title) { this.Title = title; this.Attributes = new AosAttributes(null); this.WeaponAttributes = new AosWeaponAttributes(null); this.ArmorAttributes = new AosArmorAttributes(null); this.AbsorptionAttributes = new SAAbsorptionAttributes(null); }
public SAAbsorptionAttributes(Item owner, SAAbsorptionAttributes other) : base(owner, other) { }
public static bool SupportsAttribute(this Item item, out SAAbsorptionAttributes attrs) { BaseAttributes a; if (SupportsAttributes(item, "AbsorptionAttributes", out a)) { attrs = (SAAbsorptionAttributes)a; return true; } attrs = null; return false; }