#W# Added: Armor and shields now show ACTUAL AR rating.

This commit is contained in:
WarrentyExpired 2026-10-07 13:52:22 -04:00
parent e463db2955
commit 1efa69c9f4

View file

@ -1525,6 +1525,17 @@ namespace Server.Items
// 2. --- Sovereign Realm: Custom UOR Stat Display ---
// Armor Rating
double displayAR = ArmorRatingScaled;
if (this is BaseShield && Parent as Mobile == null)
{
displayAR = (from.Skills.Parry.Value * ArmorRating / 200.0) + 1.0;
}
if (displayAR > 0)
{
LabelTo(from, $"Armor Rating: {(int)Math.Round(displayAR, MidpointRounding.AwayFromZero)}");
}
// Show Strength Requirement
int strReq = ComputeStatReq(StatType.Str);
if (strReq > 0)