Lua Error when switching to yeek dominated enemy as it dies.
Posted: Sun Oct 25, 2015 8:25 pm
I attempted to check the status type of bleak outcome (see other bug report) by applying a stack to an enemy then switching to it to look at its status effects. As soon as I switched control my character's AI killed it with an acid wave rune. This triggered a lua error (weird but probably not an error: I also dazed myself with Grim Future proc on it's death!):
Code: Select all
[LOG] Demonologwayist uses Dominant Will.
checkHit 22.8 9
=> chance to hit 85
[LOG] Fire drake hatchling's mind is shattered.
[SORTING HOTKEYS] actor = "fire drake hatchling"
[LOG] #MOCCASIN#Character control switched to fire drake hatchling.
AI took for target 7910 Demonologwayist :: 37506 fire drake hatchling 4 < 4
[LOG] Demonologwayist casts Rune: Acid Wave.
checkHit 18.292678296595 36.6
=> chance to hit 5
[LOG] Fire drake hatchling is disarmed!
[CALLBACK] upgrading to prioritized talents_on_death
checkHit 17.341722271981 36.6
=> chance to hit 2
[LOG] Fire drake hatchling is disarmed!
Loading tile from tileset /data/gfx/shockbolt/object/money_small.png
checkHit 19.125 41.618588113312
=> chance to hit 0
[LOG] Demonologwayist is dazed!
[LOG] #MOCCASIN#Character control switched to Demonologwayist.
checkHit 17.365819158147 36.6
=> chance to hit 2
[LOG] Fire drake hatchling is disarmed!
[SOUND] loading from /data/sound/talents/slime.ogg :=: sound "/data/sound/talents/slime.ogg" : <static>
Lua Error: /mod/ai//tactical.lua:437: attempt to call method 'runAI' (a nil value)
At [C]:-1 runAI
At /mod/ai//tactical.lua:437 runAI
At /mod/ai//party.lua:36 doAI
At /mod/class/NPC.lua:72 act
At /engine/GameEnergyBased.lua:126 tickLevel
At /engine/GameEnergyBased.lua:62 tick
At /engine/GameTurnBased.lua:46 tick
At /mod/class/Game.lua:1255