"Unharmed"

This commit is contained in:
marcins78@gmail.com
2011-12-06 12:24:45 +00:00
parent 219921a1c9
commit d006fc2af9

View File

@@ -0,0 +1,33 @@
package com.gempukku.lotro.cards.set11.shire;
import com.gempukku.lotro.cards.AbstractEvent;
import com.gempukku.lotro.cards.actions.PlayEventAction;
import com.gempukku.lotro.common.*;
import com.gempukku.lotro.filters.Filters;
import com.gempukku.lotro.game.PhysicalCard;
import com.gempukku.lotro.game.state.LotroGame;
import com.gempukku.lotro.logic.effects.ChooseAndHealCharactersEffect;
/**
* Set: Shadows
* Side: Free
* Culture: Shire
* Twilight Cost: 0
* Type: Event • Regroup
* Game Text: Heal a Hobbit for each minion you spot.
*/
public class Card11_176 extends AbstractEvent {
public Card11_176() {
super(Side.FREE_PEOPLE, 0, Culture.SHIRE, "Unharmed", Phase.REGROUP);
}
@Override
public PlayEventAction getPlayCardAction(String playerId, LotroGame game, PhysicalCard self, int twilightModifier, boolean ignoreRoamingPenalty) {
PlayEventAction action = new PlayEventAction(self);
int count = Filters.countSpottable(game.getGameState(), game.getModifiersQuerying(), CardType.MINION);
for (int i = 0; i < count; i++)
action.appendEffect(
new ChooseAndHealCharactersEffect(action, playerId, 0, 1, Race.HOBBIT));
return action;
}
}