mirror of
https://github.com/neogeek23/Dominion-Strategy-Simulator.git
synced 2026-02-04 02:58:16 +00:00
12 lines
357 B
Python
12 lines
357 B
Python
from card.basic.card_kingdom import Kingdom
|
|
|
|
|
|
class Attack(Kingdom):
|
|
def effect(self):
|
|
for player in self.get_owner().get_table().get_players():
|
|
if self.get_owner() != player and not player.get_hand().reaction_blocks_attack(self.get_name()):
|
|
self.attack(player)
|
|
|
|
def attack(self, player):
|
|
pass
|