* Dragonstorm - Fixed wrong rarity.

This commit is contained in:
LevelX2 2016-03-10 23:18:48 +01:00
parent 4b0d027847
commit 8f076cab96

View file

@ -28,11 +28,11 @@
package mage.sets.timeshifted;
import java.util.UUID;
import mage.constants.CardType;
import mage.constants.Rarity;
import mage.abilities.effects.common.search.SearchLibraryPutInPlayEffect;
import mage.abilities.keyword.StormAbility;
import mage.cards.CardImpl;
import mage.constants.CardType;
import mage.constants.Rarity;
import mage.filter.common.FilterPermanentCard;
import mage.filter.predicate.mageobject.SubtypePredicate;
import mage.target.common.TargetCardInLibrary;
@ -43,17 +43,15 @@ import mage.target.common.TargetCardInLibrary;
*/
public class Dragonstorm extends CardImpl {
private static final FilterPermanentCard filter = new FilterPermanentCard("Dragon permanent card");
static {
filter.add(new SubtypePredicate("Dragon"));
}
public Dragonstorm(UUID ownerId) {
super(ownerId, 60, "Dragonstorm", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{8}{R}");
this.expansionSetCode = "TSB";
public Dragonstorm(UUID ownerId) {
super(ownerId, 60, "Dragonstorm", Rarity.SPECIAL, new CardType[]{CardType.SORCERY}, "{8}{R}");
this.expansionSetCode = "TSB";
// Search your library for a Dragon permanent card and put it onto the battlefield. Then shuffle your library.
this.getSpellAbility().addEffect(new SearchLibraryPutInPlayEffect(new TargetCardInLibrary(filter), false));