Radiance Talent Light Radius breaks on 0/-X light values

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Carect
Posts: 4
Joined: Fri Aug 16, 2013 12:19 am

Radiance Talent Light Radius breaks on 0/-X light values

#1 Post by Carect »

According to the Talent description at least, Celestial/Radiance/Radiance should be overriding any light value lower then it's own, but at 0 or negative light radius values, you get... well, no light radius.

I happened to stumble across this in the Maze, when I removed my lite source, with no other light radius items in my inventory/equipped.

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

Re: Radiance Talent Light Radius breaks on 0/-X light values

#2 Post by edge2054 »

Player 599 seems like a likely culprit.

Code: Select all

		local lradius = self.lite
		if self.radiance_aura and lradius < self.radiance_aura then lradius = self.radiance_aura end
		if self.lite <= 0 then game.level.map:applyLite(self.x, self.y)

Post Reply