Ad placeholder

Module:DiceUtils: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 52: Line 52:
if not (frame.args.modifier == nil) then
if not (frame.args.modifier == nil) then
damage_str = string.format("%s %d %s", table.concat(dice, " + "), frame.args.modifier, avg_str)
damage_str = string.format("%s %s %s", table.concat(dice, " + "), frame.args.modifier, avg_str)
else
else
damage_str = string.format("%s %s", table.concat(dice, " + "), avg_str)
damage_str = string.format("%s %s", table.concat(dice, " + "), avg_str)

Navigation menu