aboutsummaryrefslogtreecommitdiff
path: root/internal/game/sys_energy_test.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-17 19:54:21 -0400
committerhistoria <[not public]>2026-07-17 19:54:21 -0400
commitc23c87b56fd568956d263bb8b8c5d26fbd8d01ee (patch)
tree58737f94d5417e11a7d94b2a250d28ae05a25c58 /internal/game/sys_energy_test.go
parentd553a976dd2f899e28dc8e023ee4ca2eb8951c38 (diff)
downloadthehouseoficarus-c23c87b56fd568956d263bb8b8c5d26fbd8d01ee.tar.gz
feat: add test for mob aggro
Diffstat (limited to 'internal/game/sys_energy_test.go')
-rw-r--r--internal/game/sys_energy_test.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/internal/game/sys_energy_test.go b/internal/game/sys_energy_test.go
index a1a5dab..72ae223 100644
--- a/internal/game/sys_energy_test.go
+++ b/internal/game/sys_energy_test.go
@@ -120,24 +120,6 @@ func TestMoveTicks(t *testing.T) {
}
}
-func TestGracefulCountCapeExcludesFullSet(t *testing.T) {
- // Cape of Agility shares the back slot — 5 graceful pieces + cape = 5,
- // not 6, so no full-set bonus.
- p := player.New("h")
- p.Equipment[item.SlotBack] = capeOfAgilityID
- p.Equipment[item.SlotHead] = "graceful_hat"
- p.Equipment[item.SlotTorso] = "graceful_torso"
- p.Equipment[item.SlotLegs] = "graceful_legs"
- p.Equipment[item.SlotHands] = "graceful_gloves"
- p.Equipment[item.SlotFeet] = "graceful_boots"
- if got := gracefulCount(p); got != 5 {
- t.Errorf("5 graceful + cape: count=%d want 5", got)
- }
- if hasCapeOfAgility(p) != true {
- t.Error("should detect cape of agility")
- }
-}
-
func TestEnergyRegenIdle(t *testing.T) {
g := energyTestGame()
p := player.New("idle")