个人工具

沙盒

出自Meshal Lite

(修订版本间的差异)
跳转到: 导航, 搜索
 
(由1名用户作出的14个中途修订版本未被显示)
第1行: 第1行:
*randombetween {{expr/rand|1|3}}
+
{{#vardefine:callCardSimple|y}}
 
+
random between 1~100 {{expr/rand|1|100|{{#time:z}}|101}}
{{#vardefine:perceptions|{{#random:1|1|1|1|1|1|1|2|2|3}}}}
+
{{#vardefine:perceptions|5}}
+
 
+
{{#arraydefine:perception|{{#sub:{{#dpl:namespace=Feature|category=V8&感知方式|randomcount=3|noresultsfooter=<nowiki></nowiki>|format=,²{vf¦%TITLE%}²√,,}}|0|-1}}|√}}
+
{{#arrayunique:perception}}
+
*{{#arraysize:perception}}
+
*{{expr/rand|1|{{#expr:{{#arraysize:perception}}}}|3511}}
+
{{#arrayslice:perceptionHalf|perception|{{expr/rand|1|{{#expr:{{#arraysize:perception}}}}|3511}}|{{#expr:{{#arraysize:perception}} - {{expr/rand|1|{{#expr:{{#arraysize:perception}}}}|3511}}}}}}{{#arrayslice:perceptionFull|perception|1|{{expr/rand|1|{{#expr:{{#arraysize:perception}}}}|3511}}}}
+
{{#ifeq:{{#arraysize:perception}}|1|{{#arrayprint:perception}}|{{#sub:{{#arrayprint:perceptionFull||@|@、}}{{#arrayprint:perceptionHalf||@|@-、}}|0|-1}}}}
+
----
+
{{#arrayprint:perception}}
+
 
+
*{{#arraysize:perception}}
+
 
+
{{#expr: 4+5+6+7+8}} = {{#expr: (4+8)*(8-3)/2}}
+
 
+
*4=9={{#expr:(3+4-1)*(4-3)/2*3}}={{expr/attrStrength|4}}
+
*5=21={{#expr:(3+5-1)*(5-3)/2*3}}={{expr/attrStrength|5}}
+
*6=36={{#expr:(3+6-1)*(6-3)/2*3}}={{expr/attrStrength|6}}
+
*7=54={{#expr:(3+7-1)*(7-3)/2*3}}={{expr/attrStrength|7}}
+
{{expr/attrStrength|3}}/{{expr/attrStrength|2}}/{{expr/attrStrength|1}}/{{expr/attrStrength|0}}
+
 
+
 
+
----
+
 
+
{{#arraydefine:a|1,2,3,4,5,}}
+
{{#arraysize:a}}
+

在2020年9月9日 (三) 03:47的最新修订版本

random between 1~100 38