mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
SpellAbilityRestriction; fix for mayPlay only for non-Basic Spells (until the mayPlay are more connected)
This commit is contained in:
@@ -216,7 +216,7 @@ public class SpellAbilityRestriction extends SpellAbilityVariables {
|
|||||||
if (cardZone != null && cardZone.is(ZoneType.Stack)) {
|
if (cardZone != null && cardZone.is(ZoneType.Stack)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (c.mayPlay(activator) != null) {
|
if (!sa.isBasicSpell() && c.mayPlay(activator) != null) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (c.hasKeyword("May be played") && activator.equals(c.getController())) {
|
if (c.hasKeyword("May be played") && activator.equals(c.getController())) {
|
||||||
|
|||||||
Reference in New Issue
Block a user