Compare commits
1 Commits
7e9b26499a
...
ce1f43fe98
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ce1f43fe98 |
@ -30,7 +30,7 @@
|
||||
resultText += '<br/>  D' + result.sides + ': [' + values.map(value => value === 1 ? '<strong style="color: red">' + value + '</strong>' : value === result.sides ? '<strong style="color: green">' + value + '</strong>' : value).join(' + ') + (result.modifier > 0 ? ' <a style="text-decoration: underline">+' + result.modifier + '</a>': result.modifier < 0 ? ' <a style="text-decoration: underline">' + result.modifier + '</a>': '') + '] = <strong style="font-size: x-large">' + result.value + '</strong> '
|
||||
})
|
||||
}
|
||||
node.innerHTML = '<strong style="text-shadow: 1px 1px 3px black; color: ' + data.themeColor + ';">' + data.name + ':</strong> 🎲 ' + resultText
|
||||
node.innerHTML = '<strong style="text-shadow: 2px 2px 10px ' + data.themeColor + ';">' + data.name + ':</strong> 🎲 ' + resultText
|
||||
name.appendChild(node)
|
||||
document.getElementById('results').appendChild(name);
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user