From 6f3d21d6e7f01155ce0c461857a053b43d329392 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sat, 27 Jun 2026 02:29:55 -0400 Subject: feat: recall/home cmd, line break option --- internal/game/combat_attack.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'internal/game/combat_attack.go') diff --git a/internal/game/combat_attack.go b/internal/game/combat_attack.go index 36a496b..bae210b 100644 --- a/internal/game/combat_attack.go +++ b/internal/game/combat_attack.go @@ -7,6 +7,7 @@ import ( "strconv" "strings" + "thehouseoficarus/internal/behavior" "thehouseoficarus/internal/color" "thehouseoficarus/internal/combat" "thehouseoficarus/internal/engine" @@ -198,6 +199,10 @@ func (g *Game) startCombat(sess *net.Session, p *player.Player, mob *world.MobIn return false } + if p.Action != nil && p.Action.Type == behavior.TypeTriggerModule { + return true + } + p.AttackTimer++ if float64(p.AttackTimer) >= g.playerWeaponSpeed(p) { p.AttackTimer = 0 -- cgit v1.2.3