mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- State effects are now checked after a land is played (fixes the legend rule).
This commit is contained in:
@@ -787,6 +787,7 @@ public class AiController {
|
|||||||
landsWannaPlay.remove(land);
|
landsWannaPlay.remove(land);
|
||||||
player.playLand(land, false);
|
player.playLand(land, false);
|
||||||
game.getPhaseHandler().setPriority(player);
|
game.getPhaseHandler().setPriority(player);
|
||||||
|
game.getAction().checkStateEffects();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -86,6 +86,7 @@ public class HumanPlay {
|
|||||||
if (sa == Ability.PLAY_LAND_SURROGATE) {
|
if (sa == Ability.PLAY_LAND_SURROGATE) {
|
||||||
p.playLand(sa.getSourceCard(), false);
|
p.playLand(sa.getSourceCard(), false);
|
||||||
p.getGame().getPhaseHandler().setPriority(p);
|
p.getGame().getPhaseHandler().setPriority(p);
|
||||||
|
p.getGame().getAction().checkStateEffects();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user