added a new method to use countershroud to create a globel shroud by targetchooser...auto=countershroud(-1/-1)creature|mybattlefield...like this....
This commit is contained in:
@@ -3910,9 +3910,10 @@ public:
|
||||
class ACounterShroud: public MTGAbility
|
||||
{
|
||||
public:
|
||||
TargetChooser * csTc;
|
||||
Counter * counter;
|
||||
RECountersPrevention * re;
|
||||
ACounterShroud(GameObserver* observer, int id, MTGCardInstance * source, MTGCardInstance * target, Counter * counter = NULL);
|
||||
ACounterShroud(GameObserver* observer, int id, MTGCardInstance * source, MTGCardInstance * target,TargetChooser * tc, Counter * counter = NULL);
|
||||
int addToGame();
|
||||
int destroy();
|
||||
ACounterShroud * clone() const;
|
||||
|
||||
@@ -42,9 +42,10 @@ protected:
|
||||
MTGAbility * source;
|
||||
MTGCardInstance * cardSource;
|
||||
MTGCardInstance * cardTarget;
|
||||
TargetChooser * TargetingCards;
|
||||
Counter * counter;
|
||||
public:
|
||||
RECountersPrevention(MTGAbility * _source,MTGCardInstance * cardSource = NULL,MTGCardInstance * cardTarget = NULL,Counter * counter = NULL);
|
||||
RECountersPrevention(MTGAbility * _source,MTGCardInstance * cardSource = NULL,MTGCardInstance * cardTarget = NULL,TargetChooser * tc = NULL,Counter * counter = NULL);
|
||||
WEvent * replace(WEvent *e);
|
||||
~RECountersPrevention();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user