fix name and description of José

This commit is contained in:
Giulio 2021-05-30 11:49:59 +02:00
parent ec2da4892a
commit a8c1816c36
5 changed files with 9 additions and 9 deletions

View File

@ -92,9 +92,9 @@ class PatBrennan(Character):
# self.desc_eng = "Instead of drawing he can steal a card from the equipment of another player."
self.icon = '🤗'
class JoseDelgrado(Character):
class JoseDelgado(Character):
def __init__(self):
super().__init__("José Delgrado", max_lives=4)
super().__init__("José Delgado", max_lives=4)
# self.desc = "Può scartare una carta blu per pescare 2 carte."
# self.desc_eng = "He can discard a blue card to draw 2 cards."
self.icon = '🎒'
@ -121,7 +121,7 @@ def all_characters() -> List[Character]:
VeraCuster(),
ChuckWengam(),
PatBrennan(),
JoseDelgrado(),
JoseDelgado(),
DocHolyday(),
]
for c in cards:

View File

@ -956,7 +956,7 @@ class Player:
if self.character.check(self.game, chars.SidKetchum) and self.scrapped_cards == 2:
self.scrapped_cards = 0
self.lives = min(self.lives+1, self.max_lives)
elif self.character.check(self.game, chd.JoseDelgrado) and card.is_equipment and self.special_use_count < 2:
elif self.character.check(self.game, chd.JoseDelgado) and card.is_equipment and self.special_use_count < 2:
self.hand.append(self.game.deck.draw(True))
self.hand.append(self.game.deck.draw(True))
self.special_use_count += 1

View File

@ -23,7 +23,7 @@
<div style="margin-bottom:6pt;margin-bottom: 6pt;display: flex;flex-direction: column;">
<button class="btn" v-if="is_my_turn && character.name === 'Sid Ketchum' && lives < max_lives && hand.length > 1" @click="sidWantsScrapForHealth=true">{{$t('special_ability')}}</button>
<button class="btn" v-if="is_my_turn && character.name === 'Chuck Wengam' && lives > 1" @click="chuckSpecial">{{$t('special_ability')}}</button>
<button class="btn" v-if="is_my_turn && character.name === 'José Delgrado' && special_use_count < 2 && hand.filter(x => x.is_equipment).length > 0" @click="joseScrap=true">{{$t('special_ability')}}</button>
<button class="btn" v-if="is_my_turn && character.name === 'José Delgado' && special_use_count < 2 && hand.filter(x => x.is_equipment).length > 0" @click="joseScrap=true">{{$t('special_ability')}}</button>
<button class="btn" v-if="is_my_turn && character.name === 'Doc Holyday' && special_use_count < 1 && hand.length > 1" @click="holydayScrap=true">{{$t('special_ability')}}</button>
</div>
<div v-if="lives > 0 || is_ghost" style="position:relative">

View File

@ -411,9 +411,9 @@
"name": "Pat Brennan",
"desc": "Instead of drawing he can steal a card from the equipment of another player. (click on the enemy player if you want to use the ability)"
},
"José Delgrado": {
"José Delgado": {
"name": "José Delgrado",
"desc": "He can discard a blue card to draw 2 cards."
"desc": "On his turn he can discard a blue card to draw 2 cards, up to twice per turn."
},
"Doc Holyday": {
"name": "Doc Holyday",

View File

@ -411,9 +411,9 @@
"name": "Pat Brennan",
"desc": "Invece di pescare può prendere una carta dall'equipaggiamento di un altro giocatore. (clicca sul giocatore avversario se vuoi usare l'abilità)"
},
"José Delgrado": {
"José Delgado": {
"name": "José Delgrado",
"desc": "Può scartare una carta blu per pescare 2 carte."
"desc": "Nel suo turno può scartare una carta blu per pescare 2 carte, fino a due volte per turno."
},
"Doc Holyday": {
"name": "Doc Holyday",