Removed BPDD and BPDD2 from the quest list because their enemies don't drop items.

This commit is contained in:
Daan Vanden Bosch 2019-06-22 00:44:05 +02:00
parent 71feaf7867
commit 0eb4cf6b96
2 changed files with 11 additions and 35 deletions

View File

@ -2561,37 +2561,6 @@
"Girtablulu": 12
}
},
{
"id": 31,
"name": "Black Paper's Dangerous Deal",
"episode": 4,
"enemyCounts": {
"SandRappy": 47,
"DelRappy": 1,
"Dorphon": 11,
"DorphonEclair": 1,
"Zu": 14,
"Pazuzu": 1
}
},
{
"id": 34,
"name": "Black Paper's Dangerous Deal 2",
"episode": 4,
"enemyCounts": {
"GoranDetonator": 5,
"MerissaAA": 3,
"PyroGoran": 14,
"MerissaA": 9,
"DelRappy": 6,
"SatelliteLizard": 9,
"Goran": 8,
"Girtablulu": 1,
"Zu": 3,
"Pazuzu": 1,
"SandRappy": 7
}
},
{
"id": 902,
"name": "Christmas Fiasco",

View File

@ -53,7 +53,9 @@ async function update() {
/**
* Shop quests are not processed.
* MAXIMUM ATTACK 3 Ver2 is ignored because its actual enemy count depends on the path taken.
* MAXIMUM ATTACK 3 Ver2 is left out because its actual enemy count depends on the path taken.
* Black Paper's Dangerous Deal and Black Paper's Dangerous Deal 2 are left out because their
* enemies don't drop anything.
*
* TODO: Missing quests:
* - Maximum Attack 4th Stage -1R-
@ -111,9 +113,14 @@ function processQuest(path: string, quests: QuestDto[]) {
if (q.questNo == null) {
throw new Error('No questNo.');
} else if (q.questNo === 314) {
// Ignore MAXIMUM ATTACK 3 Ver2
return;
} else {
// Filter out some quests.
switch (q.questNo) {
case 31: // Black Paper's Dangerous Deal
case 34: // Black Paper's Dangerous Deal 2
case 314: // MAXIMUM ATTACK 3 Ver2
return;
}
}
const enemyCounts: { [npcTypeCode: string]: number } = {};