Addition to make weapon attributes work with Elven Glasses.
This commit is contained in:
parent
44a4693fda
commit
1d2a2d7783
1 changed files with 8 additions and 0 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue