mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
[mage.core] Setting poison counters fix.
This commit is contained in:
parent
6ba6d46f43
commit
e3b9c8f20d
1 changed files with 1 additions and 1 deletions
|
@ -627,7 +627,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());
|
||||
getCounters().addCounter(CounterType.POISON.getInstance(actualDamage));
|
||||
} else {
|
||||
actualDamage = this.loseLife(actualDamage, game);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue