Alya-N / C-Hero-Calc

PvE Solver for Cosmos Quest (Last Update: Archers and the Eternals)
10 stars 6 forks source link

In case calc updates slow down too much for your needs, you're always welcome to start patching calc yourself #33

Open Alya-N opened 5 years ago

Alya-N commented 5 years ago

23.08.2020 - Well, either the updates to calc won't be needed anymore, or someone will have to patch new heroes & skills in. In any case, if you look at the commit history, it shouldn't be that hard to replicate it. Good luck and, most importantly, have fun!

Old post below:

It's likely that I won't be able to do timely calc updates for now, so if someone wants to keep it up to date, feel free to do so. (you could still do that anyway, it is open-source after all) I will still do quick updates if possible, since I use calc all the time, so keeping it up to date is quite important for me. However, they will take more time than usual, so sometimes they might not be up for things like dungeon or wb.

With a different CQ game on mobile having come out recently, it may be possible to reuse the code for this calc to make a calc for mobile CQ as well, depends on whether it has the same principle behind the battle system. Either way, do whatever you can if it works in the end. EDIT: Well, ok, the mobile game has heroes with 3 skills at the same time (4 if you use equipment as well), and duplicate heroes, so it's probably better to make a separate calc for that. No way I'll be able to do that though, so far I've only been providing content updates, without creating the base structure for that.

There are still some bugs you may want to keep an eye on, in case they become a huge problem. I couldn't fix them. Use Verbose mode to find where the mistake occurs. (change verbose in battlelogic.h from false to true)

Clio Clio doesn't recognize that some heroes can buff their own stats, like Kryton or Geror, since their stat is not saved permanently but rather calculated each turn by the calc. An artifact of the old battle system, and some of those skills may need to be rewritten to account for that. Unfortunately my attempts to do so revealed that the optimization system would need to be patched for that as well, and I'm not really familiar with it. I have managed to add some interactions by making a permanent attack buff array, and making Clio borrow from that instead of raw stats, but some skills still don't save the results there EDIT: Ok, from what I remember, I somewhat managed to fix that when the Eternal heroes happened, but it's still best to keep an eye on it.