-close issue 171 (remove Soul net from the game)
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-12-13 10:21:33 +00:00
parent ee4e9f2262
commit cc46be7fbe
4 changed files with 8 additions and 52 deletions
-8
View File
@@ -1998,14 +1998,6 @@ mana={1}
type=Artifact type=Artifact
[/card] [/card]
[card] [card]
text=Whenever a creature is put into a graveyard from the battlefield, you may pay {1}. If you do, you gain 1 life.
id=1136
name=Soul Net
rarity=U
mana={1}
type=Artifact
[/card]
[card]
text=Counter target spell with converted mana cost X. text=Counter target spell with converted mana cost X.
id=1224 id=1224
name=Spell Blast name=Spell Blast
+8
View File
@@ -487,6 +487,14 @@ type=Instant
mana={U} mana={U}
[/card] [/card]
[card] [card]
text=Whenever a creature is put into a graveyard from the battlefield, you may pay {1}. If you do, you gain 1 life.
id=1136
name=Soul Net
rarity=U
mana={1}
type=Artifact
[/card]
[card]
text=Players can't untap more than one creature during their untap steps. text=Players can't untap more than one creature during their untap steps.
id=1319 id=1319
name=Smoke name=Smoke
-39
View File
@@ -3500,45 +3500,6 @@ class AIslandSanctuary:public MTGAbility{
}; };
//Soul Net
class ASoulNet:public ActivatedAbility{
public:
PutInGraveyard * latest;
PutInGraveyard * newDead;
ASoulNet(int _id, MTGCardInstance * card):ActivatedAbility(_id, card,0,0,0){
int _cost[] = {Constants::MTG_COLOR_ARTIFACT, 1};
cost = NEW ManaCost(_cost,1);
latest = ((PutInGraveyard *) GameObserver::GetInstance()->mLayers->stackLayer()->getPrevious(NULL,ACTION_PUTINGRAVEYARD,RESOLVED_OK));
newDead = latest;
}
int isReactingToClick(MTGCardInstance * card, ManaCost * mana = NULL){
newDead = ((PutInGraveyard *) GameObserver::GetInstance()->mLayers->stackLayer()->getPrevious(NULL,ACTION_PUTINGRAVEYARD,RESOLVED_OK));
if (newDead && newDead != latest && newDead->card->isCreature())
return ActivatedAbility::isReactingToClick(card,mana);
return 0;
}
int resolve(){
latest = newDead;
source->controller()->life++;
return 1;
}
virtual ostream& toString(ostream& out) const
{
out << "ASoulNet ::: latest : " << latest
<< " ; newDead : " << newDead
<< " (";
return ActivatedAbility::toString(out) << ")";
}
ASoulNet * clone() const{
ASoulNet * a = NEW ASoulNet(*this);
a->isClone = 1;
return a;
}
};
//Stasis //Stasis
class AStasis:public ActivatedAbility{ class AStasis:public ActivatedAbility{
public: public:
-5
View File
@@ -1194,11 +1194,6 @@ void AbilityFactory::addAbilities(int _id, Spell * spell){
} }
break; break;
} }
case 1136: //Soul Net
{
game->addObserver( NEW ASoulNet(_id ,card));
break;
}
case 1139: //The Rack case 1139: //The Rack
{ {