1.1.1 • Published 8 years ago

ffrkbannersim v1.1.1

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

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 (case sensitive)

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

1.1.1

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago