Automatic fixes and tweaks to errata

This commit is contained in:
Christian 'ketura' McCarty
2023-12-15 18:25:10 -06:00
parent 4e2d3890a4
commit 44cfc7d25d
17 changed files with 61 additions and 55 deletions

View File

@@ -3,7 +3,7 @@
71_9: {
cardInfo: {
//Either a full URL, or a subpath for the PC image server
imagePath: errata/LOTR-EN01E009.1_card.jpg
imagePath: errata/LOTR-EN01E009.2_card.jpg
//If this is true, then all gameplay-related info outside this cardInfo definition
// will be ignored and the java class loaded instead.
javaClass: false
@@ -28,7 +28,7 @@
unique: false
side: Free Peoples
culture: Dwarven
twilight: 0
twilight: 1
type: Possession
itemclass: Hand weapon
#target: name(Gimli)
@@ -45,7 +45,7 @@
}
]*/
gametext: Bearer must be a Dwarf. <br>Each time a minion loses a skirmish to bearer, make a minion strength -1 until the regroup phase. The Shadow player may discard a minion to prevent this.
gametext: Bearer must be a Dwarf. <br>Each time a minion loses a skirmish to bearer, make a minion strength -1 until the regroup phase. The Shadow player may discard 2 cards from the bottom of their draw deck to prevent this.
lore: “Buckler and corslet, axe and sword / And shining spears were laid in hoard.'”
promotext: ""
alts: {

View File

@@ -270,7 +270,7 @@
culture: Gandalf
twilight: 1
type: Event
keyword:
keyword: Fellowship
/*requires: [
]
@@ -285,7 +285,7 @@
}
]
}*/
gametext: <b>Fellowship:</b> Play a Wizard or [gandalf] ally from your draw deck.
gametext: Play a Wizard or [gandalf] ally from your draw deck.
lore: “A wizard is never late, Frodo Baggins, nor is he early. He arrives precisely when he means to.'”
promotext: ""
alts: {

View File

@@ -201,22 +201,25 @@
culture: Gondor
twilight: 0
type: Event
keyword:
keyword: Response
/*requires: [
]
effects: {
type: event
type: responseEvent
trigger: {
}
cost: {
},
}
effect: [
{
}
]
}*/
gametext: <b>Response:</b> If a skirmish event is played during a skirmish involving a [gondor] companion, cancel that event.
]*/
gametext: If a skirmish event is played during a skirmish involving a [gondor] companion, cancel that event.
lore: “Believe not that in the land of Gondor the blood of Númenor is spent, nor all its pride and dignity forgotten.'”
promotext: ""
alts: {

View File

@@ -30,7 +30,7 @@
culture: Elven
twilight: 2
type: Event
keyword:
keyword: Maneuver
/*requires: [
]
@@ -45,7 +45,7 @@
}
]
}*/
gametext: <b>Maneuver:</b> Exert an Elf ally to discard a condition. If you can spot an Orc, you may exert another Elf ally to discard another condition.
gametext: Exert an Elf ally to discard a condition. If you can spot an Orc, you may exert another Elf ally to discard another condition.
lore: “Yet so little faith and trust do we find now in the world beyond Lothlórien... that we dare not by our own trust endanger our land.'”
promotext: ""
alts: {

View File

@@ -28,7 +28,7 @@
unique: true
side: Free Peoples
culture: Elven
twilight: 2
twilight: 1
type: Artifact
itemclass: Ring
#target: name(Gimli)

View File

@@ -41,7 +41,7 @@
}
]*/
gametext: Skirmish events may not be played and skirmish special abilities may not be used.
gametext: At the start of each skirmish, you may exert your character in that skirmish to prevent special abilities being used.
lore: ""
promotext: ""
alts: {

View File

@@ -29,20 +29,23 @@
side: Free Peoples
culture: Elven
twilight: 1
type: Condition
#keyword: support area
type: Event
keyword: Skirmish
/*requires: [
]
effects: [
{
effects: {
type: event
cost: {
}
{
}
]*/
gametext: <b>Skirmish:</b> Reveal the top card of your draw deck to make a minion skirmishing an Elf strength X, where X is the twilight cost of the revealed card. If that minion is now 4 strength or less, discard the revealed card.
},
effect: [
{
}
]
}*/
gametext: Reveal the top card of your draw deck to make a minion skirmishing an Elf strength X, where X is the twilight cost of the revealed card. If that minion is now 4 strength or less, discard the revealed card.
lore: “Give them a volley.'”
promotext: ""
alts: {

View File

@@ -33,7 +33,7 @@
type: Companion
race: Wizard
#keyword: damage+1
strength: 6
strength: 7
vitality: 4
signet: Gandalf
resistance: 6

View File

@@ -3,7 +3,7 @@
81_232: {
cardInfo: {
//Either a full URL, or a subpath for the PC image server
imagePath: errata/LOTR-EN11E232.1_card.jpg
imagePath: errata/LOTR-EN11E232.2_card.jpg
//If this is true, then all gameplay-related info outside this cardInfo definition
// will be ignored and the java class loaded instead.
javaClass: false
@@ -41,7 +41,7 @@
}
]*/
gametext: Skirmish special abilities cannot be used.
gametext: At the start of each skirmish, you may exert your character in that skirmish to prevent special abilities being used.
lore: ""
promotext: ""
alts: {

View File

@@ -39,11 +39,11 @@ public class Card_1_009_ErrataTests
* Unique: False
* Side: FREE_PEOPLE
* Culture: Dwarven
* Twilight Cost: 0
* Twilight Cost: 1
* Type: possession
* Subtype: Hand Weapon
* Strength: 2
* Game Text: Bearer must be a Dwarf. <br>Each time a minion loses a skirmish to bearer, make a minion strength -1 until the regroup phase. The Shadow player may discard a minion to prevent this.
* Game Text: Bearer must be a Dwarf. <br>Each time a minion loses a skirmish to bearer, make a minion strength -1 until the regroup phase. The Shadow player may discard 2 cards from the bottom of their draw deck to prevent this.
*/
//Pre-game setup
@@ -58,7 +58,7 @@ public class Card_1_009_ErrataTests
//assertEquals(Race.HAND WEAPON, card.getBlueprint().getRace());
assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.HAND_WEAPON));
assertTrue(scn.HasKeyword(card, Keyword.SUPPORT_AREA));
assertEquals(0, card.getBlueprint().getTwilightCost());
assertEquals(1, card.getBlueprint().getTwilightCost());
assertEquals(2, card.getBlueprint().getStrength());
//assertEquals(, card.getBlueprint().getVitality());
//assertEquals(, card.getBlueprint().getResistance());
@@ -77,6 +77,6 @@ public class Card_1_009_ErrataTests
scn.StartGame();
scn.FreepsPlayCard(card);
assertEquals(0, scn.GetTwilight());
assertEquals(1, scn.GetTwilight());
}
}

