Added/fixed primitives, refactored and improved almost all transforming human cards (included all the Werewolves), improved "flip ability and "doubleside" ability adding a new "backside" option, fixed a bug on "doubleside" ability for planeswalkers, added "backside=" key to CardPrimitive in order to specify the other side of double-faced cards, added "hasbackside" option to target chooser in order to find cards which have a back side, added "dualfaced" that return 1 if a card has a backside card, fixed loyalty counter ability on planeswalker flip (is was not resolving correctly), changed type of damageToController, damageToOpponent, damageToCreature, wasDealtDamage, combatdamageToOpponent from bool to int in order to retrieve those values if needed, added "totaldmg" keyword that returns the total amount of damage dealt by a creature in the current turn, added new restriction "coven in order to check if a player controls three or more creatures with different powers, added new ability "hasdisturb" when the Retrace cost of a card is a disturb cost (e.g. "Beloved Beggar").

This commit is contained in:
Vittorio Alfieri
2021-09-04 01:48:47 +02:00
parent 236f677f2a
commit cc16db7256
23 changed files with 768 additions and 492 deletions
@@ -33,12 +33,6 @@ power=0
toughness=3
[/card]
[card]
name=Waxing Moon
text=Transform up to one target Werewolf you control. Creatures you control gain trample until end of turn.
mana={1}{G}
type=Instant
[/card]
[card]
name=Mirrorwing Dragon
abilities=flying
text=Flying -- Whenever a player casts an instant or sorcery spell that targets only Mirrorwing Dragon, that player copies that spell for each other creature he or she controls that the spell could target. Each copy targets a different one of those creatures.
@@ -97,6 +97,15 @@ mana={2}
type=Artifact
[/card]
[card]
name=Exiled Doomsayer
text=All morph costs cost {2} more. (This doesn't affect the cost to cast creature spells face down.)
mana={1}{W}
type=Creature
subtype=Human Cleric
power=1
toughness=2
[/card]
[card]
name=Grip of Chaos
text=Whenever a spell or ability is put onto the stack, if it has a single target, reselect its target at random. (Select from among all legal targets.)
mana={4}{R}{R}