@@ -6648,7 +6648,7 @@ <h3>Custom Spell List</h3>
66486648
66496649<br>
66506650
6651- Revision 8516d5ffdbfdf7d9a7a64394c082e563d42466d2
6651+ Revision 0a21280c59579a3ad35127b1a5ee043eeda5e5e0
66526652
66536653
66546654<hr>
@@ -10239,7 +10239,7 @@ <h3>Custom Spell List</h3>
1023910239 if (usefixedrr === 'fixed') {
1024010240 result = spellGenerateMesssage(type,50,casterlevel);
1024110241 } else {
10242- result = spellGenerateMesssage(type,target ,casterlevel);
10242+ result = spellGenerateMesssage(type,total ,casterlevel);
1024310243 }
1024410244 if (nopp) {
1024510245 ppmsg = 'No PP cost';
@@ -17710,7 +17710,8 @@ <h3>Custom Spell List</h3>
1771017710onCheck("clicked:journaladdsave", (_) => {
1771117711 getAttrs(["togglejournaladdshow", "journaladdsessiondate",
1771217712 "journaladdingamedate", "journaladdtitle",
17713- "journaladddescription", "journaladdxp"], (data) => {
17713+ "journaladddescription", "journaladdxp",
17714+ "xp"], (data) => {
1771417715 const rid = generateRowID();
1771517716 const entry = {}
1771617717 entry.togglejournaladdshow = "off";
@@ -17719,6 +17720,8 @@ <h3>Custom Spell List</h3>
1771917720 entry[`repeating_journalentry_${rid}_title`] = data.journaladdtitle;
1772017721 entry[`repeating_journalentry_${rid}_description`] = data.journaladddescription;
1772117722 entry[`repeating_journalentry_${rid}_xp`] = data.journaladdxp;
17723+ entry.xp = parseIntDefault(data.xp) + parseIntDefault(data.journaladdxp);
17724+
1772217725 setAttrs(entry);
1772317726 });
1772417727});
0 commit comments