Module:Damage: Difference between revisions

no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 10: Line 10:
     local all = sharpness + weight + fire + magic
     local all = sharpness + weight + fire + magic
     local result = bit32.rshift(all, 4)
     local result = bit32.rshift(all, 4)
     if result > 0 then return result + " HP" else return "Immune" end
     if result > 0 then return result .. " HP" else return "Immune" end
end
end


return p
return p