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