diff options
Diffstat (limited to 'npc/functions/main.txt')
-rw-r--r-- | npc/functions/main.txt | 5 |
1 files changed, 5 insertions, 0 deletions
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)); |