Open jeffshrager opened 1 year ago
Unfortunately this is currently not possible due to the way wynnbuilder is constructed. The most complicated part is really just
calculateSpellDamage
, in damage_calc.js (if you can manage to pull out the relevant bits from the other files... I'm working on a C++ port which would be much more API-izable but that's a long way off in the future...
If you want to talk more about this feel free to shoot me a message on Discord or in the wynnbuilder dev server!
Thanks, that would be great, but really I only need an API for getting the stats of crafted items given ingredient arrays. Would that be simpler (or perhaps even possible now)?
I hacked a version for myself. You probably won't care (esp. since it's in Lisp): https://github.com/jeffshrager/wynnrun
nice! That's really cool 😁
I've been working on some version in python or c/c++ but never really got around to fully implementing it
Can you give guidance on how to run this as an API; That is, I don't want the UI, just the computations so that I pass in the various arguments and get the scores back. Thanks!