mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Attempting to fix compile errors [please review and update if necessary].
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user