v2.0.0: adjusted ripper demon spawn rates during ascension challenge

This commit is contained in:
Evan Debenham
2022-11-17 12:07:25 -05:00
parent ff84cfd220
commit df65f305fa

View File

@@ -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){