From da8f8dd55821a6c695f29067df443426986e8072 Mon Sep 17 00:00:00 2001 From: "omegablast2002@yahoo.com" Date: Sat, 22 Jan 2011 17:53:30 +0000 Subject: [PATCH] fixeda bug with counter cost when uses with lords/aslongas/foreach/insert any ability other then auto={c(1/1,-1)}:effect.... tho no ticket was open for it using such combinations actually ADDED counters to a card instead of removing them. this is because in the clone of the cost, the counters original nb was never set into the clones...so it was set to the defualt nb which was 1. --- projects/mtg/src/ExtraCost.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/mtg/src/ExtraCost.cpp b/projects/mtg/src/ExtraCost.cpp index b6b232d9c..0f3a0a66b 100644 --- a/projects/mtg/src/ExtraCost.cpp +++ b/projects/mtg/src/ExtraCost.cpp @@ -438,6 +438,7 @@ CounterCost * CounterCost::clone() const ec->tc = tc->clone(); if (counter) ec->counter = NEW Counter(counter->target, counter->name.c_str(), counter->power, counter->toughness); + ec->counter->nb = counter->nb; return ec; }