Fate-Grand-Automata / FGA

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

How does card priority work? #1519

Closed ozxr closed 1 year ago

ozxr commented 1 year ago

Preparation

Your question

alright so I have an issue with the card priority, im not sure if its a bug or im just stupid but it goes like this I have card priority set on B-A-Q-WB-WA-WQ-RB-RA-RQ for all waves and servant priority is default my spishtar is on slot 1 and I want her to always be the one attacking, however the autofarm sometimes selects other servants cards even though there are spishtar cards available it happens even when there are 4 spishtar cards and 1 support card, is there something wrong with the servant priority? should I just put support servants least on priority, maybe it'll work?

reconman commented 1 year ago

Can you share your battle config file and preferably a video of the issue?

ozxr commented 1 year ago

Can you share your battle config file and preferably a video of the issue?

I recorded and im uploading the video to youtube rn, im not sure how to send the file or if you can do that on github though

ozxr commented 1 year ago

https://youtu.be/uGJU4D6M5zA

video posted, im aware that it works on wave 1 & 2 and sometimes on wave 3 but there are times when its going for support cards over spishtar cards without brave chain (check 2:55 for example) also do I have to upload the file on a site like mediafire then send the link here?

edit: nvm I just realised that for some reason the link isn't working, any way to fix this or can we talk on discord instead?

reconman commented 1 year ago

Add .txt to the file name, then you can upload it to github.

reconman commented 1 year ago

Shortly before the bug happens, FGA opens the details window of Space Ishtar because it thinks that Ishtar died.

If you can reproduce it again with Debug Mode enabled, I can check how to avoid this bug.

As a workaround, you can try setting the Servant Priority to 1 4 2 3 5 6 so the "new" Space Ishtar still has higher priority over the other servants.

ozxr commented 1 year ago

Add .txt to the file name, then you can upload it to github.

spishtar_90.txt

ozxr commented 1 year ago

btw I uploaded the video on my channel & replied to your comment on youtube

reconman commented 1 year ago

Can't see a 2nd video with the debug rectangles yet.

ozxr commented 1 year ago

uploading one rn

ozxr commented 1 year ago

Can't see a 2nd video with the debug rectangles yet.

posted vid with debug mode on

reconman commented 1 year ago

I fixed this back in September. Are you using the latest version of FGA?

ozxr commented 1 year ago

not sure, i'll reinstall it and check if it works

ozxr commented 1 year ago

it seems to work now, i've only tested it 3 times so can't say for sure, nice UI update btw

could you make it so it prioritizes cards with more critical chance over those with less/none eg 30% critical chance arts card vs no crit, still picked the no crit one

reconman commented 1 year ago

Sorry, can't do critical chance. That would involve too much work and won't work reliably.