游戏可以运行
This commit is contained in:
@@ -60,10 +60,10 @@ class Card:
|
||||
self.buffs = [(a, d, t - 1) for a, d, t in self.buffs if t > 1]
|
||||
|
||||
def can_move_and_attack(self):
|
||||
return "charge" in self.abilities
|
||||
return self.unit_type == "cavalry" or "charge" in self.abilities
|
||||
|
||||
def is_ranged(self):
|
||||
return "ranged" in self.abilities
|
||||
return self.unit_type == "archer" or "ranged" in self.abilities
|
||||
|
||||
def get_keywords(self):
|
||||
result = []
|
||||
|
||||
Reference in New Issue
Block a user