When in confused state, screen becomes blurred.
Using a rune that remove the confusion effect, screen remains blurred until the start of next turn, even if I'm in fact not confused anymore.
[b41]screen blurred for one turn after removing confusion
Moderator: Moderator
-
- Cornac
- Posts: 36
- Joined: Sat Jul 23, 2011 9:00 am
Re: [b41]screen blurred for one turn after removing confusio
A mild annoyance, that bug's been around for quite a while now. View isn't updated when a confusion effect is removed and maybe that's easy to do since it seems to work fine with blindness removal.
-
- Cornac
- Posts: 36
- Joined: Sat Jul 23, 2011 9:00 am
Re: [b41]screen blurred for one turn after removing confusio
not sure (I cannot try it and I'm not too much confident) but it should be fixed by adding self:updateMainShader() to
tome-3.9.41\data\timed_effects\mental.lua line 104
tome-3.9.41\data\timed_effects\mental.lua line 104
Code: Select all
deactivate = function(self, eff)
self:removeTemporaryValue("confused", eff.tmpid)
end
Re: [b41]screen blurred for one turn after removing confusio
The update shader thing would probably work.
It would be if self == game.player then self:updateMainShader() end
It would be if self == game.player then self:updateMainShader() end