diff --git a/Mage.Sets/src/mage/sets/magic2014/MoltenBirth.java b/Mage.Sets/src/mage/sets/magic2014/MoltenBirth.java index 32e6fa3d12..a42e3da094 100644 --- a/Mage.Sets/src/mage/sets/magic2014/MoltenBirth.java +++ b/Mage.Sets/src/mage/sets/magic2014/MoltenBirth.java @@ -27,6 +27,7 @@ */ package mage.sets.magic2014; +import java.util.Random; import java.util.UUID; import mage.MageInt; import mage.ObjectColor; @@ -105,6 +106,8 @@ class ElementalToken extends Token { public ElementalToken() { super("Elemental", "1/1 red Elemental creature"); + this.setOriginalExpansionSetCode("M14"); + this.setTokenType(new Random().nextInt(2) + 1); cardType.add(CardType.CREATURE); color = ObjectColor.RED; subtype.add("Elemental"); diff --git a/Mage/src/mage/abilities/effects/common/PutOnLibrarySourceEffect.java b/Mage/src/mage/abilities/effects/common/PutOnLibrarySourceEffect.java index 205f5ec04a..f91b79f1c7 100644 --- a/Mage/src/mage/abilities/effects/common/PutOnLibrarySourceEffect.java +++ b/Mage/src/mage/abilities/effects/common/PutOnLibrarySourceEffect.java @@ -97,7 +97,7 @@ public class PutOnLibrarySourceEffect extends OneShotEffect cardDao; diff --git a/Mage/src/mage/game/permanent/token/ZombieToken.java b/Mage/src/mage/game/permanent/token/ZombieToken.java index 18be8a6af8..029881cb76 100644 --- a/Mage/src/mage/game/permanent/token/ZombieToken.java +++ b/Mage/src/mage/game/permanent/token/ZombieToken.java @@ -47,8 +47,7 @@ public class ZombieToken extends Token { super("Zombie", "2/2 black Zombie creature token"); this.setOriginalExpansionSetCode(expansionSetCode); if (expansionSetCode.equals("ISD")) { - Random random = new Random(); - this.setTokenType(random.nextInt(3) + 1); + this.setTokenType(new Random().nextInt(3) + 1); } cardType.add(CardType.CREATURE); color = ObjectColor.BLACK;