mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-12-01 10:21:40 +00:00
The client (LWODestroyableComponent::LoadConfigData) uses a level object's set_faction only when override_faction is absent or true; with override_faction=0 LoadDataFromTemplate puts the DestructibleComponent factionList back. 2948 level objects have override_faction=0, and DLU applied their set_faction anyway. The resolution is now DestroyableComponent::GetLevelFactions, with tests. No wire change. In game: enemies and smashables placed in levels with a set_faction but override_faction=0 (most smashables, many enemies) are targeted and aggro as before for the common case; check a few enemies in AG/GF/FV still fight you and friendly objects are not attacked, and that smashables still smash and give credit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
42 KiB
42 KiB