mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Fixed some of Chris' changes I had messed up in cards.txt, set blur radius back to 3 for now.
This commit is contained in:
@@ -79,7 +79,6 @@ no text
|
|||||||
abDamageTgtCP 1 R T:X:Drawback$DamageSelf/X:Sunflare Shaman deals X damage to target creature or player and X damage to itself, where X is the number of Elemental cards in your graveyard.:Sunflare Shaman - deals X damage to creature or player and X damage to itself.
|
abDamageTgtCP 1 R T:X:Drawback$DamageSelf/X:Sunflare Shaman deals X damage to target creature or player and X damage to itself, where X is the number of Elemental cards in your graveyard.:Sunflare Shaman - deals X damage to creature or player and X damage to itself.
|
||||||
SVar:X:Count$TypeInYourYard.Elemental
|
SVar:X:Count$TypeInYourYard.Elemental
|
||||||
|
|
||||||
>>>>>>> .r394
|
|
||||||
Flamewave Invoker
|
Flamewave Invoker
|
||||||
2 R
|
2 R
|
||||||
Creature Goblin Mutant
|
Creature Goblin Mutant
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ public class ImageCache implements NewConstants {
|
|||||||
if(key.endsWith(TOKEN)) {
|
if(key.endsWith(TOKEN)) {
|
||||||
key = key.substring(0, key.length() - TOKEN.length());
|
key = key.substring(0, key.length() - TOKEN.length());
|
||||||
path = ForgeProps.getFile(IMAGE_TOKEN);
|
path = ForgeProps.getFile(IMAGE_TOKEN);
|
||||||
|
System.out.println("path + key: "+ path + " " + key);
|
||||||
} else path = ForgeProps.getFile(IMAGE_BASE);
|
} else path = ForgeProps.getFile(IMAGE_BASE);
|
||||||
File file = new File(path, key + ".jpg");
|
File file = new File(path, key + ".jpg");
|
||||||
if(!file.exists()) {
|
if(!file.exists()) {
|
||||||
@@ -190,7 +191,7 @@ public class ImageCache implements NewConstants {
|
|||||||
BufferedImage image = new BufferedImage(tgtWidth, tgtHeight, BufferedImage.TYPE_INT_ARGB);
|
BufferedImage image = new BufferedImage(tgtWidth, tgtHeight, BufferedImage.TYPE_INT_ARGB);
|
||||||
Graphics2D g2d = (Graphics2D) image.getGraphics();
|
Graphics2D g2d = (Graphics2D) image.getGraphics();
|
||||||
g2d.setRenderingHint(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BICUBIC);
|
g2d.setRenderingHint(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BICUBIC);
|
||||||
g2d.drawImage(scale < 0.5? ImageUtil.getBlurredImage(original, 6, 1.0f):original, at, null);
|
g2d.drawImage(scale < 0.5? ImageUtil.getBlurredImage(original, 3, 1.0f):original, at, null);
|
||||||
g2d.dispose();
|
g2d.dispose();
|
||||||
return image;
|
return image;
|
||||||
}
|
}
|
||||||
@@ -214,7 +215,7 @@ public class ImageCache implements NewConstants {
|
|||||||
BufferedImage image = new BufferedImage(tgtHeight, tgtWidth, BufferedImage.TYPE_INT_ARGB);
|
BufferedImage image = new BufferedImage(tgtHeight, tgtWidth, BufferedImage.TYPE_INT_ARGB);
|
||||||
Graphics2D g2d = (Graphics2D) image.getGraphics();
|
Graphics2D g2d = (Graphics2D) image.getGraphics();
|
||||||
g2d.setRenderingHint(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BICUBIC);
|
g2d.setRenderingHint(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BICUBIC);
|
||||||
g2d.drawImage(scale < 0.5? ImageUtil.getBlurredImage(original, 6, 1.0f):original, at, null);
|
g2d.drawImage(scale < 0.5? ImageUtil.getBlurredImage(original, 3, 1.0f):original, at, null);
|
||||||
g2d.dispose();
|
g2d.dispose();
|
||||||
return image;
|
return image;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user