Volcanic fix

This commit is contained in:
Alberto Xamin 2020-11-21 13:56:50 +01:00
parent 996271d97c
commit aeeab957d8
No known key found for this signature in database
GPG Key ID: 4F026F48309500A2

View File

@ -107,7 +107,8 @@ export default {
}, },
play_card(card) { play_card(card) {
if (this.pending_action == 2) { if (this.pending_action == 2) {
if (card.need_target && !(card.name == 'Bang!' && this.has_played_bang)) { if (card.need_target &&
!(card.name == 'Bang!' && (this.has_played_bang && this.equipment.filter(x => x.name == 'Volcanic').length == 0))) {
this.card_against = card this.card_against = card
} else { } else {
this.really_play_card(card, null) this.really_play_card(card, null)