- [C17] added Vindictive Lich.

- Might need an additional CharmEffect update in case the fact that you can choose multiple modes even with one opponent (but in which case the triggered ability fails and fizzles) is incorrect behavior [not sure].
This commit is contained in:
Agetian
2017-08-11 08:17:31 +00:00
parent 110a078074
commit 51ece30c34
3 changed files with 22 additions and 5 deletions

View File

@@ -104,10 +104,6 @@ public class CharmEffect extends SpellAbilityEffect {
sb.append(Lang.getNumeral(min)).append(" or ").append(list.size() == 2 ? "both" : "more");
}
if (repeat) {
sb.append(". You may choose the same mode more than once.");
}
if (sa.hasParam("ChoiceRestriction")) {
String rest = sa.getParam("ChoiceRestriction");
if (rest.equals("NotRemembered")) {
@@ -115,8 +111,17 @@ public class CharmEffect extends SpellAbilityEffect {
}
}
if (repeat) {
sb.append(". You may choose the same mode more than once.");
}
boolean additionalDesc = sa.hasParam("AdditionalDescription");
if (additionalDesc) {
sb.append(" ").append(sa.getParam("AdditionalDescription").trim());
}
if (!list.isEmpty()) {
if (!repeat) {
if (!repeat && !additionalDesc) {
sb.append(" \u2014");
}
sb.append("\r\n");