- little text fix on AfterlifeAbility

This commit is contained in:
jeffwadsworth 2019-01-15 02:28:52 -06:00
parent 2e8f3d6aad
commit efe0c222c4

View file

@ -6,6 +6,7 @@ import mage.game.permanent.token.WhiteBlackSpiritToken;
import mage.util.CardUtil; import mage.util.CardUtil;
public class AfterlifeAbility extends DiesTriggeredAbility { public class AfterlifeAbility extends DiesTriggeredAbility {
private final int tokenCount; private final int tokenCount;
public AfterlifeAbility(int tokenCount) { public AfterlifeAbility(int tokenCount) {
@ -22,7 +23,7 @@ public class AfterlifeAbility extends DiesTriggeredAbility {
public String getRule() { public String getRule() {
return "Afterlife " + tokenCount + " <i>(When this creature dies, create " return "Afterlife " + tokenCount + " <i>(When this creature dies, create "
+ CardUtil.numberToText(tokenCount, "a") + CardUtil.numberToText(tokenCount, "a")
+ " white and black Spirit creature token" + " 1/1 white and black Spirit creature token"
+ (tokenCount > 1 ? "s" : "") + (tokenCount > 1 ? "s" : "")
+ " with flying)</i>"; + " with flying)</i>";
} }