Spielerando

Complete the "defeat the boss" quest only when the last phase really ends

A boss that changes form dies several times on screen. The quest pays out after the first fall, or after a scripted fake death, and the real fight goes on with the reward already spent. Here is how to tell a true ending from a costume change.

Why this works

A fight that changes shape ends many times before it ends for good. Treating only the last form as the finish, and waiting a moment to see whether it is brought back, pays the reward when the player truly won, not when the boss merely changed.

When not to use it

Skip it for a boss with one form and no revive, where an ordinary defeat check is enough. Also avoid the waiting moment if the reward must come with the final blow in a way that cannot be undone.

In the full entry

  • What to build, step by step
  • Starting values and the reason for each
  • 2 common mistakes and the fix
  • A diagram of every state
  • 22 lines of example code with 5 checks that pass
  • How your AI shows you that it works

Say this to your AI

Use the Spielerando entry "Complete the "defeat the boss" quest only when the last phase really ends" (read_entry boss-quest-completes-on-final-phase-only) 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