Module:Creature Mutation Query: Difference between revisions
fix positive mutation ego bonuses not appearing |
fix bonus formatting |
||
Line 53: | Line 53: | ||
c = "" | c = "" | ||
if modifier > 0 then | if modifier > 0 then | ||
c = "00c420\">+" | c = "00c420;\">+" | ||
elseif modifier < 0 then | elseif modifier < 0 then | ||
c= "d74200\">" | c= "d74200;\">" | ||
end | end | ||
return '<span style = \"color:# | return '<span style = \"color:#' .. c .. tostring(modifier) .. '</span>' | ||
end | end | ||