Page 1 of 1

a small bug in ActorTalents.lua

Posted: Sat Sep 27, 2014 4:38 pm
by starsapphire
http://git.net-core.org/darkgod/t-engin ... ts.lua#L54
"chronomancy/other" type is added both in ./data/talents/chronomancy/chronomancer.lua and ./data/talents/misc/npcs.lua
"psionic/other" type is added both in ./data/talents/psionic/psionic.lua and ./data/talents/misc/npcs.lua and ./data/talents/misc/npcs.lua
So

Code: Select all

	self.talents_types_def[t.type] = t
will let the second defination displace the first one and empty its content.
It should be

Code: Select all

	self.talents_types_def[t.type] = self.talents_types_def[t.type] or t
Found while I couldn't find dredge frenzy in tometips.