fix pepperbox range

This commit is contained in:
Alberto Xamin 2020-11-28 15:42:59 +01:00
parent 7ee4eb4c70
commit fbf5d6a859
No known key found for this signature in database
GPG Key ID: 4F026F48309500A2

View File

@ -234,7 +234,7 @@ export default {
if (card.need_with && !this.card_with) { if (card.need_with && !this.card_with) {
this.card_with = card this.card_with = card
} else if ((card.need_target || calamity_special) && !((card.name == 'Bang!' || (calamity_special && card.name=='Mancato!')) && cant_play_bang)) { } else if ((card.need_target || calamity_special) && !((card.name == 'Bang!' || (calamity_special && card.name=='Mancato!')) && cant_play_bang)) {
if (card.name == 'Bang!' || calamity_special) if (card.name == 'Bang!' || card.name == "Pepperbox" || calamity_special)
this.range = this.sight this.range = this.sight
else else
this.range = card.range this.range = card.range