mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
* Marisi, Breaker of the Coil - Fixed can't cast ability.
This commit is contained in:
parent
ffc5f33cd0
commit
d3a925d2c9
2 changed files with 8 additions and 8 deletions
|
@ -1,5 +1,6 @@
|
|||
package mage.cards.m;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.DealsDamageToAPlayerAllTriggeredAbility;
|
||||
|
@ -16,10 +17,6 @@ import mage.game.Game;
|
|||
import mage.game.events.GameEvent;
|
||||
import mage.target.targetpointer.FixedTarget;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import static mage.constants.Outcome.Benefit;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
|
@ -57,7 +54,7 @@ public final class MarisiBreakerOfTheCoil extends CardImpl {
|
|||
class MarisiBreakerOfTheCoilSpellEffect extends ContinuousRuleModifyingEffectImpl {
|
||||
|
||||
MarisiBreakerOfTheCoilSpellEffect() {
|
||||
super(Duration.EndOfTurn, Outcome.Neutral);
|
||||
super(Duration.WhileOnBattlefield, Outcome.PreventCast);
|
||||
staticText = "your opponents can't cast spells during combat";
|
||||
}
|
||||
|
||||
|
@ -92,8 +89,9 @@ class MarisiBreakerOfTheCoilEffect extends OneShotEffect {
|
|||
private static final Effect effect = new GoadTargetEffect();
|
||||
|
||||
MarisiBreakerOfTheCoilEffect() {
|
||||
super(Benefit);
|
||||
staticText = "goad each creature that player controls";
|
||||
super(Outcome.Benefit);
|
||||
staticText = "goad each creature that player controls "
|
||||
+ "<i>(Until your next turn, those creatures attack each combat if able and attack a player other than you if able.)</i>";
|
||||
}
|
||||
|
||||
private MarisiBreakerOfTheCoilEffect(final MarisiBreakerOfTheCoilEffect effect) {
|
||||
|
|
|
@ -28,6 +28,7 @@ public enum Outcome {
|
|||
PutManaInPool(true),
|
||||
Regenerate(true),
|
||||
PreventDamage(true),
|
||||
PreventCast(false),
|
||||
RedirectDamage(true),
|
||||
Tap(false),
|
||||
Transform(true),
|
||||
|
@ -40,6 +41,7 @@ public enum Outcome {
|
|||
Removal(false),
|
||||
AIDontUseIt(false),
|
||||
Vote(true);
|
||||
|
||||
private final boolean good; // good or bad effect for targeting player (for AI usage)
|
||||
private boolean canTargetAll;
|
||||
|
||||
|
|
Loading…
Reference in a new issue