Fixed bug with preventing Melira from putting +1/+1 counters on creatures you control

This commit is contained in:
Dmitry Panin
2013-10-22 14:30:59 +04:00
parent f0977ebc04
commit 461eedd626
4 changed files with 62 additions and 20 deletions

View File

@@ -42,13 +42,15 @@ protected:
MTGAbility * source;
MTGCardInstance * cardSource;
MTGCardInstance * cardTarget;
TargetChooser * TargetingCards;
TargetChooser * tc;
Counter * counter;
public:
RECountersPrevention(MTGAbility * _source,MTGCardInstance * cardSource = NULL,MTGCardInstance * cardTarget = NULL,TargetChooser * tc = NULL,Counter * counter = NULL);
RECountersPrevention(MTGAbility * _source, MTGCardInstance * cardSource = NULL,
MTGCardInstance * cardTarget = NULL, TargetChooser * tc = NULL, Counter * counter = NULL);
WEvent * replace(WEvent *e);
~RECountersPrevention();
};
class REDrawReplacement: public ReplacementEffect
{
protected: