-Remove disrupting scepter from the game, closing issue 163
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-12-13 09:45:10 +00:00
parent ee3286ff2a
commit 927382ac8b
5 changed files with 8 additions and 58 deletions

View File

@@ -562,14 +562,6 @@ mana={1}{W}
type=Instant
[/card]
[card]
text={3}, {T}: Target player discards a card. Activate this ability only during your turn.
id=1106
name=Disrupting Scepter
rarity=R
type=Artifact
mana={3}
[/card]
[card]
text={2}: Dragon Engine gets +1/+0 until end of turn.
id=1107
name=Dragon Engine

View File

@@ -88,6 +88,14 @@ type=Sorcery
mana={X}{R}
[/card]
[card]
text={3}, {T}: Target player discards a card. Activate this ability only during your turn.
id=1106
name=Disrupting Scepter
rarity=R
type=Artifact
mana={3}
[/card]
[card]
text=Target player plays a mana ability of each land he or she controls, then empties his or her mana pool. Add mana to your mana pool equal to the type and amount emptied from that player's mana pool this way.
id=1198
name=Drain Power

View File

@@ -2704,50 +2704,6 @@ class AConservator: public MTGAbility{
};
//1106 DisruptingScepter
class ADisruptingScepter:public TargetAbility{
public:
ADisruptingScepter(int id, MTGCardInstance * _source):TargetAbility(id,_source){
int zones[] = {MTGGameZone::OPPONENT_HAND};
tc = NEW TargetZoneChooser(zones,1,_source);
int _cost[] = {Constants::MTG_COLOR_ARTIFACT, 3};
cost = NEW ManaCost(_cost,1);
}
void Update(float dt){
if (game->opponent()->isAI()){
if(waitingForAnswer){
MTGCardInstance * card = ((AIPlayer *)game->opponent())->chooseCard(tc, source);
if (card) tc->toggleTarget(card);
if (!card || tc->targetsReadyCheck() == TARGET_OK) {
waitingForAnswer = 0;
game->mLayers->actionLayer()->setCurrentWaitingAction(NULL);
}
}
TargetAbility::Update(dt);
}else{
TargetAbility::Update(dt);
}
}
int resolve(){
game->opponent()->game->putInGraveyard(tc->getNextCardTarget());
return 1;
}
virtual ostream& toString(ostream& out) const
{
out << "ADisruptingScepter ::: (";
return TargetAbility::toString(out) << ")";
}
ADisruptingScepter * clone() const{
ADisruptingScepter * a = NEW ADisruptingScepter(*this);
a->isClone = 1;
return a;
}
};
//1345 Farmstead
class AFarmstead:public ActivatedAbility{
public:

View File

@@ -1070,12 +1070,6 @@ void AbilityFactory::addAbilities(int _id, Spell * spell){
}
break;
}
case 1106: //Disrupting Scepter
{
ADisruptingScepter * ability = NEW ADisruptingScepter(_id,card);
game->addObserver(ability);
break;
}
case 1284: //Dragon Whelp
{
game->addObserver(NEW ADragonWhelp(_id,card));