-add snow landwalk keywords (Snow swampwalk, Snow forestwalk, Snow plainswalk, Snow mountainwalk, Snow islandwalk, and Snow landwalk)

-added Legions of Lim-Dul (from Ice Age) as an example
This commit is contained in:
jendave
2011-08-06 18:42:48 +00:00
parent 2672c9511d
commit 293f637418
3 changed files with 65 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -3435,6 +3435,7 @@ res/cardsfolder/leatherback_baloth.txt -text svneol=native#text/plain
res/cardsfolder/leeches.txt -text svneol=native#text/plain
res/cardsfolder/legacy_weapon.txt -text svneol=native#text/plain
res/cardsfolder/legacys_allure.txt -text svneol=native#text/plain
res/cardsfolder/legions_of_lim_dul.txt -text svneol=native#text/plain
res/cardsfolder/leonin_abunas.txt -text svneol=native#text/plain
res/cardsfolder/leonin_armorguard.txt -text svneol=native#text/plain
res/cardsfolder/leonin_battlemage.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,10 @@
Name:Legions of Lim-Dul
ManaCost:1 B B
Types:Creature Zombie
Text:no text
PT:2/3
K:Snow swampwalk
SVar:RemAIDeck:True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/legions_of_lim_dul.jpg
End

View File

@@ -131,6 +131,60 @@ public class CombatUtil {
if(!temp.isEmpty()) return false;
}
if(attacker.getKeyword().contains("Snow swampwalk")) {
temp = blkCL.filter(new CardListFilter() {
public boolean addCard(Card c) {
return c.isType("Swamp") && c.isSnow();
}
});
if(!temp.isEmpty()) return false;
}
if(attacker.getKeyword().contains("Snow forestwalk")) {
temp = blkCL.filter(new CardListFilter() {
public boolean addCard(Card c) {
return c.isType("Forest") && c.isSnow();
}
});
if(!temp.isEmpty()) return false;
}
if(attacker.getKeyword().contains("Snow islandwalk")) {
temp = blkCL.filter(new CardListFilter() {
public boolean addCard(Card c) {
return c.isType("Island") && c.isSnow();
}
});
if(!temp.isEmpty()) return false;
}
if(attacker.getKeyword().contains("Snow plainswalk")) {
temp = blkCL.filter(new CardListFilter() {
public boolean addCard(Card c) {
return c.isType("Plains") && c.isSnow();
}
});
if(!temp.isEmpty()) return false;
}
if(attacker.getKeyword().contains("Snow mountainwalk")) {
temp = blkCL.filter(new CardListFilter() {
public boolean addCard(Card c) {
return c.isType("Mountain") && c.isSnow();
}
});
if(!temp.isEmpty()) return false;
}
if(attacker.getKeyword().contains("Snow landwalk")) {
temp = blkCL.filter(new CardListFilter() {
public boolean addCard(Card c) {
return c.isLand() && c.isSnow();
}
});
if(!temp.isEmpty()) return false;
}
if(attacker.getKeyword().contains("Desertwalk")) {
temp = blkCL.filter(new CardListFilter() {
public boolean addCard(Card c) {