mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Fixed Matca Rioters to have P/T from the Domain value in all zones
This commit is contained in:
parent
f078163072
commit
05a823d9c7
1 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@ import mage.MageInt;
|
||||||
import mage.abilities.common.SimpleStaticAbility;
|
import mage.abilities.common.SimpleStaticAbility;
|
||||||
import mage.abilities.dynamicvalue.common.DomainValue;
|
import mage.abilities.dynamicvalue.common.DomainValue;
|
||||||
import mage.abilities.effects.Effect;
|
import mage.abilities.effects.Effect;
|
||||||
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
import mage.abilities.effects.common.continuous.SetPowerToughnessSourceEffect;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
import mage.constants.Duration;
|
import mage.constants.Duration;
|
||||||
|
@ -56,9 +56,9 @@ public class MatcaRioters extends CardImpl {
|
||||||
this.toughness = new MageInt(0);
|
this.toughness = new MageInt(0);
|
||||||
|
|
||||||
// Domain - Matca Rioters's power and toughness are each equal to the number of basic land types among lands you control.
|
// Domain - Matca Rioters's power and toughness are each equal to the number of basic land types among lands you control.
|
||||||
Effect effect = new BoostSourceEffect(new DomainValue(), new DomainValue(), Duration.EndOfGame);
|
Effect effect = new SetPowerToughnessSourceEffect(new DomainValue(), Duration.EndOfGame);
|
||||||
effect.setText("Domain - {this}'s power and toughness are each equal to the number of basic land types among lands you control.");
|
effect.setText("Domain - {this}'s power and toughness are each equal to the number of basic land types among lands you control.");
|
||||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));
|
this.addAbility(new SimpleStaticAbility(Zone.ALL, effect));
|
||||||
}
|
}
|
||||||
|
|
||||||
public MatcaRioters(final MatcaRioters card) {
|
public MatcaRioters(final MatcaRioters card) {
|
||||||
|
|
Loading…
Reference in a new issue