text fixes

This commit is contained in:
xenohedron 2024-06-06 23:05:44 -04:00
parent 49d1f5823f
commit f2d6629313
10 changed files with 25 additions and 30 deletions

View file

@ -1,4 +1,3 @@
package mage.abilities.effects.common.counter;
import mage.abilities.Ability;
@ -43,10 +42,13 @@ public class GetEnergyCountersControllerEffect extends OneShotEffect {
}
private void setText() {
if (!staticText.isEmpty()) {
if (staticText == null || !staticText.isEmpty()) {
return;
}
if (value.getMessage().equals("that many")) {
staticText = "that many {E}";
return;
}
StringBuilder sb = new StringBuilder();
sb.append("you get ");
int val;