max 160 journal entries for zote off

This commit is contained in:
ReznoRMichael 2021-07-18 23:43:54 +02:00
parent 011c582102
commit 96788f3b77
4 changed files with 9 additions and 5 deletions

View file

@ -911,8 +911,8 @@ function CheckAdditionalThings(section, dataObject, playerData, worldData, scene
dataObject[i].amountTotal = playerData.journalEntriesTotal;
/* when Zote is dead, the max Journal entries will equal = 160 instead of 164. For the green tick */
if (playerData.zoteDead === true) {
dataObject[i].max = 160;
if (playerData.zoteRescuedBuzzer === false && playerData.hasWalljump === true) {
dataObject[i].max = dataObject[i].maxZoteOff;
/* Substract GPZ and 3 Zotelings from max */
} else {
/* otherwise, set back to 164 */
@ -4343,6 +4343,7 @@ var HK = {
spoiler: "Hunter's Journal (160+4 max)",
max: 164,
maxDefault: 164,
maxZoteOff: 160,
wiki: "Category:Enemies_(Hollow_Knight)#Compendium"
},
@ -4354,6 +4355,7 @@ var HK = {
spoiler: "Hunter's Journal (160+4 max)",
max: 164,
maxDefault: 164,
maxZoteOff: 160,
wiki: "Category:Enemies_(Hollow_Knight)#Compendium"
},
nailDamage: {

File diff suppressed because one or more lines are too long

View file

@ -1019,8 +1019,8 @@ function CheckAdditionalThings(section, dataObject, playerData, worldData, scene
dataObject[i].amountTotal = playerData.journalEntriesTotal;
/* when Zote is dead, the max Journal entries will equal = 160 instead of 164. For the green tick */
if (playerData.zoteDead === true) {
dataObject[i].max = 160; /* Substract GPZ and 3 Zotelings from max */
if (playerData.zoteRescuedBuzzer === false && playerData.hasWalljump === true) {
dataObject[i].max = dataObject[i].maxZoteOff; /* Substract GPZ and 3 Zotelings from max */
} else {
/* otherwise, set back to 164 */
dataObject[i].max = dataObject[i].maxDefault;

View file

@ -1584,6 +1584,7 @@ const HK = {
spoiler: "Hunter's Journal (160+4 max)",
max: 164,
maxDefault: 164,
maxZoteOff: 160,
wiki: "Category:Enemies_(Hollow_Knight)#Compendium"
},
/*
@ -1594,6 +1595,7 @@ const HK = {
spoiler: "Hunter's Journal (160+4 max)",
max: 164,
maxDefault: 164,
maxZoteOff: 160,
wiki: "Category:Enemies_(Hollow_Knight)#Compendium"
},
nailDamage: {