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 /doc/spell-language | |
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 'doc/spell-language')
-rw-r--r-- | doc/spell-language | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/spell-language b/doc/spell-language index 5ce5520..c19b1d7 100644 --- a/doc/spell-language +++ b/doc/spell-language @@ -533,6 +533,9 @@ The following functions are available: offset `offset'. The substring is automatically clipped, i.e., the function will never fail. + + sqrt : int -> int + Computes the square root of the specified number + Operations: ----------- This section documents the operations API. @@ -814,7 +817,8 @@ SPELLCONF ::= (GLOBAL | ANCHOR | SPELL | PROCEDURE | ';')* (* The ';' are only | 'MOB' | 'ENTITY' (* MOB or PC *) | 'TARGET' (* like ENTITY, but includes PCs only on PvP maps *) -(* | 'SPELL' *) + | 'SPELL' + | 'NPC' * procedures |