예제 #1
0
		public EnhancementAttributes( string title )
		{
			Title = title;
			Attributes = new AosAttributes( null );
			WeaponAttributes = new AosWeaponAttributes( null );
			ArmorAttributes = new AosArmorAttributes( null );
			AbsorptionAttributes = new SAAbsorptionAttributes( null );
		}
예제 #2
0
 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);
 }
예제 #3
0
파일: AOS.cs 프로젝트: jasegiffin/JustUO
 public SAAbsorptionAttributes(Item owner, SAAbsorptionAttributes other)
     : base(owner, other)
 {
 }
예제 #4
0
		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;
		}