From 27ac243a42df1c29da74d904936d3158b062340f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 29 Mar 2019 21:29:13 -0300 Subject: Fix duplication bug on Yeti King --- npc/003-1-1/yetiking.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'npc/003-1-1') diff --git a/npc/003-1-1/yetiking.txt b/npc/003-1-1/yetiking.txt index 1c71362e6..c298fd47b 100644 --- a/npc/003-1-1/yetiking.txt +++ b/npc/003-1-1/yetiking.txt @@ -30,6 +30,7 @@ L_Summon: delitem EverburnPowder, 1; dispbottom l("Emoc otem itey gnik!"); // come to me yeti king, spelled backwards. Sorry. .inUse=1; + addtimer(9000, "#DahYetiKing::OnSummonTalk"); initnpctimer; end; @@ -53,7 +54,6 @@ OnTimer5000: .inUse=2; } else { npctalk("You're courageous to summon me, I'll give you that."); - areatimer "003-1-1", 93, 20, 97, 25,3000, "#DahYetiKing::OnSummonTalk"; } end; @@ -78,6 +78,9 @@ OnTimer60000: // You can only talk to him with SummonTalk. Only one player will summon. OnSummonTalk: + if (!.inUse) + end; + .@q=getq(HurnscaldQuest_Celestia); // If you had to return, erase quest progress if (.@q > 1 && .@q < 99) -- cgit v1.2.3-60-g2f50