mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
-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:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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
|
||||
|
||||
10
res/cardsfolder/legions_of_lim_dul.txt
Normal file
10
res/cardsfolder/legions_of_lim_dul.txt
Normal 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
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user