This repository was archived by the owner on Jul 2, 2023. It is now read-only.
Description Describe the bug
Not repeating after defeat :/
Expected behavior
Repeat X times
Screenshots/Logs
Additional information
I think something in this.
until [ " $_kingsTower_battle_COUNT " -ge " $maxKingsTowerFights " ] || testColorOR -f 550 150 1a1212; do
inputTapSleep 550 1850 0 # Battle
waitBattleFinish 2
# Check if win or lose battle
if [ " $battleFailed " = false ]; then
_kingsTower_battle_WIN=$(( _kingsTower_battle_WIN + 1 )) # Increment
inputTapSleep 550 1850 4 # Collect
inputTapSleep 550 170 # Tap on the top to close possible limited offer
# WARN: Limited offers might screw this up. Tapping 550 170 might close an offer.
# Tap top of the screen to close any possible Limited Offers
# if testColorOR 550 150 1a1212; then # not on screen with Challenge button
# inputTapSleep 550 75 # Tap top of the screen to close Limited Offer
# if testColorOR 550 150 1a1212; then # think i remember it needs two taps to close offer
# inputTapSleep 550 75 # Tap top of the screen to close Limited Offer
# fi
inputTapSleep 540 1350 # Challenge
elif [ " $battleFailed " = true ]; then
inputTapSleep 550 1720 # Try again
_kingsTower_battle_COUNT=$(( _kingsTower_battle_COUNT + 1 )) # Increment
fi
# Check if reached daily limit / kicked us out of battle screen
done
Reactions are currently unavailable
Describe the bug
Not repeating after defeat :/
Expected behavior
Repeat X times
Screenshots/Logs
Additional information
I think something in this.
AFK-Daily/afk-daily.sh
Lines 1055 to 1080 in 599949a