Count mob kills for stage rather than entire quest

This commit is contained in:
PikaMug 2019-09-09 16:16:58 -04:00
parent a6e2d60be8
commit 49bcf4b5f8
2 changed files with 2 additions and 3 deletions

View File

@ -1468,10 +1468,10 @@ public class Quester {
if (e == null) {
return;
}
if (questData.mobsKilled.contains(e) == false) {
Stage currentStage = getCurrentStage(quest);
if (currentStage.mobsToKill.contains(e) == false) {
return;
}
Stage currentStage = getCurrentStage(quest);
int indexOfMobKilled = questData.mobsKilled.indexOf(e);
int numberOfSpecificMobKilled = questData.mobNumKilled.get(indexOfMobKilled);
int numberOfSpecificMobNeedsToBeKilledInCurrentStage = currentStage.mobNumToKill.get(indexOfMobKilled);

View File

@ -16,7 +16,6 @@ import java.io.File;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.UUID;