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:
parent
2e85c6cf33
commit
2021373e3e
|
@ -69,7 +69,7 @@ public class Swarm extends Mob {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int damageRoll() {
|
public int damageRoll() {
|
||||||
return Random.NormalIntRange( 1, 4 );
|
return Random.NormalIntRange( 2, 4 );
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -131,7 +131,7 @@ public class Swarm extends Mob {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void dropLoot() {
|
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();
|
Dungeon.level.drop( new PotionOfHealing(), pos ).sprite.drop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user