I was poking around the base code and stumbled over this:
After getting arch.poison and making sure it isn't zero, the code goes back and uses the original value anyway. There's no normal way for a monster_poisonattack without having arch.poison set, but if the zero check is there it presumably ought to be used...monster.lua ~ line 256 wrote:Code: Select all
function monster_poisonattack(arch, id, targppos, targchar, t_damage, c_damage) local poison = arch.poison if (not poison) then poison = 1 end poison_character(targchar, arch.poison) return nil end