v2.0.0: adjusted ripper demon spawn rates during ascension challenge
This commit is contained in:
+5
@@ -25,6 +25,7 @@ import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
|
|||||||
import com.shatteredpixel.shatteredpixeldungeon.Statistics;
|
import com.shatteredpixel.shatteredpixeldungeon.Statistics;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.actors.Actor;
|
import com.shatteredpixel.shatteredpixeldungeon.actors.Actor;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Amok;
|
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.Dread;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Paralysis;
|
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Paralysis;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Sleep;
|
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Sleep;
|
||||||
@@ -94,6 +95,10 @@ public class DemonSpawner extends Mob {
|
|||||||
Notes.add( Notes.Landmark.DEMON_SPAWNER );
|
Notes.add( Notes.Landmark.DEMON_SPAWNER );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Dungeon.hero.buff(AscensionChallenge.class) != null && spawnCooldown > 20){
|
||||||
|
spawnCooldown = 20;
|
||||||
|
}
|
||||||
|
|
||||||
spawnCooldown--;
|
spawnCooldown--;
|
||||||
if (spawnCooldown <= 0){
|
if (spawnCooldown <= 0){
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user