From 78aed570499e1606f6a207a883c9eea0f38007ae Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 13 Jul 2021 00:32:32 -0300 Subject: Add the missing Doomsday utilities. It requires a near-full rewrite, though. --- 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 bf69551e..f9ec439d 100644 --- a/npc/functions/main.txt +++ b/npc/functions/main.txt @@ -688,6 +688,11 @@ function script misceffect { return specialeffect(getarg(0), AREA, getarg(1, strnpcinfo(0))); } +function script selfeffect { + // or SELF + something + return specialeffect(getarg(0), SELF, getarg(1, strnpcinfo(0))); +} + function script fakenpcname { if (getargcount() > 2) setnpcdisplay(getarg(0), getarg(1), getarg(2)); -- cgit v1.2.3-60-g2f50