Should you be blocking fire or cold or similar damage, this causes lua errors due to the game then comparing the returned value with 0.
eg.
Code: Select all
local realdam = DamageType.defaultProjector(src, x, y, type, dam)
if realdam > 0 then
Moderator: Moderator
Code: Select all
local realdam = DamageType.defaultProjector(src, x, y, type, dam)
if realdam > 0 then