Fixed primitives, improved "@discarded", "@counteradded" and "@counterremoved" triggers in order to user "all(trigger)" target.

This commit is contained in:
Vittorio Alfieri
2021-09-22 18:56:43 +02:00
parent 6be219f586
commit cd677111b7
5 changed files with 21 additions and 13 deletions

View File

@@ -66,7 +66,7 @@ struct WEventCounters : public WEvent {
MTGCardInstance * source;
WEventCounters(Counters *counter,string name,int power, int toughness,bool added = false, bool removed = false, MTGCardInstance * source = NULL);
using WEvent::getTarget;
virtual Targetable * getTarget();
virtual Targetable * getTarget(int target);
};
struct WEventLife : public WEvent {