mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 06:22:01 -08:00
rework effects which increase loyalty abilities (closes #9626)
This commit is contained in:
parent
3fd3cb27e2
commit
09797d4cf6
9 changed files with 59 additions and 98 deletions
|
|
@ -94,7 +94,6 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
protected Counters counters;
|
||||
protected int landsPlayed;
|
||||
protected int landsPerTurn = 1;
|
||||
protected int loyaltyUsePerTurn = 1;
|
||||
protected int maxHandSize = 7;
|
||||
protected int maxAttackedBy = Integer.MAX_VALUE;
|
||||
protected ManaPool manaPool;
|
||||
|
|
@ -225,7 +224,6 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
|
||||
this.landsPlayed = player.landsPlayed;
|
||||
this.landsPerTurn = player.landsPerTurn;
|
||||
this.loyaltyUsePerTurn = player.loyaltyUsePerTurn;
|
||||
this.maxHandSize = player.maxHandSize;
|
||||
this.maxAttackedBy = player.maxAttackedBy;
|
||||
this.manaPool = player.manaPool.copy();
|
||||
|
|
@ -326,7 +324,6 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
|
||||
this.landsPlayed = player.getLandsPlayed();
|
||||
this.landsPerTurn = player.getLandsPerTurn();
|
||||
this.loyaltyUsePerTurn = player.getLoyaltyUsePerTurn();
|
||||
this.maxHandSize = player.getMaxHandSize();
|
||||
this.maxAttackedBy = player.getMaxAttackedBy();
|
||||
this.manaPool = player.getManaPool().copy();
|
||||
|
|
@ -464,7 +461,6 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
public void reset() {
|
||||
this.abilities.clear();
|
||||
this.landsPerTurn = 1;
|
||||
this.loyaltyUsePerTurn = 1;
|
||||
this.maxHandSize = 7;
|
||||
this.maxAttackedBy = Integer.MAX_VALUE;
|
||||
this.canGainLife = true;
|
||||
|
|
@ -2317,16 +2313,6 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
this.landsPerTurn = landsPerTurn;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getLoyaltyUsePerTurn() {
|
||||
return this.loyaltyUsePerTurn;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setLoyaltyUsePerTurn(int loyaltyUsePerTurn) {
|
||||
this.loyaltyUsePerTurn = loyaltyUsePerTurn;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMaxHandSize() {
|
||||
return maxHandSize;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue