mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 06:22:01 -08:00
Fixed Duplicant getting boost from Commander in command zone (#3299)
This commit is contained in:
parent
962ec40d4c
commit
4bf436b0f4
3 changed files with 14 additions and 2 deletions
|
|
@ -104,8 +104,8 @@ class DuplicantExileTargetEffect extends OneShotEffect {
|
|||
Permanent permanent = game.getPermanent(targetPointer.getFirst(game, source));
|
||||
MageObject sourceObject = source.getSourceObject(game);
|
||||
if (permanent != null && sourceObject instanceof Permanent) {
|
||||
if (permanent.moveToExile(null, null, source.getSourceId(), game)) {
|
||||
((Permanent) sourceObject).imprint(permanent.getId(), game);
|
||||
if (permanent.moveToExile(null, null, source.getSourceId(), game)
|
||||
&& ((Permanent) sourceObject).imprint(permanent.getId(), game)) {
|
||||
((Permanent) sourceObject).addInfo("imprint", "[Imprinted card - " + permanent.getName() + ']', game);
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue