fix: Fixes EVs/BSs attacking players in Pre-AOS (#2132)

This commit is contained in:
Kamron Batman 2025-02-26 18:43:49 -08:00 • committed by GitHub
parent b8a8bfd1a9
commit bcab91255a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 22 additions and 20 deletions

View file

@ -387,6 +387,12 @@ namespace Server.Misc
return Notoriety.Invulnerable;
}
// Moved above AccessLevel check so staff summons are red
if (bcTarg?.AlwaysMurderer == true)
{
return Notoriety.Murderer;
}
var pmFrom = source as PlayerMobile;
var pmTarg = target as PlayerMobile;
@ -434,7 +440,7 @@ namespace Server.Misc
if (target.Kills >= 5 ||
target.Body.IsMonster && IsSummoned(bcTarg) && target is not BaseFamiliar && target is not ArcaneFey &&
target is not Golem || bcTarg?.AlwaysMurderer == true || bcTarg?.IsAnimatedDead == true)
target is not Golem || bcTarg?.IsAnimatedDead == true)
{
return Notoriety.Murderer;
}