Skip to content

Commit

Permalink
Made spell hover text not be lowercase anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Zakkon committed May 23, 2024
1 parent f0d0c74 commit 9cd1802
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions charbuilder/js/sheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -738,8 +738,9 @@ class ActorCharactermancerSheet extends ActorCharactermancerBaseComponent{
const spellsListStr = (spells) => {
let spellsStr = "";
for(let i = 0; i < spells.length; ++i){
let uid = spells[i].name.toLowerCase() + "|" + spells[i].source.toLowerCase();
//spellsStr += spells[i].name;
//"name|source|displayText"
let uid = spells[i].name.toLowerCase() + "|" + spells[i].source.toLowerCase()
+ "|" + spells[i].name;
spellsStr += Renderer.get().render(`{@spell ${uid}}`);
if(i+1 < spells.length){spellsStr += ", ";}
}
Expand Down

0 comments on commit 9cd1802

Please sign in to comment.