Skinrender card. CounterType.getInstance -> CounterType.createInstance. Updated EverflowingChalice.

This commit is contained in:
magenoxx 2010-12-30 09:10:53 +03:00
parent 3d9dd3f3a4
commit 2c4af82dfa
5 changed files with 99 additions and 8 deletions

View file

@ -631,7 +631,7 @@ public abstract class PlayerImpl<T extends PlayerImpl<T>> implements Player, Ser
if (actualDamage > 0) {
Permanent source = game.getPermanent(sourceId);
if (source != null && (source.getAbilities().containsKey(InfectAbility.getInstance().getId()))) {
getCounters().addCounter(CounterType.POISON.getInstance(actualDamage));
getCounters().addCounter(CounterType.POISON.createInstance(actualDamage));
} else {
actualDamage = this.loseLife(actualDamage, game);
}