RPG attributes generator: Difference between revisions
Content deleted Content added
→{{header|UNIX Shell}}: Add implementation. |
→{{header|APL}}: Correct to 6 stats instead of 5 |
||
Line 549: | Line 549: | ||
{{works with|Dyalog APL}} |
{{works with|Dyalog APL}} |
||
<lang APL>roll←{(+/-⌊/)¨?¨ |
<lang APL>roll←{(+/-⌊/)¨?¨6/⊂4/6}⍣{(75≤+/⍺)∧2≤+/⍺≥15}</lang> |
||
{{out}} |
{{out}} |
||
<pre> roll'' |
<pre> roll'' |
||
10 9 13 16 11 17 |
|||
roll'' |
roll'' |
||
18 |
18 14 12 8 15 14 |
||
roll'' |
roll'' |
||
16 16 15 17 16 11 |
|||
roll'' |
roll'' |
||
⚫ | |||
18 13 17 17 14 |
|||
roll'' |
|||
⚫ | |||
=={{header|ARM Assembly}}== |
=={{header|ARM Assembly}}== |