From f7edccfa28b05c48d4b3fb7a3f22634eda0f4707 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 4 Sep 2015 01:49:12 -0400 Subject: [PATCH] v0.3.1b: simplified the equation for the wand of lightning's damage --- .../shatteredpixeldungeon/items/wands/WandOfLightning.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfLightning.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfLightning.java index bb8376c4e..26e189ec1 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfLightning.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfLightning.java @@ -57,7 +57,7 @@ public class WandOfLightning extends Wand { protected void onZap( Ballistica bolt ) { //lightning deals less damage per-target, the more targets that are hit. - float multipler = (0.6f + 0.4f*affected.size())/affected.size(); + float multipler = 0.4f + (0.6f/affected.size()); if (Level.water[bolt.collisionPos]) multipler *= 1.5f; int min = 5+level;