ModernUO/Projects/UOContent.Tests
Kamron Batman 92ed9c5456
fix: player corpse notoriety ignores the owner's body at death (#2669)
CorpseNotoriety returned Murderer for a player corpse whenever the corpse body was a monster
body. RunUO's check was `body.IsMonster && IsSummoned(owner)`, which is never true for a player;
the second half was lost when the branch was simplified (#134). Players who died while
polymorphed or in a necromancer form left a corpse with the wrong notoriety.

Player corpses also check murderer and criminal status before guild standing again, matching
RunUO and MobileNotoriety.

Tests: UOContent.Tests 1162 passed (4 new CorpseNotorietyTests).
2026-09-23 19:43:37 -07:00
..
Fixtures refactor(spawners): subclass-owned entries, lifecycle hooks, per-entry Disabled flag (#2621) 2026-09-11 17:41:08 -07:00
Tests fix: player corpse notoriety ignores the owner's body at death (#2669) 2026-09-23 19:43:37 -07:00
UOContent.Tests.csproj test: fix order-dependent enumerator test failures; bump MailKit and Test.Sdk (#2664) 2026-09-22 18:53:06 -07:00