Module:MaxHit: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

12 June 2025

9 June 2025

  • curprev 15:5915:59, 9 June 2025 Ryan talk contribs 874 bytes +874 Created page with "local p = {} -- Helper: parse a stat string like "30+20 Bonus" into total numeric value (e.g., 50) local function parseStat(statString) local total = 0 for num in string.gmatch(statString or "", "%d+") do total = total + tonumber(num) end return total end function p.maxhit(frame) local args = frame.args local parent = frame:getParent() -- Fetch and parse all three stat types local str = parseStat(args.Strength or parent.args.Str..."