fixed Mana Maze not allowing colorless spells to be cast (fixes
@@ -57,7 +57,6 @@ public class ManaMaze extends CardImpl {
// Players can't cast spells that share a color with the spell most recently cast this turn.
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new ManaMazeEffect()), new LastSpellCastWatcher());
-
}
public ManaMaze(final ManaMaze card) {
@@ -91,9 +90,8 @@ class ManaMazeEffect extends ContinuousRuleModifyingEffectImpl {
Card card = game.getCard(event.getSourceId());
if (card != null) {
LastSpellCastWatcher watcher = (LastSpellCastWatcher) game.getState().getWatchers().get(LastSpellCastWatcher.class.getSimpleName());
- if (watcher != null
- && watcher.lastSpellCast != null) {
- return card.getColor(game).contains(watcher.lastSpellCast.getColor(game));
+ if (watcher != null && watcher.lastSpellCast != null) {
+ return !card.getColor(game).intersection(watcher.lastSpellCast.getColor(game)).isColorless();
}
}
return false;
