- some dangerous casts Player/MTGCardInstance fixed
- removed typeAsTarget function and replaced with dynamic casting - The test suite passes, but it is possible that I busted some of AI's features :(
This commit is contained in:
@@ -250,7 +250,7 @@ class MTGVampireRule: public PermanentAbility
|
||||
{
|
||||
public:
|
||||
MTGVampireRule(GameObserver* observer, int _id);
|
||||
map<MTGCardInstance*,vector<MTGCardInstance*> > victems;
|
||||
map<MTGCardInstance*,vector<MTGCardInstance*> > victims;
|
||||
int receiveEvent(WEvent * event);
|
||||
virtual ostream& toString(ostream& out) const;
|
||||
virtual MTGVampireRule * clone() const;
|
||||
|
||||
Reference in New Issue
Block a user