From 365dbcdb17bdfc42d0546552a6ab8fa8aa9aa7b9 Mon Sep 17 00:00:00 2001 From: Qweqker Date: Fri, 21 Feb 2020 12:29:13 -0500 Subject: [PATCH] Added a ton of dialogue for Iron Man mode Added the ability to change ironman mode Added the ability to remove ironman mode Added some checks to see if the player was too high level or had too many quest points to change Iron man mode Added some checks to see if the player has died as an iron man Added check to see if player has an empty bank when changing to uim Changed some case numbers around --- Server/src/plugin/dialogue/HansDialoguePlugin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/src/plugin/dialogue/HansDialoguePlugin.java b/Server/src/plugin/dialogue/HansDialoguePlugin.java index 6b29ac373..106b4520b 100644 --- a/Server/src/plugin/dialogue/HansDialoguePlugin.java +++ b/Server/src/plugin/dialogue/HansDialoguePlugin.java @@ -151,7 +151,7 @@ public final class HansDialoguePlugin extends DialoguePlugin { case 100: switch (buttonId) { case 1: //no longer want to be iron - if (player.getIronmanManager().checkRestriction(IronmanMode.HARDCORE_DEAD)) { + if (player.getSavedData().getActivityData().getHardcoreDeath() == 1) { interpreter.sendDialogues(npc, FacialExpression.GUILTY, "Sorry, but you've fallen as a Hardcore Iron Man", "already. It would be unfair for those with other", " restrictions if your status were to be removed!"); stage = 50; break; @@ -168,7 +168,7 @@ public final class HansDialoguePlugin extends DialoguePlugin { break; } case 2: //change ironman mode - if (player.getIronmanManager().checkRestriction(IronmanMode.HARDCORE_DEAD)) { + if (player.getSavedData().getActivityData().getHardcoreDeath() == 1) { interpreter.sendDialogues(npc, FacialExpression.GUILTY, "Sorry, but you've fallen as a Hardcore Iron Man", "already. It would be unfair for those with other", " restrictions if your status were to be changed!"); stage = 50; break;