Update index.php

This commit is contained in:
James 2022-09-29 16:22:09 +02:00
parent ac4fef4db3
commit d37bed8122

View File

@ -860,7 +860,7 @@
encounter_final_score = encounter_hp_score + encounter_cr_score + encounter_ac_score + encounter_dmg_score + encounter_dmgtype_score + encounter_onehit_score + encounter_multiattack_score + encounter_strategy_score + encounter_lair_action_score + encounter_legendairy_action_score + encounter_status_score + encounter_healing_score + encounter_stunning_score + encounter_condition_score;
//FINAL CALCULATION
//FINAL CALCULATION
//Party Points:
var final_score = (encounter_final_score * modifier_encounter) - (party_final_score * modifier_party);
@ -874,8 +874,7 @@
encounter_variables.forEach((element, i) => console.log("<tr>" + encounter_variables_name[i] + "</tr>" + "<tr>" + element + "</tr>"));
//Fill the tables
document.getElementById("totalscard").innerHTML = "<table><thead><tr><th>Variable</th><th>Pts</th></tr></thead><tbody>"+"</tbody></table>"
);
document.getElementById("totalscard").innerHTML = "<table><thead><tr><th>Variable</th><th>Pts</th></tr></thead><tbody>"+"</tbody></table>";
}