Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 91 additions & 0 deletions pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
<button id="tab_armors_button" data-name="armors" data-lang="system.armors.title">Armors</button>
<button id="tab_throwables_button" data-name="throwables" data-lang="system.throwables.title">Throwables</button>
<button id="tab_deployables_button" data-name="deployables" data-lang="system.deployables.title">Deployables</button>
<button id="tab_break_points_button" data-name="break_points" data-lang="system.stats.title">Stats</button>
<button id="tab_io_button" data-name="share" data-lang="system.share.title">Share Build</button>
</div>
</div>
Expand Down Expand Up @@ -1145,6 +1146,96 @@
</div>
</div>
</div>

<!-- Stats Tab Content -->
<div id="tab_break_points_page" class="tab_page_content">
<div id="bp_page" class="bordered">
<table>
<thead>
<th></th>
<th>
Close Range
</th>
<th>
3+ Enemies
</th>
<th>
Medium Range
</th>
<th>
3+ Enemies
</th>
<th>
Long Range
</th>
<th>
3+ Enemies
</th>
</thead>
<tbody>
<tr>
<td>Damage Taken</td>
<td id="close_range_stats_damage"></td>
<td id="close_range_stats_damage_3"></td>
<td id="medium_range_stats_damage"></td>
<td id="medium_range_stats_damage_3"></td>
<td id="long_range_stats_damage"></td>
<td id="long_range_stats_damage_3"></td>
</tr>
<tr>
<td>Shots to deplete armor</td>
<td id="close_range_stats_armor_shots"></td>
<td id="close_range_stats_armor_shots_3"></td>
<td id="medium_range_stats_armor_shots"></td>
<td id="medium_range_stats_armor_shots_3"></td>
<td id="long_range_stats_armor_shots"></td>
<td id="long_range_stats_armor_shots_3"></td>
</tr>
<tr>
<td>Shots to deplete health</td>
<td id="close_range_stats_health_shots"></td>
<td id="close_range_stats_health_shots_3"></td>
<td id="medium_range_stats_health_shots"></td>
<td id="medium_range_stats_health_shots_3"></td>
<td id="long_range_stats_health_shots"></td>
<td id="long_range_stats_health_shots_3"></td>
</tr>
</tbody>
</table>
</div>
<div id="bp_description_container" class="description_container">
<div id="bp_description" class="description_textbox bordered">
<div>
<p class="bp_description">
<p>Health: <span id="dynamic_health_value"></span></p>
<p>Armor: <span id="dynamic_armor_value"></span></p>
<p>Base Damage Reduction: <span id="dynamic_dr_value"></span></p>
<p>Damage Absorbtion: <span id="dynamic_da_value"></span></p>
<hr/>
<label for="converts">Convert Quantity</label>
<select name="converts" id="breakpoints_converts">
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
</select>
<hr/>
<label for="hostages">Hostage Quantity</label>
<select name="hostages" id="breakpoints_hostages">
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
</select>
</p>
</div>
</div>
</div>
</div>

