From 616e899df241fba86956a8e0ab18ed1e9dfcef8c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 18 Jun 2019 12:47:02 -0300 Subject: Isbamuth won't be coming back, so even if you die after he leaves, this doesn't counts against you. Clean up added. --- npc/023-3-1/logic.txt | 5 ++--- npc/024-16/king.txt | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/npc/023-3-1/logic.txt b/npc/023-3-1/logic.txt index 092e5ac02..3914ed49c 100644 --- a/npc/023-3-1/logic.txt +++ b/npc/023-3-1/logic.txt @@ -83,9 +83,9 @@ OnTouch: end; .@n$=instance_npcname(.name$); .@q=getq3(FrostiaQuest_Homunculus); - if (!('c02331init)) { + if (.@q == 1) { // Begin the event core - 'c02331init=true; + setq3 FrostiaQuest_Homunculus, 2; addtimer(1100, .@n$+"::OnEvent01"); initnpctimer; } @@ -272,7 +272,6 @@ OnTimer1000: if (getmapusers(.@m$)) initnpctimer; // Cleanup - you fail. - 'c02331init=false; killmonsterall(.@m$); end; } diff --git a/npc/024-16/king.txt b/npc/024-16/king.txt index ec8e21c59..001b17052 100644 --- a/npc/024-16/king.txt +++ b/npc/024-16/king.txt @@ -93,7 +93,7 @@ L_Continue: L_Campaign: .@q=getq(FrostiaQuest_Homunculus); // We probably should apply you a penalty should you flee... no? - // FIXME: If you die at Isbamuth's Challenge, YOU CANNOT TRY AGAIN!! + setq3 FrostiaQuest_Homunculus, 3; // Debug functionality if (is_staff()) { -- cgit v1.2.3-60-g2f50