mirror of
https://github.com/magefree/mage.git
synced 2026-01-23 11:49:56 -08:00
Fixes and additions to card rendering
* Vehicles are rendered with a vehicle background and changed P/T box color * Kaladesh Inventions are rendered with the invention frame * Kaladesh Inventions use the full-frame art if they detect that you have that full art downloaded instead of normal card images. * Changed land text-box colors to be a bit more saturated to make it clearer what colors they produce * Added mana symbol in the textbox of basic lands instead of rules text as long as they have no additional abilities. * Fixed problem with triggered abilities on the stack showing up with a type of "??? Ability". Not sure what the real cause is but those abilities have abilityType = null, just worked around it.
This commit is contained in:
parent
0c8ff64027
commit
577bdaea84
36 changed files with 297 additions and 47 deletions
|
|
@ -28,6 +28,8 @@
|
|||
package mage.sets.masterpieceseries;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
/**
|
||||
|
|
@ -41,6 +43,7 @@ public class AEtherVial extends mage.sets.darksteel.AEtherVial {
|
|||
this.cardNumber = "6";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public AEtherVial(final AEtherVial card) {
|
||||
|
|
|
|||
|
|
@ -27,6 +27,9 @@
|
|||
*/
|
||||
package mage.sets.masterpieceseries;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
|
|
@ -39,6 +42,8 @@ public class CataclysmicGearhulk extends mage.sets.kaladesh.CataclysmicGearhulk
|
|||
super(ownerId);
|
||||
this.cardNumber = "1";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public CataclysmicGearhulk(final CataclysmicGearhulk card) {
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
package mage.sets.masterpieceseries;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
/**
|
||||
|
|
@ -41,6 +43,7 @@ public class ChampionsHelm extends mage.sets.commander.ChampionsHelm {
|
|||
this.cardNumber = "7";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public ChampionsHelm(final ChampionsHelm card) {
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
package mage.sets.masterpieceseries;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
/**
|
||||
|
|
@ -41,6 +43,7 @@ public class ChromaticLantern extends mage.sets.returntoravnica.ChromaticLantern
|
|||
this.cardNumber = "8";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public ChromaticLantern(final ChromaticLantern card) {
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
package mage.sets.masterpieceseries;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
/**
|
||||
|
|
@ -41,6 +43,7 @@ public class ChromeMox extends mage.sets.mirrodin.ChromeMox {
|
|||
this.cardNumber = "9";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public ChromeMox(final ChromeMox card) {
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
package mage.sets.masterpieceseries;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
/**
|
||||
|
|
@ -41,6 +43,7 @@ public class CloudstoneCurio extends mage.sets.ravnica.CloudstoneCurio {
|
|||
this.cardNumber = "10";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public CloudstoneCurio(final CloudstoneCurio card) {
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
package mage.sets.masterpieceseries;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
/**
|
||||
|
|
@ -41,6 +43,7 @@ public class CrucibleOfWorlds extends mage.sets.tenthedition.CrucibleOfWorlds {
|
|||
this.cardNumber = "11";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public CrucibleOfWorlds(final CrucibleOfWorlds card) {
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
package mage.sets.masterpieceseries;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
/**
|
||||
|
|
@ -41,6 +43,7 @@ public class GauntletOfPower extends mage.sets.timespiral.GauntletOfPower {
|
|||
this.cardNumber = "12";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public GauntletOfPower(final GauntletOfPower card) {
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
package mage.sets.masterpieceseries;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
/**
|
||||
|
|
@ -41,6 +43,7 @@ public class HangarbackWalker extends mage.sets.magicorigins.HangarbackWalker {
|
|||
this.cardNumber = "13";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public HangarbackWalker(final HangarbackWalker card) {
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
package mage.sets.masterpieceseries;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
/**
|
||||
|
|
@ -41,6 +43,7 @@ public class LightningGreaves extends mage.sets.mirrodin.LightningGreaves {
|
|||
this.cardNumber = "14";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public LightningGreaves(final LightningGreaves card) {
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
package mage.sets.masterpieceseries;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
/**
|
||||
|
|
@ -41,6 +43,7 @@ public class LotusPetal extends mage.sets.tempest.LotusPetal {
|
|||
this.cardNumber = "15";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public LotusPetal(final LotusPetal card) {
|
||||
|
|
|
|||
|
|
@ -27,6 +27,9 @@
|
|||
*/
|
||||
package mage.sets.masterpieceseries;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
|
|
@ -39,6 +42,8 @@ public class ManaCrypt extends mage.sets.vintagemasters.ManaCrypt {
|
|||
super(ownerId);
|
||||
this.cardNumber = "16";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public ManaCrypt(final ManaCrypt card) {
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
package mage.sets.masterpieceseries;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
/**
|
||||
|
|
@ -41,6 +43,7 @@ public class ManaVault extends mage.sets.limitedalpha.ManaVault {
|
|||
this.cardNumber = "17";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public ManaVault(final ManaVault card) {
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
package mage.sets.masterpieceseries;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
/**
|
||||
|
|
@ -41,6 +43,7 @@ public class MindsEye extends mage.sets.mirrodin.MindsEye {
|
|||
this.cardNumber = "18";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public MindsEye(final MindsEye card) {
|
||||
|
|
|
|||
|
|
@ -27,6 +27,9 @@
|
|||
*/
|
||||
package mage.sets.masterpieceseries;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
|
|
@ -39,6 +42,8 @@ public class MoxOpal extends mage.sets.scarsofmirrodin.MoxOpal {
|
|||
super(ownerId);
|
||||
this.cardNumber = "19";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public MoxOpal(final MoxOpal card) {
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
package mage.sets.masterpieceseries;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
/**
|
||||
|
|
@ -41,6 +43,7 @@ public class PaintersServant extends mage.sets.shadowmoor.PaintersServant {
|
|||
this.cardNumber = "20";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public PaintersServant(final PaintersServant card) {
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
package mage.sets.masterpieceseries;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
/**
|
||||
|
|
@ -41,6 +43,7 @@ public class RingsOfBrighthearth extends mage.sets.lorwyn.RingsOfBrighthearth {
|
|||
this.cardNumber = "21";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public RingsOfBrighthearth(final RingsOfBrighthearth card) {
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
package mage.sets.masterpieceseries;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
/**
|
||||
|
|
@ -41,6 +43,7 @@ public class ScrollRack extends mage.sets.tempest.ScrollRack {
|
|||
this.cardNumber = "22";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public ScrollRack(final ScrollRack card) {
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
package mage.sets.masterpieceseries;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
/**
|
||||
|
|
@ -41,6 +43,7 @@ public class SculptingSteel extends mage.sets.tenthedition.SculptingSteel {
|
|||
this.cardNumber = "23";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public SculptingSteel(final SculptingSteel card) {
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
package mage.sets.masterpieceseries;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
/**
|
||||
|
|
@ -41,6 +43,7 @@ public class SolRing extends mage.sets.revisededition.SolRing {
|
|||
this.cardNumber = "24";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public SolRing(final SolRing card) {
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
package mage.sets.masterpieceseries;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
/**
|
||||
|
|
@ -41,6 +43,7 @@ public class SolemnSimulacrum extends mage.sets.magic2012.SolemnSimulacrum {
|
|||
this.cardNumber = "25";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public SolemnSimulacrum(final SolemnSimulacrum card) {
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
package mage.sets.masterpieceseries;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
/**
|
||||
|
|
@ -41,6 +43,7 @@ public class StaticOrb extends mage.sets.tempest.StaticOrb {
|
|||
this.cardNumber = "26";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public StaticOrb(final StaticOrb card) {
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
package mage.sets.masterpieceseries;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
/**
|
||||
|
|
@ -41,6 +43,7 @@ public class SteelOverseer extends mage.sets.magic2011.SteelOverseer {
|
|||
this.cardNumber = "27";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public SteelOverseer(final SteelOverseer card) {
|
||||
|
|
|
|||
|
|
@ -27,6 +27,9 @@
|
|||
*/
|
||||
package mage.sets.masterpieceseries;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
|
|
@ -39,6 +42,8 @@ public class SwordOfFeastAndFamine extends mage.sets.mirrodinbesieged.SwordOfFea
|
|||
super(ownerId);
|
||||
this.cardNumber = "28";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public SwordOfFeastAndFamine(final SwordOfFeastAndFamine card) {
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
package mage.sets.masterpieceseries;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
/**
|
||||
|
|
@ -41,6 +43,7 @@ public class SwordOfFireAndIce extends mage.sets.darksteel.SwordOfFireAndIce {
|
|||
this.cardNumber = "29";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public SwordOfFireAndIce(final SwordOfFireAndIce card) {
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
package mage.sets.masterpieceseries;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
/**
|
||||
|
|
@ -41,6 +43,7 @@ public class SwordOfLightAndShadow extends mage.sets.darksteel.SwordOfLightAndSh
|
|||
this.cardNumber = "30";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public SwordOfLightAndShadow(final SwordOfLightAndShadow card) {
|
||||
|
|
|
|||
|
|
@ -27,6 +27,9 @@
|
|||
*/
|
||||
package mage.sets.masterpieceseries;
|
||||
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.Rarity;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
|
|
@ -39,6 +42,8 @@ public class VerdurousGearhulk extends mage.sets.kaladesh.VerdurousGearhulk {
|
|||
super(ownerId);
|
||||
this.cardNumber = "5";
|
||||
this.expansionSetCode = "MPS";
|
||||
this.rarity = Rarity.MYTHIC;
|
||||
this.frameStyle = FrameStyle.KLD_INVENTION;
|
||||
}
|
||||
|
||||
public VerdurousGearhulk(final VerdurousGearhulk card) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue