aboutsummaryrefslogtreecommitdiff
path: root/go/game
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2025-08-07 18:52:37 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2025-08-20 15:57:35 +0200
commit716a737cc6e971fb47692fc528470f58d8b50e40 (patch)
treed8df76d1df02bec89ad98b87cebd7a9adef9ae31 /go/game
parent45091216aa817e38a9ca38f3b7716ee7c3a43014 (diff)
downloadmuhqs-game-716a737cc6e971fb47692fc528470f58d8b50e40.tar.gz
muhqs-game-716a737cc6e971fb47692fc528470f58d8b50e40.zip
make fmt
Diffstat (limited to 'go/game')
-rw-r--r--go/game/cardImplementations.go1
-rw-r--r--go/game/permanent.go1
-rw-r--r--go/game/targets_test.go1
3 files changed, 1 insertions, 2 deletions
diff --git a/go/game/cardImplementations.go b/go/game/cardImplementations.go
index 139e7665..161de212 100644
--- a/go/game/cardImplementations.go
+++ b/go/game/cardImplementations.go
@@ -212,6 +212,7 @@ func (*spearImpl) onPile(p Permanent) {
// FIXME: add
p.(*Unit).Attack.flexAttack = pikeAttack()
}
+
func (*spearImpl) onUnpile(p Permanent) {
// FIXME: restore flexAttack
p.(*Unit).Attack.flexAttack = nil
diff --git a/go/game/permanent.go b/go/game/permanent.go
index 503084a2..4c73a26a 100644
--- a/go/game/permanent.go
+++ b/go/game/permanent.go
@@ -92,7 +92,6 @@ func (p *permanentBase) Owner() *Player { return p.owner }
func (p *permanentBase) changeController(c *Player) {
p.controller = c
-
}
func FmtPermanent(p Permanent) string {
diff --git a/go/game/targets_test.go b/go/game/targets_test.go
index 9285bb13..ae451dbf 100644
--- a/go/game/targets_test.go
+++ b/go/game/targets_test.go
@@ -105,7 +105,6 @@ symbols:
if len(opts) != 2 {
t.Fatal("expected 2 attackable options")
}
-
}
func TestDisjunction(t *testing.T) {