mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
fixed Revel of the Fallen God creating incorrect tokens (fixes #5715)
This commit is contained in:
parent
4ea83bc592
commit
a4d035100c
2 changed files with 4 additions and 39 deletions
|
@ -1,15 +1,15 @@
|
|||
|
||||
package mage.cards.r;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.game.permanent.token.RevelOfTheFallenGodSatyrToken;
|
||||
import mage.game.permanent.token.XenagosSatyrToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
public final class RevelOfTheFallenGod extends CardImpl {
|
||||
|
@ -18,7 +18,7 @@ public final class RevelOfTheFallenGod extends CardImpl {
|
|||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{R}{R}{G}{G}");
|
||||
|
||||
// Create four 2/2 red and green Satyr creature tokens with haste.
|
||||
this.getSpellAbility().addEffect(new CreateTokenEffect(new RevelOfTheFallenGodSatyrToken(), 4));
|
||||
this.getSpellAbility().addEffect(new CreateTokenEffect(new XenagosSatyrToken(), 4));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -1,35 +0,0 @@
|
|||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.MageInt;
|
||||
import mage.ObjectColor;
|
||||
import mage.abilities.keyword.HasteAbility;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
*/
|
||||
public final class RevelOfTheFallenGodSatyrToken extends TokenImpl {
|
||||
|
||||
public RevelOfTheFallenGodSatyrToken() {
|
||||
super("Satyr", "2/2 red and green Satyr creature tokens with haste");
|
||||
this.setOriginalExpansionSetCode("THS");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setColor(ObjectColor.RED);
|
||||
color.setColor(ObjectColor.GREEN);
|
||||
subtype.add(SubType.SATYR);
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
addAbility(HasteAbility.getInstance());
|
||||
}
|
||||
|
||||
public RevelOfTheFallenGodSatyrToken(final RevelOfTheFallenGodSatyrToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public RevelOfTheFallenGodSatyrToken copy() {
|
||||
return new RevelOfTheFallenGodSatyrToken(this);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue