forked from mico/idle_moloch
Prices in client now reflect those in contract, per second only shows on hover
This commit is contained in:
parent
5bb2b5f97b
commit
5491598dfc
@ -62,15 +62,15 @@ const defaultAvailabilityMap: Record<UnitType, boolean> = {
|
|||||||
|
|
||||||
const unitDiscoveredAt: Record<UnitType, bigint> = {
|
const unitDiscoveredAt: Record<UnitType, bigint> = {
|
||||||
0: BigInt(0),
|
0: BigInt(0),
|
||||||
1: BigInt(2_000_0000),
|
1: BigInt(300_0000),
|
||||||
2: BigInt(2_000_000_0000),
|
2: BigInt(2800_0000),
|
||||||
3: BigInt(200_000_000_0000)
|
3: BigInt(24000_0000)
|
||||||
}
|
}
|
||||||
const unitAvailableToDiscoverAt: Record<UnitType, bigint> = {
|
const unitAvailableToDiscoverAt: Record<UnitType, bigint> = {
|
||||||
0: BigInt(0),
|
0: BigInt(0),
|
||||||
1: BigInt(1_000_0000),
|
1: BigInt(200_0000),
|
||||||
2: BigInt(1_000_000_0000),
|
2: BigInt(2000_0000),
|
||||||
3: BigInt(100_000_000_0000),
|
3: BigInt(25000_0000),
|
||||||
}
|
}
|
||||||
|
|
||||||
interface UnitProps {
|
interface UnitProps {
|
||||||
|
|||||||
@ -145,6 +145,11 @@
|
|||||||
filter: sepia(1);
|
filter: sepia(1);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
&:hover {
|
||||||
|
.unitProfit {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.uiElement {
|
.uiElement {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -173,6 +178,7 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 5px;
|
bottom: 5px;
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
.static {
|
.static {
|
||||||
width: 110px;
|
width: 110px;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user