diff options
| author | historia <[not public]> | 2026-06-22 04:24:11 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-22 04:24:11 -0400 |
| commit | 5b9a75a1520a198c9c6b1f1f55e05c9f4aab5629 (patch) | |
| tree | 18f500ca3492ba206a3f66e2f01146b05a1675b2 /internal/game/cmd_attack.go | |
| parent | 7f07c7236578e1a7bcef0282ff9d7f5bf8c7c045 (diff) | |
| download | thehouseoficarus-5b9a75a1520a198c9c6b1f1f55e05c9f4aab5629.tar.gz | |
feat: map now only reveals with exploration. players can set custom map symbols.
Diffstat (limited to 'internal/game/cmd_attack.go')
| -rw-r--r-- | internal/game/cmd_attack.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/game/cmd_attack.go b/internal/game/cmd_attack.go index ce396e8..1f18d00 100644 --- a/internal/game/cmd_attack.go +++ b/internal/game/cmd_attack.go @@ -151,14 +151,14 @@ func (g *Game) startCombat(sess *net.Session, p *player.Player, mob *world.MobIn if len(styleParts) > 0 { styleStr = " Style: " + string(p.AttackStyle) + " (" + strings.Join(styleParts, ", ") + ")" } - sess.WriteLine(fmt.Sprintf("\nYou attack %s!%s", g.colorize(sess, "mob", mobDisplayName(mob, true)), styleStr)) + sess.WriteLine(fmt.Sprintf("You attack %s!%s", g.colorize(sess, "mob", mobDisplayName(mob, true)), styleStr)) } else { mod := GetMod(p.AutotriggerMod) modName := p.AutotriggerMod if mod != nil { modName = mod.Name } - sess.WriteLine(fmt.Sprintf("\nYou attack %s with %s!", + sess.WriteLine(fmt.Sprintf("You attack %s with %s!", g.colorize(sess, "mob", mobDisplayName(mob, true)), g.colorize(sess, "science_mod", modName))) } |
