Priest in Peril fixes

Journal entry now shows 50 rune essence
Fixed grammar errors
This commit is contained in:
Skal Fate
2023-02-17 03:20:57 +00:00
committed by Ryan
parent e016d55630
commit 52b8100c09
4 changed files with 7 additions and 7 deletions
@@ -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:
@@ -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();
@@ -139,7 +139,7 @@ public class PriestInPeril extends Quest {
player.getPacketDispatch().sendString("<str>used Holy Water to trap the vampire in his coffin.", 275, 15+ 7);
player.getPacketDispatch().sendString("<str>I followed Drezel downstairs only to find that the Salve", 275, 16+ 7);
player.getPacketDispatch().sendString("<str>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("<col=08088A>I need to bring <col=8A0808>" + amt + " <col=08088A>rune essence to undo the damage", 275, 19+ 7);
player.getPacketDispatch().sendString("<col=08088A>done by the Zamorakians and <col=8A0808>purify the salve", 275, 20+ 7);
break;
@@ -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) {