Reworked "Beorn" discard prevention

This commit is contained in:
PhallenCassidy
2017-11-28 12:53:12 -05:00
committed by GitHub
parent 6203a97c92
commit 6f665f2e22

View File

@@ -37,19 +37,19 @@ public class Card31_013 extends AbstractFollower {
super(Side.FREE_PEOPLE, 3, 2, 1, 0, Culture.GANDALF, "Beorn", "Skin-Changer", true); super(Side.FREE_PEOPLE, 3, 2, 1, 0, Culture.GANDALF, "Beorn", "Skin-Changer", true);
} }
@Override @Override
public Race getRace() { public Race getRace() {
return Race.MAN; return Race.MAN;
} }
@Override @Override
public Modifier getAlwaysOnModifier(LotroGame game, PhysicalCard self) { public Modifier getAlwaysOnModifier(LotroGame game, PhysicalCard self) {
return new CantDiscardFromPlayByPlayerModifier(self, "Can't be discarded by opponent", self, self.getOwner()); return new CantDiscardFromPlayModifier(self, "Cannot be discarded from play by Shadow cards", self, Side.SHADOW);
} }
@Override @Override
protected boolean canPayAidCost(LotroGame game, PhysicalCard self) { protected boolean canPayAidCost(LotroGame game, PhysicalCard self) {
return PlayConditions.canExert(self, game, Filters.gandalf); return PlayConditions.canExert(self, game, Filters.gandalf);
} }
@Override @Override