summaryrefslogtreecommitdiff
path: root/npc/003-1-1/yetiking.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-29 21:29:13 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-29 21:29:13 -0300
commit27ac243a42df1c29da74d904936d3158b062340f (patch)
treebd33fb0f47949c259e958efbc75164ac0378fbd2 /npc/003-1-1/yetiking.txt
parenta1158e605bdac94d0c81563db621739e7d33040d (diff)
downloadserverdata-27ac243a42df1c29da74d904936d3158b062340f.tar.gz
serverdata-27ac243a42df1c29da74d904936d3158b062340f.tar.bz2
serverdata-27ac243a42df1c29da74d904936d3158b062340f.tar.xz
serverdata-27ac243a42df1c29da74d904936d3158b062340f.zip
Fix duplication bug on Yeti King
Diffstat (limited to 'npc/003-1-1/yetiking.txt')
-rw-r--r--npc/003-1-1/yetiking.txt5
1 files changed, 4 insertions, 1 deletions
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)