Fate-Grand-Automata / FGA

Auto-battle app for F/GO Android
https://fate-grand-automata.github.io
MIT License
1.37k stars 267 forks source link

Option for weighting servant priority against card priority #1813

Open jokers-ace opened 1 month ago

jokers-ace commented 1 month ago

Preparation

Describe the feature

Would love to have a toggle option for which of the 2 gets weighted heavier.

If im correct (could be mistaken), if servant priority is enabled, it will prioritise the servant over the card types, so if there was an Arts chain available between multiple servants it will ignore it unless it is all the highest priority servant. My idea is for a toggleable option that could focus card types, and then look at servant priority afterwards, so that it would pick the arts cards first, but then look at the servant order and follow the servant priority within the arts chain.

Currently, if servant priority is enabled (3, 1, 2) & card priority is set to (WA,WB,WQ...) Say if in a hand of: (Letters for card type, number for servant) WA(1) WA(2) WA(3) WB(1) WQ(1)

It would currently choose: A3, A1, B1 If servant priority was off it would pick W(AAA) at random (iirc it goes left to right) If the toggle was set to cards over servants, it could allow for: A3,A1,A2, allowing for control over the order of chains based on servant priority. if the toggle was set to servants over cards it would work as it currently does

Im not a very skilled coder so im not sure how feasible this is, but my (poor) logic would suggest it would work along the lines of: If Toggle = 1, servants are filtered before card type (as it is now) If Toggle = 2, card types are filtered before servants

ArthurKun21 commented 1 month ago

I have already been testing this locally and still not complete due to the reworking of other feature in which this ties in.

no promises on when this will be release/complete as I have gotten busy IRL