force event for token sacrifice

This commit is contained in:
Anthony Calosa
2016-07-27 07:11:30 +08:00
parent 2971e64182
commit 014ca36a4a
5 changed files with 36 additions and 25 deletions

View File

@@ -184,7 +184,8 @@ struct WEventCardBlocked : public WEventCardUpdate {
//event when card is sacrificed.
struct WEventCardSacrifice : public WEventCardUpdate {
MTGCardInstance * cardAfter;
WEventCardSacrifice(MTGCardInstance * card,MTGCardInstance * afterCard);
bool istoken;
WEventCardSacrifice(MTGCardInstance * card,MTGCardInstance * afterCard, bool token = false);
virtual Targetable * getTarget(int target);
};