Jonathan - some clean up

This commit is contained in:
leungclj
2009-07-29 01:11:33 +00:00
parent 62048ef486
commit 8149881001
8 changed files with 20 additions and 68 deletions

View File

@@ -4001,39 +4001,6 @@ class ARampageAbility:public MTGAbility{
}
};
// Seedborn Muse
class ASeedbornMuse: public TriggeredAbility{
public:
ASeedbornMuse(int _id, MTGCardInstance * _source):TriggeredAbility(_id, _source){
}
int trigger(){
if (newPhase != currentPhase && newPhase == Constants::MTG_PHASE_UPKEEP && ((MTGCardInstance *) source)->controller()!= game->currentPlayer){
return 1;
}
return 0;
}
int resolve(){
for (int j = source->controller()->game->inPlay->nb_cards-1; j >=0 ; j--){
MTGCardInstance * current = source->controller()->game->inPlay->cards[j];
current->untap();
}
return 1;
}
virtual ostream& toString(ostream& out) const
{
out << "ASeedbornMuse ::: (";
return TriggeredAbility::toString(out) << ")";
}
ASeedbornMuse * clone() const{
ASeedbornMuse * a = NEW ASeedbornMuse(*this);
a->isClone = 1;
return a;
}
};
//Instant Steal control of a target
class AInstantControlSteal: public InstantAbility{
public: