From 2021373e3e41c9887eab2f08d77ec38993f84c32 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 12 Sep 2014 15:52:36 -0400 Subject: [PATCH] V0.2.0: Swarm of flies made slightly stronger, and they drop health potions less often. Yeah that's right, I just hard nerfed the best way to farm HP in the game, what now!? --- .../shatteredpixeldungeon/actors/mobs/Swarm.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Swarm.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Swarm.java index 991b68870..099457cd7 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Swarm.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Swarm.java @@ -69,7 +69,7 @@ public class Swarm extends Mob { @Override public int damageRoll() { - return Random.NormalIntRange( 1, 4 ); + return Random.NormalIntRange( 2, 4 ); } @Override @@ -131,7 +131,7 @@ public class Swarm extends Mob { @Override protected void dropLoot() { - if (Random.Int( 5 * (generation + 1) ) == 0) { + if (Random.Int( 6 * (int)Math.pow(2 , generation) ) == 0) { Dungeon.level.drop( new PotionOfHealing(), pos ).sprite.drop(); } }