mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Fixed: damage dealt should not be equal to life lost.
This commit is contained in:
parent
7b6548ca65
commit
962f91d3da
1 changed files with 3 additions and 1 deletions
|
@ -648,7 +648,9 @@ public abstract class PlayerImpl<T extends PlayerImpl<T>> implements Player, Ser
|
|||
if (source != null && (source.getAbilities().containsKey(InfectAbility.getInstance().getId()))) {
|
||||
getCounters().addCounter(CounterType.POISON.createInstance(actualDamage));
|
||||
} else {
|
||||
actualDamage = this.loseLife(actualDamage, game);
|
||||
// fixed: damage dealt should not be equal to life lost
|
||||
// actualDamage = this.loseLife(actualDamage, game);
|
||||
this.loseLife(actualDamage, game);
|
||||
}
|
||||
if (source != null && source.getAbilities().containsKey(LifelinkAbility.getInstance().getId())) {
|
||||
Player player = game.getPlayer(source.getControllerId());
|
||||
|
|
Loading…
Reference in a new issue