destroyedNightmareLantern check instead of grimmchild

This commit is contained in:
ReznoRMichael 2021-07-28 20:33:46 +02:00
parent a71c2ed0a6
commit 2915eb65fd
3 changed files with 5 additions and 5 deletions

View file

@ -1573,7 +1573,7 @@ function CheckHuntersJournal(db, sectionName, playerData) {
case "FlameBearerLarge":
/* If the troupe was banished and the player didn't defeat any Grimmkin Nightmare, then it's entry cannot be obtained on this save */
if (playerData.grimmChildLevel >= 5 && playerData.killedFlameBearerLarge === false) {
if (playerData.destroyedNightmareLantern === true && playerData.killedFlameBearerLarge === false) {
entries[entry].disabled = true;
entries[entry].name = nameDefault;
CurrentDataBlank(section, entry);
@ -1584,7 +1584,7 @@ function CheckHuntersJournal(db, sectionName, playerData) {
case "NightmareGrimm":
/* if the troupe was banished, the Nightmare King entry cannot be obtained on this save */
if (playerData.grimmChildLevel >= 5) {
if (playerData.destroyedNightmareLantern === true) {
entries[entry].disabled = true;
entries[entry].name = nameDefault;
CurrentDataBlank(section, entry);

File diff suppressed because one or more lines are too long

View file

@ -1684,7 +1684,7 @@ function CheckHuntersJournal(db, sectionName, playerData) {
case "FlameBearerLarge":
/* If the troupe was banished and the player didn't defeat any Grimmkin Nightmare, then it's entry cannot be obtained on this save */
if (playerData.grimmChildLevel >= 5 && playerData.killedFlameBearerLarge === false) {
if (playerData.destroyedNightmareLantern === true && playerData.killedFlameBearerLarge === false) {
entries[entry].disabled = true;
entries[entry].name = nameDefault;
@ -1698,7 +1698,7 @@ function CheckHuntersJournal(db, sectionName, playerData) {
case "NightmareGrimm":
/* if the troupe was banished, the Nightmare King entry cannot be obtained on this save */
if (playerData.grimmChildLevel >= 5) {
if (playerData.destroyedNightmareLantern === true) {
entries[entry].disabled = true;
entries[entry].name = nameDefault;