mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Removing unnecessary "HIDDEN" strings (WIP).
This commit is contained in:
@@ -231,12 +231,7 @@ 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));
|
||||
}
|
||||
tgtCard.addIntrinsicKeyword(keywords.get(i));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -3180,12 +3180,7 @@ 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.addIntrinsicKeyword(kw);
|
||||
}
|
||||
temp.setOwner(controller);
|
||||
temp.setToken(true);
|
||||
|
||||
Reference in New Issue
Block a user