destroyedNightmareLantern check instead of grimmchild
This commit is contained in:
parent
a71c2ed0a6
commit
2915eb65fd
3 changed files with 5 additions and 5 deletions
|
|
@ -1573,7 +1573,7 @@ function CheckHuntersJournal(db, sectionName, playerData) {
|
||||||
|
|
||||||
case "FlameBearerLarge":
|
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 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].disabled = true;
|
||||||
entries[entry].name = nameDefault;
|
entries[entry].name = nameDefault;
|
||||||
CurrentDataBlank(section, entry);
|
CurrentDataBlank(section, entry);
|
||||||
|
|
@ -1584,7 +1584,7 @@ function CheckHuntersJournal(db, sectionName, playerData) {
|
||||||
|
|
||||||
case "NightmareGrimm":
|
case "NightmareGrimm":
|
||||||
/* if the troupe was banished, the Nightmare King entry cannot be obtained on this save */
|
/* 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].disabled = true;
|
||||||
entries[entry].name = nameDefault;
|
entries[entry].name = nameDefault;
|
||||||
CurrentDataBlank(section, entry);
|
CurrentDataBlank(section, entry);
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1684,7 +1684,7 @@ function CheckHuntersJournal(db, sectionName, playerData) {
|
||||||
case "FlameBearerLarge":
|
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 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].disabled = true;
|
||||||
entries[entry].name = nameDefault;
|
entries[entry].name = nameDefault;
|
||||||
|
|
@ -1698,7 +1698,7 @@ function CheckHuntersJournal(db, sectionName, playerData) {
|
||||||
case "NightmareGrimm":
|
case "NightmareGrimm":
|
||||||
|
|
||||||
/* if the troupe was banished, the Nightmare King entry cannot be obtained on this save */
|
/* 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].disabled = true;
|
||||||
entries[entry].name = nameDefault;
|
entries[entry].name = nameDefault;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue