mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
[SOK] Added 5 green cards (minor fixes).
This commit is contained in:
parent
53650b1592
commit
d52ab85018
2 changed files with 8 additions and 2 deletions
|
@ -30,6 +30,7 @@ package mage.sets.saviorsofkamigawa;
|
|||
import java.util.UUID;
|
||||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.dynamicvalue.common.CardsInControllerHandCount;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.abilities.effects.common.continious.BoostTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.constants.CardType;
|
||||
|
@ -52,7 +53,9 @@ public class InnerCalmOuterStrength extends CardImpl {
|
|||
|
||||
// Target creature gets +X/+X until end of turn, where X is the number of cards in your hand.
|
||||
DynamicValue xValue= new CardsInControllerHandCount();
|
||||
this.getSpellAbility().addEffect(new BoostTargetEffect(xValue, xValue, Duration.EndOfTurn));
|
||||
Effect effect = new BoostTargetEffect(xValue, xValue, Duration.EndOfTurn, true);
|
||||
effect.setText("Target creature gets +X/+X until end of turn, where X is the number of cards in your hand");
|
||||
this.getSpellAbility().addEffect(effect);
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
}
|
||||
|
||||
|
|
|
@ -33,6 +33,7 @@ import mage.abilities.common.SimpleStaticAbility;
|
|||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.dynamicvalue.MultipliedValue;
|
||||
import mage.abilities.dynamicvalue.common.CardsInControllerHandCount;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.abilities.effects.common.continious.SetPowerToughnessSourceEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.constants.CardType;
|
||||
|
@ -58,7 +59,9 @@ public class MasumaroFirstToLive extends CardImpl {
|
|||
|
||||
// Masumaro, First to Live's power and toughness are each equal to twice the number of cards in your hand.
|
||||
DynamicValue xValue= new MultipliedValue(new CardsInControllerHandCount(), 2);
|
||||
this.addAbility(new SimpleStaticAbility(Zone.ALL, new SetPowerToughnessSourceEffect(xValue, Duration.EndOfGame)));
|
||||
Effect effect = new SetPowerToughnessSourceEffect(xValue, Duration.EndOfGame);
|
||||
effect.setText("{this}'s power and toughness are each equal to twice the number of cards in your hand");
|
||||
this.addAbility(new SimpleStaticAbility(Zone.ALL, effect));
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue