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.
This commit is contained in:
omegablast2002@yahoo.com
2011-01-22 17:53:30 +00:00
parent 62873dc971
commit da8f8dd558

View File

@@ -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;
}