mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
refactor: better images download naming and code format (related to #12627)
This commit is contained in:
parent
e7585e8d95
commit
a69ae2afae
8 changed files with 16 additions and 13 deletions
|
|
@ -88,7 +88,7 @@ public class DownloadPicturesService extends DefaultBoundedRangeModel implements
|
|||
SCRYFALL_BIG("2a. scryfall.com - BIG: high quality (~15 GB)", ScryfallImageSource.getInstance()),
|
||||
SCRYFALL_NORM("2b. scryfall.com - normal: good quality (~10 GB)", ScryfallImageSourceNormal.getInstance()),
|
||||
SCRYFALL_SMALL("2c. scryfall.com - small: low quality, unreadable text (~1.5 GB)", ScryfallImageSourceSmall.getInstance()),
|
||||
GRAB_BAG("3. GrabBag - Arena Tutorial cards, unofficial STAR WARS cards and tokens", GrabbagImageSource.instance),
|
||||
GRAB_BAG("3. GrabBag - unofficial STAR WARS + Arena Tutorial cards", GrabbagImageSource.instance),
|
||||
COPYPASTE("4. Experimental - copy and paste image URLs", CopyPasteImageSource.instance); // TODO: need rework for user friendly GUI
|
||||
|
||||
private final String text;
|
||||
|
|
|
|||
|
|
@ -12,11 +12,12 @@ import mage.filter.predicate.mageobject.ToughnessPredicate;
|
|||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
|
||||
@author JayDi85*/
|
||||
* @author JayDi85
|
||||
*/
|
||||
public final class BlindingRadiance extends CardImpl {
|
||||
|
||||
private static final FilterCreaturePermanent filter = new FilterOpponentsCreaturePermanent("creatures your opponents control with toughness 2 or less");
|
||||
|
||||
static {
|
||||
filter.add(new ToughnessPredicate(ComparisonType.FEWER_THAN, 3));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ import mage.constants.SubType;
|
|||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
|
||||
@author JayDi85*/
|
||||
* @author JayDi85
|
||||
*/
|
||||
public final class GoblinBruiser extends CardImpl {
|
||||
|
||||
public GoblinBruiser(UUID ownerId, CardSetInfo setInfo) {
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@ import mage.constants.TargetController;
|
|||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
|
||||
@author JayDi85*/
|
||||
* @author JayDi85
|
||||
*/
|
||||
public final class OgrePainbringer extends CardImpl {
|
||||
|
||||
public OgrePainbringer(UUID ownerId, CardSetInfo setInfo) {
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ import mage.constants.SubType;
|
|||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
|
||||
@author JayDi85*/
|
||||
* @author JayDi85
|
||||
*/
|
||||
public final class TitanicPelagosaur extends CardImpl {
|
||||
|
||||
public TitanicPelagosaur(UUID ownerId, CardSetInfo setInfo) {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
|
||||
package mage.cards.t;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.keyword.ReachAbility;
|
||||
import mage.abilities.keyword.VigilanceAbility;
|
||||
|
|
@ -10,8 +9,9 @@ import mage.cards.CardSetInfo;
|
|||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Svyatoslav28
|
||||
*/
|
||||
public final class TreetopRecluse extends CardImpl {
|
||||
|
|
|
|||
|
|
@ -40,6 +40,5 @@ public final class ArenaNewPlayerExperienceExtras extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Take Vengeance", 13, Rarity.COMMON, mage.cards.t.TakeVengeance.class));
|
||||
cards.add(new SetCardInfo("Volcanic Dragon", 45, Rarity.UNCOMMON, mage.cards.v.VolcanicDragon.class));
|
||||
cards.add(new SetCardInfo("Waterknot", 22, Rarity.COMMON, mage.cards.w.Waterknot.class));
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,6 +6,9 @@ import mage.constants.Rarity;
|
|||
import mage.constants.SetType;
|
||||
|
||||
/**
|
||||
* Unofficial set with removed MTGA tutorial cards
|
||||
* (it was introduced and later removed from Arena New Player Experience Extras)
|
||||
*
|
||||
* @author Svyatoslav28
|
||||
*/
|
||||
public final class ArenaTutorialCards extends ExpansionSet {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue