- 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:
jendave
2011-08-06 03:26:07 +00:00
parent f1632d774f
commit dc5df2d4e6
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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;
} }