mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
removed Copier
This commit is contained in:
parent
59f8e3e324
commit
32c27cd8cb
1 changed files with 4 additions and 2 deletions
|
|
@ -39,7 +39,7 @@ import mage.ObjectColor;
|
|||
import mage.abilities.Abilities;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.costs.mana.ManaCosts;
|
||||
import mage.abilities.effects.common.ExileSourceEffect;
|
||||
import mage.abilities.effects.common.ExileSpellEffect;
|
||||
import mage.abilities.keyword.KickerAbility;
|
||||
import mage.cards.Card;
|
||||
import mage.game.events.GameEvent;
|
||||
|
|
@ -53,6 +53,8 @@ import mage.watchers.Watchers;
|
|||
*/
|
||||
public class Spell implements StackObject, Card {
|
||||
|
||||
// private static final transient Copier<Spell> copier = new Copier<Spell>();
|
||||
|
||||
private Card card;
|
||||
private UUID controllerId;
|
||||
|
||||
|
|
@ -79,7 +81,7 @@ public class Spell implements StackObject, Card {
|
|||
if (!replaced)
|
||||
result = ability.resolve(game);
|
||||
|
||||
if (ability.getEffects().contains(ExileSourceEffect.getInstance()))
|
||||
if (ability.getEffects().contains(ExileSpellEffect.getInstance()))
|
||||
game.getExile().getPermanentExile().add(card);
|
||||
else
|
||||
game.getPlayers().get(controllerId).putInGraveyard(card, game, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue