mlm: fix ore vein max respawn time threshold

This commit is contained in:
Quasindro
2019-07-13 16:11:39 +02:00
parent 5844c7c5de
commit 0c171c674f

View File

@@ -44,7 +44,7 @@ import net.runelite.client.ui.overlay.components.ProgressPieComponent;
class MiningOverlay extends Overlay
{
// Range of Motherlode vein respawn time - not 100% confirmed but based on observation
static final int ORE_VEIN_MAX_RESPAWN_TIME = 123;
static final int ORE_VEIN_MAX_RESPAWN_TIME = 166;
private static final int ORE_VEIN_MIN_RESPAWN_TIME = 90;
private static final float ORE_VEIN_RANDOM_PERCENT_THRESHOLD = (float) ORE_VEIN_MIN_RESPAWN_TIME / ORE_VEIN_MAX_RESPAWN_TIME;
private static final Color DARK_GREEN = new Color(0, 100, 0);