Update index.php
This commit is contained in:
parent
16973993f7
commit
54b6044ede
11
index.php
11
index.php
@ -478,15 +478,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
|
||||||
<div class="col s12">
|
|
||||||
<div class="card black">
|
|
||||||
<div class="card-content white-text"> <span class="card-title">Calculation for nerds</span>
|
|
||||||
<p>This is where the calculation stats would be, IF I HAD ONE.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div id="Bonus" class="col s12">
|
<div id="Bonus" class="col s12">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@ -798,10 +789,12 @@
|
|||||||
var encounter_dmgtype_points = 0;
|
var encounter_dmgtype_points = 0;
|
||||||
$.each($("input[name='dmgtype']:checked"), function() {
|
$.each($("input[name='dmgtype']:checked"), function() {
|
||||||
encounter_dmgtype_points++;
|
encounter_dmgtype_points++;
|
||||||
|
console.log("dmgtype_points = "dmgtype_points);
|
||||||
//selected_dmgtypes.push($(this).val());
|
//selected_dmgtypes.push($(this).val());
|
||||||
});
|
});
|
||||||
$.each($("input[name='dmgtype']"), function() {
|
$.each($("input[name='dmgtype']"), function() {
|
||||||
encounter_dmgtype_possibilities++;
|
encounter_dmgtype_possibilities++;
|
||||||
|
console.log("encounter_dmgtype_possibilities = "encounter_dmgtype_possibilities);
|
||||||
});
|
});
|
||||||
|
|
||||||
var encounter_dmgtype_score = (20 - encounter_dmgtype_possibilities) + encounter_dmgtype_points * global_amount_modifier;
|
var encounter_dmgtype_score = (20 - encounter_dmgtype_possibilities) + encounter_dmgtype_points * global_amount_modifier;
|
||||||
|
Loading…
Reference in New Issue
Block a user