Skip to content

Added min. planet level to capture - #108

Merged
jacobrosenthal merged 5 commits into
darkforest-eth:masterfrom
ericet:master
Jul 7, 2021
Merged

Added min. planet level to capture#108
jacobrosenthal merged 5 commits into
darkforest-eth:masterfrom
ericet:master

Conversation

@ericet

@ericet ericet commented Jul 2, 2021

Copy link
Copy Markdown
Contributor

To give users more options to capture the planets

@Stx69 Stx69 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

working.

@jacobrosenthal

Copy link
Copy Markdown
Contributor

@snowtigersoft care to weigh in on anything, this was your plugin originally

@snowtigersoft snowtigersoft left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want to hide the prospect expired planets, I suggest change this line to:

.filter(planet => !planet.hasTriedFindingArtifact && (planet.prospectedBlockNumber === undefined || !prospectExpired(currentBlockNumber, planet.prospectedBlockNumber)))

Comment thread content/artifacts/artifactory/plugin.js Outdated
@jacobrosenthal
jacobrosenthal merged commit 74df015 into darkforest-eth:master Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants