v0.8.1: slightly reduced random equipment drops, and slime drops

This commit is contained in:
Evan Debenham 2020-06-03 15:21:28 -04:00
parent d3d2678ae5
commit 29f689e435
2 changed files with 7 additions and 7 deletions

View File

@ -65,9 +65,9 @@ public class Slime extends Mob {
@Override
public void rollToDropLoot() {
//each drop makes future drops 1/2 as likely
// so loot chance looks like: 1/5, 1/10, 1/20, 1/40, etc.
lootChance *= Math.pow(1/2f, Dungeon.LimitedDrops.SLIME_WEP.count);
//each drop makes future drops 1/3 as likely
// so loot chance looks like: 1/5, 1/15, 1/45, 1/135, etc.
lootChance *= Math.pow(1/3f, Dungeon.LimitedDrops.SLIME_WEP.count);
super.rollToDropLoot();
}

View File

@ -179,23 +179,23 @@ import java.util.LinkedHashMap;
public class Generator {
public enum Category {
WEAPON ( 6, MeleeWeapon.class),
WEAPON ( 4, MeleeWeapon.class),
WEP_T1 ( 0, MeleeWeapon.class),
WEP_T2 ( 0, MeleeWeapon.class),
WEP_T3 ( 0, MeleeWeapon.class),
WEP_T4 ( 0, MeleeWeapon.class),
WEP_T5 ( 0, MeleeWeapon.class),
ARMOR ( 4, Armor.class ),
ARMOR ( 3, Armor.class ),
MISSILE ( 4, MissileWeapon.class ),
MISSILE ( 3, MissileWeapon.class ),
MIS_T1 ( 0, MissileWeapon.class ),
MIS_T2 ( 0, MissileWeapon.class ),
MIS_T3 ( 0, MissileWeapon.class ),
MIS_T4 ( 0, MissileWeapon.class ),
MIS_T5 ( 0, MissileWeapon.class ),
WAND ( 3, Wand.class ),
WAND ( 2, Wand.class ),
RING ( 1, Ring.class ),
ARTIFACT( 1, Artifact.class),