v2.1.1: fixed specific cases where player could exploit fixTime
This commit is contained in:
@@ -544,6 +544,15 @@ public abstract class Level implements Bundlable {
|
||||
//iron stomach does not persist through chasm falling
|
||||
Talent.WarriorFoodImmunity foodImmune = Dungeon.hero.buff(Talent.WarriorFoodImmunity.class);
|
||||
if (foodImmune != null) foodImmune.detach();
|
||||
|
||||
//spend the hero's partial turns, so the hero cannot take partial turns between floors
|
||||
Dungeon.hero.spendToWhole();
|
||||
for (Char ch : Actor.chars()){
|
||||
//also adjust any mobs that are now ahead of the hero due to this
|
||||
if (ch.cooldown() < Dungeon.hero.cooldown()){
|
||||
ch.spendToWhole();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void seal(){
|
||||
|
||||
@@ -254,9 +254,6 @@ public class InterlevelScene extends PixelScene {
|
||||
|
||||
try {
|
||||
|
||||
if (Dungeon.hero != null){
|
||||
Dungeon.hero.spendToWhole();
|
||||
}
|
||||
Actor.fixTime();
|
||||
|
||||
switch (mode) {
|
||||
|
||||
Reference in New Issue
Block a user