mirror of
https://github.com/IvarK/AntimatterDimensionsSourceCode.git
synced 2024-11-10 14:12:02 +00:00
balancing
This commit is contained in:
parent
ae49051cec
commit
a535e3c816
10
index.html
10
index.html
@ -1085,6 +1085,16 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="popup" id="loadCloud">
|
||||
<div>You have a cloud save with 69 infinities. Do you want to download it?</div>
|
||||
<button class="storebtn" style="font-size: 15px" id="loadCloud">Yes</button>
|
||||
<button class="storebtn" style="font-size: 15px" id="dontLoadCloud">No</button>
|
||||
</div>
|
||||
<div class="popup" id="saveCloud">
|
||||
<div>You have a cloud save with 69 infinities. Do you want to overwrite it?</div>
|
||||
<button class="storebtn" style="font-size: 15px" id="saveCloud">Yes</button>
|
||||
<button class="storebtn" style="font-size: 15px" id="dontSaveCloud">No</button>
|
||||
</div>
|
||||
</body>
|
||||
<script src="PlayFab/PlayFabClientApi.js"></script>
|
||||
<script src="javascripts/autobuyer.js"></script>
|
||||
|
@ -327,11 +327,14 @@ function onLoad() {
|
||||
unspentBonus = Decimal.pow(player.infinityPoints.dividedBy(2),1.5).plus(1)
|
||||
}
|
||||
|
||||
|
||||
|
||||
function loadFromString(string) {
|
||||
player = JSON.parse(atob(string))
|
||||
onLoad()
|
||||
}
|
||||
|
||||
|
||||
function load_game() {
|
||||
var save_data = get_cookie('dimensionSave');
|
||||
if (!save_data) return;
|
||||
@ -340,6 +343,7 @@ function load_game() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
function save_game() {
|
||||
set_cookie('dimensionSave', player);
|
||||
$.notify("Game saved", "info")
|
||||
@ -1466,7 +1470,7 @@ function buyManyDimensionAutobuyer(tier, bulk) {
|
||||
}
|
||||
|
||||
const infCostMults = [null, 1e2, 1e4, 1e6, 1e8]
|
||||
const infPowerMults = [null, 20, 15, 10, 5]
|
||||
const infPowerMults = [null, 50, 30, 10, 5]
|
||||
function buyManyInfinityDimension(tier) {
|
||||
|
||||
var dim = player["infinityDimension"+tier]
|
||||
|
@ -496,6 +496,24 @@
|
||||
}
|
||||
|
||||
|
||||
.popup {
|
||||
position: absolute;
|
||||
left: 33%;
|
||||
top: 33%;
|
||||
border: 3px solid black;
|
||||
width: 300px;
|
||||
height: 120px;
|
||||
background-color: #E0E0E0;
|
||||
border-radius: 6px;
|
||||
text-align:center;
|
||||
z-index: 2;
|
||||
color: black;
|
||||
font-family: Typewriter;
|
||||
padding: 10px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#progress {
|
||||
|
Loading…
Reference in New Issue
Block a user