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!?

This commit is contained in:
Evan Debenham 2014-09-12 15:52:36 -04:00
parent 2e85c6cf33
commit 2021373e3e

View File

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