- Added Goblin Goon.

This commit is contained in:
jendave
2011-08-07 01:11:16 +00:00
parent b987e930d0
commit f2da6fd9b1
3 changed files with 17 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -2927,6 +2927,7 @@ res/cardsfolder/goblin_gardener.txt svneol=native#text/plain
res/cardsfolder/goblin_gaveleer.txt -text svneol=native#text/plain
res/cardsfolder/goblin_general.txt -text svneol=native#text/plain
res/cardsfolder/goblin_glider.txt -text svneol=native#text/plain
res/cardsfolder/goblin_goon.txt -text svneol=native#text/plain
res/cardsfolder/goblin_grenade.txt -text svneol=native#text/plain
res/cardsfolder/goblin_grenadiers.txt svneol=native#text/plain
res/cardsfolder/goblin_guide.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,9 @@
Name:Goblin Goon
ManaCost:3 R
Types:Creature Goblin Mutant
Text:no text
PT:6/6
K:stPumpSelf:Creature:0/0/CARDNAME can't attack. & CARDNAME can't block.:YouCtrlMoreCreatures:CARDNAME can't attack unless you control more creatures than defending player. CARDNAME can't block unless you control more creatures than attacking player.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/goblin_goon.jpg
End

View File

@@ -5365,6 +5365,13 @@ public class GameActionUtil {
OppLandInPlay = OppLandInPlay.getType("Land");
String maxnumber = SpecialConditions.split("/") [1];
if (!(OppLandInPlay.size() <= Integer.valueOf(maxnumber))) return false;
}
if(SpecialConditions.contains("YouCtrlMoreCreatures")) {
CardList CreaturesInPlayYou = AllZoneUtil.getPlayerCardsInPlay(SourceCard.getController());
CreaturesInPlayYou = CreaturesInPlayYou.getType("Creature");
CardList CreaturesInPlayOpp = AllZoneUtil.getPlayerCardsInPlay(SourceCard.getController().getOpponent());
CreaturesInPlayOpp = CreaturesInPlayOpp.getType("Creature");
if (CreaturesInPlayYou.size() > CreaturesInPlayOpp.size()) return false;
}
if(SpecialConditions.contains("OppLifeLE")) {
int life = SourceCard.getController().getOpponent().getLife();