mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
Fixed Morph handling, fixed that face down cards stay face down after zone change.
This commit is contained in:
parent
c888957fa0
commit
f137f9c49c
9 changed files with 59 additions and 7 deletions
|
|
@ -83,6 +83,7 @@ public abstract class AbilityImpl implements Ability {
|
|||
protected boolean ruleAdditionalCostsVisible = true;
|
||||
protected boolean costModificationActive = true;
|
||||
protected boolean activated = false;
|
||||
protected boolean worksFaceDown = false;
|
||||
|
||||
public AbilityImpl(AbilityType abilityType, Zone zone) {
|
||||
this.id = UUID.randomUUID();
|
||||
|
|
@ -117,6 +118,7 @@ public abstract class AbilityImpl implements Ability {
|
|||
this.ruleVisible = ability.ruleVisible;
|
||||
this.ruleAdditionalCostsVisible = ability.ruleAdditionalCostsVisible;
|
||||
this.costModificationActive = ability.costModificationActive;
|
||||
this.worksFaceDown = ability.worksFaceDown;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -945,5 +947,17 @@ public abstract class AbilityImpl implements Ability {
|
|||
this.costModificationActive = active;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getWorksFaceDown() {
|
||||
return worksFaceDown;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setWorksFaceDown(boolean worksFaceDown) {
|
||||
this.worksFaceDown = worksFaceDown;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue