v1.1.0: fixed viewDistance bugs in Tengu's arena

This commit is contained in:
Evan Debenham 2021-12-05 13:19:46 -05:00
parent d747590bcf
commit 8cefd5a9ee

View File

@ -699,7 +699,7 @@ public class Dungeon {
//default to recomputing based on max hero vision, in case vision just shrank/grew
public static void observe(){
int dist = 8;
int dist = Math.max(Dungeon.hero.viewDistance, 8);
dist *= 1f + 0.25f*Dungeon.hero.pointsInTalent(Talent.FARSIGHT);
if (Dungeon.hero.buff(MagicalSight.class) != null){