Minor fix

This commit is contained in:
Elfonochasis
2021-01-26 06:44:17 +01:00
parent d7fc5c9997
commit 759e8d25f7
+3 -3
View File
@@ -1203,11 +1203,11 @@
var tamano = parseInt(values.tamano);
var vidamax = (2*cuerpo)+tamano;
var heridagravemax = vidamax - 1;
var heridagrave = Math.floor(heridagravemax/2);
var heridagrave = Math.floor(vidamax/2);
var heridalevemax = heridagrave - 1;
var heridaleve = Math.floor(heridalevemax/2);
var heridaleve = Math.floor(heridagrave/2);
var rasgunomax = heridaleve - 1;
var rasguno = Math.floor(rasgunomax/2);
var rasguno = 0;
if (rasgunomax <= 0) {
rasgunomax = 0;
rasguno = 0;