I was playing an Anorithil in b35. When I got to the Subject Z/Wayist fight, the first thing I did was to cast 'Mind Blast'. I promptly got a crash, with this message:
Lua Error: /data/talents/psionic/focus.lua:39: attempt to compare number with nil
At [C]:-1 __lt
At /data/talents/psionic/focus.lua:39 val
At /mod/ai//tactical.lua:121 runAI
At /mod/ai//tactical.lua:399 doAI
At /mod/class/NPC.lua:47 act
At /engine/GameEnergyBased.lua:118 tickLevel
At /engine/GameEnergyBased.lua:62 tick
At /engine/GameTurnBased.lua:44 tick
At /mod/class/Game.lua:926
---------------- Stack Dump ----------------
2: table // b096fd98
1: table // b096fd98
--------------- Stack Dump Finished ---------------
[b35] Crash when trying to confuse Subject Z
Moderator: Moderator
Re: [b35] Crash when trying to confuse Subject Z
Actually, I've been getting this crash even when I don't use Mind Blast; it's some other error. It's really annoying, though.
Re: [b35] Crash when trying to confuse Subject Z
Further update: I fixed this by adding the line
at line 39 of data/talents/psionic/focus.lua.
Code: Select all
local gem_level = getGemLevel(self)