diff --git a/src/engine/QuestSystem/QuestManager.java b/src/engine/QuestSystem/QuestManager.java index 112b5806..6c99e050 100644 --- a/src/engine/QuestSystem/QuestManager.java +++ b/src/engine/QuestSystem/QuestManager.java @@ -1,6 +1,7 @@ package engine.QuestSystem; import engine.InterestManagement.WorldGrid; +import engine.gameManager.ChatManager; import engine.net.client.msg.ErrorPopupMsg; import engine.objects.*; import engine.server.MBServerStatics; @@ -58,9 +59,10 @@ public class QuestManager { public static void completeQuest(PlayerCharacter pc, QuestObject obj){ - if(obj.objectiveCount < obj.objectiveCountRequired) + if(obj.objectiveCount < obj.objectiveCountRequired) { + ChatManager.chatSystemInfo(pc, obj.QuestName + " Progress: " + obj.objectiveCount + " / " + obj.objectiveCountRequired); return; - + } //notify the player they have completed their quest ErrorPopupMsg.sendErrorMsg(pc, "You have completed the quest: " + obj.QuestName +"! " + "Experience Reward: " + (int) (Experience.maxXPPerKill(pc.getLevel()) * 10) + " Gold Reward: " + (int) Experience.maxXPPerKill(pc.getLevel()));