71
editsMore actions
no edit summary
(Undo revision 19574 by NamelessWonder (talk)) Tag: Undo |
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_html = mw.html.create("") | |||
damage_str = string.format("%s %s %s", table.concat(dice, " + "), | damage_html:wikitext(string.format("{{DamageType|%s}}",d_type)) | ||
damage_str = string.format("%s %s %s", table.concat(dice, " + "), tostring(damage_html), avg_str) | |||
table.insert(result, damage_str) | table.insert(result, damage_str) |