Enemies drop loot twice or keep hurting me after they are already dead
Double rewards and damage from the dead come from the same slip: something is told about a death twice, or acts after it. This helper reads a list of what happened to each character and points out the hits that came too late and the deaths that happened twice.
Why this works
Each character is either alive or dead, and only a respawn moves it back. Walking the event list in time order with that one rule exposes both bugs, without needing to find the code that causes them.
When not to use it
If an effect such as poison is meant to finish after death, give it its own event name so that it is not reported as a ghost hit.
In the full entry
- What to build, step by step
- Starting values and the reason for each
- 4 common mistakes and the fix
- 31 lines of example code with 3 checks that pass
- How your AI shows you that it works
Say this to your AI
Use the Spielerando entry "Enemies drop loot twice or keep hurting me after they are already dead" (read_entry work-act-hits-land-after-the-enemy-died) in my game. Build it step by step, and show me how you checked that it works.Or skip this and connect the MCP: your AI then finds all of this by itself.Connect the MCP