def cast_action(self): Prototype.cast_action(self) # enable focus-cast for card in self.get_self_cards(): if card.element == 'fire' and card != self: card.light_switch(True) else: continue
def cast_action(self): if self.parent.player.mana['air'] >= 2: # if player have mana for cast Prototype.cast_action(self) # activating focus-cast for card in self.get_enemy_cards(): if card.cast: # if it`s caster card.light_switch(True) # enable lighting
def cast_action(self): if self.parent.player.mana['life'] >= 2: # если хватает маны, то активируем фокус Prototype.cast_action(self) for card in self.get_enemy_cards(): if card.element == "death": card.light_switch(True)
def cast_action(self): Prototype.cast_action(self) # enable focus-cast for card in self.get_self_cards(): if card.element == "fire" and card != self: card.light_switch(True) else: continue
def cast_action(self): if self.parent.player.mana['life'] >= 2: # если хватает маны Prototype.cast_action(self) # включаем фокус-каст for card in self.get_enemy_cards(): # включаем подсветку card.light_switch(True)
def cast_action(self): if self.parent.player.mana['death'] >= 3: Prototype.cast_action(self) for card in self.get_enemy_cards(): if card.level <= 3: card.light_switch(True)
def cast_action(self): Prototype.cast_action(self) for card in self.get_self_cards(): if card != self: card.light_switch(True)