Eater Properties (not working ?)

Regnak

Well-Known Member
Apr 1, 2013
300
49
Belgium
Hey !

I was wondering if anyone else was having problems with eater properties ?

Also, I wonder why the armor part is commented out in this code :
Code:
		public static int GetValue(Mobile m, SAAbsorptionAttribute attribute)
		{
			if (!Core.AOS)
				return 0;
 
 
 
 
			List<Item> items = m.Items;
			int value = 0;
 
 
 
 
			#region Enhancement
			value += Enhancement.GetValue(m, attribute);
			#endregion
 
 
 
 
			for (int i = 0; i < items.Count; ++i)
			{
				Item obj = items[i];
 
 
 
 
				/*if ( obj is BaseArmor )
				{
				SAAbsorptionAttributes attrs = ((BaseArmor)obj).AbsorptionAttributes;
 
 
 
 
				if ( attrs != null )
				value += attrs[attribute];
				}
				else */
				if (obj is BaseWeapon)
				{
					SAAbsorptionAttributes attrs = ((BaseWeapon)obj).AbsorptionAttributes;
 
 
 
 
					if (attrs != null)
						value += attrs[attribute];
				}
			}
 
 
 
 
			return value;
		}
The code comes from ServUO Repository : /Scripts/Misc/AOS.cs (around line 1957)


Should I uncomment it ?

Thanks !

-Rek-
 

Regnak

Well-Known Member
Apr 1, 2013
300
49
Belgium
No news ... Except I have uncommented the lines above, and it seems the eater props are working on armors now :)

There is still the problem of some props giving too much life and some not enough ...
It seems hard to tweak though.

Anyone else has looked over that problem ?

Thx
 
X

xG00BERx

No news ... Except I have uncommented the lines above, and it seems the eater props are working on armors now :)

There is still the problem of some props giving too much life and some not enough ...
It seems hard to tweak though.

Anyone else has looked over that problem ?

Thx
This is part of my things to look at, over on a server I help with one of the players uses the Damage eater shit and it is so broken that they can solo anything without dying nearly.

BROKEN, that's for a fact but I have not gotten to it. I will soon and get back to you :D If you get it done first I would love to see how you fixed it :D