mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
day_of_the_moon.txt and support/refactor in NameCard (#3890)
* day_of_the_moon.txt and support/refactor
This commit is contained in:
@@ -885,11 +885,11 @@ public class SpellAbilityPickerSimulationTest extends SimulationTest {
|
||||
|
||||
// If we have a Pithing Needle, but it's naming something else, that's still fine.
|
||||
Card pithingNeedle = addCard("Pithing Needle", opponent);
|
||||
pithingNeedle.setNamedCard("Flooded Strand");
|
||||
pithingNeedle.addNamedCard("Flooded Strand");
|
||||
assertPickIsGoblinBombardmentTargetingOpponent.run();
|
||||
|
||||
// But if it's naming Gobling Bombardment, then we can't choose that SA.
|
||||
pithingNeedle.setNamedCard("Goblin Bombardment");
|
||||
pithingNeedle.addNamedCard("Goblin Bombardment");
|
||||
game.getAction().checkStateEffects(true);
|
||||
AssertJUnit.assertNull(picker.chooseSpellAbilityToPlay(null));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user