v0.9.3: fixed Dungeon.observe() assuming baseline vision of 8

This commit is contained in:
Evan Debenham 2021-03-30 01:09:50 -04:00
parent 6de63466f1
commit 238e6c9d66

View File

@ -698,7 +698,8 @@ public class Dungeon {
} }
public static void observe(){ public static void observe(){
int dist = 8 + 2*Dungeon.hero.pointsInTalent(Talent.FARSIGHT); int dist = Dungeon.hero.viewDistance;
dist *= 1f + 0.25f*Dungeon.hero.pointsInTalent(Talent.FARSIGHT);
observe( dist+1 ); observe( dist+1 );
} }