Fixed primitives, added new ability "exploits" to sacrifice a creature, added new trigger "exploited" and improved all primitives with Exploit ability, improved "tokencreated" and "sacrificed" triggers to allow "turnlimited" option, improved "flip" ability in order to keep track of current zone before flip.
This commit is contained in:
@@ -195,6 +195,13 @@ struct WEventCardSacrifice : public WEventCardUpdate {
|
||||
virtual Targetable * getTarget(int target);
|
||||
};
|
||||
|
||||
//event when card is exploited.
|
||||
struct WEventCardExploited : public WEventCardUpdate {
|
||||
MTGCardInstance * cardAfter;
|
||||
WEventCardExploited(MTGCardInstance * card,MTGCardInstance * afterCard);
|
||||
virtual Targetable * getTarget(int target);
|
||||
};
|
||||
|
||||
//event when card is discarded.
|
||||
struct WEventCardDiscard : public WEventCardUpdate {
|
||||
WEventCardDiscard(MTGCardInstance * card);
|
||||
|
||||
Reference in New Issue
Block a user