From 1de6a1e10a113c7444a385aae9bc45f6dadc70f5 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 27 Apr 2020 19:53:19 -0400 Subject: [PATCH] v0.8.0a: DM-300 balance changes: - Now takes 3 turns to move through rock, up from 2.5 - Pylons now resist damage above 15, up from 10 --- .../shatteredpixeldungeon/actors/mobs/NewDM300.java | 2 +- .../shatteredpixeldungeon/actors/mobs/Pylon.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/NewDM300.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/NewDM300.java index 4431be0e5..3fe36fcfc 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/NewDM300.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/NewDM300.java @@ -552,7 +552,7 @@ public class NewDM300 extends Mob { } Dungeon.level.cleanWalls(); Dungeon.observe(); - spend(2.5f); + spend(3f); for (int i : PathFinder.NEIGHBOURS8){ if (Actor.findChar(pos+i) == null && diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Pylon.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Pylon.java index aaaf6ec75..ea297b181 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Pylon.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Pylon.java @@ -157,9 +157,9 @@ public class Pylon extends Mob { if (alignment == Alignment.NEUTRAL){ return; } - if (dmg >= 5){ - //takes 10/11/12/13/14/15 dmg at 10/12/15/19/24/31 incoming dmg - dmg = 9 + (int)(Math.sqrt(8*(dmg - 9) + 1) - 1)/2; + if (dmg >= 15){ + //takes 15/16/17/18/19/20 dmg at 15/17/20/24/29/36 incoming dmg + dmg = 14 + (int)(Math.sqrt(8*(dmg - 14) + 1) - 1)/2; } super.damage(dmg, src); }