XMage 1.4.4v4

This commit is contained in:
LevelX2 2015-09-19 13:09:27 +02:00
parent 513a574ae9
commit cd2842d457
7 changed files with 28 additions and 28 deletions

View file

@ -31,7 +31,6 @@ import java.util.UUID;
import mage.abilities.dynamicvalue.common.ColorsOfManaSpentToCastCount;
import mage.abilities.dynamicvalue.common.SignInversionDynamicValue;
import mage.abilities.dynamicvalue.common.StaticValue;
import mage.abilities.effects.Effect;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.effects.common.continuous.BoostAllEffect;
import mage.cards.CardImpl;
@ -61,9 +60,9 @@ public class RoilmagesTrick extends CardImpl {
// <i>Converge</i> Creatures your opponents control get -X/-0 until end of turn, where X is the number of colors of mana spent to cast Roilmage's Trick.
this.getSpellAbility().setAbilityWord(AbilityWord.CONVERGE);
Effect effect = new BoostAllEffect(new SignInversionDynamicValue(ColorsOfManaSpentToCastCount.getInstance()), new StaticValue(-0), Duration.EndOfTurn, filter, false);
effect.setText("Creatures your opponents control get -X/-0 until end of turn, where X is the number of colors of mana spent to cast {this}.<br>");
this.getSpellAbility().addEffect(effect);
this.getSpellAbility().addEffect(new BoostAllEffect(
new SignInversionDynamicValue(ColorsOfManaSpentToCastCount.getInstance()), new StaticValue(-0), Duration.EndOfTurn, filter, false,
"Creatures your opponents control get -X/-0 until end of turn, where X is the number of colors of mana spent to cast {this}.<br>", true));
// Draw a card.
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));

View file

@ -64,8 +64,8 @@ import mage.target.common.TargetControlledPermanent;
* @author fireshoes
*/
public class VeteranWarleader extends CardImpl {
private static final FilterControlledCreaturePermanent filter = new FilterControlledCreaturePermanent("another untapped Ally");
private static final FilterControlledCreaturePermanent filter = new FilterControlledCreaturePermanent("another untapped Ally you control");
static {
filter.add(new AnotherPredicate());
@ -84,9 +84,9 @@ public class VeteranWarleader extends CardImpl {
// Veteran Warleader's power and toughness are each equal to the number of creatures you control.
this.addAbility(new SimpleStaticAbility(Zone.ALL, new SetPowerToughnessSourceEffect(
new PermanentsOnBattlefieldCount(new FilterControlledCreaturePermanent()), Duration.EndOfGame)));
// Tap another untapped Ally you control: Veteran Warleader gains your choice of first strike, vigilance, or trample until end of turn.
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD,
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD,
new VeteranWarleaderEffect(), new TapTargetCost(new TargetControlledPermanent(1, 1, filter, true))));
}
@ -101,6 +101,7 @@ public class VeteranWarleader extends CardImpl {
}
class VeteranWarleaderEffect extends OneShotEffect {
VeteranWarleaderEffect() {
super(Outcome.AddAbility);
staticText = "{this} gains your choice of first strike, vigilance, or trample until end of turn";