thesource-campaigns/types/toMD/spell.dhall

13 lines
251 B
Plaintext

let toMD = { stat = ./stat.dhall, roll = ./roll.dhall }
let Spell = ../Spell.dhall
in λ(spell : Spell.Type) →
''
### ${spell.name} (${toMD.stat spell.stat})
${spell.description}
Deals ${toMD.roll spell.damage}
''