Improved the Modal Double Faced cards for Zendikar set, added primitives that deals x damage divided on any target, added/fixed planeswalkers and improved kicker cost event handling.

This commit is contained in:
valfieri
2020-10-08 19:18:52 +02:00
parent ad26450151
commit a6a053e10e
9 changed files with 196 additions and 76 deletions

View File

@@ -1326,6 +1326,10 @@ public:
return 0;
if(isSuspended && !source->suspended)
return 0;
if(e->forcetrigger){ //Added a force trigger for modal double faced card (eg. Zendikar Rising)
triggeredTurn = game->turn;
return 1;
}
if (!toTcZone->targetsZone(e->to)) return 0;
if (!toTcCard->canTarget(e->card)) return 0;
if (fromTcZone && !fromTcZone->targetsZone(e->from)) return 0;