1) Deleted the entries from cards.txt which used the old "This card doesn't untap during your untap step." keyword.

2) Updated these entries to the new form of the keyword and pasted them at the top of file.
3) Updated the code to reflect this change in CardFactoryUtil.java and Input_Untap.java.
This commit is contained in:
jendave
2011-08-06 04:06:56 +00:00
parent a4067310ca
commit ac010bb954
3 changed files with 79 additions and 79 deletions

View File

@@ -1749,10 +1749,10 @@ public class CardFactoryUtil {
});
}
// If extrinsicKeywords contains "This card doesn't untap during your untap step."
// If extrinsicKeywords contains "CARDNAME doesn't untap during your untap step."
// then remove creatures with Vigilance from the list
if (extKeywords.contains("This card doesn't untap during your untap step.")) {
if (extKeywords.contains("CARDNAME doesn't untap during your untap step.")) {
list = list.filter(new CardListFilter() {
public boolean addCard(Card c) {
return c.isCreature() &&

View File

@@ -82,7 +82,7 @@ public class Input_Untap extends Input {
});
for(Card c : list) {
if(!c.getKeyword().contains("This card doesn't untap during your untap step.")
if(!c.getKeyword().contains("CARDNAME doesn't untap during your untap step.")
&& !c.getKeyword().contains("This card doesn't untap during your next untap step.")) c.untap();
else c.removeExtrinsicKeyword("This card doesn't untap during your next untap step.");