- Added "This creature can't attack unless defending player controls an Island" and "When you control no Islands, sacrifice this creature" keywords.

- Added some new cards: Goblin Chieftain, Vodalian Knights, Fleeting Image, Merfolk Sovereign, corrected Dandan, bunch of other cards.
This commit is contained in:
jendave
2011-08-06 02:49:26 +00:00
parent 0630959330
commit 42c0b170e1
7 changed files with 641 additions and 14 deletions

View File

@@ -13577,8 +13577,11 @@ public class CardFactory implements NewConstants {
public boolean canPlayAI()
{
CardList list = new CardList(AllZone.Computer_Play.getCards());
setTargetCard(CardFactoryUtil.AI_getBestCreature(list));
return (getTargetCard() != null);
if (list.size() > 0) {
setTargetCard(CardFactoryUtil.AI_getBestCreature(list));
return (getTargetCard() != null);
}
return false;
}
};
ability.setBeforePayMana(CardFactoryUtil.input_targetCreature(ability));