Skip to content

ensaremirerol/p5_fusion_dart

Repository files navigation

CodeFactor

p5_fusion_dart

Library that can calculate fusions in Persona 5 game.

Example

SkillRepository skillRepository = new SkillRepository();
final PersonaRepository repo = PersonaRepository();
final PersonaService service = PersonaService(repo);
print(service.fuse(
    repo.getPersonaByName("Regent"), repo.getPersonaByName("Obariyon")));
print(service.getFusionsFrom(repo.getPersonaByName("Arsene")));
print(service.getFusionsTo(repo.getPersonaByName("Queen's Necklace")));
print(service.getFusionsTo(repo.getPersonaByName("Arsene")));
print(skillRepository.getSkill("Absorb Bless"));

Credits

Ideas, logics, data, etc. have been gathered from: