mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08: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()))) {
|
if (source != null && (source.getAbilities().containsKey(InfectAbility.getInstance().getId()))) {
|
||||||
getCounters().addCounter(CounterType.POISON.createInstance(actualDamage));
|
getCounters().addCounter(CounterType.POISON.createInstance(actualDamage));
|
||||||
} else {
|
} 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())) {
|
if (source != null && source.getAbilities().containsKey(LifelinkAbility.getInstance().getId())) {
|
||||||
Player player = game.getPlayer(source.getControllerId());
|
Player player = game.getPlayer(source.getControllerId());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue