fix footer placement consistency, add buyMaxEPMult()

This commit is contained in:
Omsi 2018-04-20 20:44:27 -07:00
parent d7f4639c46
commit 65245495be
3 changed files with 30 additions and 23 deletions

View File

@ -351,7 +351,8 @@
</td>
</tr>
</table>
<div>
<div><button class="storebtn" onclick="buyMaxEPMult()" style="height: 25px; width: 190px; font-size:10px; margin-top: -3px;">Max EP mult</button></div>
<div id="footercontainer">
<table id="footer">
<tr>
<td>
@ -2059,9 +2060,8 @@
</table>
<br>
<div><button id="infiMult" class="infinimultbtn">Multiply infinity points from all sources by 2 <br>currently: <br>Cost: 100 IP</button></div>
<br>
<div><button id="infmultbuyer" class="storebtn" onclick="infMultAutoToggle()" style="display:none; height: 40px; width: 130px; font-size:10px">Autobuy IP mult ON</button></div>
<div>
<div><button id="infmultbuyer" class="storebtn" onclick="infMultAutoToggle()" style="display:none; height: 25px; width: 190px; font-size:10px; margin-top: 3px;">Autobuy IP mult ON</button></div>
<div id="footercontainer">
<table id="footer">
<tr>
<td>
@ -2070,8 +2070,8 @@
<a href="about.html" target="_newtab">Donate </a> |
<a href="changelog.html" target="_newtab">Changelog </a> |
<a href="https://discord.gg/ST9NaXa" target="_newtab">Discord</a> |
<a href="https://www.reddit.com/r/AntimatterDimensions/" target="_newtab">Subreddit</a> | <a href="https://ivark.github.io/savefixer/index.html" target="_newtab">Savefixer</a>
<a href="https://www.reddit.com/r/AntimatterDimensions/" target="_newtab">Subreddit</a> |
<a href="https://ivark.github.io/savefixer/index.html" target="_newtab">Savefixer</a>
</div>
</td>
</tr>
@ -2451,7 +2451,7 @@
</td>
</tr>
</table>
<div>
<div id="footercontainer">
<table id="footer">
<tr>
<td>
@ -2487,24 +2487,24 @@
<br>
<button class="storebtn" id="replicantireset" onclick="replicantiGalaxy()" style="width: 200px; height: 70px; font-size: 12px">Reset replicanti amount, but get a free galaxy</button>
<br>
<button class="storebtn" id="replicantiresettoggle" onclick="replicantiGalaxyAutoToggle()" style="width: 150px; height: 30px; font-size: 12px; display: none">Auto galaxy OFF</button>
<button class="storebtn" id="replicantiresettoggle" onclick="replicantiGalaxyAutoToggle()" style="width: 200px; height: 25px; font-size: 12px; display: none">Auto galaxy OFF</button>
</div>
<div id="footercontainer">
<table id="footer">
<tr>
<td>
<div style="text-align:center">
<a href="howto.html" target="_newtab">How to play </a> |
<a href="about.html" target="_newtab">Donate </a> |
<a href="changelog.html" target="_newtab">Changelog </a> |
<a href="https://discord.gg/ST9NaXa" target="_newtab">Discord</a> |
<a href="https://www.reddit.com/r/AntimatterDimensions/" target="_newtab">Subreddit</a> | <a href="https://ivark.github.io/savefixer/index.html" target="_newtab">Savefixer</a>
</div>
</td>
</tr>
</table>
</div>
<table id="footer">
<tr>
<td>
<div style="text-align:center">
<a href="howto.html" target="_newtab">How to play </a> |
<a href="about.html" target="_newtab">Donate </a> |
<a href="changelog.html" target="_newtab">Changelog </a> |
<a href="https://discord.gg/ST9NaXa" target="_newtab">Discord</a> |
<a href="https://www.reddit.com/r/AntimatterDimensions/" target="_newtab">Subreddit</a> | <a href="https://ivark.github.io/savefixer/index.html" target="_newtab">Savefixer</a>
</div>
</td>
</tr>
</table>
</div>
</div>
</div>

View File

@ -975,6 +975,12 @@ function buyEPMult() {
}
}
function buyMaxEPMult() {
while (player.eternityPoints.gte(player.epmultCost)) {
buyEPMult()
}
}

View File

@ -736,6 +736,7 @@ button {
#replicantiresettoggle {
margin-top: 3px;
margin-right: 5px;
}
.eternitychallengestudy {