From 19fb1a7e5c5883f49e944b6499fa1ced207a3e39 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 24 Feb 2023 17:54:24 +0100 Subject: implement target disjunction and fix artifact constraint --- go/game/cardImplementations.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'go/game/cardImplementations.go') 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} } -- cgit v1.2.3