forked from External/mage
* Gratuitous Violence - FIxed that if the damage of a creature with lifelink was doubeled only the non doubled amount was added to life.
This commit is contained in:
parent
88eeb2e0e1
commit
899046cf16
3 changed files with 106 additions and 9 deletions
|
|
@ -28,7 +28,6 @@
|
|||
package mage.game.permanent;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import mage.MageObject;
|
||||
import mage.MageObjectReference;
|
||||
import mage.ObjectColor;
|
||||
|
|
@ -751,7 +750,7 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
|
|||
if (source != null && sourceAbilities != null) {
|
||||
if (sourceAbilities.containsKey(LifelinkAbility.getInstance().getId())) {
|
||||
Player player = game.getPlayer(sourceControllerId);
|
||||
player.gainLife(damageAmount, game);
|
||||
player.gainLife(damageDone, game);
|
||||
}
|
||||
if (sourceAbilities.containsKey(DeathtouchAbility.getInstance().getId())) {
|
||||
deathtouched = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue