[b35] Crash when trying to confuse Subject Z

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
dpt

[b35] Crash when trying to confuse Subject Z

#1 Post by dpt »

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 ---------------

dpt

Re: [b35] Crash when trying to confuse Subject Z

#2 Post by dpt »

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.

dpt

Re: [b35] Crash when trying to confuse Subject Z

#3 Post by dpt »

Further update: I fixed this by adding the line

Code: Select all

                local gem_level = getGemLevel(self)
at line 39 of data/talents/psionic/focus.lua.

Post Reply