forked from External/mage
Simplified effects by removing unnecessary getText instances. (#9374)
This commit is contained in:
parent
076c55f1ea
commit
092f3c3fe1
83 changed files with 134 additions and 677 deletions
|
|
@ -83,6 +83,9 @@ public class AmplifyEffect extends ReplacementEffectImpl {
|
|||
public AmplifyEffect(AmplifyFactor amplifyFactor) {
|
||||
super(Duration.EndOfGame, Outcome.BoostCreature);
|
||||
this.amplifyFactor = amplifyFactor;
|
||||
this.staticText = amplifyFactor.toString() +
|
||||
" <i>(As this enter the battlefield, " + amplifyFactor.getRuleText() + " for each card"
|
||||
+ " you reveal that shares a type with it in your hand.)</i>";
|
||||
}
|
||||
|
||||
public AmplifyEffect(final AmplifyEffect effect) {
|
||||
|
|
@ -133,15 +136,6 @@ public class AmplifyEffect extends ReplacementEffectImpl {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getText(Mode mode) {
|
||||
StringBuilder sb = new StringBuilder(amplifyFactor.toString());
|
||||
sb.append(" <i>(As this enter the battlefield, ");
|
||||
sb.append(amplifyFactor.getRuleText()).append(" for each card"
|
||||
+ " you reveal that shares a type with it in your hand.)</i>");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
@Override
|
||||
public AmplifyEffect copy() {
|
||||
return new AmplifyEffect(this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue