From 037e9c27fc228102b8810f4f6d38510c2155fb55 Mon Sep 17 00:00:00 2001 From: Aeshur Date: Thu, 11 Jun 2026 12:48:44 -0400 Subject: [PATCH] [lua] Fix CoP 1-3 Promy Entry Blackscreen --- scripts/missions/cop/1_3_The_Mothercrystals.lua | 3 ++- scripts/tests/missions/cop.lua | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/missions/cop/1_3_The_Mothercrystals.lua b/scripts/missions/cop/1_3_The_Mothercrystals.lua index 165df95326c..189ccd9cf63 100644 --- a/scripts/missions/cop/1_3_The_Mothercrystals.lua +++ b/scripts/missions/cop/1_3_The_Mothercrystals.lua @@ -122,6 +122,7 @@ mission.sections = onZoneIn = function(player, prevZone) if + xi.cop.helpers.shatteredTelepointInfo[prevZone] ~= nil and xi.cop.helpers.numPromyvionCompleted(player) == 2 and not xi.cop.helpers.hasCompletedPromyvion(player, prevZone) and mission:getVar(player, 'Status') == 0 @@ -140,7 +141,7 @@ mission.sections = [155] = function(player, csid, option, npc) -- This event only happens once since there is no sealing component. mission:setVar(player, 'Status', 1) - xi.cop.helpers.sendToPromyvionZone(player:getLocalVar('toPromyvion')) + xi.cop.helpers.sendToPromyvionZone(player, player:getLocalVar('toPromyvion')) end, }, }, diff --git a/scripts/tests/missions/cop.lua b/scripts/tests/missions/cop.lua index a4c1f691205..6b73b151690 100644 --- a/scripts/tests/missions/cop.lua +++ b/scripts/tests/missions/cop.lua @@ -120,8 +120,8 @@ describe('Chains of Promathia', function() player.assert:inZone(xi.zone.HALL_OF_TRANSFERENCE) player.events:expect({ eventId = 155 }) - -- Event upon entering promy - player:gotoZone(xi.zone.PROMYVION_MEA) + -- event upon entering promy after Hall warp + player.assert:inZone(xi.zone.PROMYVION_MEA) player.events:expect({ eventId = 52 }) -- enter and beat BCNM