Adds missing kill location to kill tasks

This commit is contained in:
Kristian Knarvik 2022-11-06 00:19:26 +01:00
parent cfff5485b2
commit 27db5c2b68

View File

@ -69,7 +69,11 @@ public class QuestStagesInfoGenerator {
int mobTypes = stage.getMobsToKill().size(); int mobTypes = stage.getMobsToKill().size();
for (int i = 0; i < mobTypes; i++) { for (int i = 0; i < mobTypes; i++) {
questInfo.append("<li>Kill ").append(QuestsHelper.normalizeName(stage.getMobsToKill().get(i).name())); questInfo.append("<li>Kill ").append(QuestsHelper.normalizeName(stage.getMobsToKill().get(i).name()));
questInfo.append(" x ").append(stage.getMobNumToKill().get(i)).append("</li>"); questInfo.append(" x ").append(stage.getMobNumToKill().get(i));
if (stage.getKillNames().size() > i) {
questInfo.append(" at ").append(stage.getKillNames().get(i));
}
questInfo.append("</li>");
} }
int reachLocations = stage.getLocationsToReach().size(); int reachLocations = stage.getLocationsToReach().size();
for (int i = 0; i < reachLocations; i++) { for (int i = 0; i < reachLocations; i++) {