From 77575ad00ef4d74e68eaf5134c4f74f82e4761ac Mon Sep 17 00:00:00 2001 From: Ronan Lana Date: Sat, 13 Sep 2025 09:15:47 -0300 Subject: [PATCH 1/3] Update 2013001.js Properly allow players to exit OPQ area. --- scripts/npc/2013001.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/scripts/npc/2013001.js b/scripts/npc/2013001.js index 699dd060bbb..ac107e71df2 100644 --- a/scripts/npc/2013001.js +++ b/scripts/npc/2013001.js @@ -48,11 +48,15 @@ function action(mode, type, selection) { if(cm.getPlayer().getMapId() == 920010000) { cm.warp(920010000, 2); cm.dispose(); - return; } - - cm.sendOk("I only wish to speak to your leader!"); - cm.dispose(); + else if (status > 0) { + cm.warp(cm.getPlayer().getMap().getReturnMapId()); + cm.dispose(); + } + else { + cm.sendYesNo("Are you sure you want to leave without your teammates?"); + } + return; } From e109e8c27dc32fae6e3449dff9dd158f36057936 Mon Sep 17 00:00:00 2001 From: Ronan Lana Date: Sun, 14 Sep 2025 08:44:54 -0300 Subject: [PATCH 2/3] Update 2013001.js Add text content on returning players to OPQ lobby. --- scripts/npc/2013001.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/scripts/npc/2013001.js b/scripts/npc/2013001.js index ac107e71df2..944fefe7094 100644 --- a/scripts/npc/2013001.js +++ b/scripts/npc/2013001.js @@ -40,8 +40,13 @@ function action(mode, type, selection) { status--; if (cm.getPlayer().getMapId() == 920011200) { //exit - cm.warp(200080101); - cm.dispose(); + if (status == 0) { + cm.sendNext("I will now send you to #m200080101#."); + } + else { + cm.warp(200080101); + cm.dispose(); + } return; } if (!cm.isEventLeader()) { @@ -82,7 +87,7 @@ function action(mode, type, selection) { } else if(eim.getIntProperty("statusStg8") == -1) { cm.sendOk("Oh! You brought the #t4001055#! Please, drop it at the base of the statue to bring Minerva back!"); } else { - cm.sendOk("Thank you for saving Minerva! Please, talk to her..."); + cm.sendOk("Thank you so much for rescuing goddess Minerva!"); } } else { cm.sendOk("Please, save Minerva! Gather the six pieces of her statue and then talk to me to retrieve the final piece!"); From 0b3ce99a51604f6ede32375cbb44045ca05136bd Mon Sep 17 00:00:00 2001 From: Ronan Lana Date: Sun, 14 Sep 2025 19:05:42 -0300 Subject: [PATCH 3/3] Reset stage4 stage Reset combination for stage 4 of OPQ on leader leaving the room. --- scripts/portal/party3_roomout.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/portal/party3_roomout.js b/scripts/portal/party3_roomout.js index c8b3a66128c..1a5f06878cf 100644 --- a/scripts/portal/party3_roomout.js +++ b/scripts/portal/party3_roomout.js @@ -15,6 +15,8 @@ function enter(pi) { break; case 920010500: + var eim = pi.getPlayer().getEventInstance(); + if (eim.isEventLeader(pi.getPlayer())) eim.setIntProperty("statusStg4", -1); exitPortal = 13; break;