[b42] Imortal Rare Naga + Lua error crash

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Dervic
Halfling
Posts: 83
Joined: Thu Jun 21, 2012 9:37 am

[b42] Imortal Rare Naga + Lua error crash

#1 Post by Dervic »

A rare Naga in High Peak 2, wouldn't go below 0 hp even though it still suffered damage.
I think (but I'm not sure) the cause was that I stripped Unstoppable from her using Corrupted Negation.
I have a working save but the first move will always result in a LUA error spam:

Code: Select all


Lua Error: /mod/ai//tactical.lua:187: attempt to perform arithmetic on field 'life' (a nil value)
	At [C]:-1 __mul
	At /mod/ai//tactical.lua:187 runAI
	At /mod/ai//tactical.lua:403 doAI
	At /mod/class/NPC.lua:47 act
	At /engine/GameEnergyBased.lua:131 tickLevel
	At /engine/GameEnergyBased.lua:62 tick
	At /engine/GameTurnBased.lua:46 tick
	At /mod/class/Game.lua:995 
 ----------------  Stack Dump ----------------
2: table // 1b35e78
1: table // 1b35e78
--------------- Stack Dump Finished ---------------
[SPELL] friendly fire chance	100
Lua Error: /mod/ai//tactical.lua:187: attempt to perform arithmetic on field 'life' (a nil value)

Dervic
Halfling
Posts: 83
Joined: Thu Jun 21, 2012 9:37 am

Re: [b42] Imortal Rare Naga + Lua error crash

#2 Post by Dervic »

Edit: My hypothesis, was wrong... the Naga was a Marauder/ArchMage and I still have no idea why this happened. I edited the savefile to give her ["life"]=1 and kept going anyway.

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: [b42] Imortal Rare Naga + Lua error crash

#3 Post by darkgod »

I'll take the save please :)
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply