Fix to The Hobbit "Beorn, Skin-Changer"

Now actually prevents discarding
This commit is contained in:
PhallenCassidy
2018-03-08 11:43:33 -05:00
committed by GitHub
parent 919ec4e7b4
commit 607c3b9295

View File

@@ -44,9 +44,10 @@ public class Card31_013 extends AbstractFollower {
}
@Override
public Modifier getAlwaysOnModifier(LotroGame game, PhysicalCard self) {
return new CantDiscardFromPlayModifier(self, "Cannot be discarded from play by Shadow cards",
new SpotCondition(Filters.hasAttached(self)), self, Side.SHADOW);
protected List<? extends Modifier> getNonBasicStatsModifiers(PhysicalCard self) {
return Collections.singletonList(
new CantDiscardFromPlayModifier(self, "Cannot be discarded from play by Shadow cards",
new SpotCondition(Filters.hasAttached(self)), self, Side.SHADOW));
}
@Override