X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/static/gitweb.css?a=blobdiff_plain;f=plomrogue%2Fthings.py;h=a5d38897205282e51fb29ba23333c72fded7b02a;hb=8b3739449048aac3d7532563d0c20cb198d37a8f;hp=1c99737c039390938804d467d8e9a490e2dc2a67;hpb=d56384f9b6c88bab666162a0f97d7e64f2b3951c;p=plomrogue2 diff --git a/plomrogue/things.py b/plomrogue/things.py index 1c99737..a5d3889 100644 --- a/plomrogue/things.py +++ b/plomrogue/things.py @@ -334,8 +334,9 @@ class ThingAnimate(Thing): if self._fov: return self._fov fov_map_class = self.game.map_geometry.fov_map_class + fov_radius = 3 if self.drunk > 0 else 12 self._fov = fov_map_class(self.game.things, self.game.maps, self.position, - 12, self.game.get_map) + fov_radius, self.game.get_map) return self._fov def fov_test(self, big_yx, little_yx):