mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28: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.removeChangedState()) {
|
||||
c.updateStateForView();
|
||||
}
|
||||
|
||||
copied = CardFactory.copyCard(c, false);
|
||||
|
||||
if (fromBattlefield) {
|
||||
|
||||
@@ -85,17 +85,9 @@ public class CardFactory {
|
||||
// need to copy this values for the tokens
|
||||
out.setEmbalmed(in.isEmbalmed());
|
||||
out.setEternalized(in.isEternalized());
|
||||
|
||||
// add abilities
|
||||
//for (SpellAbility sa : in.getIntrinsicSpellAbilities()) {
|
||||
// out.addSpellAbility(sa);
|
||||
//}
|
||||
}
|
||||
|
||||
out.setZone(in.getZone());
|
||||
for (final CardStateName state : in.getStates()) {
|
||||
CardFactory.copyState(in, state, out, state);
|
||||
}
|
||||
out.setState(in.getCurrentStateName(), true);
|
||||
out.setBackSide(in.isBackSide());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user