fix cards with scrap

This commit is contained in:
Alberto Xamin 2020-11-27 13:24:42 +01:00
parent 18fdce103f
commit a4e3825ab1
No known key found for this signature in database
GPG Key ID: 4F026F48309500A2
2 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,7 @@ class Schivata(Mancato):
self.name = 'Schivata' self.name = 'Schivata'
self.icon = '🙅‍♂️' self.icon = '🙅‍♂️'
self.desc += " e poi pesca una carta" self.desc += " e poi pesca una carta"
self.alt_text = '☝️🆓'
def play_card(self, player, against, _with=None): def play_card(self, player, against, _with=None):
return False return False

View File

@ -227,6 +227,7 @@ export default {
selectWith(card) { selectWith(card) {
if (this.card_with.need_target) { if (this.card_with.need_target) {
this.card_against = this.card_with this.card_against = this.card_with
this.range = this.card_against.range
this.card_with = card this.card_with = card
} else { } else {
let card_data = { let card_data = {