View File

@@ -41,8 +41,8 @@ public class Card_1_087_ErrataTests
* Culture: Gandalf
* Twilight Cost: 1
* Type: event
* Subtype:
* Game Text: <b>Fellowship:</b> Play a Wizard or [gandalf] ally from your draw deck.
* Subtype: Fellowship
* Game Text: Play a Wizard or [gandalf] ally from your draw deck.
*/
//Pre-game setup
@@ -54,8 +54,8 @@ public class Card_1_087_ErrataTests
assertEquals(Side.FREE_PEOPLE, card.getBlueprint().getSide());
assertEquals(Culture.GANDALF, card.getBlueprint().getCulture());
assertEquals(CardType.EVENT, card.getBlueprint().getCardType());
//assertEquals(Race., card.getBlueprint().getRace());
//assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.));
//assertEquals(Race.FELLOWSHIP, card.getBlueprint().getRace());
//assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.FELLOWSHIP));
assertTrue(scn.HasKeyword(card, Keyword.SUPPORT_AREA));
assertEquals(1, card.getBlueprint().getTwilightCost());
//assertEquals(, card.getBlueprint().getStrength());

View File

@@ -41,8 +41,8 @@ public class Card_1_115_ErrataTests
* Culture: Gondor
* Twilight Cost: 0
* Type: event
* Subtype:
* Game Text: <b>Response:</b> If a skirmish event is played during a skirmish involving a [gondor] companion, cancel that event.
* Subtype: Response
* Game Text: If a skirmish event is played during a skirmish involving a [gondor] companion, cancel that event.
*/
//Pre-game setup
@@ -54,8 +54,8 @@ public class Card_1_115_ErrataTests
assertEquals(Side.FREE_PEOPLE, card.getBlueprint().getSide());
assertEquals(Culture.GONDOR, card.getBlueprint().getCulture());
assertEquals(CardType.EVENT, card.getBlueprint().getCardType());
//assertEquals(Race., card.getBlueprint().getRace());
//assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.));
//assertEquals(Race.RESPONSE, card.getBlueprint().getRace());
//assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.RESPONSE));
assertTrue(scn.HasKeyword(card, Keyword.SUPPORT_AREA));
assertEquals(0, card.getBlueprint().getTwilightCost());
//assertEquals(, card.getBlueprint().getStrength());

View File

