mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
abMakeToken fixes
This commit is contained in:
@@ -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.
|
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
|
PT:5/5
|
||||||
K:Landfall
|
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:BuffedBy:Land
|
||||||
SVar:Rarity:Mythic
|
SVar:Rarity:Mythic
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/avenger_of_zendikar.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/avenger_of_zendikar.jpg
|
||||||
|
|||||||
@@ -36,5 +36,6 @@ abstract public class Ability_Activated extends SpellAbility implements java.io.
|
|||||||
}
|
}
|
||||||
return AllZone.GameAction.isCardInPlay(c) && !c.isFaceDown();
|
return AllZone.GameAction.isCardInPlay(c) && !c.isFaceDown();
|
||||||
//TODO: make sure you can't play the Computer's activated abilities
|
//TODO: make sure you can't play the Computer's activated abilities
|
||||||
|
//TODO: should summoning sickness be checked here as well?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5730,7 +5730,7 @@ public class CardFactory implements NewConstants {
|
|||||||
@Override
|
@Override
|
||||||
public boolean canPlay(){
|
public boolean canPlay(){
|
||||||
Cost_Payment pay = new Cost_Payment(abCost, this);
|
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
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user