mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
fix Darkstell Juggernaut description
This commit is contained in:
parent
931803f7bf
commit
a25f46cfab
2 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||||
|
|
|
@ -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());
|
||||||
|
|
Loading…
Reference in a new issue