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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user