个人工具

沙盒

出自Meshal Lite

跳转到: 导航, 搜索
第1行: 第1行:
{{#vardefine:perception|{{#random:1|1|1|1|1|1|1|2|2|3}}}}
+
*randombetween {{expr/rand|1|3}}
{{#vardefine:perceptionHalf|{{#random:1|0|0|3|0|3|3|1|1|2}}}}
+
  
{{/随机生物
+
{{#vardefine:perceptions|{{#random:1|1|1|1|1|1|1|2|2|3}}}}
|perception={{#random:1|1|1|1|1|1|1|2|2|3}}
+
{{#vardefine:perceptions|5}}
|perceptionHalf={{#random:1|0|0|0|0|0|0|1|1|2}}
+
 
}}
+
{{#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}}={{math/attrStrength|4}}
+
*4=9={{#expr:(3+4-1)*(4-3)/2*3}}={{expr/attrStrength|4}}
*5=21={{#expr:(3+5-1)*(5-3)/2*3}}={{math/attrStrength|5}}
+
*5=21={{#expr:(3+5-1)*(5-3)/2*3}}={{expr/attrStrength|5}}
*6=36={{#expr:(3+6-1)*(6-3)/2*3}}={{math/attrStrength|6}}
+
*6=36={{#expr:(3+6-1)*(6-3)/2*3}}={{expr/attrStrength|6}}
*7=54={{#expr:(3+7-1)*(7-3)/2*3}}={{math/attrStrength|7}}
+
*7=54={{#expr:(3+7-1)*(7-3)/2*3}}={{expr/attrStrength|7}}
{{match/attrStrength|3}}/{{match/attrStrength|2}}/{{match/attrStrength|1}}/{{match/attrStrength|0}}
+
{{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所做的修订版本