summaryrefslogtreecommitdiff
path: root/npc/000-1
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2017-06-05 11:48:44 -0400
committergumi <mekolat@users.noreply.github.com>2017-06-05 11:48:44 -0400
commit7b2282dd9402be4e88fb3d28d9d5d9ac77856957 (patch)
treedf641a36aeb4a20e477d0f2722f2cc062e811e0a /npc/000-1
parent274b90317ddb344edf7c467ab307811e5eb4dbf9 (diff)
downloadserverdata-7b2282dd9402be4e88fb3d28d9d5d9ac77856957.tar.gz
serverdata-7b2282dd9402be4e88fb3d28d9d5d9ac77856957.tar.bz2
serverdata-7b2282dd9402be4e88fb3d28d9d5d9ac77856957.tar.xz
serverdata-7b2282dd9402be4e88fb3d28d9d5d9ac77856957.zip
remove misceffect usage from scripts
Diffstat (limited to 'npc/000-1')
-rw-r--r--npc/000-1/chest.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/000-1/chest.txt b/npc/000-1/chest.txt
index fd9ebf30..46f626a3 100644
--- a/npc/000-1/chest.txt
+++ b/npc/000-1/chest.txt
@@ -25,7 +25,7 @@
getitem OldBook, 1;
}
- misceffect .dir == 0 ? 24 : 25, getnpcid(0); // closed ? opening : closing
+ specialeffect(.dir == 0 ? 24 : 25, AREA, getnpcid(0)); // closed ? opening : closing
.dir = .dir == 0 ? 2 : 6; // closed ? opening : closing
.busy = true; // lock until available again
initnpctimer;
@@ -53,7 +53,7 @@ OnUnTouch:
OnTimer30000:
.busy = true;
.dir = 6; // closing
- misceffect 25, getnpcid(0); // closing
+ specialeffect(25, AREA, getnpcid(0)); // closing
setnpctimer 0;
OnTouch:
end;