fix Darkstell Juggernaut description

This commit is contained in:
Loki 2011-06-02 23:15:06 +03:00
parent 931803f7bf
commit a25f46cfab
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@ public class DarksteelJuggernaut extends CardImpl<DarksteelJuggernaut> {
this.power = new MageInt(0); this.power = new MageInt(0);
this.toughness = new MageInt(0); this.toughness = new MageInt(0);
SetPowerToughnessSourceEffect effect = new SetPowerToughnessSourceEffect(new ControlledArtifactsOnBattlefieldCount(), new ControlledArtifactsOnBattlefieldCount(), Constants.Duration.EndOfGame); SetPowerToughnessSourceEffect effect = new SetPowerToughnessSourceEffect(new ControlledArtifactsOnBattlefieldCount(), new ControlledArtifactsOnBattlefieldCount(), Constants.Duration.EndOfGame);
effect.setStaticText("Darksteel Juggernaut's power and toughness are each equal to the number of artifacts you control."); effect.setStaticText("Darksteel Juggernaut's power and toughness are each equal to the number of artifacts you control");
this.addAbility(new SimpleStaticAbility(Constants.Zone.ALL, effect)); this.addAbility(new SimpleStaticAbility(Constants.Zone.ALL, effect));
this.addAbility(IndestructibleAbility.getInstance()); this.addAbility(IndestructibleAbility.getInstance());
this.addAbility(new AttacksEachTurnStaticAbility()); this.addAbility(new AttacksEachTurnStaticAbility());

View file

@ -81,7 +81,7 @@ public class SetPowerToughnessSourceEffect extends ContinuousEffectImpl<SetPower
} }
@Override @Override
public String getText(Ability source) { public String getDynamicText(Ability source) {
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
sb.append("{this} ").append(" becomes "); sb.append("{this} ").append(" becomes ");
sb.append(power).append("/").append(toughness).append(" ").append(duration.toString()); sb.append(power).append("/").append(toughness).append(" ").append(duration.toString());