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

@@ -32,4 +32,20 @@ public class ValueUtil {
return min;
return Math.min(given, max);
}
public static float correctFloat(float given, float min, float max){
if(given < min)
return min;
if(given > max)
return max;
return given;
}
public static int CorrectInt(int given, int min, int max) {
if(given < min)
return min;
if(given > max)
return max;
return given;
}
}