All public logs
Combined display of all available logs of RuneRealm Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 00:00, 17 October 2024 Alex talk contribs created page Module:Blackjack stun calculator (Created page with "local p = {} function p.main(frame) local args = frame:getParent().args return p.calculate(tonumber(args.max_hit), tonumber(args.hitpoints)) end function p.calculate(max_hit, hitpoints) local chance = 0.0 for hit = 0,max_hit do if hit > hitpoints then chance = chance + (2*hit-hitpoints)/(2*hit+2)/(1+max_hit) else chance = chance + hit/(2*hitpoints+2)/(1+max_hit) end end return "On a successful hit, the stun chance with a max hit of '''" .. tos...")