mirror of
https://github.com/mhwikicn/mhdos-armor-set-searcher
synced 2025-12-09 15:45:35 +08:00
Updates
This commit is contained in:
parent
20bf016950
commit
865f6828ea
109
index.html
109
index.html
@ -1,108 +1 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>MH2 Armor Set Searcher</title>
|
||||
<meta name="description" content="Armor Set Searcher for Monster Hunter Dos">
|
||||
<meta name="author" content="TimH96">
|
||||
|
||||
<meta property="og:title" content="MH2 Armor Set Searcher">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:url" content="https://timh96.github.io/mhdos-armor-set-searcher/">
|
||||
<meta property="og:description" content="Armor Set Searcher for Monster Hunter Dos">
|
||||
|
||||
<link rel="stylesheet" href="/styles.8986bff4.css">
|
||||
<script src="/styles.8986bff4.js"></script></head>
|
||||
|
||||
<body>
|
||||
<div id="header">MH Dos Armor Set Searcher</div>
|
||||
|
||||
<div id="open-source" class="banner">
|
||||
<p>
|
||||
This is an open-source project hosted on gh-pages,
|
||||
<a href="https://github.com/TimH96/mhdos-armor-set-searcher">here is the repository</a>. If you have a feature request or find any bugs, please create an
|
||||
issue on GitHub. You are also welcome to integrate them yourself via a
|
||||
Pull Request.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="main-body">
|
||||
<!-- navbar -->
|
||||
<div id="navbar-container">
|
||||
<ul class="navbar">
|
||||
<li class="navbar-option" data-selection="0">Search</li>
|
||||
<li class="navbar-option" data-selection="2">Equipment</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- search -->
|
||||
<div class="panel" id="search-container" data-panel-number="0">
|
||||
<!-- global settings -->
|
||||
<div id="search-global-settings">
|
||||
<ul>
|
||||
<li>
|
||||
<select name="armor-type" id="armor-type">
|
||||
<option value="1">Blademaster</option>
|
||||
<option value="2">Gunner</option>
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<select name="weapon-slots" id="weapon-slots">
|
||||
<option value="0">0 Weapon Slots</option>
|
||||
<option value="1">1 Weapon Slots</option>
|
||||
<option value="2">2 Weapon Slots</option>
|
||||
<option value="3">3 Weapon Slots</option>
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<select name="armor-rarity" id="armor-rarity">
|
||||
<option value="7">Armor RARE7</option>
|
||||
<option value="6">Armor RARE6</option>
|
||||
<option value="5">Armor RARE5</option>
|
||||
<option value="4">Armor RARE4</option>
|
||||
<option value="3">Armor RARE3</option>
|
||||
<option value="2">Armor RARE2</option>
|
||||
<option value="1">Armor RARE1</option>
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<select name="deco-rarity" id="deco-rarity">
|
||||
<option value="7">Deco RARE7</option>
|
||||
<option value="6">Deco RARE6</option>
|
||||
<option value="5">Deco RARE5</option>
|
||||
<option value="4">Deco RARE4</option>
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<input type="number" name="search-limit" id="search-limit" min="1" max="1000" value="100">
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- skill picker -->
|
||||
<div id="search-skill-picker"></div>
|
||||
|
||||
<!-- controls -->
|
||||
<div id="search-controls">
|
||||
<ul>
|
||||
<li><button id="search-btn">Search</button></li>
|
||||
<li><button id="more-btn">More Skills</button></li>
|
||||
<li><button id="reset-btn">Reset</button></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- results -->
|
||||
<div id="search-results"></div>
|
||||
</div>
|
||||
|
||||
<!-- eq settings -->
|
||||
<div class="panel" id="eq-settings-container" data-panel-number="2">
|
||||
<div id="eq-container"></div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="/pages.77de5100.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>MH2 Armor Set Searcher</title><meta name="description" content="Armor Set Searcher for Monster Hunter Dos"><meta name="author" content="TimH96"><meta property="og:title" content="MH2 Armor Set Searcher"><meta property="og:type" content="website"><meta property="og:url" content="https://timh96.github.io/mhdos-armor-set-searcher/"><meta property="og:description" content="Armor Set Searcher for Monster Hunter Dos"><link rel="stylesheet" href="styles.2dfe96f6.css"></head><body> <div id="header">MH Dos Armor Set Searcher</div> <div id="open-source" class="banner"> <p> This is an open-source project hosted on gh-pages, <a href="https://github.com/TimH96/mhdos-armor-set-searcher">here is the repository</a>. If you have a feature request or find any bugs, please create an issue on GitHub. You are also welcome to integrate them yourself via a Pull Request. </p> </div> <div id="main-body"> <div id="navbar-container"> <ul class="navbar"> <li class="navbar-option" data-selection="0">Search</li> <li class="navbar-option" data-selection="2">Equipment</li> </ul> </div> <div class="panel" id="search-container" data-panel-number="0"> <div id="search-global-settings"> <ul> <li> <select name="armor-type" id="armor-type"> <option value="1">Blademaster</option> <option value="2">Gunner</option> </select> </li> <li> <select name="weapon-slots" id="weapon-slots"> <option value="0">0 Weapon Slots</option> <option value="1">1 Weapon Slots</option> <option value="2">2 Weapon Slots</option> <option value="3">3 Weapon Slots</option> </select> </li> <li> <select name="armor-rarity" id="armor-rarity"> <option value="7">Armor RARE7</option> <option value="6">Armor RARE6</option> <option value="5">Armor RARE5</option> <option value="4">Armor RARE4</option> <option value="3">Armor RARE3</option> <option value="2">Armor RARE2</option> <option value="1">Armor RARE1</option> </select> </li> <li> <select name="deco-rarity" id="deco-rarity"> <option value="7">Deco RARE7</option> <option value="6">Deco RARE6</option> <option value="5">Deco RARE5</option> <option value="4">Deco RARE4</option> </select> </li> <li> <input type="number" name="search-limit" id="search-limit" min="1" max="1000" value="100"> </li> </ul> </div> <div id="search-skill-picker"></div> <div id="search-controls"> <ul> <li><button id="search-btn">Search</button></li> <li><button id="more-btn">More Skills</button></li> <li><button id="reset-btn">Reset</button></li> </ul> </div> <div id="search-results"></div> </div> <div class="panel" id="eq-settings-container" data-panel-number="2"> <div id="eq-container"></div> </div> </div> <script src="pages.f0b71adf.js"></script> </body></html>
|
||||
@ -1411,11 +1411,7 @@ var evaluateListOfDecos = function evaluateListOfDecos(decos, wantedSkills) {
|
||||
decos.forEach(function (deco) {
|
||||
return skillMap.addSkills(deco.skills);
|
||||
});
|
||||
// get max of default and computed score
|
||||
// default score can only be higher than computed when the decos of 2 wanted skills cancel each other out (e.g. handicraft and sharpness)
|
||||
var computedScore = getScoreFromSkillMap(skillMap, wantedSkills);
|
||||
var defaultScore = Math.max.apply(Math, _toConsumableArray(Array.from(skillMap.values())));
|
||||
var score = Math.max(computedScore, defaultScore);
|
||||
var score = getScoreFromSkillMap(skillMap, wantedSkills);
|
||||
return {
|
||||
skills: skillMap,
|
||||
decos: decos,
|
||||
@ -2043,6 +2039,7 @@ var findSets = function findSets(armorPieces, decorations, charms, constraints,
|
||||
var initialArmorEval = getIntiailArmorEval(constraints.armorType);
|
||||
var wantedScore = scorer_module_1.getScoreFromSkillMap(wantedSkills, wantedSkills) - slotScoreMap.get(constraints.weaponSlots);
|
||||
var decoMinSlotMap = new DecoMinSlotMap_1.default(decorations, wantedSkills);
|
||||
debugger;
|
||||
var skilledEquipment = armorPieces;
|
||||
skilledEquipment.push(charms);
|
||||
// score equipment
|
||||
@ -2840,7 +2837,7 @@ var parent = module.bundle.parent;
|
||||
if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
|
||||
var hostname = "" || location.hostname;
|
||||
var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
|
||||
var ws = new WebSocket(protocol + '://' + hostname + ':' + "55875" + '/');
|
||||
var ws = new WebSocket(protocol + '://' + hostname + ':' + "55905" + '/');
|
||||
ws.onmessage = function (event) {
|
||||
checkedAssets = {};
|
||||
assetsToAccept = [];
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -197,7 +197,7 @@ var parent = module.bundle.parent;
|
||||
if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
|
||||
var hostname = "" || location.hostname;
|
||||
var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
|
||||
var ws = new WebSocket(protocol + '://' + hostname + ':' + "55875" + '/');
|
||||
var ws = new WebSocket(protocol + '://' + hostname + ':' + "55905" + '/');
|
||||
ws.onmessage = function (event) {
|
||||
checkedAssets = {};
|
||||
assetsToAccept = [];
|
||||
|
||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user