cthangover 68976523f0 Status effects expire on their data duration; loot rolls never throw
A status effect added without an explicit duration started with no remaining
turns and the countdown skipped it, so it never expired. OnTurnEnd counted
down a second time, expired unlimited effects after one turn and removed
expired stacks by id; it is now a pure hook. The victory screen rolls loot
through LootEntry.Roll, so a loot table with MinCount > MaxCount no longer
throws half-way through the battle end, and its success-path diagnostics are
no longer logged as errors. Mod unit tests for the status effect lifetime.
2026-10-21 10:23:15 +02:00
2026-10-16 16:18:24 +00:00
2026-10-16 16:18:24 +00:00
S
Description
No description provided
796 KiB
0 Stars 1 Watchers 0 Forks
2026-10-23 07:08:28 +00:00
Languages
C# 100%