a few more triggered ability text fixes

This commit is contained in:
Evan Kranzler 2021-07-20 19:06:44 -04:00
parent aac4cd00ce
commit e2f1743c6b
4 changed files with 9 additions and 140 deletions

View file

@ -102,22 +102,16 @@ public class AtTheBeginOfMainPhaseDelayedTriggeredAbility extends DelayedTrigger
@Override
public String getRule() {
StringBuilder sb = new StringBuilder();
switch (targetController) {
case YOU:
sb.append("At the beginning of your ").append(phaseSelection.toString()).append(", ");
break;
return "At the beginning of your " + phaseSelection + ", ";
case OPPONENT:
sb.append("At the beginning of an opponent's ").append(phaseSelection.toString()).append(", ");
break;
return "At the beginning of an opponent's " + phaseSelection + ", ";
case ANY:
sb.append("At the beginning of the ").append(phaseSelection.toString()).append(", ");
break;
return "At the beginning of the " + phaseSelection + ", ";
case CONTROLLER_ATTACHED_TO:
sb.append("At the beginning of the ").append(phaseSelection.toString()).append(" of enchanted creature's controller, ");
break;
return "At the beginning of the " + phaseSelection + " of enchanted creature's controller, ";
}
sb.append(getEffects().getText(modes.getMode()));
return sb.toString();
return "";
}
}