RPG attributes generator: Difference between revisions

m
(→‎{{header|R}}: Bug fix.)
Line 2,799:
stats[i] <- sum(results[-which.min(results)])
}
if(sum(stats >= 15) < 2 || (stats["TOT"] <- sum(stats)) < 75) Recall() else stats
if(sum(stats >= 15) < 2 || stats["TOT"] < 75) Recall() else stats
}
print(genStats())</lang>
Line 2,806 ⟶ 2,805:
{{out}}
<pre>STR DEX CON INT WIS CHA TOT
1615 1418 18 9 11 9 1415 15 7792 </pre>
 
=={{header|Raku}}==
331

edits