ffrkbannersim

1.1.1 • Public • Published

ffrkbannersim

Relic banner simulator for Final Fantasy Record Keeper

Install

$ npm install ffrkbannersim --save

CLI Usage

$ node index.js [--banner] [--draws] [--spend] [--pct] [--item]

--banner=[NUMBER]

Load a banner to simulate.

--draws=[NUMBER]

Specify the number of x11 draws you want to simulate

--spend=[NUMBER]

Specify an amount of mythril you want to spend and simulate

---pct=[NUMBER]

Specify a minimum percentage complete you want to achieve.

---item=STRING

Simulate pulls until the item is acquired

Node Usage

//Init
var FFRKBanners = require('ffrkbannersim');
var banner = new FFRKBanners();
 
//Load an available banner
banner.loadBanner(136);
 
//All pulls on the banner are stored internally
banner.onePull();
banner.elevenPull();
 
//Get stats
console.log(banner.getStats());
 
//Get banner relics drawn
console.log(banner.getBannerRelics());

Example Output

.getStats()

{
  "draws": 3,
  "mythrilSpent": 150,
  "totalRelics": 33,
  "fiveStarRelics": {
    "banner": 5,
    "nonBanner": 1
  },
  "fourStarRelics": 7,
  "threeStarRelics": 20,
  "percentageComplete": 56
}

.getBannerRelics()

{
  "Fenrir Overdrive": 0,
  "Stardust Rod": 1,
  "Flames of Rebirth": 0,
  "Aldebaran": 0,
  "Sentinel's Grimoire": 1,
  "Kaiser Shield": 1,
  "Grand Armor": 1,
  "Desch's Sword": 1,
  "Golden Armor": 0
}

Testing

Not complete

Readme

Keywords

Package Sidebar

Install

npm i ffrkbannersim

Weekly Downloads

0

Version

1.1.1

License

ISC

Last publish

Collaborators

  • anyuzer