Update index.php

This commit is contained in:
James 2022-09-29 13:59:49 +02:00
parent 0ed4644910
commit 86f7eb4707

View File

@ -875,29 +875,13 @@
var encounter_variables = [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]
//Fill the tables
$("#totalscard").html("
<table>
<thead>
<tr>
<th>Variable</th>
<th>Pts</th>
</tr>
</thead>
<tbody id>"+
$("#totalscard").html(
"<table><thead><tr><th>Variable</th><th>Pts</th></tr></thead><tbody>"+
$.each(party_variables, function(){
"<tr>"+variablesName($(this))+"</tr>"
"<tr>"+$(this).val()+"</tr>"
});+"
<tr>
</tr>
</tbody>
</table>"
)
})
);
}