mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Added "NonStackingEffect" SVars.
This commit is contained in:
@@ -819,6 +819,9 @@ public class ComputerUtil {
|
||||
*/
|
||||
public static boolean castPermanentInMain1(final Player ai, final SpellAbility sa) {
|
||||
final Card card = sa.getSourceCard();
|
||||
if ("True".equals(card.getSVar("NonStackingEffect")) && card.getController().isCardInPlay(card.getName())) {
|
||||
return false;
|
||||
}
|
||||
if (card.getSVar("PlayMain1").equals("TRUE")) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user