fixed a bug with lords not removing altercost correctly when the source is phased.
added cantbeblockerof(this)<--this = the card who owns the ability. cantbeblockerof(targetchooser) <--the target cant block anything targetable by this targetchooser. spin engine and similar will use cantbeblockerof(this). others were done with a workaround, which i hope will be updated soon.
This commit is contained in:
@@ -193,9 +193,17 @@ public:
|
||||
int CantBeTargetby(MTGCardInstance * card);
|
||||
|
||||
vector<TargetChooser *>cantBeBlockedBys;
|
||||
vector<TargetChooser *>cantBeBlockerOfs;
|
||||
vector<MTGCardInstance *>cantBeBlockerOfCards;
|
||||
int addCantBeBlockedBy(TargetChooser * tc);
|
||||
int removeCantBeBlockedBy(TargetChooser *tc, int erase = 0);
|
||||
int cantBeBlockedBy(MTGCardInstance * card);
|
||||
int addCantBeBlockerOf(TargetChooser * tc);
|
||||
int removeCantBeBlockerOf(TargetChooser *tc, int erase = 0);
|
||||
int cantBeBlockerOf(MTGCardInstance * card);
|
||||
int addCantBeBlockerOfCard(MTGCardInstance * card);
|
||||
int removeCantBeBlockerOfCard(MTGCardInstance * card, int erase = 0);
|
||||
int cantBeBlockerOfCard(MTGCardInstance * card);
|
||||
|
||||
void copy(MTGCardInstance * card);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user