v3.3.0: fixed new hostile champs logic not using scaling depth
This commit is contained in:
+1
-1
@@ -116,7 +116,7 @@ public abstract class ChampionEnemy extends Buff {
|
|||||||
|
|
||||||
Buff.affect(m, buffCls);
|
Buff.affect(m, buffCls);
|
||||||
//numbers of mobs until a champion scales from 1/8 to 1/6 as depths increases
|
//numbers of mobs until a champion scales from 1/8 to 1/6 as depths increases
|
||||||
Dungeon.mobsToChampion += 8 - Math.min(20, Dungeon.depth-1)/10f;
|
Dungeon.mobsToChampion += 8 - Math.min(20, Dungeon.scalingDepth()-1)/10f;
|
||||||
if (m.state != m.PASSIVE) {
|
if (m.state != m.PASSIVE) {
|
||||||
m.state = m.WANDERING;
|
m.state = m.WANDERING;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user