Code:
iskrit = ( kritProbRnd < kritProb )
if iskrit then
if receiver_human and not receiver_glot then
kritProb = kritProb - skill_power("weakness_lore", 2)
if kritProbRnd < kritProb then
iskrit = true
else
iskrit = false
is_weakness_lore = true
end
end
end
Logic was just all topsy turvy. They intend to check IF IT IS STILL A CRIT, but instead of letting it be a crit, they instead cancel it. I believe the above should fix it unless I'm misremembering lua 'else' syntax.