fix give nuggets

This commit is contained in:
Giulio 2021-06-26 21:57:17 +02:00
parent dc5cb286c0
commit 185984c364

View File

@ -1014,6 +1014,7 @@ class Player:
data=f'_special_el_gringo|{self.name}|{self.attacker.name}')
self.attacker.notify_self()
if self.attacker and 'gold_rush' in self.game.expansions:
if (isinstance(self.attacker, Player)):
self.attacker.gold_nuggets += 1
self.attacker.notify_self()
if len([c for c in self.gold_rush_equipment if isinstance(c, grc.Talismano)]) > 0: