mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
GameAction: don't copy states anymore when card is copied for changed zones
This commit is contained in:
@@ -201,10 +201,6 @@ public class GameAction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!c.isToken()) {
|
if (!c.isToken()) {
|
||||||
if (c.removeChangedState()) {
|
|
||||||
c.updateStateForView();
|
|
||||||
}
|
|
||||||
|
|
||||||
copied = CardFactory.copyCard(c, false);
|
copied = CardFactory.copyCard(c, false);
|
||||||
|
|
||||||
if (fromBattlefield) {
|
if (fromBattlefield) {
|
||||||
|
|||||||
@@ -85,17 +85,9 @@ public class CardFactory {
|
|||||||
// need to copy this values for the tokens
|
// need to copy this values for the tokens
|
||||||
out.setEmbalmed(in.isEmbalmed());
|
out.setEmbalmed(in.isEmbalmed());
|
||||||
out.setEternalized(in.isEternalized());
|
out.setEternalized(in.isEternalized());
|
||||||
|
|
||||||
// add abilities
|
|
||||||
//for (SpellAbility sa : in.getIntrinsicSpellAbilities()) {
|
|
||||||
// out.addSpellAbility(sa);
|
|
||||||
//}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
out.setZone(in.getZone());
|
out.setZone(in.getZone());
|
||||||
for (final CardStateName state : in.getStates()) {
|
|
||||||
CardFactory.copyState(in, state, out, state);
|
|
||||||
}
|
|
||||||
out.setState(in.getCurrentStateName(), true);
|
out.setState(in.getCurrentStateName(), true);
|
||||||
out.setBackSide(in.isBackSide());
|
out.setBackSide(in.isBackSide());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user