BoostSourceEffect: format X like BoostTargetEffect

primarily to fix Chameleon Colossus and friends, but also updated
Terra Ravager's ability to match the corrected format, and now
both Source and Target support -X, for Death's Shadow.
This commit is contained in:
Neil Gentleman 2015-11-07 12:27:02 -08:00
parent 7830dc1098
commit eda5d1a1ef
4 changed files with 20 additions and 9 deletions

View file

@ -106,6 +106,6 @@ class TerraRavagerLandCount implements DynamicValue {
@Override
public String getMessage() {
return "land defending player controls";
return "the number of lands defending player controls";
}
}

View file

@ -55,7 +55,8 @@ public class DeathsShadow extends CardImpl {
this.toughness = new MageInt(13);
// Death's Shadow gets -X/-X, where X is your life total.
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostSourceEffect(new SignInversionDynamicValue(new ControllerLifeCount()), new SignInversionDynamicValue(new ControllerLifeCount()), Duration.WhileOnBattlefield)));
SignInversionDynamicValue x = new SignInversionDynamicValue(new ControllerLifeCount());
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostSourceEffect(x, x, Duration.WhileOnBattlefield)));
}
public DeathsShadow(final DeathsShadow card) {