From 7b2282dd9402be4e88fb3d28d9d5d9ac77856957 Mon Sep 17 00:00:00 2001 From: gumi Date: Mon, 5 Jun 2017 11:48:44 -0400 Subject: remove misceffect usage from scripts --- npc/000-2-1/chest.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/000-2-1') diff --git a/npc/000-2-1/chest.txt b/npc/000-2-1/chest.txt index d2339b2c..3f565521 100644 --- a/npc/000-2-1/chest.txt +++ b/npc/000-2-1/chest.txt @@ -33,7 +33,7 @@ npctalk3 l("You take the clothes from the chest."); } - 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 the animation initnpctimer; @@ -61,7 +61,7 @@ OnUnTouch: OnTimer30000: .busy = true; .dir = 6; // closing - misceffect 25, getnpcid(0); // closing + specialeffect(25, AREA, getnpcid(0)); // closing setnpctimer 0; OnTouch: end; -- cgit v1.2.3-60-g2f50