Cleaning up V2 cards to match the new card definitions

This commit is contained in:
Christian 'ketura' McCarty
2024-06-02 13:51:23 -05:00
parent 17ce92011f
commit e4493e227a
3 changed files with 25 additions and 21 deletions

View File

@@ -59,18 +59,18 @@
# filter: Elf,valiant # filter: Elf,valiant
# } # }
{ {
type: activatedtrigger type: Response
trigger: { trigger: {
type: abouttodiscard type: abouttodiscard
filter: culture(elven),rangedWeapon filter: culture(elven),rangedWeapon
} }
cost: { cost: {
type: exert type: exert
filter: self select: self
} }
effect: { effect: {
type: preventDiscard type: preventDiscard
filter: choose(culture(elven),rangedWeapon) select: choose(culture(elven),rangedWeapon)
} }
} }
] ]

View File

@@ -51,14 +51,14 @@
phase: skirmish phase: skirmish
cost: { cost: {
type: exert type: exert
filter: self select: self
} }
effect: { effect: {
type: modifyStrength type: modifyStrength
filter: choose(valiant,companion,inSkirmish) select: choose(valiant,companion,inSkirmish)
memorize: chosenCompanion memorize: chosenCompanion
amount: { amount: {
type: requires type: Conditional
requires: { requires: {
type: memoryMatches type: memoryMatches
memory: chosenCompanion memory: chosenCompanion
@@ -107,14 +107,14 @@
type: event type: event
cost: { cost: {
type: exert type: exert
filter: choose(name(Aragorn)) select: choose(name(Aragorn))
memorize: exertedCompanion memorize: exertedCompanion
times: 3 times: 3
} }
effect: [ effect: [
{ {
type: modifyStrength type: modifyStrength
filter: all(valiant,companion) select: all(valiant,companion)
until: start(regroup) until: start(regroup)
amount: 2 amount: 2
} }
@@ -127,7 +127,7 @@
} }
effect: { effect: {
type: modifyStrength type: modifyStrength
filter: all(valiant,companion) select: all(valiant,companion)
until: endOfTurn until: endOfTurn
amount: 1 amount: 1
} }
@@ -178,7 +178,7 @@
type: modifyStrength type: modifyStrength
filter: culture(gondor),companion filter: culture(gondor),companion
amount: { amount: {
type: requires type: Conditional
requires: { requires: {
type: IsGreaterThanOrEqual type: IsGreaterThanOrEqual
firstNumber: { firstNumber: {
@@ -205,13 +205,13 @@
cost: [ cost: [
{ {
type: spot type: spot
filter: choose(culture(gondor),companion) select: choose(culture(gondor),companion)
memorize: chosenGondorian memorize: chosenGondorian
} }
{ {
type: addThreats type: addThreats
amount: { amount: {
type: requires type: Conditional
requires: { requires: {
type: memoryMatches type: memoryMatches
memory: chosenGondorian memory: chosenGondorian
@@ -225,13 +225,13 @@
effect: [ effect: [
{ {
type: modifyStrength type: modifyStrength
filter: memory(chosenGondorian) select: memory(chosenGondorian)
amount: 2 amount: 2
until: start(regroup) until: start(regroup)
} }
{ {
type: addKeyword type: addKeyword
filter: memory(chosenGondorian) select: memory(chosenGondorian)
keyword: defender+1 keyword: defender+1
until: start(regroup) until: start(regroup)
} }
@@ -276,26 +276,29 @@
signet: Frodo signet: Frodo
resistance: 6 resistance: 6
keywords: Ranger keywords: Ranger
requires: {
type: canSpot
filter: ranger
}
effects: [ effects: [
{
type: ToPlay
requires: {
type: canSpot
filter: ranger
}
}
{ {
type: activated type: activated
phase: skirmish phase: skirmish
cost: { cost: {
type: discardFromHand type: discardFromHand
count: 1 count: 1
filter: choose(culture(gondor)) select: choose(culture(gondor))
forced: false forced: false
} }
effect: { effect: {
type: wound type: wound
filter: choose(minion,inSkirmishAgainst(self),roaming) select: choose(minion,inSkirmishAgainst(self),roaming)
memorize: chosenMinion memorize: chosenMinion
times: { times: {
type: requires type: Conditional
requires: { requires: {
type: memoryMatches type: memoryMatches
memory: chosenMinion memory: chosenMinion

View File

@@ -34,6 +34,7 @@ public class LotroCardBlueprintBuilder implements CardGenerationEnvironment {
fieldProcessors.put("keyword", new KeywordFieldProcessor()); fieldProcessors.put("keyword", new KeywordFieldProcessor());
fieldProcessors.put("keywords", new KeywordFieldProcessor()); fieldProcessors.put("keywords", new KeywordFieldProcessor());
fieldProcessors.put("timeword", new TimewordFieldProcessor()); fieldProcessors.put("timeword", new TimewordFieldProcessor());
fieldProcessors.put("timewords", new TimewordFieldProcessor());
fieldProcessors.put("twilight", new TwilightCostFieldProcessor()); fieldProcessors.put("twilight", new TwilightCostFieldProcessor());
fieldProcessors.put("strength", new StrengthFieldProcessor()); fieldProcessors.put("strength", new StrengthFieldProcessor());
fieldProcessors.put("vitality", new VitalityFieldProcessor()); fieldProcessors.put("vitality", new VitalityFieldProcessor());