From 29f689e43556be474500d277f785f53a18ed292b Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 3 Jun 2020 15:21:28 -0400 Subject: [PATCH] v0.8.1: slightly reduced random equipment drops, and slime drops --- .../shatteredpixeldungeon/actors/mobs/Slime.java | 6 +++--- .../shatteredpixeldungeon/items/Generator.java | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Slime.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Slime.java index b255b5d2f..d05c3d698 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Slime.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Slime.java @@ -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(); } diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Generator.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Generator.java index ddc95be3f..1d5dd2c11 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Generator.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Generator.java @@ -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),