mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
BecomesCreatureAllEffect text adjust / simplify
This commit is contained in:
parent
1c6c68e1a4
commit
a7de73723f
3 changed files with 13 additions and 21 deletions
|
|
@ -21,20 +21,15 @@ public class BecomesCreatureAllEffect extends ContinuousEffectImpl {
|
|||
protected Token token;
|
||||
protected String theyAreStillType;
|
||||
private final FilterPermanent filter;
|
||||
private boolean loseColor = true;
|
||||
private boolean loseTypes = false;
|
||||
protected boolean loseName = false;
|
||||
private final boolean loseColor;
|
||||
private final boolean loseTypes;
|
||||
private final boolean loseName;
|
||||
|
||||
public BecomesCreatureAllEffect(Token token, String theyAreStillType,
|
||||
FilterPermanent filter, Duration duration, boolean loseColor) {
|
||||
this(token, theyAreStillType, filter, duration, loseColor, false, false);
|
||||
}
|
||||
|
||||
public BecomesCreatureAllEffect(Token token, String theyAreStillType,
|
||||
FilterPermanent filter, Duration duration, boolean loseColor, boolean loseName) {
|
||||
this(token, theyAreStillType, filter, duration, loseColor, loseName, false);
|
||||
}
|
||||
|
||||
public BecomesCreatureAllEffect(Token token, String theyAreStillType,
|
||||
FilterPermanent filter, Duration duration, boolean loseColor, boolean loseName, boolean loseTypes) {
|
||||
super(duration, Outcome.BecomeCreature);
|
||||
|
|
@ -179,7 +174,7 @@ public class BecomesCreatureAllEffect extends ContinuousEffectImpl {
|
|||
}
|
||||
sb.append(token.getDescription());
|
||||
if (theyAreStillType != null && !theyAreStillType.isEmpty()) {
|
||||
sb.append(". They're still ").append(theyAreStillType);
|
||||
sb.append(" that are still ").append(theyAreStillType);
|
||||
}
|
||||
return sb.toString();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue