v0.2.3c: Corrected swarm potion drop logic to respect order of operations, I do infact know 3rd grade math, I swear.

This commit is contained in:
Evan Debenham 2015-01-08 14:55:44 -05:00
parent 969b902566
commit ed4e92e495

View File

@ -136,7 +136,7 @@ public class Swarm extends Mob {
@Override
public void die( Object cause ){
//sets drop chance
lootChance = 1f/((5 + Dungeon.limitedDrops.swarmHP.count ) * generation+1 );
lootChance = 1f/((5 + Dungeon.limitedDrops.swarmHP.count ) * (generation+1) );
super.die( cause );
}