diff options
Diffstat (limited to 'go/game/cardImplementations.go')
| -rw-r--r-- | go/game/cardImplementations.go | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/go/game/cardImplementations.go b/go/game/cardImplementations.go index 161de212..2a627a94 100644 --- a/go/game/cardImplementations.go +++ b/go/game/cardImplementations.go @@ -95,16 +95,6 @@ func (*missionaryImpl) fullActions(u *Unit) []*FullAction { return []*FullAction{a} } -type swordImpl struct{ cardImplementationBase } - -func (*swordImpl) onPile(p Permanent) { adjustMelee(p, 1) } -func (*swordImpl) onUnpile(p Permanent) { adjustMelee(p, -1) } - -type greatSwordImpl struct{ cardImplementationBase } - -func (*greatSwordImpl) onPile(p Permanent) { adjustMelee(p, 2) } -func (*greatSwordImpl) onUnpile(p Permanent) { adjustMelee(p, -2) } - type misinformationImpl struct{ cardImplementationBase } func (*misinformationImpl) onPlay(a *PlayAction) { @@ -158,11 +148,6 @@ func (*recruiterImpl) additionalSpawnsFor(p Permanent, ct CardType) []*Tile { return TilesInRange(s.Map(), p, 1) } -type shieldImpl struct{ cardImplementationBase } - -func (*shieldImpl) onPile(p Permanent) { adjustHealth(p, 1) } -func (*shieldImpl) onUnpile(p Permanent) { adjustHealth(p, -1) } - type taxCollectorImpl struct{ cardImplementationBase } func (*taxCollectorImpl) fullActions(u *Unit) []*FullAction { @@ -178,11 +163,6 @@ func (*taxCollectorImpl) fullActions(u *Unit) []*FullAction { return []*FullAction{a} } -type towerShieldImpl struct{ cardImplementationBase } - -func (*towerShieldImpl) onPile(p Permanent) { adjustHealth(p, 2) } -func (*towerShieldImpl) onUnpile(p Permanent) { adjustHealth(p, -2) } - type wormtongueImpl struct{ cardImplementationBase } func (*wormtongueImpl) fullActions(u *Unit) []*FullAction { @@ -714,14 +694,10 @@ func init() { cardImplementations = map[string]cardImplementation{ "base/advisor": &advisorImpl{}, "base/missionary": &missionaryImpl{}, - "base/sword": &swordImpl{}, - "base/greatsword": &greatSwordImpl{}, "base/misinformation": &misinformationImpl{}, "base/pioneer": &pioneerImpl{}, "base/recruiter": &recruiterImpl{}, - "base/shield": &shieldImpl{}, "base/tax_collector": &taxCollectorImpl{}, - "base/tower_shield": &towerShieldImpl{}, "base/wormtongue": &wormtongueImpl{}, "base/pikeman": &pikemanImpl{}, |
