- Attempting to fix compile errors [please review and update if necessary].

This commit is contained in:
Agetian
2017-02-16 17:48:21 +00:00
parent 33917b7d65
commit 2e10dacd9a
2 changed files with 4 additions and 2 deletions

View File

@@ -62,8 +62,9 @@ public class CostDamage extends CostPart {
public boolean payAsDecided(Player payer, PaymentDecision decision, SpellAbility sa) {
final Card source = sa.getHostCard();
CardDamageMap damageMap = new CardDamageMap();
CardDamageMap preventMap = new CardDamageMap();
payer.addDamage(decision.c, source, damageMap);
payer.addDamage(decision.c, source, damageMap, preventMap);
damageMap.dealLifelinkDamage();

View File

@@ -388,8 +388,9 @@ public class HumanPlay {
return false;
}
CardDamageMap damageMap = new CardDamageMap();
CardDamageMap preventMap = new CardDamageMap();
p.addDamage(amount, source, damageMap);
p.addDamage(amount, source, damageMap, preventMap);
damageMap.dealLifelinkDamage();
}