This commit is contained in:
Loki 2011-07-12 19:00:03 +03:00
parent 78bcd1ab1d
commit 3e441c59e1
2 changed files with 4 additions and 1 deletions

View file

@ -51,7 +51,7 @@ public class CopyTargetSpellEffect extends OneShotEffect<CopyTargetSpellEffect>
@Override @Override
public boolean apply(Game game, Ability source) { public boolean apply(Game game, Ability source) {
Spell spell = game.getStack().getSpell(source.getFirstTarget()); Spell spell = game.getStack().getSpell(targetPointer.getFirst(source));
if (spell != null) { if (spell != null) {
Spell copy = spell.copySpell(); Spell copy = spell.copySpell();
copy.setControllerId(source.getControllerId()); copy.setControllerId(source.getControllerId());

View file

@ -74,6 +74,7 @@ $fulltoshort{'Legions'} = 'LGN';
$fulltoshort{'Lorwyn'} = 'LRW'; $fulltoshort{'Lorwyn'} = 'LRW';
$fulltoshort{'Magic 2010'} = 'M10'; $fulltoshort{'Magic 2010'} = 'M10';
$fulltoshort{'Magic 2011'} = 'M11'; $fulltoshort{'Magic 2011'} = 'M11';
$fulltoshort{'Magic 2012'} = 'M12';
$fulltoshort{'Masters Edition II'} = 'ME2'; $fulltoshort{'Masters Edition II'} = 'ME2';
$fulltoshort{'Masters Edition III'} = 'ME3'; $fulltoshort{'Masters Edition III'} = 'ME3';
$fulltoshort{'Masters Edition IV'} = 'ME4'; $fulltoshort{'Masters Edition IV'} = 'ME4';
@ -144,6 +145,7 @@ $wizardstous{'P4'} = 'S00';
$wizardstous{'OD'} = 'ODY'; $wizardstous{'OD'} = 'ODY';
$wizardstous{'M10'} = 'M10'; $wizardstous{'M10'} = 'M10';
$wizardstous{'M11'} = 'M11'; $wizardstous{'M11'} = 'M11';
$wizardstous{'M12'} = 'M12';
$wizardstous{'LRW'} = 'LRW'; $wizardstous{'LRW'} = 'LRW';
$wizardstous{'DD2'} = 'JVC'; $wizardstous{'DD2'} = 'JVC';
$wizardstous{'TSB'} = 'TSB'; $wizardstous{'TSB'} = 'TSB';
@ -225,6 +227,7 @@ $knownSets{'DST'} = 'darksteel';
$knownSets{'EVE'} = 'eventide'; $knownSets{'EVE'} = 'eventide';
$knownSets{'M10'} = 'magic2010'; $knownSets{'M10'} = 'magic2010';
$knownSets{'M11'} = 'magic2011'; $knownSets{'M11'} = 'magic2011';
$knownSets{'M12'} = 'magic2012';
$knownSets{'HOP'} = 'planechase'; $knownSets{'HOP'} = 'planechase';
$knownSets{'RAV'} = 'ravnika'; $knownSets{'RAV'} = 'ravnika';
$knownSets{'ROE'} = 'riseoftheeldrazi'; $knownSets{'ROE'} = 'riseoftheeldrazi';