Fixed Beastmaster Ascension not working. Try not to use names for counters, use CounterType instead.

This commit is contained in:
magenoxx 2011-08-10 22:38:09 +04:00
parent 60a865ed19
commit 86d306429c
3 changed files with 5 additions and 3 deletions

View file

@ -26,7 +26,7 @@ public class CountersCount implements DynamicValue {
p = (Permanent) game.getLastKnownInformation(sourceAbility.getSourceId(), Constants.Zone.BATTLEFIELD);
}
if (p != null) {
return p.getCounters().getCount(counter.getName());
return p.getCounters().getCount(counter);
}
return 0;
}