mirror of
https://github.com/neogeek23/Dominion-Strategy-Simulator.git
synced 2026-02-04 11:08:18 +00:00
Refactored card typing to no longer be a piece of data but a feature of the object structure.
11 lines
304 B
Python
11 lines
304 B
Python
from card.card import Card
|
|
|
|
|
|
class Curse(Card):
|
|
@staticmethod
|
|
def pile_setup(player_count):
|
|
if player_count % Card.normal_full_table < Card.normal_full_table/2:
|
|
return Card.pile_player_rate
|
|
else:
|
|
return (player_count - 1) * Card.pile_player_rate
|