Addition to make weapon attributes work with Elven Glasses.

This commit is contained in:
athena 2011-11-20 19:34:05 +00:00
parent 44a4693fda
commit 1d2a2d7783

View file

@ -500,6 +500,14 @@ namespace Server
if( attrs != null ) if( attrs != null )
value += attrs[attribute]; value += attrs[attribute];
} }
else if ( obj is ElvenGlasses )
{
AosWeaponAttributes attrs = ((ElvenGlasses)obj).WeaponAttributes;
if( attrs != null )
value += attrs[attribute];
}
} }
return value; return value;