Skip to content

Commit

Permalink
🎨 5e: concise spell slots. Resolves #250
Browse files Browse the repository at this point in the history
  • Loading branch information
ebullient committed Nov 1, 2023
1 parent 59cbc78 commit c68de34
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,7 @@ String spellToTitle(String key, Spells spells) {

String spellSlots(String key, Spells spells) {
if (spells.slots > 0) {
return String.format(" (%s %s-level slots)",
spells.slots, levelToString(key));
return String.format(" (%s slots)", spells.slots);
}
return "";
}
Expand Down

0 comments on commit c68de34

Please sign in to comment.