Page 1 of 1

[1.4.8] Piercing Shield blocking lava

Posted: Mon Jul 04, 2016 1:14 am
by Stuntofthelitter
Zeyphor discovered an amazing error. Blocking while on lava floor with Piercing Gaze equipped can result in this error:

Code: Select all

Lua Error: /data/general/objects/world-artifacts.lua:6607: attempt to call method 'canBe' (a nil value)
	At [C]:-1 canBe
	At /data/general/objects/world-artifacts.lua:6607 fct
	At /data/timed_effects/physical.lua:2073 do_block
	At /data/damage_types.lua:174 defaultProjector
	At /data/damage_types.lua:706 projector
	At /data/general/grids/lava.lua:34 check
	At /engine/Map.lua:801 checkEntity
	At /mod/class/Actor.lua:646 act
	At /mod/addons/orcs/superload/mod/class/Actor.lua:55 act
	At /mod/class/Player.lua:363 act
	At /engine/GameEnergyBased.lua:129 tickLevel
	At /engine/GameEnergyBased.lua:64 tick
	At /engine/GameTurnBased.lua:51 tick
	At /mod/class/Game.lua:1271 
canBe doesn't seem to play nice when checking this manner of source.

Re: [1.4.8] Piercing Shield blocking lava

Posted: Mon Jul 04, 2016 2:16 pm
by Zeyphor
and it probably also tries to petrify every trap in the game and the damage that kills the temporal warden and/or paradox mage in the TW-only daikara event on level 3; and be sure to account for spectral shield too, and maybe even tree of life(vs. undead) too

i also wouldn't be surprised if the shield, black mesh, bugs like that too, as well as shields that do non-aoe damage when it blocks damage that would be otherwise taken