Module:Test: Difference between revisions
From Elwiki
No edit summary |
No edit summary |
||
Line 422: | Line 422: | ||
hit_count = hit_count == '' and 1 or hit_count | hit_count = hit_count == '' and 1 or hit_count | ||
new_value.hit_counts[damage_type][k] = hit_count * | new_value.hit_counts[damage_type][k] = hit_count * | ||
args.awk_count[1] | |||
end | end | ||
end) | end) | ||
Line 949: | Line 949: | ||
-- Transform into variables | -- Transform into variables | ||
local variables = doVariables(frame, FINAL_DAMAGE, OPTIONS.prefix) | local variables = doVariables(frame, FINAL_DAMAGE, OPTIONS.prefix) | ||
if out ~= nil then | if out ~= nil then | ||
return inspect_dump(frame, out) | return inspect_dump(frame, out) |