add Orcish Veteran (from Fallen Empires)

This commit is contained in:
jendave
2011-08-06 19:25:43 +00:00
parent 60ca9cb7ee
commit 2d439c4568
3 changed files with 14 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -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_oriflamme.txt -text svneol=native#text/plain
res/cardsfolder/orcish_settlers.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_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_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_ebon_hand.txt -text svneol=native#text/plain
res/cardsfolder/order_of_the_golden_cricket.txt -text svneol=native#text/plain res/cardsfolder/order_of_the_golden_cricket.txt -text svneol=native#text/plain

View File

@@ -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

View File

@@ -240,6 +240,10 @@ public class CombatUtil {
if(!attacker.getKeyword().contains("Shadow") && blocker.getKeyword().contains("Shadow")) return false; 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 ... // CARDNAME can't block creatures with power ...
int powerLimit[] = {0}; int powerLimit[] = {0};
int keywordPosition = 0; int keywordPosition = 0;