diff --git a/projects/mtg/include/AllAbilities.h b/projects/mtg/include/AllAbilities.h index 473a97f0c..9096936b6 100644 --- a/projects/mtg/include/AllAbilities.h +++ b/projects/mtg/include/AllAbilities.h @@ -2120,52 +2120,6 @@ public: } }; -//Converts lands to creatures (Kormus bell, Living lands) -class AConvertLandToCreatures: public ListMaintainerAbility -{ -public: - int type; - int power, toughness; - AConvertLandToCreatures(int _id, MTGCardInstance * _source, const char * _type, int _power = 1, int _toughness = 1) : - ListMaintainerAbility(_id, _source), power(_power), toughness(_toughness) - { - type = Subtypes::subtypesList->find(_type); - } - - int canBeInList(MTGCardInstance * card) - { - if (card->hasType(type) && game->isInPlay(card)) return 1; - return 0; - } - - int added(MTGCardInstance * card) - { - card->power = 1; - card->setToughness(1); - card->setSubtype("creature"); - card->summoningSickness = 0; - return 1; - } - - int removed(MTGCardInstance * card) - { - card->removeType("creature"); - return 1; - } - - virtual ostream& toString(ostream& out) const - { - out << "AConvertLandToCreatures ::: power : " << power << " ; toughness : " << toughness << " ; type : " << type << " ("; - return ListMaintainerAbility::toString(out) << ")"; - } - AConvertLandToCreatures * clone() const - { - AConvertLandToCreatures * a = NEW AConvertLandToCreatures(*this); - a->isClone = 1; - return a; - } -}; - //Generic Kird Ape class AAsLongAs: public ListMaintainerAbility, public NestedAbility { diff --git a/projects/mtg/src/MTGAbility.cpp b/projects/mtg/src/MTGAbility.cpp index 4f91db536..8f7336383 100644 --- a/projects/mtg/src/MTGAbility.cpp +++ b/projects/mtg/src/MTGAbility.cpp @@ -3379,11 +3379,6 @@ void AbilityFactory::addAbilities(int _id, Spell * spell) game->addObserver(NEW AJandorsRing(_id, card)); break; } - case 1121: //Kormus Bell - { - game->addObserver(NEW AConvertLandToCreatures(id, card, "swamp")); - break; - } case 1254: //Kudzu { game->addObserver(NEW AKudzu(id, card, card->target)); @@ -3402,12 +3397,6 @@ void AbilityFactory::addAbilities(int _id, Spell * spell) } break; } - - case 1259: //Living lands - { - game->addObserver(NEW AConvertLandToCreatures(id, card, "forest")); - break; - } case 1124: //Mana Vault (the rest is softcoded!) { game->addObserver(NEW ARegularLifeModifierAura(_id + 2, card, card, Constants::MTG_PHASE_DRAW, -1, 1)); @@ -3629,13 +3618,6 @@ void AbilityFactory::addAbilities(int _id, Spell * spell) } break; } - - //Addons Legends - case 1533: //Livingplane - { - game->addObserver(NEW AConvertLandToCreatures(id, card, "land")); - break; - } case 1480: //Energy Tap { card->target->tap();