summaryrefslogtreecommitdiff
path: root/npc/021-1/logic.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-10-22 20:09:49 -0200
committerJesusaves <cpntb1@ymail.com>2018-10-22 20:09:49 -0200
commitaf4fbf57746c3f032be2aeb5ed347c4a28343021 (patch)
tree7820f419c29237ecd0238fdac14c73815f361c16 /npc/021-1/logic.txt
parenta825791baee732ada6414e297667b6ca153890ba (diff)
downloadserverdata-af4fbf57746c3f032be2aeb5ed347c4a28343021.tar.gz
serverdata-af4fbf57746c3f032be2aeb5ed347c4a28343021.tar.bz2
serverdata-af4fbf57746c3f032be2aeb5ed347c4a28343021.tar.xz
serverdata-af4fbf57746c3f032be2aeb5ed347c4a28343021.zip
Draft for Cindy Cage :3
Diffstat (limited to 'npc/021-1/logic.txt')
-rw-r--r--npc/021-1/logic.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/021-1/logic.txt b/npc/021-1/logic.txt
index 24fc6e465..2e4434805 100644
--- a/npc/021-1/logic.txt
+++ b/npc/021-1/logic.txt
@@ -24,6 +24,10 @@ function script CindySwitch_Check_211 {
021-1,155,196,0 script #0211Logic NPC_NO_SPRITE,0,0,{
end;
OnTouch:
+ // Sanitize some stuff
+ if ($@CINDY_STATE < gettimetick(2) && $@CINDY_STATE > 1500000000)
+ $@CINDY_STATE=0;
+ // Main logic
.@q=getq(NivalisQuest_Cindy);
if (.@q < 3) end;
if ($@CINDY_STATE > gettimetick(2)) goto L_Safe;