"The One Ring", "Doom of Free Peoples" no longer automatically allows to prevent wounds, if not put on

This commit is contained in:
marcin.sciesinski
2019-08-10 10:24:16 -07:00
parent 2de864d633
commit b26b49950b

View File

@@ -73,24 +73,6 @@ public class Card40_001 extends AbstractAttachable {
return null;
}
@Override
public List<? extends Action> getOptionalInPlayBeforeActions(final String playerId, LotroGame game, Effect effect, final PhysicalCard self) {
if (TriggerConditions.isGettingWounded(effect, game, Filters.hasAttached(self))
&& !game.getModifiersQuerying().hasFlagActive(game, ModifierFlag.RING_TEXT_INACTIVE)) {
WoundCharactersEffect woundEffect = (WoundCharactersEffect) effect;
List<Action> actions = new LinkedList<Action>();
ActivateCardAction action = new ActivateCardAction(self);
action.appendEffect(new NegateWoundEffect(woundEffect, self.getAttachedTo()));
action.appendEffect(new AddBurdenEffect(self.getOwner(), self, 2));
action.appendEffect(new PutOnTheOneRingEffect());
actions.add(action);
return actions;
}
return null;
}
@Override
public List<RequiredTriggerAction> getRequiredBeforeTriggers(LotroGame game, Effect effect, PhysicalCard self) {
if (TriggerConditions.isGettingWounded(effect, game, Filters.hasAttached(self))