<!-- Save/Load Tab Content -->
<div id="tab_io_page" class="tab_page_content">
Expand Down
11 changes: 11 additions & 0 deletions public/db/enemies.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"heavy_swat": {
"damage": 225
},
"light_swat": {
"damage": 67.5
},
"shield": {
"damage": 67.5
}
}
79 changes: 79 additions & 0 deletions public/db/perk_decks.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,60 @@
"hostage_situation"
],
"stats": [
{
"id": 18,
"type": "damage",
"part": "damageReduction",
"value": 0.08
},
{
"id": 19,
"type": "damage",
"part": "conditionalReduction",
"value": 0.08,
"conditional": "halfHealth"
},
{
"id": 20,
"type": "damage",
"part": "conditionalReduction",
"value": 0.06,
"conditional": "mediumRange"
},
{
"id": 21,
"type": "health",
"part": "healthBonus",
"value": 0.2
},
{
"id": 2,
"type": "armor",
"part": "armBonus",
"value": 0.1
},
{
"id": 22,
"type": "health",
"part": "scalingHealthBonus",
"value": 0.06,
"conditional": "hostage",
"max": 4
},
{
"id": 23,
"type": "stamina",
"part": "scalingStaminaBonus",
"value": 0.12,
"conditional": "hostage",
"max": 4
},
{
"id": 24,
"type": "damage",
"part": "conditionalReduction",
"value": 0.08,
"conditional": "hostage"
}
]
},
Expand Down Expand Up @@ -152,6 +201,22 @@
"fast_and_furious",
"life_drain"
],
"stats": [
{
"id": 25,
"type": "damage",
"part": "conditionalReduction",
"value": 0.24,
"conditional": "mediumRange"
},
{
"id": 26,
"type": "damage",
"part": "conditionalReduction",
"value": 0.12,
"conditional": "threeTargetingEnemies"
}
],
"dlc": "Dragan Character Pack"
},
"sociopath": {
Expand All @@ -170,11 +235,25 @@
],
"dlc": "Hotline Miami 2 Deluxe",
"stats": [
{
"id": 27,
"type": "damage",
"part": "conditionalReduction",
"value": 0.12,
"conditional": "threeTargetingEnemies"
},
{
"id": 5,
"type": "armor",
"part": "armBonus",
"value": 0.2
},
{
"id": 28,
"type": "damage",
"part": "conditionalReduction",
"value": 0.08,
"conditional": "mediumRange"
}
]
},
Expand Down
78 changes: 73 additions & 5 deletions public/db/skills.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,18 @@
"ace": 3,
"tier": 1,
"subtree": "medic",
"tree": "mastermind"
"tree": "mastermind",
"stats": {
"basic": [
{
"id": 24,
"type": "damange",
"part": "conditionalReduction",
"value": 0.3,
"conditional": "reviving"
}
]
}
},
"quick_fix": {
"name": "Quick Fix",
Expand Down Expand Up @@ -60,7 +71,19 @@
"ace": 3,
"tier": 1,
"subtree": "controller",
"tree": "mastermind"
"tree": "mastermind",
"stats": {
"ace": [
{
"id": 23,
"type": "damage",
"part": "scalingAbsorbtion",
"value": 0.5,
"conditional": "hostage",
"max": 8
}
]
}
},
"confident": {
"name": "Confident",
Expand Down Expand Up @@ -96,7 +119,18 @@
"ace": 6,
"tier": 3,
"subtree": "controller",
"tree": "mastermind"
"tree": "mastermind",
"stats": {
"ace": [
{
"id": 19,
"type": "health",
"part": "conditionalHealthBonus",
"value": 0.3,
"conditional": "convert"
}
]
}
},
"hostage_taker": {
"name": "Hostage Taker",
Expand Down Expand Up @@ -169,7 +203,18 @@
"ace": 3,
"tier": 1,
"subtree": "shotgunner",
"tree": "enforcer"
"tree": "enforcer",
"stats": {
"ace": [
{
"id": 22,
"type": "damage",
"part": "conditionalReduction",
"value": 0.1,
"conditional": "threeTargetingEnemies"
}
]
}
},
"shotgun_cqb": {
"name": "Shotgun CQB",
Expand Down Expand Up @@ -236,7 +281,16 @@
"subtree": "tank",
"tree": "enforcer",
"stats": {
"aced": [
"basic": [
{
"id": 24,
"type": "damange",
"part": "conditionalReduction",
"value": 0.5,
"conditional": "interacting"
}
],
"ace": [
{
"id": 1,
"type": "armor",
Expand Down Expand Up @@ -853,6 +907,20 @@
"type": "health",
"part": "healthFrenzy",
"value": -0.7
},
{
"id": 20,
"type": "damage",
"part": "damageReduction",
"value": 0.1
}
],
"ace": [
{
"id": 21,
"type": "damage",
"part": "damageReduction",
"value": 0.15
}
]
}
Expand Down
Loading