Page 1 of 1

[1.3.1] Effect on dead golem causes errors.

Posted: Mon May 04, 2015 11:22 pm
by Stuntofthelitter
I've seen this before so it stood out this time. Someone was getting nonstop errors when trying to do anything. They were an alchemist, golem was dead. EFF_CRUSHING_HOLD is the culprit in this case.

After golem is revived (or that effect is removed from its tmp table) things cease to be wrecked.

Code: Select all

Lua Error: /data/timed_effects/physical.lua:1344: bad argument #1 to 'distance' (number expected, got nil)
        At [C]:-1
        At [C]:-1 distance
        At /data/timed_effects/physical.lua:1344 on_timeout
        At /engine/interface/ActorTemporaryEffects.lua:83 timedEffects
        At /mod/class/NPC.lua:320 timedEffects
        At /mod/class/Actor.lua:549 actBase
        At /engine/GameEnergyBased.lua:116 tickLevel
        At /engine/GameEnergyBased.lua:62 tick
        At /engine/GameTurnBased.lua:46 tick
        At /mod/class/Game.lua:1255 
Affected save