mirror of
https://github.com/neogeek23/Dominion-Strategy-Simulator.git
synced 2026-02-04 02:58:16 +00:00
Refactored card typing to no longer be a piece of data but a feature of the object structure.
10 lines
240 B
Python
10 lines
240 B
Python
from card.special.card_trash import CardTrash
|
|
from card.special.card_gain import CardGain
|
|
|
|
|
|
class CardGainTrash(CardTrash, CardGain):
|
|
coin_gain = 0
|
|
|
|
def effect(self):
|
|
self.gain_card(self.trash_card_get_cost() + self.coin_gain)
|