forked from External/mage
refactored Player.gainLife() to include source
This commit is contained in:
parent
254935da39
commit
3798f34c38
209 changed files with 221 additions and 218 deletions
|
|
@ -785,7 +785,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(damageDone, game);
|
||||
player.gainLife(damageDone, game, source);
|
||||
}
|
||||
if (sourceAbilities.containsKey(DeathtouchAbility.getInstance().getId())) {
|
||||
deathtouched = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue