Skip to content

Commit

Permalink
feat: cambrion drift cycle
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobiah committed Aug 28, 2020
1 parent 48736f4 commit caf9b8b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
deploy:
provider: script
cleanup: false
skip_cleanup: true
script: npx semantic-release
- stage: docs
script:
Expand Down
13 changes: 13 additions & 0 deletions lib/WorldState.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,19 @@ class WorldState {
*/
this.cetusCycle = new CetusCycle(cetusBountyEnd, deps);

/**
* Cambrion Drift Cycle
* @type {Object}
* @property {string} active denotes the active sibling
* @property {Date} activation activation time
* @property {Date} expiry denotes when the current state dissipates
*/
this.cambrionCycle = {
active: this.cetusCycle.isDay ? 'fass' : 'vome',
activation: this.cetusCycle.activation,
expiry: this.cetusCycle.expiry,
};

/**
* Weekly challenges
* @type {Array.<WeeklyChallenge>}
Expand Down

0 comments on commit caf9b8b

Please sign in to comment.