From 84895c9454efcd44803b3f885606efb1d888f2b5 Mon Sep 17 00:00:00 2001 From: falsycat Date: Sat, 5 Oct 2019 00:00:00 +0000 Subject: [PATCH] [add] Added new test for testing $repeat and template expansion. --- sjscript/test/test02.sj | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 sjscript/test/test02.sj diff --git a/sjscript/test/test02.sj b/sjscript/test/test02.sj new file mode 100644 index 0000000..27df68e --- /dev/null +++ b/sjscript/test/test02.sj @@ -0,0 +1,7 @@ +$define beat {0} + +$repeat i 100 { + A [$i*5+$beat..($i+1)*5+$beat] { + damage = 1; + } +}