mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 03:40:32 +00:00
Minor fix
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user