diff options
Diffstat (limited to 'go/game/cardImplementations.go')
| -rw-r--r-- | go/game/cardImplementations.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/go/game/cardImplementations.go b/go/game/cardImplementations.go index 99994a41..271c88ea 100644 --- a/go/game/cardImplementations.go +++ b/go/game/cardImplementations.go @@ -62,6 +62,14 @@ func (*swordImplementation) onUnpile(p Permanent) { } } +type tidesChangeImplementation struct { + cardImplementation +} + +func (*tidesChangeImplementation) onPlay(s *State, _ *Player, _ *Targets) { + s.Map.redistributeStoreCards(s.Rand) +} + func init() { cardImplementations = map[string]cardImplementation{ "base/advisor": &advisorImplementation{}, @@ -69,5 +77,7 @@ func init() { "base/sword": &swordImplementation{}, "misc/farmer": &farmerImplementation{}, + + "kraken/tides_change!": &tidesChangeImplementation{}, } } |
