mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2024-11-21 16:13:55 +00:00
Fixed autoUpgrade and tree node layering
This commit is contained in:
parent
75ca45ac19
commit
1894cb9666
3 changed files with 2 additions and 7 deletions
|
@ -1,7 +1,5 @@
|
|||
# The Modding Tree changelog:
|
||||
|
||||
- Bars will visually update more quickly.
|
||||
|
||||
# v2.5.7 - 5/15/21
|
||||
- Added a particle system! Not only can it be used for visual effects, but particles can interact with the mouse. They could be used to create golden cookies or collectables, for example.
|
||||
- Added marked feature to buyables, clickables, and challenges. By default, stars multi-completion challenges when maxed.
|
||||
|
|
|
@ -379,8 +379,8 @@ function gameLoop(diff) {
|
|||
let layer = OTHER_LAYERS[row][item]
|
||||
if (tmp[layer].autoPrestige && tmp[layer].canReset) doReset(layer);
|
||||
if (layers[layer].automate) layers[layer].automate();
|
||||
player[layer].best = player[layer].best.max(player[layer].points)
|
||||
if (layers[layer].autoUpgrade) autobuyUpgrades(layer)
|
||||
player[layer].best = player[layer].best.max(player[layer].points)
|
||||
if (tmp[layer].autoUpgrade) autobuyUpgrades(layer)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -121,20 +121,17 @@ h1, h2, h3, b, input {
|
|||
|
||||
.resetNotify {
|
||||
box-shadow: var(--hqProperty2a), 0 0 8px #ffffff;
|
||||
z-index: 3
|
||||
}
|
||||
|
||||
.treeNode.can:hover {
|
||||
transform: scale(1.15, 1.15);
|
||||
box-shadow: var(--hqProperty2a), 0 0 20px var(--points);
|
||||
z-index: 4
|
||||
}
|
||||
|
||||
.notify {
|
||||
transform: scale(1.05, 1.05);
|
||||
border-color: rgba(0, 0, 0, 0.125);
|
||||
box-shadow: var(--hqProperty2a), 0 0 20px #ff0000;
|
||||
z-index: 3
|
||||
}
|
||||
|
||||
.bought {
|
||||
|
|
Loading…
Reference in a new issue