import {formatDiceMnemonic} from "./formatDiceMnemonic.js"; export function createAbilitiesSection(data) { // Abilities section let abilities = document.createElement('div'); abilities.className = 'creature_abilities'; abilities.innerHTML = `

Abilities

MS ${formatDiceMnemonic(data.ms)}
IN ${formatDiceMnemonic(data.in)}
DX ${formatDiceMnemonic(data.dx)}
CH ${formatDiceMnemonic(data.ch)}
CN ${formatDiceMnemonic(data.cn)}
PS ${formatDiceMnemonic(data.ps)}
`; return abilities; }