How to use the warframe-worldstate-data.fissureModifiers function in warframe-worldstate-data

To help you get started, we’ve selected a few warframe-worldstate-data examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github WFCD / warframe-worldstate-parser / src / modules / voidFissure.js View on Github external
var util = require('util');
var md = require('node-md-config');

var dsUtil = require('../lib/_utils.js');
var nodes = require('warframe-worldstate-data').solNodes;
var modifiers = require('warframe-worldstate-data').fissureModifiers;

/**
 * Create a new void fissures list
 * 
 * @constructor
 * @param {object} data VoidFissure data
 */
var VoidFissures = function(data) {
  this.voidFissures = [];
  for (var index = 0; index < data.length; index++){
    this.voidFissures.push(new VoidFissure(data[index]));
  }
  if(this.voidFissures.length > 0){
    this.voidFissures.sort(function(a, b){
      if(a.tierNum > b.tierNum)
        return 1;

warframe-worldstate-data

Warframe data for use with warframe-worldstate-parser

MIT
Latest version published 4 days ago

Package Health Score

78 / 100
Full package analysis