From 52b8100c09ff657186e519f9cde9a222ec0cc7df Mon Sep 17 00:00:00 2001 From: Skal Fate <13443576-SkalFate@users.noreply.gitlab.com> Date: Fri, 17 Feb 2023 03:20:57 +0000 Subject: [PATCH] Priest in Peril fixes Journal entry now shows 50 rune essence Fixed grammar errors --- .../region/misthalin/quest/priestinperil/DrezelDialogue.java | 4 ++-- .../misthalin/quest/priestinperil/DrezelMonumentDialogue.java | 4 ++-- .../region/misthalin/quest/priestinperil/PriestInPeril.java | 2 +- .../quest/priestinperil/PriestInPerilOptionPlugin.java | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Server/src/main/content/region/misthalin/quest/priestinperil/DrezelDialogue.java b/Server/src/main/content/region/misthalin/quest/priestinperil/DrezelDialogue.java index 8c03560d7..5f1dc8b97 100644 --- a/Server/src/main/content/region/misthalin/quest/priestinperil/DrezelDialogue.java +++ b/Server/src/main/content/region/misthalin/quest/priestinperil/DrezelDialogue.java @@ -111,7 +111,7 @@ public final class DrezelDialogue extends DialoguePlugin { } break; case 8: - interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "Ah, Saradomin has granted you wisdom I see. Well, the", "story of the river Salve and of how it protects Mithsalin", "is the story of this temple,"); + interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "Ah, Saradomin has granted you wisdom I see. Well, the", "story of the river Salve and of how it protects Misthalin", "is the story of this temple,"); stage = 9; break; case 9: @@ -143,7 +143,7 @@ public final class DrezelDialogue extends DialoguePlugin { stage = 16; break; case 16: - interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "For then days and nights they fought, never sleeping,", "never eating, fuelled by their desire to make the world a", "better place for humans to live."); + interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "For ten days and nights they fought, never sleeping,", "never eating, fuelled by their desire to make the world a", "better place for humans to live."); stage = 17; break; case 17: diff --git a/Server/src/main/content/region/misthalin/quest/priestinperil/DrezelMonumentDialogue.java b/Server/src/main/content/region/misthalin/quest/priestinperil/DrezelMonumentDialogue.java index 5af575324..20072af6c 100644 --- a/Server/src/main/content/region/misthalin/quest/priestinperil/DrezelMonumentDialogue.java +++ b/Server/src/main/content/region/misthalin/quest/priestinperil/DrezelMonumentDialogue.java @@ -114,7 +114,7 @@ public final class DrezelMonumentDialogue extends DialoguePlugin { stage = 404; break; case 404: - interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "and it is a holy relic that pevents the werewolf people from", "chaning form, I suggest if you battle with them", "that you keep it always equipped, for their"); + interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "and it is a holy relic that prevents the werewolf people from", "changing form, I suggest if you battle with them", "that you keep it always equipped, for their"); stage = 405; break; case 405: @@ -190,7 +190,7 @@ public final class DrezelMonumentDialogue extends DialoguePlugin { } player.getGameAttributes().setAttribute("/save:priest-in-peril:rune", amt); if (player.getGameAttributes().getAttribute("priest-in-peril:rune", 50) <= 0) { - interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "Excellent! That should do it! I will bless these stones", "and place them within the well, and Misthalin should be", "protected once more!"); + interpreter.sendDialogues(npc, FacialExpression.HAPPY, "Excellent! That should do it! I will bless these stones", "and place them within the well, and Misthalin should be", "protected once more!"); stage = 152; } else { end(); diff --git a/Server/src/main/content/region/misthalin/quest/priestinperil/PriestInPeril.java b/Server/src/main/content/region/misthalin/quest/priestinperil/PriestInPeril.java index b11abcc3e..b123278b8 100644 --- a/Server/src/main/content/region/misthalin/quest/priestinperil/PriestInPeril.java +++ b/Server/src/main/content/region/misthalin/quest/priestinperil/PriestInPeril.java @@ -139,7 +139,7 @@ public class PriestInPeril extends Quest { player.getPacketDispatch().sendString("used Holy Water to trap the vampire in his coffin.", 275, 15+ 7); player.getPacketDispatch().sendString("I followed Drezel downstairs only to find that the Salve", 275, 16+ 7); player.getPacketDispatch().sendString("had been contaminated and now needed purifying", 275, 17+ 7); - int amt = player.getGameAttributes().getAttribute("priest-in-peril:rune", 50+ 7); + int amt = player.getGameAttributes().getAttribute("priest-in-peril:rune", 50); player.getPacketDispatch().sendString("I need to bring " + amt + " rune essence to undo the damage", 275, 19+ 7); player.getPacketDispatch().sendString("done by the Zamorakians and purify the salve", 275, 20+ 7); break; diff --git a/Server/src/main/content/region/misthalin/quest/priestinperil/PriestInPerilOptionPlugin.java b/Server/src/main/content/region/misthalin/quest/priestinperil/PriestInPerilOptionPlugin.java index a7ee74726..4e0c6ef3d 100644 --- a/Server/src/main/content/region/misthalin/quest/priestinperil/PriestInPerilOptionPlugin.java +++ b/Server/src/main/content/region/misthalin/quest/priestinperil/PriestInPerilOptionPlugin.java @@ -121,7 +121,7 @@ public class PriestInPerilOptionPlugin extends OptionHandler { } else { item = 1931; } - message = "Saradomin is the vessle that keeps our lives from harm."; + message = "Saradomin is the vessel that keeps our lives from harm."; } if (id == 3497) { if (!player.getGameAttributes().getAttribute("priest_in_peril:feather", false)) { @@ -240,7 +240,7 @@ public class PriestInPerilOptionPlugin extends OptionHandler { case 7711: /** the dog. */ if (quest.getStage(player) == 10) { - player.getPacketDispatch().sendMessage("You have no reason to attack a helpess dog!"); + player.getPacketDispatch().sendMessage("You have no reason to attack a helpless dog!"); return true; } if (quest.getStage(player) > 10) {