aboutsummaryrefslogtreecommitdiff
path: root/internal/game/render_map.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-01 22:30:31 -0400
committerhistoria <[not public]>2026-07-01 22:30:31 -0400
commitc14c2e403c75a913e1a6d962fb6fe64f013adae5 (patch)
tree75070293fe2535b594ac72e501cbf08a3f1146e0 /internal/game/render_map.go
parent8eec7b75ff9c8c368b252373db45fb891732d2ca (diff)
downloadthehouseoficarus-c14c2e403c75a913e1a6d962fb6fe64f013adae5.tar.gz
fix: combat formulas and mob attack types (mobs switch attack styles if safespotting)
Diffstat (limited to 'internal/game/render_map.go')
-rw-r--r--internal/game/render_map.go19
1 files changed, 9 insertions, 10 deletions
diff --git a/internal/game/render_map.go b/internal/game/render_map.go
index b4b8c93..179277a 100644
--- a/internal/game/render_map.go
+++ b/internal/game/render_map.go
@@ -10,15 +10,15 @@ import (
)
type mapGlyphs struct {
- topLeft, topRight rune
- bottomLeft, bottomRight rune
- side rune
- topFill rune
- connectorH, connectorV rune
- upArrow, downArrow rune
- leftArrow, rightArrow rune
- upRight, upLeft rune
- downRight, downLeft rune
+ topLeft, topRight rune
+ bottomLeft, bottomRight rune
+ side rune
+ topFill rune
+ connectorH, connectorV rune
+ upArrow, downArrow rune
+ leftArrow, rightArrow rune
+ upRight, upLeft rune
+ downRight, downLeft rune
connectorNE, connectorNW rune
}
@@ -203,7 +203,6 @@ func buildTinyMap(g *Game, sess *net.Session, roomID int, mg mapGlyphs) []string
}
}
-
cur, _ := loadRoom(g, roomID)
if cur != nil {
_, hasUp := exitTarget(cur, world.Up)