Reworked "Beorn" discard prevention
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user