abMakeToken fixes

This commit is contained in:
jendave
2011-08-06 08:42:58 +00:00
parent b659261110
commit fbd692e1fe
3 changed files with 4 additions and 1 deletions

View File

@@ -4,6 +4,8 @@ Types:Creature Elemental
Text:When Avenger of Zendikar enters the battlefield, put a 0/1 green Plant creature token onto the battlefield for each land you control.\r\nLandfall - Whenever a land enters the battlefield under your control, you may put a +1/+1 counter on each Plant creature you control.
PT:5/5
K:Landfall
K:etbMakeToken<>X<>Plant<>G 0 1 Plant<>Controller<>G<>Creature;Plant<>0<>1<>None<>put a 0/1 green Plant creature token onto the battlefield for each land you control.
SVar:X:Count$NumTypeYouCtrl.Land
SVar:BuffedBy:Land
SVar:Rarity:Mythic
SVar:Picture:http://www.wizards.com/global/images/magic/general/avenger_of_zendikar.jpg

View File

@@ -36,5 +36,6 @@ abstract public class Ability_Activated extends SpellAbility implements java.io.
}
return AllZone.GameAction.isCardInPlay(c) && !c.isFaceDown();
//TODO: make sure you can't play the Computer's activated abilities
//TODO: should summoning sickness be checked here as well?
}
}

View File

@@ -5730,7 +5730,7 @@ public class CardFactory implements NewConstants {
@Override
public boolean canPlay(){
Cost_Payment pay = new Cost_Payment(abCost, this);
return (pay.canPayAdditionalCosts() && CardFactoryUtil.canUseAbility(card) && super.canPlay());
return !card.hasSickness() && (pay.canPayAdditionalCosts() && CardFactoryUtil.canUseAbility(card) && super.canPlay());
}
@Override