mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
Fix #9524
This commit is contained in:
parent
48245f4a23
commit
c401b35b63
3 changed files with 8 additions and 12 deletions
|
|
@ -298,9 +298,10 @@ public abstract class TokenImpl extends MageObjectImpl implements Token {
|
|||
game.addSimultaneousEvent(new CreatedTokenEvent(source, (PermanentToken) permanent));
|
||||
}
|
||||
|
||||
// handle auras coming into the battlefield
|
||||
// code refactored from CopyPermanentEffect
|
||||
if (permanent.getSubtype().contains(SubType.AURA)) {
|
||||
// if token was created (not a spell copy) handle auras coming into the battlefield
|
||||
// code blindly copied from CopyPermanentEffect
|
||||
// TODO: clean this up -- half the comments make no sense in the context of creating a token
|
||||
if (created && permanent.getSubtype().contains(SubType.AURA)) {
|
||||
Outcome auraOutcome = Outcome.BoostCreature;
|
||||
Target auraTarget = null;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue