This commit is contained in:
marcins78
2013-03-19 10:18:24 +00:00
parent 9f5cbc3562
commit 0fd194a232
2 changed files with 13 additions and 6 deletions

View File

@@ -242,7 +242,7 @@ var set20 = {
'20_241': 'http://lotrtcg.org/coreset/isengard/sarumansstaffiow(r1).png',
'20_242': 'http://lotrtcg.org/coreset/isengard/wizardsguile(r1).png',
'20_243': 'http://lotrtcg.org/coreset/isengard/wizardswrath(r1).png',
'20_244': 'http://lotrtcg.org/coreset/isengard/treacheryrunsdeep.png',
'20_244': 'http://lotrtcg.org/coreset/isengard/treacheryrunsdeep(r1).png',
'20_245': 'http://lotrtcg.org/coreset/isengard/voiceofsaruman.png',
'20_246': 'http://lotrtcg.org/coreset/isengard/mightofsaruman.png',
'20_247': 'http://lotrtcg.org/coreset/isengard/seekingmycounsel.png',

View File

@@ -1,11 +1,14 @@
package com.gempukku.lotro.cards.set20.isengard;
import com.gempukku.lotro.cards.AbstractResponseEvent;
import com.gempukku.lotro.cards.PlayConditions;
import com.gempukku.lotro.cards.TriggerConditions;
import com.gempukku.lotro.cards.actions.PlayEventAction;
import com.gempukku.lotro.cards.effects.choose.ChooseAndExertCharactersEffect;
import com.gempukku.lotro.common.CardType;
import com.gempukku.lotro.common.Culture;
import com.gempukku.lotro.common.Side;
import com.gempukku.lotro.filters.Filters;
import com.gempukku.lotro.game.PhysicalCard;
import com.gempukku.lotro.game.state.LotroGame;
import com.gempukku.lotro.logic.GameUtils;
@@ -17,24 +20,28 @@ import java.util.Collections;
import java.util.List;
/**
* 2
* 1
* Treachery Runs Deep
* Isengard Event • Response
* Event • Response
* Spell.
* If a companion takes a wound, spot Saruman to wound that companion again.
* If a companion takes a wound, exert Saruman to wound that companion again.
* http://lotrtcg.org/coreset/isengard/treacheryrunsdeep(r1).png
*/
public class Card20_244 extends AbstractResponseEvent {
public Card20_244() {
super(Side.SHADOW, 2, Culture.ISENGARD, "Treachery Runs Deep");
super(Side.SHADOW, 1, Culture.ISENGARD, "Treachery Runs Deep");
}
@Override
public List<PlayEventAction> getOptionalAfterActions(String playerId, LotroGame game, EffectResult effectResult, PhysicalCard self) {
if (TriggerConditions.forEachWounded(game, effectResult, CardType.COMPANION)
&& PlayConditions.canExert(self, game, Filters.saruman)
&& checkPlayRequirements(playerId, game, self, 0, 0, false, false)) {
PlayEventAction action = new PlayEventAction(self);
action.appendCost(
new ChooseAndExertCharactersEffect(action, playerId, 1, 1, Filters.saruman));
PhysicalCard woundedCompanion = ((WoundResult) effectResult).getWoundedCard();
action.setText("Wound "+ GameUtils.getFullName(woundedCompanion));
action.setText("Wound " + GameUtils.getFullName(woundedCompanion));
action.appendEffect(
new WoundCharactersEffect(self, woundedCompanion));
return Collections.singletonList(action);