forked from Grimy/Grimy.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzfarm.html
3 lines (3 loc) · 4.74 KB
/
zfarm.html
1
2
3
<!DOCTYPE html><meta charset="UTF-8"><link href="blue.css" rel="stylesheet"><link href="dark.css" rel="stylesheet" id="dark"><script src="lz-string.js"></script><script src="zfarm.js"></script><title>zFarm</title><h1>zFarm</h1><p id="alert"></p><form class="flexbox" action="javascript:main()"><fieldset class="box" style="flex: 0 0 36em;"><legend>Inputs</legend><label title="Export your Trimps save and paste it here"><textarea id="save" onfocus="this.value = """ onpaste="handle_paste(event, read_save, main)"></textarea>Import save (<a onclick='get_paste_back()'>get it back</a>)</label><label title="Biome of the maps you create"><select id="biome" data-saved=""><option value="gardens">Garden</option><option value="mountain">Mountain</option><option value="depths">Depths</option><option value="forest">Forest</option><option value="sea">Sea</option></select>Biome</label><label title="Your minimum attack, in X, without the Titimp buff"><input id="attack" type="text" oninput="check_input(this)" required>Min ATK</label><label title="Your current world zone"><input id="zone" type="text" required pattern="\d+">World zone</label><div class="tabs"><label for="advanced">Toggle manual input</label><input id="advanced" type="checkbox" data-saved=""><label title="Number of fragments you can spend on a map"><input id="fragments" type="text" oninput="check_input(this)">Fragments</label><label title="Your Highest Zone Ever"><input id="hze" type="text" value="42" pattern="[0-9]+" onchange="set_hze(this.value)">HZE</label><label title="Total number of map imp-orts you have unlocked"><input id="imports" type="text" value="5" pattern="[0-5]">Map imp-orts</label><label title="Check if you have unlocked the Titimp imp-ort"><input id="titimp" type="checkbox" checked="">Unlocked titimp?</label><label title="Enemy health multiplier in maps"><input id="challenge" type="text" oninput="check_input(this)" value="1" pattern="(?!0$)[0-9.]+">Challenge health</label><label title="Check if you’re running Coordinate or Coordinate²"><input id="coordinate" type="checkbox">Coordinate</label><label title="Attack speed, in ticks per attack"><input id="speed" type="text" value="3.585" pattern="(?!0$)[0-9.]+">Attack speed</label><label title="Your max attack, divided by your min attack (usually 1.2, but can vary due to challenges)"><input id="range" type="text" value="1.2" pattern="[1-9][0-9.]*">Attack range (max/min)</label><label title="Critical hit chance, as displayed in the damage breakdown"><input id="cc" type="text" value="50" pattern="[-0-9.]+">Crit chance</label><label title="Bonus critical damage, as displayed in the damage breakdown"><input id="cd" type="text" value="400" pattern="\d{3,}">Crit damage%</label><label title="Average size of the maps you create"><input id="size" type="text" value="27" pattern="\d\d">Map size</label><label title="Average difficulty of the maps you create"><input id="difficulty" type="text" value="80" pattern="[1-9][0-9]*">Map difficulty%</label><label title="Level of your Overkill perk (max 30)" data-hide="170"><input id="overkill" type="text" value="0" pattern="[12]?\d|30">Overkill</label><label title="Maximum number of cells you can overkill" data-hide="301"><input id="ok_spread" type="text" value="1" pattern="[123]">Overkill spread</label><label title="The plaguebringer mod on your shield" data-hide="500"><input id="plaguebringer" type="text" value="0" pattern="[0-9.]+">Plaguebringer</label><label title="Empowerment level of the currently active nature" data-hide="236"><input id="nature" type="text" value="0" pattern="\d+">Nature</label><label title="Stack transfer level of the currently active nature" data-hide="236"><input id="transfer" type="text" value="0" pattern="\d+">Transfer</label><label title="Check if you have unlocked the Map Reducer mastery" data-hide="181"><input id="reducer" type="checkbox">Map Reducer?</label></div><button class="centered">Recalculate</button></fieldset><fieldset class="box" id="results" style="opacity: 0; flex: 0 0 36em;"><legend>Results</legend><p style="font-size: 1.1em;"><b id="result"></b>. <span id="comment"></span></p><table id="details"></table><p>Note: the displayed loot values don’t account for special imps, looting perks and staffs.
As such, your actual loot will be much higher. However, these factors affect all maps in the
same way, and don’t affect the choice of map.</p></fieldset></form><nav class="flexbox"><a class="active" href="zfarm.html">zFarm</a><a href="perks.html">Perky</a><span class="centered"></span><a onclick="switch_theme()">Switch theme</a><a href="changelog.html">Changelog</a><a href="https://github.com/Grimy/Grimy.github.io/issues/new">Report a bug</a><a href="https://github.com/Grimy/Grimy.github.io/tree/master/src">View the source</a><a href="https://github.com/Grimy">By Grimy</a></nav>