combos info fix
This commit is contained in:
parent
223c5188dd
commit
f3beb6c7ef
@ -149,6 +149,7 @@
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
font-size: 125%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.game-btn {
|
.game-btn {
|
||||||
@ -403,4 +404,8 @@ CONSTRUCT DAMAGE
|
|||||||
.game .stats svg {
|
.game .stats svg {
|
||||||
height: 1em;
|
height: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.game .effects {
|
||||||
|
font-size: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -95,8 +95,6 @@ function Info(args) {
|
|||||||
|
|
||||||
function Combos() {
|
function Combos() {
|
||||||
if (!player) return false;
|
if (!player) return false;
|
||||||
if (combiner.every(c => !c)) return false;
|
|
||||||
|
|
||||||
if (!(combiner.every(u => u === null))) {
|
if (!(combiner.every(u => u === null))) {
|
||||||
const filteredCombos = itemInfo.combos
|
const filteredCombos = itemInfo.combos
|
||||||
.filter(combo => combiner.every(u => u === null
|
.filter(combo => combiner.every(u => u === null
|
||||||
@ -115,6 +113,7 @@ function Info(args) {
|
|||||||
</table>
|
</table>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const vboxCombos = itemInfo.combos.filter(c => c.components.includes(info));
|
const vboxCombos = itemInfo.combos.filter(c => c.components.includes(info));
|
||||||
if (vboxCombos.length > 6) return false;
|
if (vboxCombos.length > 6) return false;
|
||||||
return (
|
return (
|
||||||
|
|||||||
@ -60,7 +60,7 @@ const animations = {};
|
|||||||
function animateConstruct(id) {
|
function animateConstruct(id) {
|
||||||
if (animations[id]) return false;
|
if (animations[id]) return false;
|
||||||
animations[id] = true;
|
animations[id] = true;
|
||||||
const duration = anime.random(2000, 8000);
|
const duration = anime.random(2000, 18000);
|
||||||
const target = document.getElementById(id);
|
const target = document.getElementById(id);
|
||||||
return anime({
|
return anime({
|
||||||
targets: target,
|
targets: target,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user