From 5409f2f899a685425757932c13154bc6340463d1 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 1 May 2020 06:30:33 -0300 Subject: Sketch about the keys to open the gate --- npc/014-4/kamelot.txt | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) (limited to 'npc/014-4/kamelot.txt') diff --git a/npc/014-4/kamelot.txt b/npc/014-4/kamelot.txt index 715a4f981..99d917f51 100644 --- a/npc/014-4/kamelot.txt +++ b/npc/014-4/kamelot.txt @@ -26,23 +26,10 @@ // 4 - Treasure C // 8 - Treasure D // 16 - Weapon Room Key - // Do we ever need to store the data below? - // X,Y door is 2Y below - // 32 - Cell I 33,135 - // 64 - Cell II 84,127 - // 128 - Cell III 41,119 - // 256 - Cell IV 74,107 - // 512 - Cell V 36,96 - // 1024 - Cell VI 57,84 - // 2048 - Cell VII 79,63 - // 4096 - Cell VIII 43,67 - // 8192 - Cell IX 24,67 - // 16384 - Cell X 86,22 - // 32768 - Cell XI 59,49 - // 65536 - Cell XII 38,27 - // If more than 12 players, loop back +// $KAMELOT_PASSMASK [ guild_id ] = (bitmask) Switches in 042-10 // $KAMELOT_KEY [ guild_id ] = Which bit was assigned as the key +// $KAMELOT_PASSCODE [ guild_id ] = A bitmask of passcode to use the key // $KAMELOT_COOLDOWN [ guild_id ] = Last attempt (weekly attempts) // KamelotCleanup(guildid) @@ -55,6 +42,8 @@ function script KamelotCleanup { $KAMELOT_KEY[.@g]=0; $KAMELOT_QUEST[.@g]=0; $KAMELOT_KEYMASK[.@g]=0; + $KAMELOT_PASSCODE[.@g]=0; + $KAMELOT_PASSMASK[.@g]=0; return; } -- cgit v1.2.3-60-g2f50