From cf9f12b1915ebb2343daf63a8e9d315761c863b3 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 18 Dec 2019 17:58:02 -0500 Subject: [PATCH] v0.8.0: balance changes: - mimic surprise damage reduced by ~20% - mimic outline opacity reduced by ~33% - caves passive player vision up to 8 from 6 - DM-200 damage reduced by ~12% - Ripper demon accuracy reduced by ~12% --- core/src/main/assets/mimic.png | Bin 3033 -> 3033 bytes .../actors/mobs/DM200.java | 2 +- .../actors/mobs/GoldenMimic.java | 7 ++++++- .../actors/mobs/Mimic.java | 2 +- .../actors/mobs/RipperDemon.java | 2 +- .../levels/CavesLevel.java | 2 -- 6 files changed, 9 insertions(+), 6 deletions(-) diff --git a/core/src/main/assets/mimic.png b/core/src/main/assets/mimic.png index 3e7729766abb868be363922fa329defa5698fed0..85ba447566a226e86e69701e68ad46e0d675b215 100644 GIT binary patch delta 31 pcmV+)0O0@G7ugrEwgCYnlfeNolh6SQlkx!?1f$r*PO}gK$qC3l3@88q delta 31 pcmV+)0O0@G7ugrEwgCY%lfeNolh6SQlkx!?1ishF;@ diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/DM200.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/DM200.java index d41f2d008..d6f89e436 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/DM200.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/DM200.java @@ -53,7 +53,7 @@ public class DM200 extends Mob { @Override public int damageRoll() { - return Random.NormalIntRange( 10, 30 ); + return Random.NormalIntRange( 10, 25 ); } @Override diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/GoldenMimic.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/GoldenMimic.java index 2815f31f1..84d8dc451 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/GoldenMimic.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/GoldenMimic.java @@ -32,10 +32,12 @@ import com.shatteredpixel.shatteredpixeldungeon.items.Item; import com.shatteredpixel.shatteredpixeldungeon.items.armor.Armor; import com.shatteredpixel.shatteredpixeldungeon.items.wands.Wand; import com.shatteredpixel.shatteredpixeldungeon.items.weapon.Weapon; +import com.shatteredpixel.shatteredpixeldungeon.items.weapon.missiles.MissileWeapon; import com.shatteredpixel.shatteredpixeldungeon.messages.Messages; import com.shatteredpixel.shatteredpixeldungeon.sprites.MimicSprite; import com.shatteredpixel.shatteredpixeldungeon.utils.GLog; import com.watabou.noosa.audio.Sample; +import com.watabou.utils.Random; public class GoldenMimic extends Mimic { @@ -81,7 +83,7 @@ public class GoldenMimic extends Mimic { @Override protected void generatePrize() { super.generatePrize(); - //all existing prize items are guaranteed uncursed + //all existing prize items are guaranteed uncursed, and have a 50% chance to be +1 if they were +0 for (Item i : items){ if (i instanceof EquipableItem || i instanceof Wand){ i.cursed = false; @@ -92,6 +94,9 @@ public class GoldenMimic extends Mimic { if (i instanceof Armor && ((Armor) i).hasCurseGlyph()){ ((Armor) i).inscribe(null); } + if (!(i instanceof MissileWeapon) && i.level() == 0 && Random.Int(2) == 0){ + i.upgrade(); + } } } } diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mimic.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mimic.java index a7677cf46..16a3f2cca 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mimic.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mimic.java @@ -172,7 +172,7 @@ public class Mimic extends Mob { @Override public int damageRoll() { if (alignment == Alignment.NEUTRAL){ - return Random.NormalIntRange( 2 + 2*level, 3 + 3*level); + return Random.NormalIntRange( 2 + 2*level, 2 + 2*level); } else { return Random.NormalIntRange( 1 + level, 2 + 2*level); } diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/RipperDemon.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/RipperDemon.java index 54ad4bd4d..a4108f670 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/RipperDemon.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/RipperDemon.java @@ -51,7 +51,7 @@ public class RipperDemon extends Mob { @Override public int attackSkill( Char target ) { - return 35; + return 30; } @Override diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/CavesLevel.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/CavesLevel.java index 20f36cc5a..bc2948c82 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/CavesLevel.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/CavesLevel.java @@ -54,8 +54,6 @@ public class CavesLevel extends RegularLevel { { color1 = 0x534f3e; color2 = 0xb9d661; - - viewDistance = Math.min(6, viewDistance); } @Override