mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Merge origin/master
This commit is contained in:
commit
d52043e9db
2 changed files with 3 additions and 8 deletions
|
@ -33,16 +33,13 @@ import mage.abilities.dynamicvalue.DynamicValue;
|
|||
import mage.abilities.dynamicvalue.common.CardsInControllerHandCount;
|
||||
import mage.abilities.dynamicvalue.common.SignInversionDynamicValue;
|
||||
import mage.abilities.effects.Effect;
|
||||
|
||||
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.Zone;
|
||||
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
|
@ -52,13 +49,11 @@ import java.util.UUID;
|
|||
public class GrimStrider extends CardImpl {
|
||||
|
||||
public GrimStrider(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{B}");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{B}");
|
||||
this.subtype.add("Horror");
|
||||
this.power = new MageInt(6);
|
||||
this.toughness = new MageInt(6);
|
||||
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// Grim Strider gets -1/-1 for each card in your hand.
|
||||
DynamicValue count = new SignInversionDynamicValue(new CardsInControllerHandCount());
|
||||
Effect effect = new BoostSourceEffect(count, count, Duration.WhileOnBattlefield);
|
||||
|
@ -76,4 +71,3 @@ public class GrimStrider extends CardImpl {
|
|||
return new GrimStrider(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -45,8 +45,9 @@ public class SplendidAgony extends CardImpl {
|
|||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{B}");
|
||||
|
||||
// Distribute two -1/-1 counters among one or two target creatures.
|
||||
getSpellAbility().addEffect(new DistributeCountersEffect(CounterType.M1M1, 2, false, "one or two target creatures you control"));
|
||||
getSpellAbility().addEffect(new DistributeCountersEffect(CounterType.M1M1, 2, false, "one or two target creatures"));
|
||||
getSpellAbility().addTarget(new TargetCreaturePermanentAmount(2));
|
||||
|
||||
}
|
||||
|
||||
public SplendidAgony(final SplendidAgony card) {
|
||||
|
|
Loading…
Reference in a new issue