mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
SpellAbility.paidLifeAmount and accessors
This commit is contained in:
@@ -115,6 +115,7 @@ public abstract class SpellAbility extends CardTraitBase implements ISpellAbilit
|
||||
private Pair<Long, Player> controlledByPlayer;
|
||||
private ManaCostBeingPaid manaCostBeingPaid;
|
||||
private boolean spentPhyrexian = false;
|
||||
private int paidLifeAmount = 0;
|
||||
|
||||
private SpellAbility grantorOriginal;
|
||||
private StaticAbility grantorStatic;
|
||||
@@ -624,6 +625,13 @@ public abstract class SpellAbility extends CardTraitBase implements ISpellAbilit
|
||||
this.spentPhyrexian = value;
|
||||
}
|
||||
|
||||
public final int getAmountLifePaid() {
|
||||
return this.paidLifeAmount;
|
||||
}
|
||||
public final void setPaidLife(int value) {
|
||||
this.paidLifeAmount = value;
|
||||
}
|
||||
|
||||
public final void applyPayingManaEffects() {
|
||||
Card host = getHostCard();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user