- Removing unnecessary "HIDDEN" strings (WIP).

This commit is contained in:
Sloth
2012-11-29 09:01:35 +00:00
parent aa183420af
commit 78bc5718ec
2 changed files with 2 additions and 12 deletions

View File

@@ -231,14 +231,9 @@ public class CloneEffect extends SpellEffect {
keywords.add("\"" + k + "\"");
keywords.remove(k);
}
if (keywords.get(i).startsWith("HIDDEN")) {
tgtCard.addHiddenExtrinsicKeyword(keywords.get(i));
}
else {
tgtCard.addIntrinsicKeyword(keywords.get(i));
}
}
}
// set power of clone
if (sa.hasParam("IntoPlayTapped")) {

View File

@@ -3180,13 +3180,8 @@ public class CardFactoryUtil {
Card temp = CardFactoryUtil.copyStats(c);
for (final String kw : intrinsicKeywords) {
if (kw.startsWith("HIDDEN")) {
temp.addHiddenExtrinsicKeyword(kw);
// extrinsic keywords won't survive the copyStats treatment
} else {
temp.addIntrinsicKeyword(kw);
}
}
temp.setOwner(controller);
temp.setToken(true);
CardFactoryUtil.parseKeywords(temp, temp.getName());