01-06-2015, 07:03 AM
I noticed that only gold is checked to see if the fight should be ended. I'm currently hunting for elixer so I made a temporary change to the GoldChange function:
I may work on a more robust implementation, but wasn't sure of the best way to proceed. I think the main options are:
1. Always check for both gold and elixer change (not DE since low levels won't have it)
2. Check for resources that are selected on the search tab. So if you have gold, elixer, and DE all selected with values set, all three would have to stop changing before the fight is ended. If no resources are selected, default to gold (to avoid ending the fight immediately).
3. Add new UI components (checkboxes) to indicate which resources you want to wait for (separate from search choice)
#3 is probably unnecessary. I kind of like #2.
I may work on a more robust implementation, but wasn't sure of the best way to proceed. I think the main options are:
1. Always check for both gold and elixer change (not DE since low levels won't have it)
2. Check for resources that are selected on the search tab. So if you have gold, elixer, and DE all selected with values set, all three would have to stop changing before the fight is ended. If no resources are selected, default to gold (to avoid ending the fight immediately).
3. Add new UI components (checkboxes) to indicate which resources you want to wait for (separate from search choice)
#3 is probably unnecessary. I kind of like #2.