added an ability keyword that resolves to do nothing.

"donothing"
this is to avoid using powerandtoughness 0/0 ability to mean "do nothing"

old code
[card]
name=Inquisition
target=player
auto=target(*|targetedpersonshand) 0/0
auto=foreach(*[white]|targetedpersonshand) damage:1 targetedplayer
text=Target player reveals his or her hand. Inquisition deals damage to that player equal to the number of white cards in his or her hand.
mana={2}{B}
type=Sorcery
[/card]

new code
[card]
name=Inquisition
target=player
auto=target(*|targetedpersonshand) donothing
auto=foreach(*[white]|targetedpersonshand) damage:1 targetedplayer
text=Target player reveals his or her hand. Inquisition deals damage to that player equal to the number of white cards in his or her hand.
mana={2}{B}
type=Sorcery
[/card]
This commit is contained in:
omegablast2002@yahoo.com
2013-01-30 02:38:25 +00:00
parent b7a2c000be
commit f8800b8bbd
3 changed files with 38 additions and 0 deletions

View File

@@ -1028,6 +1028,15 @@ public:
AAResetDamage * clone() const;
};
class AAFakeAbility: public ActivatedAbility
{
public:
AAFakeAbility(GameObserver* observer, int id, MTGCardInstance * source, MTGCardInstance * target, ManaCost * cost = NULL);
int resolve();
const char* getMenuText();
AAFakeAbility * clone() const;
};
class AAFizzler: public ActivatedAbility
{