forked from External/mage
Fixed Beastmaster Ascension not working. Try not to use names for counters, use CounterType instead.
This commit is contained in:
parent
60a865ed19
commit
86d306429c
3 changed files with 5 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue