diff --git a/game/engines/default/engine/Map.lua b/game/engines/default/engine/Map.lua index b41267ff6d50c4de9662d6a4b4ba23b20cdf9942..7099211e92eafd6a8201398c512189ff52c1a8eb 100644 --- a/game/engines/default/engine/Map.lua +++ b/game/engines/default/engine/Map.lua @@ -714,6 +714,16 @@ function _M:checkEntity(x, y, pos, what, ...) end end +--- See all grids +function _M:seeAll(x, y, w, h, v) + if v == nil then v = true end + for i = x, x + w - 1 do for j = y, y + h - 1 do + self.seens[i + j * self.w] = v or 1 + self.has_seens[i + j * self.w] = true + self._map:setSeen(i, j, 1) + end end +end + --- Lite all grids function _M:liteAll(x, y, w, h, v) if v == nil then v = true end diff --git a/game/modules/tome/data/talents/uber/cun.lua b/game/modules/tome/data/talents/uber/cun.lua index bbc3e44a3acc41ff647970a7fee0c32a1a436407..4be3232f21e560ff9e6c181c1e4a6a313f3556e9 100644 --- a/game/modules/tome/data/talents/uber/cun.lua +++ b/game/modules/tome/data/talents/uber/cun.lua @@ -115,7 +115,7 @@ uberTalent{ Any mind damage you do has a 20%% chance to confuse (20%%) the target for 5 turns. This only triggers for hits over 150 damage. Values increase with your Cunning.]]) - :format(self:getCun() / 2.5, self:getCun() / 2, self:getCun() / 2.5, self:getCun() / 2) + :format(self:getCun() / 2.5, self:getCun() / 2, self:getCun() / 2.5, self:getCun() / 3) end, }