Migrated Isengard cards in set 10 to hjson

This commit is contained in:
MarcinSc
2024-05-16 19:40:43 +07:00
parent 389fb38da3
commit 5a3eb7a9e2
2 changed files with 21 additions and 49 deletions

View File

@@ -1,39 +0,0 @@
package com.gempukku.lotro.cards.set10.isengard;
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.cardtype.AbstractPermanent;
import com.gempukku.lotro.logic.modifiers.KeywordModifier;
import com.gempukku.lotro.logic.modifiers.Modifier;
import com.gempukku.lotro.logic.modifiers.StrengthModifier;
import com.gempukku.lotro.logic.modifiers.condition.InitiativeCondition;
import java.util.LinkedList;
import java.util.List;
/**
* Set: Mount Doom
* Side: Shadow
* Culture: Isengard
* Twilight Cost: 2
* Type: Condition • Support Area
* Game Text: Each site on the adventure path is a battleground. While you have initiative, each Uruk-Hai
* is strength +1.
*/
public class Card10_035 extends AbstractPermanent {
public Card10_035() {
super(Side.SHADOW, 2, CardType.CONDITION, Culture.ISENGARD, "Suffered Much Loss");
}
@Override
public List<? extends Modifier> getInPlayModifiers(LotroGame game, PhysicalCard self) {
List<Modifier> modifiers = new LinkedList<>();
modifiers.add(
new KeywordModifier(self, Filters.and(CardType.SITE, Zone.ADVENTURE_PATH), Keyword.BATTLEGROUND));
modifiers.add(
new StrengthModifier(self, Race.URUK_HAI, new InitiativeCondition(Side.SHADOW), 1));
return modifiers;
}
}

View File

@@ -22,17 +22,28 @@
twilight: 2
type: Condition
keywords: Support Area
/*requires: {
}
effects: [
{
}
{
}
]*/
{
type: modifier
modifier: {
type: addKeyword
filter: site,zone(adventure path)
keyword: battleground
}
}
{
type: modifier
modifier: {
type: modifyStrength
requires: {
type: haveInitiative
side: shadow
}
filter: urukHai
amount: 1
}
}
]
gametext: Each site on the adventure path is a <b>battleground</b>.<br>While you have initiative, each Uruk-hai is strength +1.
lore: For we are already at war, as you may have seen....'
promotext: ""