From 99d077a2dd865872eae4ba3455c94ee6493cbbc5 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 29 Apr 2015 21:33:49 -0400 Subject: [PATCH] v0.3.0: corrected wand hitsplashes --- .../shatteredpixeldungeon/items/wands/WandOfFrost.java | 2 +- .../items/wands/WandOfMagicMissile.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfFrost.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfFrost.java index 2e8f25917..fa8ca3873 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfFrost.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfFrost.java @@ -40,7 +40,7 @@ public class WandOfFrost extends Wand { if (ch.buff(Chill.class) != null){ damage = Math.round(damage * ch.buff(Chill.class).speedFactor()); } else { - ch.sprite.burst(0x99FFFFFF, level / 2 + 2); + ch.sprite.burst( 0xFF99CCFF, level / 2 + 2 ); } ch.damage(damage, this); diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfMagicMissile.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfMagicMissile.java index 297f159b2..9dd3ecedc 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfMagicMissile.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfMagicMissile.java @@ -77,9 +77,9 @@ public class WandOfMagicMissile extends Wand { int level = level(); - ch.damage( Random.NormalIntRange( 3+level, 6+level*2 ), this ); - - ch.sprite.burst( 0xFF99CCFF, level / 2 + 2 ); + ch.damage(Random.NormalIntRange(3 + level, 6 + level * 2), this); + + ch.sprite.burst(0xFFFFFFFF, level / 2 + 2); if (ch == curUser && !ch.isAlive()) { Dungeon.fail( Utils.format( ResultDescriptions.ITEM, name ) );