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:
@@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user