ModernUO/Projects/UOContent/Mobiles/Monsters
Kamron Batman 37970a4811
fix(ai): meer mages and their enraged creatures no longer fight each other (#2673)
## Summary

A meer mage fights `FightMode.Evil` and its enraged creatures carry -1000 karma, so `BaseCreature.IsEnemy` made each an enemy of the other:
- The meer acquired its own enraged creatures as ordinary targets.
- An enraged creature fell back to attacking its meer when nothing else was in range. It isn't `Summoned`, so it reached the meer through `AcquireNewFocusMob`'s summon-master fallback.

`BaseEnraged` and `MeerMage` now override `IsEnemy` to exclude each other. Another meer's creatures stay enemies.

`BaseEnraged` also pulled its meer into fights against any creature with a `SummonMaster`, which included another meer's enraged creatures. It now checks `GetMaster()`, matching the "controlled/summoned" OSI note in that method.

## Test plan

- [x] `MeerAndItsEnragedCreature_AreNotEnemies`: fails before the fix
- [x] `AnotherMeersEnragedCreature_StaysAnEnemy`
- [x] `MeerAndItsEnragedCreature_NeverAcquireEachOther`: fails before the fix (the meer acquired its own creature)
- [x] UOContent.Tests (1171 passed, 2 skipped) and Server.Tests (907) green
2026-09-24 21:42:40 -07:00
..
Ants fix: Updates messages with clilocs (#1381) 2023-03-26 00:54:09 -07:00
AOS feat: Adds new decay system and SkipSerialization (#2311) 2026-01-08 11:43:51 -08:00
Arachnid fix: Changes on Monsters to use code generation (#1304) 2022-12-17 19:40:04 -08:00
Elemental feat: Adds Endless Decanter of Water and Water Elemental acquisition (#2371) 2026-03-14 16:45:06 -07:00
Humanoid feat: Adds Spectral Spellbinder for Old Haven (#2453) 2026-07-02 19:40:11 -07:00
LBR fix(ai): meer mages and their enraged creatures no longer fight each other (#2673) 2026-09-24 21:42:40 -07:00
Mammal/Melee feat: Adds new decay system and SkipSerialization (#2311) 2026-01-08 11:43:51 -08:00
Misc fix(ai): restore pre-AOS berserk energy vortexes and blade spirits (#2666) 2026-09-23 10:29:20 -07:00
ML feat: Adds SpecialAttack monster ability trigger. Fixes fanning fire. (#2186) 2025-05-15 22:14:52 -07:00
Ore Elementals chore: Fixes variable types for possible performance issues (#2172) 2025-05-01 21:54:41 -07:00
Plant fix: Changes Map.Sector.Mobiles to link list & Fixes various related crash bugs (#1553) 2023-10-29 22:42:46 -07:00
Reptile fix: pets freeze, forget their orders, obey the wrong players, and fight when told not to (#2614) 2026-09-10 19:28:13 -07:00
SE feat: Adds leather/metal food, fixes weapons/armors with wrong materials (#1718) 2024-04-04 19:43:02 -07:00
Summons feat: Standardizes South/East selection gumps (#1839) 2025-02-14 00:15:14 -08:00