diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-08-07 18:52:37 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-08-20 15:57:35 +0200 |
| commit | 716a737cc6e971fb47692fc528470f58d8b50e40 (patch) | |
| tree | d8df76d1df02bec89ad98b87cebd7a9adef9ae31 /go/game | |
| parent | 45091216aa817e38a9ca38f3b7716ee7c3a43014 (diff) | |
| download | muhqs-game-716a737cc6e971fb47692fc528470f58d8b50e40.tar.gz muhqs-game-716a737cc6e971fb47692fc528470f58d8b50e40.zip | |
make fmt
Diffstat (limited to 'go/game')
| -rw-r--r-- | go/game/cardImplementations.go | 1 | ||||
| -rw-r--r-- | go/game/permanent.go | 1 | ||||
| -rw-r--r-- | go/game/targets_test.go | 1 |
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) { |
