v2.3.1: fixed turn rounding on transition only applying to characters
This commit is contained in:
@@ -558,10 +558,10 @@ public abstract class Level implements Bundlable {
|
|||||||
|
|
||||||
//spend the hero's partial turns, so the hero cannot take partial turns between floors
|
//spend the hero's partial turns, so the hero cannot take partial turns between floors
|
||||||
Dungeon.hero.spendToWhole();
|
Dungeon.hero.spendToWhole();
|
||||||
for (Char ch : Actor.chars()){
|
for (Actor a : Actor.all()){
|
||||||
//also adjust any mobs that are now ahead of the hero due to this
|
//also adjust any other actors that are now ahead of the hero due to this
|
||||||
if (ch.cooldown() < Dungeon.hero.cooldown()){
|
if (a.cooldown() < Dungeon.hero.cooldown()){
|
||||||
ch.spendToWhole();
|
a.spendToWhole();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user