Increase Hunter's Journal entries discovered amount

This commit is contained in:
ReznoRMichael 2022-02-19 21:54:27 +01:00
parent 6125d061de
commit 84293c68fd
2 changed files with 9 additions and 0 deletions

View file

@ -1676,6 +1676,7 @@ const HK = {
<i class="icon-cancel"></i>= entry not yet discovered.<br> <i class="icon-cancel"></i>= entry not yet discovered.<br>
<b>(no.)</b> = amount left to complete note.`, <b>(no.)</b> = amount left to complete note.`,
percent: 0, percent: 0,
midPercent: 0,
maxPercent: 146, maxPercent: 146,
entries: { entries: {
PrayerSlug: { PrayerSlug: {

View file

@ -42,6 +42,14 @@ function SetIconPartial(section = {}, entry = "") {
*/ */
function SetIconPartialJournal(section = {}, entry = "") { function SetIconPartialJournal(section = {}, entry = "") {
/* Increase Hunter's Journal entries discovered amount */
switch (section.id) {
case "hk-journal":
section.midPercent++;
break;
}
section.entries[entry].icon = "partialJournal"; section.entries[entry].icon = "partialJournal";
} }