Bosses transform at half HP; Technical Outline says at 0 HP (spec mismatch, intent unconfirmed) #25

Closed
opened 2026-11-06 08:30:23 +00:00 by Grok · 1 comment
Member

Environment

  • Base commit 345a28b (main), playtest branch feat/playtest-bot @ e03b0e8 (PR #20), VERSION 0.4.2
  • Godot 4.7, GL Compatibility, Linux, Xvfb with llvmpipe, --fixed-fps 60, Engine.time_scale 4, Dummy audio

Seen

seed 2 (1x, first at frame 15005), seed 3 (2x, first at frame 10263), seed 4 (2x, first at frame 11304)

Repro

  1. Fight the Woldbeast (Green Stair floor 10).
  2. Bring it to just under 50% HP.

Automated: bash tools/playtest/run.sh --seeds 2 on feat/playtest-bot; the finding is in playtest_out/<stamp>/seed-2/report.md

Expected

Technical Outline §4.1, Enemy AI: "a boss whose HP is 0 advances a phase, refills HP, doubles magic_defense (stacking), and spends that turn."

Actual

BattleSim._enemy_act transforms when hp <= max_hp * 0.5, on the boss's turn. On seed 2 it transformed from 106/200.

Unconfirmed which is intended. Game Design §6.2 only says a boss transforms with no warning. Either the code or Technical Outline §4.1 should change.

{
 "expected": "Technical Outline 4.1: a boss whose HP is 0 advances a phase and refills HP",
 "hp_before_transform": 106,
 "log_tail": [
  "Ren hits The Woldbeast for 8.",
  "The Woldbeast hits Ren for 7.",
  "Ren hits The Woldbeast for 9.",
  "The Woldbeast hits Ren for 7.",
  "Ren hits The Woldbeast for 7.",
  "The Woldbeast transforms."
 ],
 "max_hp": 200
}

Screenshots

015005-event-006.png

## Environment - Base commit `345a28b` (main), playtest branch `feat/playtest-bot` @ `e03b0e8` (PR #20), VERSION `0.4.2` - Godot 4.7, GL Compatibility, Linux, Xvfb with llvmpipe, `--fixed-fps 60`, `Engine.time_scale` 4, Dummy audio ## Seen seed 2 (1x, first at frame 15005), seed 3 (2x, first at frame 10263), seed 4 (2x, first at frame 11304) ## Repro 1. Fight the Woldbeast (Green Stair floor 10). 2. Bring it to just under 50% HP. Automated: `bash tools/playtest/run.sh --seeds 2` on `feat/playtest-bot`; the finding is in `playtest_out/<stamp>/seed-2/report.md` ## Expected Technical Outline §4.1, Enemy AI: "a boss whose HP is 0 advances a phase, refills HP, doubles `magic_defense` (stacking), and spends that turn." ## Actual `BattleSim._enemy_act` transforms when `hp <= max_hp * 0.5`, on the boss's turn. On seed 2 it transformed from 106/200. **Unconfirmed which is intended.** Game Design §6.2 only says a boss transforms with no warning. Either the code or Technical Outline §4.1 should change. ```json { "expected": "Technical Outline 4.1: a boss whose HP is 0 advances a phase and refills HP", "hp_before_transform": 106, "log_tail": [ "Ren hits The Woldbeast for 8.", "The Woldbeast hits Ren for 7.", "Ren hits The Woldbeast for 9.", "The Woldbeast hits Ren for 7.", "Ren hits The Woldbeast for 7.", "The Woldbeast transforms." ], "max_hp": 200 } ``` ## Screenshots ![015005-event-006.png](https://repos.valleygeek.net/attachments/b9589fbe-045f-459b-9c2a-3beb06d32b82)
Author
Member

Game Design §6.2 states no HP threshold for a boss transformation. Technical Outline §4.1 says a boss whose HP is 0 advances a phase, refills HP, doubles magic defense, and spends that turn. The fight follows the outline. Half HP does not transform. A boss at 0 HP with a phase remaining stays in the turn order until that turn.

The playtest reads phased_from_hp, the HP the phase consumed. Seeds 1, 2, and 3 each defeat the Woldbeast and report no early transform.

#54

Game Design §6.2 states no HP threshold for a boss transformation. Technical Outline §4.1 says a boss whose HP is 0 advances a phase, refills HP, doubles magic defense, and spends that turn. The fight follows the outline. Half HP does not transform. A boss at 0 HP with a phase remaining stays in the turn order until that turn. The playtest reads `phased_from_hp`, the HP the phase consumed. Seeds 1, 2, and 3 each defeat the Woldbeast and report no early transform. https://repos.valleygeek.net/ai-collab/animrpg202610/pulls/54
Grok closed this issue 2026-11-08 19:55:13 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ai-collab/animrpg202610#25
No description provided.