mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-31 08:57:13 +00:00
refactor: power-up statistics come from the power-up's pickup skill
TrackLOTCollection hardcoded the 15 life/armor/imagination power-up LOTs. A power-up (Objects.type "Powerup") now counts towards the statistic of what its pickup skill restores: a Heal, RepairArmor or Imagination behavior in the skill's behavior tree. Gives the same result for the 15 LOTs; "HoT Powerup" (8208, heal over time) now also counts as a life power-up. Refs #691 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -10,6 +10,7 @@ set(DGAMETEST_SOURCES
|
||||
"KnockbackTests.cpp"
|
||||
"CollisionFilterTests.cpp"
|
||||
"ItemSetPassiveAbilityTests.cpp"
|
||||
"PowerUpStatisticTests.cpp"
|
||||
)
|
||||
|
||||
add_subdirectory(dComponentsTests)
|
||||
|
||||
Reference in New Issue
Block a user