diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-02-24 17:54:24 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-08-20 15:52:12 +0200 |
| commit | 19fb1a7e5c5883f49e944b6499fa1ced207a3e39 (patch) | |
| tree | 7bdb0e077d30a69e7936313ac3cdc269d10b9afc /go/game/cardImplementations.go | |
| parent | 7ba220660983fe16355dc9a194d207d03d0d33e6 (diff) | |
| download | muhqs-game-19fb1a7e5c5883f49e944b6499fa1ced207a3e39.tar.gz muhqs-game-19fb1a7e5c5883f49e944b6499fa1ced207a3e39.zip | |
implement target disjunction and fix artifact constraint
Diffstat (limited to 'go/game/cardImplementations.go')
| -rw-r--r-- | go/game/cardImplementations.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/go/game/cardImplementations.go b/go/game/cardImplementations.go index bc2f7414..1c4d07a5 100644 --- a/go/game/cardImplementations.go +++ b/go/game/cardImplementations.go @@ -5,7 +5,6 @@ import ( ) func adjustMelee(p Permanent, damage int) { - log.Println("adjusting melee") u, ok := p.(*Unit) if !ok { return @@ -99,8 +98,7 @@ func (*pioneerImpl) fullActions(u *Unit) []*FullAction { s := u.Controller().gameState a := newFullAction(u, resolvePrototype, "neutralize tile or artifact") - // TODO: add target disjunktion 'or' - a.targets = newTargets(newTarget(s, newTargetDesc("adjacent tile or artifcat"), a)) + a.targets = newTargets(newTarget(s, newTargetDesc("adjacent tile or adjacent artifact"), a)) return []*FullAction{a} } |
