From df65f305fa6700080fce5ed0fa759e760a24a334 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 17 Nov 2022 12:07:25 -0500 Subject: [PATCH] v2.0.0: adjusted ripper demon spawn rates during ascension challenge --- .../shatteredpixeldungeon/actors/mobs/DemonSpawner.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/DemonSpawner.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/DemonSpawner.java index 394a0672d..b680c8184 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/DemonSpawner.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/DemonSpawner.java @@ -25,6 +25,7 @@ import com.shatteredpixel.shatteredpixeldungeon.Dungeon; import com.shatteredpixel.shatteredpixeldungeon.Statistics; import com.shatteredpixel.shatteredpixeldungeon.actors.Actor; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Amok; +import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.AscensionChallenge; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Dread; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Paralysis; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Sleep; @@ -94,6 +95,10 @@ public class DemonSpawner extends Mob { Notes.add( Notes.Landmark.DEMON_SPAWNER ); } + if (Dungeon.hero.buff(AscensionChallenge.class) != null && spawnCooldown > 20){ + spawnCooldown = 20; + } + spawnCooldown--; if (spawnCooldown <= 0){