From 7eb238fac9043bc9e850b5e881caa59d99f8c97a Mon Sep 17 00:00:00 2001 From: Fate Date: Sat, 29 Nov 2008 13:56:08 -0700 Subject: SLang: Added `sqrt' function, permit looping over NPCs --- src/map/magic-interpreter-parser.y | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/map/magic-interpreter-parser.y') diff --git a/src/map/magic-interpreter-parser.y b/src/map/magic-interpreter-parser.y index deb686d..047e38c 100644 --- a/src/map/magic-interpreter-parser.y +++ b/src/map/magic-interpreter-parser.y @@ -154,6 +154,7 @@ find_constant(char *name); %token ATEND %token ATTRIGGER %token PC_F +%token NPC_F %token MOB_F %token ENTITY_F %token TARGET_F @@ -612,6 +613,8 @@ selection : PC_F { $$ = FOREACH_FILTER_SPELL; } | TARGET_F { $$ = FOREACH_FILTER_TARGET; } + | NPC_F + { $$ = FOREACH_FILTER_NPC; } ; -- cgit v1.2.3-60-g2f50