aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_attack.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/cmd_attack.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/cmd_attack.go')
-rw-r--r--internal/game/cmd_attack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/cmd_attack.go b/internal/game/cmd_attack.go
index d60bb05..16e7587 100644
--- a/internal/game/cmd_attack.go
+++ b/internal/game/cmd_attack.go
@@ -43,7 +43,7 @@ func (g *Game) respawnMob(instanceID string) {
return
}
homeRoom := inst.HomeRoomID
- inst.RoomID = homeRoom
+ g.MobStore.SetInstanceRoom(instanceID, homeRoom)
inst.HP = inst.MaxHP
g.MobStore.RollIdleDescription(inst)