- Added Runed Halo

This commit is contained in:
swordshine
2013-04-02 07:57:59 +00:00
parent d9778c9cfa
commit 1f42e9cc70
3 changed files with 17 additions and 0 deletions

View File

@@ -154,6 +154,12 @@ public class StaticAbilityContinuous {
for (int w = 0; w < addKeywords.length; w++) {
addKeywords[w] = addKeywords[w].replaceAll("ChosenType", chosenType);
}
final String chosenName = hostCard.getNamedCard();
for (int w = 0; w < addKeywords.length; w++) {
if (addKeywords[w].startsWith("Protection:")) {
addKeywords[w] = addKeywords[w].replaceAll("ChosenName", "Card.named" + chosenName);
}
}
}
if (params.containsKey("AddHiddenKeyword")) {