diff options
author | Fate <fate-tmw@googlemail.com> | 2008-11-29 13:56:08 -0700 |
---|---|---|
committer | Fate <fate-tmw@googlemail.com> | 2008-11-29 13:56:08 -0700 |
commit | 7eb238fac9043bc9e850b5e881caa59d99f8c97a (patch) | |
tree | 389cb8b95345a6d28122d37fddcf780b824ef495 /src/map/magic-interpreter-parser.y | |
parent | c41894ef2fd51dcc17e030536272fbf03f17f1a8 (diff) | |
download | tmwa-7eb238fac9043bc9e850b5e881caa59d99f8c97a.tar.gz tmwa-7eb238fac9043bc9e850b5e881caa59d99f8c97a.tar.bz2 tmwa-7eb238fac9043bc9e850b5e881caa59d99f8c97a.tar.xz tmwa-7eb238fac9043bc9e850b5e881caa59d99f8c97a.zip |
SLang: Added `sqrt' function, permit looping over NPCs
Diffstat (limited to 'src/map/magic-interpreter-parser.y')
-rw-r--r-- | src/map/magic-interpreter-parser.y | 3 |
1 files changed, 3 insertions, 0 deletions
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; } ; |