Migrated Wraith cards in set 18 to hjson
This commit is contained in:
@@ -1,81 +0,0 @@
|
||||
package com.gempukku.lotro.cards.set18.wraith;
|
||||
|
||||
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.actions.PlayEventAction;
|
||||
import com.gempukku.lotro.logic.cardtype.AbstractEvent;
|
||||
import com.gempukku.lotro.logic.effects.AddUntilStartOfPhaseModifierEffect;
|
||||
import com.gempukku.lotro.logic.effects.ChoiceEffect;
|
||||
import com.gempukku.lotro.logic.effects.ChooseActiveCardEffect;
|
||||
import com.gempukku.lotro.logic.effects.RemoveBurdenEffect;
|
||||
import com.gempukku.lotro.logic.effects.choose.ChooseAndAssignCharacterToMinionEffect;
|
||||
import com.gempukku.lotro.logic.modifiers.AddKeywordModifier;
|
||||
import com.gempukku.lotro.logic.modifiers.RemoveKeywordModifier;
|
||||
import com.gempukku.lotro.logic.timing.Effect;
|
||||
import com.gempukku.lotro.logic.timing.PlayConditions;
|
||||
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Set: Treachery & Deceit
|
||||
* Side: Shadow
|
||||
* Culture: Wraith
|
||||
* Twilight Cost: 0
|
||||
* Type: Event • Assignment
|
||||
* Game Text: Remove a burden to choose one: assign a [WRAITH] minion to a companion who has resistance 0;
|
||||
* or have a [WRAITH] minion lose fierce and gain hunter 2 until the regroup phase.
|
||||
*/
|
||||
public class Card18_133 extends AbstractEvent {
|
||||
public Card18_133() {
|
||||
super(Side.SHADOW, 0, Culture.WRAITH, "Pull of the Ring", Phase.ASSIGNMENT);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean checkPlayRequirements(LotroGame game, PhysicalCard self) {
|
||||
return PlayConditions.canRemoveBurdens(game, self, 1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PlayEventAction getPlayEventCardAction(final String playerId, LotroGame game, final PhysicalCard self) {
|
||||
final PlayEventAction action = new PlayEventAction(self);
|
||||
action.appendCost(
|
||||
new RemoveBurdenEffect(playerId, self, 1));
|
||||
List<Effect> possibleEffects = new LinkedList<>();
|
||||
possibleEffects.add(
|
||||
new ChooseActiveCardEffect(self, playerId, "Choose a WRAITH minion", Culture.WRAITH, CardType.MINION, Filters.assignableToSkirmishAgainst(Side.SHADOW, Filters.and(CardType.COMPANION, Filters.maxResistance(0)))) {
|
||||
@Override
|
||||
protected void cardSelected(LotroGame game, PhysicalCard minion) {
|
||||
action.appendEffect(
|
||||
new ChooseAndAssignCharacterToMinionEffect(action, playerId, minion, CardType.COMPANION, Filters.maxResistance(0)));
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getText(LotroGame game) {
|
||||
return "Assign a WRAITH minion to a companion who has resistance 0";
|
||||
}
|
||||
});
|
||||
possibleEffects.add(
|
||||
new ChooseActiveCardEffect(self, playerId, "Choose a WRAITH minion", Culture.WRAITH, CardType.MINION) {
|
||||
@Override
|
||||
protected void cardSelected(LotroGame game, PhysicalCard minion) {
|
||||
action.appendEffect(
|
||||
new AddUntilStartOfPhaseModifierEffect(
|
||||
new RemoveKeywordModifier(self, minion, Keyword.FIERCE), Phase.REGROUP));
|
||||
action.appendEffect(
|
||||
new AddUntilStartOfPhaseModifierEffect(
|
||||
new AddKeywordModifier(self, minion, Keyword.HUNTER, 2), Phase.REGROUP));
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getText(LotroGame game) {
|
||||
return "Make a WRAITH minion lose fierce and gain hunter 2 until the regroup phase";
|
||||
}
|
||||
});
|
||||
action.appendEffect(
|
||||
new ChoiceEffect(action, playerId, possibleEffects));
|
||||
return action;
|
||||
}
|
||||
}
|
||||
@@ -1,88 +0,0 @@
|
||||
{
|
||||
|
||||
18_132: {
|
||||
cardInfo: {
|
||||
imagePath: decipher/LOTR18132.jpg
|
||||
javaClass: true
|
||||
//parentId: 18_132
|
||||
//One of: Variant, Errata, Reprint
|
||||
//parentType: Variant
|
||||
//parentPath: alts/promo
|
||||
version: 0
|
||||
collInfo: 18U132
|
||||
rarity: U
|
||||
setNum: "18"
|
||||
cardNum: 132
|
||||
style: Standard
|
||||
}
|
||||
title: All Life Flees
|
||||
unique: false
|
||||
side: Shadow
|
||||
culture: Wraith
|
||||
twilight: 2
|
||||
type: Event
|
||||
keywords: Shadow
|
||||
|
||||
effects: {
|
||||
type: event
|
||||
cost: {
|
||||
},
|
||||
effect: [
|
||||
{
|
||||
}
|
||||
]
|
||||
}
|
||||
gametext: To play, spot a Nazgûl.<br>Remove (X) to choose one: discard a follower from play that has a twilight cost of X; or play from deck a [wraith] minion that has a twilight cost of X.
|
||||
lore: A sudden unreasoning fear of discovery laid hold of Frodo, and he thought of his Ring.
|
||||
promotext: ""
|
||||
alts: {
|
||||
promos: {
|
||||
}
|
||||
errata: {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
18_133: {
|
||||
cardInfo: {
|
||||
imagePath: decipher/LOTR18133.jpg
|
||||
javaClass: true
|
||||
//parentId: 18_133
|
||||
//One of: Variant, Errata, Reprint
|
||||
//parentType: Variant
|
||||
//parentPath: alts/promo
|
||||
version: 0
|
||||
collInfo: 18R133
|
||||
rarity: R
|
||||
setNum: "18"
|
||||
cardNum: 133
|
||||
style: Standard
|
||||
}
|
||||
title: Pull of the Ring
|
||||
unique: false
|
||||
side: Shadow
|
||||
culture: Wraith
|
||||
twilight: 0
|
||||
type: Event
|
||||
keywords: Assignment
|
||||
|
||||
effects: {
|
||||
type: event
|
||||
cost: {
|
||||
},
|
||||
effect: [
|
||||
{
|
||||
}
|
||||
]
|
||||
}
|
||||
gametext: Remove a burden to choose one: assign a [wraith] minion to a companion who has resistance 0; or have a [wraith] minion lose <b>fierce</b> and gain <b>hunter 2</b> until the regroup phase.
|
||||
lore: I'm naked in the dark. There's nothing, no veil between me and the Wheel of Fire. I can see him with my waking eyes!
|
||||
promotext: ""
|
||||
alts: {
|
||||
promos: {
|
||||
}
|
||||
errata: {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,137 @@
|
||||
{
|
||||
|
||||
18_132: {
|
||||
cardInfo: {
|
||||
imagePath: decipher/LOTR18132.jpg
|
||||
javaClass: true
|
||||
//parentId: 18_132
|
||||
//One of: Variant, Errata, Reprint
|
||||
//parentType: Variant
|
||||
//parentPath: alts/promo
|
||||
version: 0
|
||||
collInfo: 18U132
|
||||
rarity: U
|
||||
setNum: "18"
|
||||
cardNum: 132
|
||||
style: Standard
|
||||
}
|
||||
title: All Life Flees
|
||||
unique: false
|
||||
side: Shadow
|
||||
culture: Wraith
|
||||
twilight: 2
|
||||
type: Event
|
||||
keywords: Shadow
|
||||
effects: {
|
||||
type: event
|
||||
requires: {
|
||||
type: canSpot
|
||||
filter: nazgul
|
||||
}
|
||||
cost: {
|
||||
type: chooseAndRemoveTwilight
|
||||
memorize: X
|
||||
}
|
||||
effect: {
|
||||
type: choice
|
||||
texts: [
|
||||
Discard a follower from play with a twilight cost of {X}
|
||||
Play a {wraith} minion from your draw deck with a twilight cost of {X}
|
||||
]
|
||||
effects: [
|
||||
{
|
||||
type: discard
|
||||
filter: choose(follower,minTwilight(memory(X)),maxTwilight(memory(X)))
|
||||
}
|
||||
{
|
||||
type: playCardFromDrawDeck
|
||||
filter: choose(culture(wraith),minion,minTwilight(memory(X)),maxTwilight(memory(X)))
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
gametext: To play, spot a Nazgûl.<br>Remove (X) to choose one: discard a follower from play that has a twilight cost of X; or play from deck a [wraith] minion that has a twilight cost of X.
|
||||
lore: A sudden unreasoning fear of discovery laid hold of Frodo, and he thought of his Ring.
|
||||
promotext: ""
|
||||
alts: {
|
||||
promos: {
|
||||
}
|
||||
errata: {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
18_133: {
|
||||
cardInfo: {
|
||||
imagePath: decipher/LOTR18133.jpg
|
||||
javaClass: true
|
||||
//parentId: 18_133
|
||||
//One of: Variant, Errata, Reprint
|
||||
//parentType: Variant
|
||||
//parentPath: alts/promo
|
||||
version: 0
|
||||
collInfo: 18R133
|
||||
rarity: R
|
||||
setNum: "18"
|
||||
cardNum: 133
|
||||
style: Standard
|
||||
}
|
||||
title: Pull of the Ring
|
||||
unique: false
|
||||
side: Shadow
|
||||
culture: Wraith
|
||||
twilight: 0
|
||||
type: Event
|
||||
keywords: Assignment
|
||||
effects: {
|
||||
type: event
|
||||
cost: {
|
||||
type: removeBurdens
|
||||
}
|
||||
effect: [
|
||||
{
|
||||
type: choice
|
||||
texts: [
|
||||
Assign a {wraith} minion to a companion who has resistance 0
|
||||
Have a {wraith} minion lose fierce and gain huner 2 until the regroup phase
|
||||
]
|
||||
effects: [
|
||||
{
|
||||
type: assignFPCharacterToSkirmish
|
||||
fpCharacter: choose(companion,maxResistance(0))
|
||||
against: choose(culture(wraith),minion)
|
||||
}
|
||||
{
|
||||
type: multiple
|
||||
effects: [
|
||||
{
|
||||
type: removeKeyword
|
||||
filter: choose(culture(wraith),minion)
|
||||
keyword: fierce
|
||||
until: regroup
|
||||
memorize: chosenMinion
|
||||
}
|
||||
{
|
||||
type: addKeyword
|
||||
filter: memory(chosenMinion)
|
||||
keyword: hunter
|
||||
amount: 2
|
||||
until: regroup
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
gametext: Remove a burden to choose one: assign a [wraith] minion to a companion who has resistance 0; or have a [wraith] minion lose <b>fierce</b> and gain <b>hunter 2</b> until the regroup phase.
|
||||
lore: I'm naked in the dark. There's nothing, no veil between me and the Wheel of Fire. I can see him with my waking eyes!
|
||||
promotext: ""
|
||||
alts: {
|
||||
promos: {
|
||||
}
|
||||
errata: {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
{
|
||||
18_132: {
|
||||
title: All Life Flees
|
||||
side: shadow
|
||||
culture: Wraith
|
||||
twilight: 2
|
||||
type: event
|
||||
keyword: Shadow
|
||||
effects: {
|
||||
type: event
|
||||
requires: {
|
||||
type: canSpot
|
||||
filter: nazgul
|
||||
}
|
||||
cost: {
|
||||
type: chooseAndRemoveTwilight
|
||||
memorize: X
|
||||
}
|
||||
effect: {
|
||||
type: choice
|
||||
texts: [
|
||||
Discard a follower from play with a twilight cost of {X}
|
||||
Play a WRAITH minion from your draw deck with a twilight cost of {X}
|
||||
]
|
||||
effects: [
|
||||
{
|
||||
type: discard
|
||||
filter: choose(follower,minTwilight(memory(X)),maxTwilight(memory(X)))
|
||||
}
|
||||
{
|
||||
type: playCardFromDrawDeck
|
||||
filter: choose(culture(wraith),minion,minTwilight(memory(X)),maxTwilight(memory(X)))
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user