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-07 18:52:37 +0200 |
| commit | 3fb30e961d4a38604def5a2d4eaa19ae66ae1d16 (patch) | |
| tree | d57366a161df8d5220e82a8602bf68433db97dd3 | |
| parent | 7f9f693eb4a373de7f1d21e9f543fda1356d99ff (diff) | |
| download | muhqs-game-3fb30e961d4a38604def5a2d4eaa19ae66ae1d16.tar.gz muhqs-game-3fb30e961d4a38604def5a2d4eaa19ae66ae1d16.zip | |
make fmt
| -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) { |
