diff --git a/.gitattributes b/.gitattributes index fcb779de3e1..70d3c731c92 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4360,6 +4360,7 @@ res/cardsfolder/orcish_mechanics.txt -text svneol=native#text/plain res/cardsfolder/orcish_oriflamme.txt -text svneol=native#text/plain res/cardsfolder/orcish_settlers.txt -text svneol=native#text/plain res/cardsfolder/orcish_spy.txt svneol=native#text/plain +res/cardsfolder/orcish_veteran.txt svneol=native#text/plain res/cardsfolder/order_of_leitbur.txt -text svneol=native#text/plain res/cardsfolder/order_of_the_ebon_hand.txt -text svneol=native#text/plain res/cardsfolder/order_of_the_golden_cricket.txt -text svneol=native#text/plain diff --git a/res/cardsfolder/orcish_veteran.txt b/res/cardsfolder/orcish_veteran.txt new file mode 100644 index 00000000000..69742cf6e8a --- /dev/null +++ b/res/cardsfolder/orcish_veteran.txt @@ -0,0 +1,9 @@ +Name:Orcish Veteran +ManaCost:2 R +Types:Creature Orc +Text:no text +PT:2/2 +K:CARDNAME can't block white creatures with power 2 or greater. +SVar:Rarity:Common +SVar:Picture:http://www.wizards.com/global/images/magic/general/orcish_veteran.jpg +End \ No newline at end of file diff --git a/src/forge/CombatUtil.java b/src/forge/CombatUtil.java index 1f1478abd35..f2a6b6f74f9 100644 --- a/src/forge/CombatUtil.java +++ b/src/forge/CombatUtil.java @@ -240,6 +240,10 @@ public class CombatUtil { if(!attacker.getKeyword().contains("Shadow") && blocker.getKeyword().contains("Shadow")) return false; + if(blocker.hasKeyword("CARDNAME can't block white creatures with power 2 or greater.")) { + if(attacker.isWhite() && attacker.getNetAttack() >= 2) return false; + } + // CARDNAME can't block creatures with power ... int powerLimit[] = {0}; int keywordPosition = 0;