mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
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:
@@ -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() &&
|
||||
|
||||
@@ -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.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user