Skip to content

Simplify monster damage and show the current target in the HUD - #33

Merged
CodeMonkey80s merged 1 commit into
mainfrom
feature/monster-damage-hud
Nov 7, 2026
Merged

CodeMonkey80s merged 1 commit into
mainfrom
feature/monster-damage-hud

Conversation

@CodeMonkey80s

Copy link
Copy Markdown
Owner

Summary

  • give every monster prototype an explicit damage dice pool such as 1d6+1 or 2d10+2
  • roll monster damage only from that dice pool; clamp all results to at least 1
  • remove body armour from monsters and stop armour from reducing monster damage or defence
  • keep monster HP as the only defensive resource
  • track the current combat target
  • show the target glyph, name, damage dice and HP in the one-line HUD
  • add tests for damage dice, minimum damage, no monster armour, target tracking and HUD output

Verification

  • gofmt -w .
  • go test -count=1 ./...
  • go test -count=1 -race ./...
  • go vet ./...
  • go build ./...

@CodeMonkey80s
CodeMonkey80s merged commit 3287ef8 into main Nov 7, 2026
1 check passed
@CodeMonkey80s
CodeMonkey80s deleted the feature/monster-damage-hud branch November 7, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant