[b41]screen blurred for one turn after removing confusion

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
alocritani
Cornac
Posts: 36
Joined: Sat Jul 23, 2011 9:00 am

[b41]screen blurred for one turn after removing confusion

#1 Post by alocritani »

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.

Dervic
Halfling
Posts: 83
Joined: Thu Jun 21, 2012 9:37 am

Re: [b41]screen blurred for one turn after removing confusio

#2 Post by Dervic »

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.

alocritani
Cornac
Posts: 36
Joined: Sat Jul 23, 2011 9:00 am

Re: [b41]screen blurred for one turn after removing confusio

#3 Post by alocritani »

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

Code: Select all

deactivate = function(self, eff)
	self:removeTemporaryValue("confused", eff.tmpid)
end

edge2054
Retired Ninja
Posts: 3756
Joined: Fri May 28, 2010 4:38 pm

Re: [b41]screen blurred for one turn after removing confusio

#4 Post by edge2054 »

The update shader thing would probably work.

It would be if self == game.player then self:updateMainShader() end

Post Reply