summaryrefslogtreecommitdiff
path: root/npc/021-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-10-22 15:43:18 -0200
committerJesusaves <cpntb1@ymail.com>2018-10-22 15:43:18 -0200
commit7a8ecf074b08f8593db3c96759e9b5a32965121f (patch)
treed62a5802e16c42a70673906a4fc314cb649da5fe /npc/021-1
parent0e36ac187f5bb49b1bdad0b65663496ef15dc6b9 (diff)
downloadserverdata-7a8ecf074b08f8593db3c96759e9b5a32965121f.tar.gz
serverdata-7a8ecf074b08f8593db3c96759e9b5a32965121f.tar.bz2
serverdata-7a8ecf074b08f8593db3c96759e9b5a32965121f.tar.xz
serverdata-7a8ecf074b08f8593db3c96759e9b5a32965121f.zip
Fix script bug
Diffstat (limited to 'npc/021-1')
-rw-r--r--npc/021-1/logic.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/npc/021-1/logic.txt b/npc/021-1/logic.txt
index 335cf6bcf..24fc6e465 100644
--- a/npc/021-1/logic.txt
+++ b/npc/021-1/logic.txt
@@ -1,6 +1,5 @@
// TMW2 scripts.
// Authors:
-// The Mana World Team
// Jesusalva
// Description:
// Cave logic. Controls also switchs and false warps. See soren/main for more info.
@@ -27,7 +26,7 @@ function script CindySwitch_Check_211 {
OnTouch:
.@q=getq(NivalisQuest_Cindy);
if (.@q < 3) end;
- if ($@CINDY_STATE > gettimetick(2) || $@CINDY_STATE == 0) goto L_Safe;
+ if ($@CINDY_STATE > gettimetick(2)) goto L_Safe;
if ($@CINDY_STATE % 2 == 0) goto L_Blocked;
if (CindySwitch_Check_211() == 5) {
.@pos=rand(0,8);