1
0
Fork 0
mirror of https://github.com/em-squared/5e-drs.git synced 2025-10-31 05:24:20 +00:00

liste des sorts

This commit is contained in:
Maxime Moraine 2020-04-08 16:41:31 +02:00
parent f3643e6eaf
commit b1b97a01e9
373 changed files with 9259 additions and 34 deletions

View file

@ -1,9 +1,10 @@
export function displaySchoolLevel (spell) {
let result = ''
if (spell.level == 0) {
if (spell.level == 0 || spell.level == "0") {
result = spell.school + ', Tour de magie'
} else {
result = spell.school + ' de niveau ' + spell.level
}
result = spell.school + ' de niveau ' + spell.level
if (spell.ritual) {
result = result + ' (rituel)'
}