- Fixed dynamic reminder text generation for KW Storm.

This commit is contained in:
Agetian
2017-06-08 20:10:10 +00:00
parent 3462573dd9
commit ead5550376

View File

@@ -1965,11 +1965,11 @@ public class Card extends GameEntity implements Comparable<Card> {
} else if (keyword.startsWith("Storm")) {
if (sb.toString().contains("Target") || sb.toString().contains("target")) {
String stormDescBegin = "Storm (When you cast this spell, copy it for each spell cast before it this turn.";
String stormDescEnd = " You may choose new targets for the copies.)";
String stormDescEnd = " You may choose new targets for the copies.";
if (sb.toString().contains(stormDescBegin)) {
sb.insert(sb.indexOf(stormDescBegin) + stormDescBegin.length() + 1, stormDescEnd);
sb.insert(sb.indexOf(stormDescBegin) + stormDescBegin.length(), stormDescEnd);
} else {
sb.append(stormDescBegin + stormDescEnd);
sb.append(stormDescBegin).append(stormDescEnd);
}
}
} else if (keyword.startsWith("Replicate") && !sb.toString().contains("you paid its replicate cost.")) {