Quest Manual + Quest Objective Command

Quest Manual allows you to add manual quests that can only be completed via script or command. The command will essentially call the .setProgress or .setPlayerProgress (if the player is within a party) to set the progress for the objectives.
This commit is contained in:
Kam committed 2024-03-19 05:09:11 -04:00
1 parent e56efadca2
commit 39d2b9227d
14 files changed
+773 -19

No files matched your search

@@ -539,7 +539,12 @@ public class QuestItem extends QuestInterface implements IQuestItem {
throw new CustomNPCsException("Cant set the progress of ItemQuests", new Object[0]);
}
public int getMaxProgress() {
@Override
public void setPlayerProgress(String playerName, int progress) {
throw new CustomNPCsException("Cant set the progress of ItemQuests", new Object[0]);
}
public int getMaxProgress() {
if(party != null && party.getObjectiveRequirement() != null){
EnumPartyObjectives objectives = party.getObjectiveRequirement();
if(objectives == EnumPartyObjectives.All){