Browse Source

questing failsafes

lakebane-questing
FatBoy-DOTC 2 weeks ago
parent
commit
76bb31be84
  1. 2
      src/engine/QuestSystem/QuestManager.java

2
src/engine/QuestSystem/QuestManager.java

@ -65,7 +65,7 @@ public class QuestManager {
} }
//notify the player they have completed their quest //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())); ErrorPopupMsg.sendErrorMsg(pc, "You have completed the quest: " + obj.QuestName +"!");
//add completed quest to completion log //add completed quest to completion log
if (completedQuests.containsKey(pc)) { if (completedQuests.containsKey(pc)) {

Loading…
Cancel
Save