From c3829e354358f9ed972cfd4642805b191ceaebb6 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 9 Apr 2021 16:26:10 -0300 Subject: This should fix PC distance bug --- npc/functions/main.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'npc/functions/main.txt') diff --git a/npc/functions/main.txt b/npc/functions/main.txt index 89b2cff7..ab7dac8e 100644 --- a/npc/functions/main.txt +++ b/npc/functions/main.txt @@ -555,6 +555,11 @@ function script if_then_else { return (getarg(0) ? getarg(1) : getarg(2)); } +function script misceffect { + // or SELF + something + return specialeffect(getarg(0), AREA, getarg(1, strnpcinfo(0)); +} + ////////////////////////////////////////////////////////////////////// // maptimer("", , "::") function script maptimer { -- cgit v1.2.3-70-g09d2