v0.9.2: fixed vision range errors caused by new talent
This commit is contained in:
@@ -699,8 +699,7 @@ public class Dungeon {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void observe(){
|
public static void observe(){
|
||||||
int dist = Dungeon.hero.viewDistance;
|
int dist = 8 + 2*Dungeon.hero.pointsInTalent(Talent.FARSIGHT);
|
||||||
dist *= 1f + 0.25f*Dungeon.hero.pointsInTalent(Talent.FARSIGHT);
|
|
||||||
observe( dist+1 );
|
observe( dist+1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user