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
This commit is contained in:
Qweqker 2020-02-21 12:29:13 -05:00
parent d71e7cf23f
commit 365dbcdb17

View file

@ -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;