mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-10-30 13:14:20 +00:00
classes
This commit is contained in:
parent
1050fbb531
commit
38931015db
71 changed files with 5819 additions and 184 deletions
11
docs/.vuepress/theme/util/spellHelpers.js
Normal file
11
docs/.vuepress/theme/util/spellHelpers.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
export function displaySchoolLevel (spell) {
|
||||
let result = ''
|
||||
if (spell.level == 0) {
|
||||
result = spell.school + ', Tour de magie'
|
||||
}
|
||||
result = spell.school + ' de niveau ' + spell.level
|
||||
if (spell.ritual) {
|
||||
result = result + ' (rituel)'
|
||||
}
|
||||
return result
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue