"Chasing Uruk"
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
package com.gempukku.lotro.cards.set15.uruk_hai;
|
||||
|
||||
import com.gempukku.lotro.cards.AbstractMinion;
|
||||
import com.gempukku.lotro.cards.PlayConditions;
|
||||
import com.gempukku.lotro.cards.TriggerConditions;
|
||||
import com.gempukku.lotro.cards.effects.TakeControlOfASiteEffect;
|
||||
import com.gempukku.lotro.common.CardType;
|
||||
import com.gempukku.lotro.common.Culture;
|
||||
import com.gempukku.lotro.common.Keyword;
|
||||
import com.gempukku.lotro.common.Race;
|
||||
import com.gempukku.lotro.filters.Filters;
|
||||
import com.gempukku.lotro.game.PhysicalCard;
|
||||
import com.gempukku.lotro.game.state.LotroGame;
|
||||
import com.gempukku.lotro.logic.actions.OptionalTriggerAction;
|
||||
import com.gempukku.lotro.logic.timing.EffectResult;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Set: The Hunters
|
||||
* Side: Shadow
|
||||
* Culture: Uruk-hai
|
||||
* Twilight Cost: 4
|
||||
* Type: Minion • Uruk-Hai
|
||||
* Strength: 10
|
||||
* Vitality: 2
|
||||
* Site: 5
|
||||
* Game Text: Fierce. Hunter 1. (While skirmishing a non-hunter character, this character is strength +1.)
|
||||
* Each time this minion wins a skirmish, you may spot 4 hunters (or Ugluk) to control a site.
|
||||
*/
|
||||
public class Card15_157 extends AbstractMinion {
|
||||
public Card15_157() {
|
||||
super(4, 10, 2, 5, Race.URUK_HAI, Culture.URUK_HAI, "Chasing Uruk");
|
||||
addKeyword(Keyword.FIERCE);
|
||||
addKeyword(Keyword.HUNTER, 1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<OptionalTriggerAction> getOptionalAfterTriggers(String playerId, LotroGame game, EffectResult effectResult, PhysicalCard self) {
|
||||
if (TriggerConditions.winsSkirmish(game, effectResult, CardType.MINION)
|
||||
&& (PlayConditions.canSpot(game, 4, Keyword.HUNTER)
|
||||
|| PlayConditions.canSpot(game, Filters.name("Ugluk")))) {
|
||||
OptionalTriggerAction action = new OptionalTriggerAction(self);
|
||||
action.appendEffect(
|
||||
new TakeControlOfASiteEffect(self, playerId));
|
||||
return Collections.singletonList(action);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user