Update index.php
This commit is contained in:
parent
5ef5f00c31
commit
50be4df285
10
index.php
10
index.php
@ -709,6 +709,9 @@
|
||||
var encounter_amount = $("input[name='mob_ammount']:checked").val();
|
||||
|
||||
// A modifier, that applies the ratio of Enemies to players
|
||||
|
||||
console.log(encounter_amount);
|
||||
console.log(party_amount);
|
||||
var global_amount_modifier = encounter_amount / party_amount;
|
||||
|
||||
// What HP Type is used? 1=average 2=rolled 3=max
|
||||
@ -799,13 +802,6 @@
|
||||
|
||||
|
||||
|
||||
console.log(encounter_dmgtype_points);
|
||||
console.log(global_amount_modifier);
|
||||
console.log(encounter_dmgtype_possibilities);
|
||||
console.log(encounter_dmgtype_possibilities + encounter_dmgtype_points);
|
||||
console.log(encounter_dmgtype_points * global_amount_modifier);
|
||||
console.log(encounter_dmgtype_possibilities + encounter_dmgtype_points * global_amount_modifier);
|
||||
console.log(20 - encounter_dmgtype_possibilities + encounter_dmgtype_points * global_amount_modifier);
|
||||
var encounter_dmgtype_score = 20 - encounter_dmgtype_possibilities + encounter_dmgtype_points * global_amount_modifier;
|
||||
console.log(encounter_dmgtype_score);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user