mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
* Dragonstorm - Fixed wrong rarity.
This commit is contained in:
parent
4b0d027847
commit
8f076cab96
1 changed files with 5 additions and 7 deletions
|
@ -28,11 +28,11 @@
|
||||||
package mage.sets.timeshifted;
|
package mage.sets.timeshifted;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import mage.constants.CardType;
|
|
||||||
import mage.constants.Rarity;
|
|
||||||
import mage.abilities.effects.common.search.SearchLibraryPutInPlayEffect;
|
import mage.abilities.effects.common.search.SearchLibraryPutInPlayEffect;
|
||||||
import mage.abilities.keyword.StormAbility;
|
import mage.abilities.keyword.StormAbility;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.constants.Rarity;
|
||||||
import mage.filter.common.FilterPermanentCard;
|
import mage.filter.common.FilterPermanentCard;
|
||||||
import mage.filter.predicate.mageobject.SubtypePredicate;
|
import mage.filter.predicate.mageobject.SubtypePredicate;
|
||||||
import mage.target.common.TargetCardInLibrary;
|
import mage.target.common.TargetCardInLibrary;
|
||||||
|
@ -43,17 +43,15 @@ import mage.target.common.TargetCardInLibrary;
|
||||||
*/
|
*/
|
||||||
public class Dragonstorm extends CardImpl {
|
public class Dragonstorm extends CardImpl {
|
||||||
|
|
||||||
|
|
||||||
private static final FilterPermanentCard filter = new FilterPermanentCard("Dragon permanent card");
|
private static final FilterPermanentCard filter = new FilterPermanentCard("Dragon permanent card");
|
||||||
|
|
||||||
static {
|
static {
|
||||||
filter.add(new SubtypePredicate("Dragon"));
|
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.
|
// 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));
|
this.getSpellAbility().addEffect(new SearchLibraryPutInPlayEffect(new TargetCardInLibrary(filter), false));
|
||||||
|
|
Loading…
Reference in a new issue