From 759e8d25f7ccb3bfc47fd33f4bcb775a29569d1d Mon Sep 17 00:00:00 2001 From: Elfonochasis Date: Tue, 26 Jan 2021 06:44:17 +0100 Subject: [PATCH] Minor fix --- Tierras Quebradas/tierrasquebradas.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tierras Quebradas/tierrasquebradas.html b/Tierras Quebradas/tierrasquebradas.html index f326310b80..d27b5e5e3a 100644 --- a/Tierras Quebradas/tierrasquebradas.html +++ b/Tierras Quebradas/tierrasquebradas.html @@ -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;