71
editsMore actions
no edit summary
No edit summary |
No edit summary |
||
Line 45: | Line 45: | ||
avg_str = string.format("(%d - %d)", min_damage, max_damage) | avg_str = string.format("(%d - %d)", min_damage, max_damage) | ||
end | end | ||
damage_str = string.format("%s %s %s", table.concat(dice, " + "), avg_str, d_type) | |||
damage_str = string.format("%s %s %s", table.concat(dice, " + "), | |||
table.insert(result, damage_str) | table.insert(result, damage_str) |