- "Phial of Galadriel, Light in Dark Places" now correctly adds +2 Resistance to bearer.

This commit is contained in:
marcins78
2013-03-12 17:03:27 +00:00
parent d218879bb2
commit de97fce748
2 changed files with 9 additions and 0 deletions

View File

@@ -36,6 +36,7 @@ and allows to do that to any minion if it's your site (per card text).
- "Galadriel, White Lady of Lorien" no longer is usable, only if you can also exert another elf (even though it is not
actually exering it).
- "Faramir, Cunning Ranger" is no longer Ring-bound (per card text).
- "Phial of Galadriel, Light in Dark Places" now correctly adds +2 Resistance to bearer.
<b>11 Mar. 2013</b>
- Second Edition is playable now.

View File

@@ -8,6 +8,7 @@ import com.gempukku.lotro.cards.effects.RemoveBurdenEffect;
import com.gempukku.lotro.cards.effects.SelfDiscardEffect;
import com.gempukku.lotro.cards.effects.SpotEffect;
import com.gempukku.lotro.cards.effects.choose.ChooseAndExertCharactersEffect;
import com.gempukku.lotro.cards.modifiers.ResistanceModifier;
import com.gempukku.lotro.common.*;
import com.gempukku.lotro.filters.Filter;
import com.gempukku.lotro.filters.Filters;
@@ -15,6 +16,7 @@ import com.gempukku.lotro.game.PhysicalCard;
import com.gempukku.lotro.game.state.LotroGame;
import com.gempukku.lotro.logic.actions.ActivateCardAction;
import com.gempukku.lotro.logic.effects.HealCharactersEffect;
import com.gempukku.lotro.logic.modifiers.Modifier;
import com.gempukku.lotro.logic.timing.Action;
import com.gempukku.lotro.logic.timing.Effect;
@@ -47,6 +49,12 @@ public class Card20_101 extends AbstractAttachableFPPossession {
return Filters.and(CardType.COMPANION, Keyword.RING_BOUND);
}
@Override
protected List<? extends Modifier> getNonBasicStatsModifiers(PhysicalCard self) {
return Collections.singletonList(
new ResistanceModifier(self, Filters.hasAttached(self), 2));
}
@Override
public AttachPermanentAction getPlayCardAction(String playerId, LotroGame game, PhysicalCard self, Filterable additionalAttachmentFilter, int twilightModifier) {
AttachPermanentAction playCardAction = super.getPlayCardAction(playerId, game, self, additionalAttachmentFilter, twilightModifier);