Skip to content

adangtran87/gbf-weap

Repository files navigation

gbf-weap

This script tries to find the optimum weapon pool from a list of weapons, list of summon pairs, and party requirements. The script optimizes for attack/damage.

How To Run

python weapon-optimizer.py [-h] [--list_all] config

python weapon-optimizer.py fire.json

Running Unit Tests

python -m unittest discover tests

Limitations

  • Only considering 'attack' weapon skills
    • Does not consider last stand attack modifiers
  • List of weapons and summons must have weapon skills of the same element
  • Assumes weapons are 'on element' when considering main character weapon restrictions
  • Main Character classes only support Tier 3, 4, Extra classes
  • Current algorithm brute forces all weapon pool combinations
    • Beware long weapon lists; have not tested limits

References/Thanks

Ajantus's GBF Weapon/Summon Optimization

Toolchain

  • Python 2.7
  • enum34
  • Should be compatible with Python 3.4 but not continuously run
  • pip install -r requirements.txt

JSON enum strings

Weapon Class
  • normal, normal2, magna, unknown, strength, bahamut, stat_stick
Weapon Type
  • sword, dagger, spear, axe, staff, gun, fist, bow, harp, katana
Weapon Skills (normal, normal2, magna, unknown, strength)
  • none, small, medium, large
Summon Type
  • elemental, magna, primal, ranko, character
Main Character class
  • T3: weapon_master, holy_saber, bishop, hermit, hawkeye, dark_fencer, ogre, sidewinder, superstar, valkyrie
  • T4: berserker, sage
  • Extra: alchemist, ninja, samurai, sword_master, gunslinger, mystic, assassin

About

Granblue Fantasy Weapon Optimizer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages