Fixed Angel of Vitality in M20 set and added new keyword "except" for @lifeof trigger in order to avoid a life gain loop when a card needs to increment life gaining in that phase (eg. Angel of Vitality).

This commit is contained in:
valfieri
2019-09-10 17:02:50 +02:00
parent 6ecd762d18
commit 06ec97676e
11 changed files with 67 additions and 39 deletions
+2 -1
View File
@@ -71,7 +71,8 @@ struct WEventCounters : public WEvent {
struct WEventLife : public WEvent {
Player * player;
int amount;
WEventLife(Player * player,int amount);
MTGCardInstance * source;
WEventLife(Player * player,int amount, MTGCardInstance * source);
virtual Targetable * getTarget(int target);
};