diff options
Diffstat (limited to 'go/game/cardImplementations.go')
| -rw-r--r-- | go/game/cardImplementations.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/go/game/cardImplementations.go b/go/game/cardImplementations.go index 75ea4dcd..33d874b9 100644 --- a/go/game/cardImplementations.go +++ b/go/game/cardImplementations.go @@ -85,7 +85,7 @@ func (*missionaryImpl) fullActions(u *Unit) []*FullAction { target := a.Target().sel[0].(*Unit) return func(s *State) { target.adjustMarks(UnitMarks.Faith, 2) - if target.Marks(UnitMarks.Faith) > target.Card().BuyCost { + if target.Marks(UnitMarks.Faith) > target.Card().BuyCosts.Costs(s) { target.controller = u.Controller() } } @@ -424,7 +424,7 @@ type devourThePoorImpl struct{ cardImplementationBase } func (*devourThePoorImpl) onPlay(s *State, _ *Card, kraken *Player, _ *Targets) { for _, u := range s.EnemyUnits(kraken) { - if u.Card().BuyCost < 7 { + if u.Card().BuyCosts.Costs(s) < 7 { s.destroyPermanent(u) } } |
