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:
parent
969b902566
commit
ed4e92e495
|
@ -136,7 +136,7 @@ public class Swarm extends Mob {
|
||||||
@Override
|
@Override
|
||||||
public void die( Object cause ){
|
public void die( Object cause ){
|
||||||
//sets drop chance
|
//sets drop chance
|
||||||
lootChance = 1f/((5 + Dungeon.limitedDrops.swarmHP.count ) * generation+1 );
|
lootChance = 1f/((5 + Dungeon.limitedDrops.swarmHP.count ) * (generation+1) );
|
||||||
super.die( cause );
|
super.die( cause );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user