mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
refactor LandAbility to be created by CardFactory (#5047)
--------- Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package forge.ai.simulation;
|
||||
|
||||
import forge.game.spellability.LandAbility;
|
||||
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
@@ -84,7 +84,7 @@ public class SpellAbilityPickerSimulationTest extends SimulationTest {
|
||||
|
||||
SpellAbilityPicker picker = new SpellAbilityPicker(game, p);
|
||||
SpellAbility sa = picker.chooseSpellAbilityToPlay(null);
|
||||
AssertJUnit.assertTrue(sa instanceof LandAbility);
|
||||
AssertJUnit.assertTrue(sa.isLandAbility());
|
||||
AssertJUnit.assertEquals(mountain, sa.getHostCard());
|
||||
|
||||
Plan plan = picker.getPlan();
|
||||
|
||||
Reference in New Issue
Block a user