@@ -41,8 +41,8 @@ public class Card_2_020_ErrataTests
* Culture: Elven
* Twilight Cost: 2
* Type: event
* Subtype:
* Game Text: <b>Maneuver:</b> Exert an Elf ally to discard a condition. If you can spot an Orc, you may exert another Elf ally to discard another condition.
* Subtype: Maneuver
* Game Text: Exert an Elf ally to discard a condition. If you can spot an Orc, you may exert another Elf ally to discard another condition.
*/
//Pre-game setup
@@ -54,8 +54,8 @@ public class Card_2_020_ErrataTests
assertEquals(Side.FREE_PEOPLE, card.getBlueprint().getSide());
assertEquals(Culture.ELVEN, card.getBlueprint().getCulture());
assertEquals(CardType.EVENT, card.getBlueprint().getCardType());
//assertEquals(Race., card.getBlueprint().getRace());
//assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.));
//assertEquals(Race.MANEUVER, card.getBlueprint().getRace());
//assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.MANEUVER));
assertTrue(scn.HasKeyword(card, Keyword.SUPPORT_AREA));
assertEquals(2, card.getBlueprint().getTwilightCost());
//assertEquals(, card.getBlueprint().getStrength());

View File

@@ -39,7 +39,7 @@ public class Card_3_027_ErrataTests
* Unique: True
* Side: FREE_PEOPLE
* Culture: Elven
* Twilight Cost: 2
* Twilight Cost: 1
* Type: artifact
* Subtype: Ring
* Vitality: 1
@@ -59,7 +59,7 @@ public class Card_3_027_ErrataTests
//assertEquals(Race.RING, card.getBlueprint().getRace());
assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.RING));
assertTrue(scn.HasKeyword(card, Keyword.SUPPORT_AREA));
assertEquals(2, card.getBlueprint().getTwilightCost());
assertEquals(1, card.getBlueprint().getTwilightCost());
//assertEquals(, card.getBlueprint().getStrength());
assertEquals(1, card.getBlueprint().getVitality());
//assertEquals(, card.getBlueprint().getResistance());
@@ -78,6 +78,6 @@ public class Card_3_027_ErrataTests
scn.StartGame();
scn.FreepsPlayCard(card);
assertEquals(2, scn.GetTwilight());
assertEquals(1, scn.GetTwilight());
}
}

View File

@@ -43,7 +43,7 @@ public class Card_4_355_ErrataTests
* Type: site
* Subtype: Standard
* Site Number: 7T
* Game Text: Skirmish events may not be played and skirmish special abilities may not be used.
* Game Text: At the start of each skirmish, you may exert your character in that skirmish to prevent special abilities being used.
*/
//Pre-game setup

View File

@@ -40,9 +40,9 @@ public class Card_6_016_ErrataTests
* Side: FREE_PEOPLE
* Culture: Elven
* Twilight Cost: 1
* Type: condition
* Subtype:
* Game Text: <b>Skirmish:</b> Reveal the top card of your draw deck to make a minion skirmishing an Elf strength X, where X is the twilight cost of the revealed card. If that minion is now 4 strength or less, discard the revealed card.
* Type: event
* Subtype: Skirmish
* Game Text: Reveal the top card of your draw deck to make a minion skirmishing an Elf strength X, where X is the twilight cost of the revealed card. If that minion is now 4 strength or less, discard the revealed card.
*/
//Pre-game setup
@@ -53,9 +53,9 @@ public class Card_6_016_ErrataTests
assertFalse(card.getBlueprint().isUnique());
assertEquals(Side.FREE_PEOPLE, card.getBlueprint().getSide());
assertEquals(Culture.ELVEN, card.getBlueprint().getCulture());
assertEquals(CardType.CONDITION, card.getBlueprint().getCardType());
//assertEquals(Race., card.getBlueprint().getRace());
//assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.));
assertEquals(CardType.EVENT, card.getBlueprint().getCardType());
//assertEquals(Race.SKIRMISH, card.getBlueprint().getRace());
//assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.SKIRMISH));
assertTrue(scn.HasKeyword(card, Keyword.SUPPORT_AREA));
assertEquals(1, card.getBlueprint().getTwilightCost());
//assertEquals(, card.getBlueprint().getStrength());

View File

@@ -42,7 +42,7 @@ public class Card_V1_014_ErrataTests
* Twilight Cost: 4
* Type: companion
* Subtype: Wizard
* Strength: 6
* Strength: 7
* Vitality: 4
* Signet: Gandalf
* Game Text: At the start of your fellowship phase, you may spot 3 [elven] allies and exert Gandalf to take a [Gandalf] or [elven] event from your discard pile into your hand.
@@ -62,7 +62,7 @@ public class Card_V1_014_ErrataTests
//assertTrue(card.getBlueprint().getPossessionClasses().contains(PossessionClass.WIZARD));
assertTrue(scn.HasKeyword(card, Keyword.SUPPORT_AREA));
assertEquals(4, card.getBlueprint().getTwilightCost());
assertEquals(6, card.getBlueprint().getStrength());
assertEquals(7, card.getBlueprint().getStrength());
assertEquals(4, card.getBlueprint().getVitality());
//assertEquals(, card.getBlueprint().getResistance());
assertEquals(Signet.GANDALF, card.getBlueprint().getSignet());