-added "this" as valid target (still needs some work)  see cathodion
- Added mythic rares in boosters
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-07-20 03:35:26 +00:00
parent 8d62b9288c
commit a376e8110b
8 changed files with 66 additions and 19 deletions

View File

@@ -53,15 +53,6 @@ class TargetChooserFactory{
};
class CardTargetChooser:public TargetChooser {
protected:
MTGCardInstance * validTarget;
public:
CardTargetChooser(MTGCardInstance * _card, MTGCardInstance * source);
virtual int canTarget(Targetable * target );
};
class TargetZoneChooser:public TargetChooser{
public:
@@ -74,6 +65,16 @@ class TargetZoneChooser:public TargetChooser{
virtual int canTarget(Targetable * _card);
};
class CardTargetChooser:public TargetZoneChooser {
protected:
MTGCardInstance * validTarget;
public:
CardTargetChooser(MTGCardInstance * _card, MTGCardInstance * source,int * _zones = NULL, int _nbzones = 0);
virtual int canTarget(Targetable * target );
};
class CreatureTargetChooser:public TargetZoneChooser{
public:
int maxpower;