沙盒
出自Meshal Lite
(修订版本间的差异)
第1行: | 第1行: | ||
− | {{ | + | *randombetween {{expr/rand|1|3}} |
− | + | ||
− | {{ | + | {{#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}} | {{#expr: 4+5+6+7+8}} = {{#expr: (4+8)*(8-3)/2}} | ||
− | *4=9={{#expr:(3+4-1)*(4-3)/2*3}}={{ | + | *4=9={{#expr:(3+4-1)*(4-3)/2*3}}={{expr/attrStrength|4}} |
− | *5=21={{#expr:(3+5-1)*(5-3)/2*3}}={{ | + | *5=21={{#expr:(3+5-1)*(5-3)/2*3}}={{expr/attrStrength|5}} |
− | *6=36={{#expr:(3+6-1)*(6-3)/2*3}}={{ | + | *6=36={{#expr:(3+6-1)*(6-3)/2*3}}={{expr/attrStrength|6}} |
− | *7=54={{#expr:(3+7-1)*(7-3)/2*3}}={{ | + | *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}} |
在2019年12月1日 (日) 14:26所做的修订版本
- randombetween 3
- 3
- 3
五感 、夜视 、震感
- 3
30 = 30
- 4=9=9=9
- 5=21=21=21
- 6=36=36=36
- 7=54=54=54
0/-6/-9/-9
6