mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +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.
|
||||
SVar:X:Count$TypeInYourYard.Elemental
|
||||
|
||||
>>>>>>> .r394
|
||||
Flamewave Invoker
|
||||
2 R
|
||||
Creature Goblin Mutant
|
||||
|
||||
@@ -74,6 +74,7 @@ public class ImageCache implements NewConstants {
|
||||
if(key.endsWith(TOKEN)) {
|
||||
key = key.substring(0, key.length() - TOKEN.length());
|
||||
path = ForgeProps.getFile(IMAGE_TOKEN);
|
||||
System.out.println("path + key: "+ path + " " + key);
|
||||
} else path = ForgeProps.getFile(IMAGE_BASE);
|
||||
File file = new File(path, key + ".jpg");
|
||||
if(!file.exists()) {
|
||||
@@ -190,7 +191,7 @@ public class ImageCache implements NewConstants {
|
||||
BufferedImage image = new BufferedImage(tgtWidth, tgtHeight, BufferedImage.TYPE_INT_ARGB);
|
||||
Graphics2D g2d = (Graphics2D) image.getGraphics();
|
||||
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();
|
||||
return image;
|
||||
}
|
||||
@@ -214,7 +215,7 @@ public class ImageCache implements NewConstants {
|
||||
BufferedImage image = new BufferedImage(tgtHeight, tgtWidth, BufferedImage.TYPE_INT_ARGB);
|
||||
Graphics2D g2d = (Graphics2D) image.getGraphics();
|
||||
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();
|
||||
return image;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user