mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-24 19:46:34 +01:00
Count mob kills for stage rather than entire quest
This commit is contained in:
parent
a6e2d60be8
commit
49bcf4b5f8
@ -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);
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user