- fixed a bug with orcish lumberjack (sacrifice)
This commit is contained in:
wagic.the.homebrew
2009-02-02 12:02:52 +00:00
parent 51a4a32231
commit 16b9b09515
4 changed files with 36 additions and 3 deletions
+2 -2
View File
@@ -512,9 +512,9 @@ int AbilityFactory::magicText(int id, Spell * spell, MTGCardInstance * card){
if (dryMode) return BAKA_EFFECT_GOOD;
ManaCost * input = ManaCost::parseManaCost(s.substr(0,found));
ManaCost * output = ManaCost::parseManaCost(s.substr(found));
if (input->getConvertedCost() || doTap){
if (!input->isNull() || doTap){
SAFE_DELETE(cost); //erk
if (!input->getConvertedCost()){
if (input->isNull()){
SAFE_DELETE(input);
}
MTGAbility * a = NEW AManaProducer(id, target, output, input);