mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 20:32:06 -08:00
Added a multiplayer control change test.
This commit is contained in:
parent
efb02f633c
commit
98710f8660
2 changed files with 84 additions and 4 deletions
|
|
@ -32,7 +32,6 @@ import mage.MageInt;
|
|||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.condition.common.SourceOnBattelfieldCondition;
|
||||
import mage.abilities.condition.common.SourceOnBattlefieldControlUnchangedCondition;
|
||||
import mage.abilities.decorator.ConditionalContinuousEffect;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.abilities.effects.common.continuous.GainControlTargetEffect;
|
||||
|
|
@ -56,7 +55,7 @@ public class SowerOfTemptation extends CardImpl {
|
|||
this.expansionSetCode = "LRW";
|
||||
this.subtype.add("Faerie");
|
||||
this.subtype.add("Wizard");
|
||||
this.color.setBlue(true);
|
||||
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
|
|
@ -89,7 +88,7 @@ class SowerOfTemptationGainControlEffect extends OneShotEffect {
|
|||
|
||||
public SowerOfTemptationGainControlEffect() {
|
||||
super(Outcome.GainControl);
|
||||
this.staticText = "gain control of target creature for as long as Sower of Temptation remains on the battlefield";
|
||||
this.staticText = "gain control of target creature for as long as {this} remains on the battlefield";
|
||||
}
|
||||
|
||||
public SowerOfTemptationGainControlEffect(final SowerOfTemptationGainControlEffect effect) {
|
||||
|
|
@ -106,7 +105,7 @@ class SowerOfTemptationGainControlEffect extends OneShotEffect {
|
|||
ConditionalContinuousEffect effect = new ConditionalContinuousEffect(
|
||||
new GainControlTargetEffect(Duration.Custom),
|
||||
new SourceOnBattelfieldCondition(),
|
||||
"gain control of target creature for as long as Sower of Temptation remains on the battlefield");
|
||||
"gain control of target creature for as long as {this} remains on the battlefield");
|
||||
game.addEffect(effect, source);
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue