v1.1.0: fixed viewDistance bugs in Tengu's arena
This commit is contained in:
parent
d747590bcf
commit
8cefd5a9ee
|
@ -699,7 +699,7 @@ public class Dungeon {
|
||||||
|
|
||||||
//default to recomputing based on max hero vision, in case vision just shrank/grew
|
//default to recomputing based on max hero vision, in case vision just shrank/grew
|
||||||
public static void observe(){
|
public static void observe(){
|
||||||
int dist = 8;
|
int dist = Math.max(Dungeon.hero.viewDistance, 8);
|
||||||
dist *= 1f + 0.25f*Dungeon.hero.pointsInTalent(Talent.FARSIGHT);
|
dist *= 1f + 0.25f*Dungeon.hero.pointsInTalent(Talent.FARSIGHT);
|
||||||
|
|
||||||
if (Dungeon.hero.buff(MagicalSight.class) != null){
|
if (Dungeon.hero.buff(MagicalSight.class) != null){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user