From 025f35ce685e1749e87f1b0716ff12f7b8d6e226 Mon Sep 17 00:00:00 2001 From: Crome696 Date: Fri, 10 Jul 2026 14:47:54 +0200 Subject: [PATCH] test: cover zero chance Soul Charge --- .../Tests/Items/Armor/SoulChargePropertyTests.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Projects/UOContent.Tests/Tests/Items/Armor/SoulChargePropertyTests.cs b/Projects/UOContent.Tests/Tests/Items/Armor/SoulChargePropertyTests.cs index 2ff7a79f2..bd5a8fb81 100644 --- a/Projects/UOContent.Tests/Tests/Items/Armor/SoulChargePropertyTests.cs +++ b/Projects/UOContent.Tests/Tests/Items/Armor/SoulChargePropertyTests.cs @@ -242,6 +242,10 @@ public class SoulChargePropertyTests { Core.Expansion = Expansion.SA; + shield.ArmorAttributes.SoulCharge = 0; + AOS.Damage(defender, source, 100, false, 100, 0, 0, 0, 0); + + shield.ArmorAttributes.SoulCharge = 50; AOS.Damage(defender, source, 0, false, 100, 0, 0, 0, 0); AOS.Damage(defender, source, 100, false, 100, 0, 0, 0, 0);