Page 1 of 1

SVN 1886 skeleton mage glitch

Posted: Fri Nov 12, 2010 6:17 pm
by Mushroomhermit

Code: Select all

Lua Error: /data/talents/spells/arcane.lua:59: attempt to index global 'self' (a nil value)
	At [C]:-1 
	At /data/talents/spells/arcane.lua:59 
	At (tail call):-1 
	At /engine/ai//talented.lua:34 
	At (tail call):-1 
	At /engine/ai//talented.lua:59 
	At (tail call):-1 
	At (tail call):-1 
	At /mod/class/NPC.lua:44 act
	At /engine/GameEnergyBased.lua:73 tick
	At /engine/GameTurnBased.lua:44 tick
	At /mod/class/Game.lua:499 
Skeleton mages seem to be bugged and aren't shooting me with arcane death rays anymore. I keep getting this error in terminal.

Not really complaining about this but I doubt its intentional :wink:

Re: SVN 1886 skeleton mage glitch

Posted: Fri Nov 12, 2010 6:30 pm
by Mushroomhermit
found the issue, line 59 of data/talents/spells/arcane.lua has a typo

direct_hit = function(sef, t) if self:getTalentLevel(t) >= 3 then return true else return false end end,

probably should be self

Re: SVN 1886 skeleton mage glitch

Posted: Fri Nov 12, 2010 6:50 pm
by darkgod
fixed thanks