From 5ea082ab4e82409aebc889b496f43e52b003d4f7 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Fri, 19 Jun 2026 21:20:32 -0400 Subject: feat: science combat/triggers overhauled. decks now use autotrigger attacks. --- internal/game/cmd_autotrigger.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'internal/game/cmd_autotrigger.go') diff --git a/internal/game/cmd_autotrigger.go b/internal/game/cmd_autotrigger.go index e2ecd1a..acfa76e 100644 --- a/internal/game/cmd_autotrigger.go +++ b/internal/game/cmd_autotrigger.go @@ -27,13 +27,14 @@ func (g *Game) doAutotrigger(sess *net.Session, input string) { return } - if strings.ToLower(input) == "off" { + lower := strings.ToLower(input) + if lower == "off" || lower == "none" { p.AutotriggerMod = "" sess.WriteLine("Autotrigger disabled.") return } - mod := FindMod(strings.ToLower(input)) + mod := FindModForPlayer(lower, p.Level(player.Science)) if mod == nil { sess.WriteLine("Unknown mod.") return -- cgit v1.2.3