This is actually quite simple to do. I modified attack function to resemble what you say (if you want to look more naturally random factor can be added to coord as well)
sample code:
sample code:
AUTOIT Programming
-
- Switch $deploySettings
- Case 0 ;Two sides ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- SetLog("~Attacking in two sides...")
- ;Local $numBarbPerSpot = Ceiling((($atkTroops[$Barb][1] / 2) / 5) / 2)
- ;Local $numArchPerSpot = Ceiling((($atkTroops[$Arch][1] / 2) / 5) / 2)
-
-
-
- SetLog("Dropping first wave of Barbarians")
- ;Drop first round of Barbarians
- Click(68 + (72 * $Barb), 595) ;Select Troop
-
- $i = 0
- While 1
- Click($TopLeft[$a][0], $TopLeft[$a][1])
- $i += 1
- Click($TopRight[$a][0], $TopRight[$a][1])
- $i += 1
- Click($TopRight[$a][0], $TopRight[$a][1])
- $i += 1
- Click($TopLeft[$a][0], $TopLeft[$a][1])
- $i += 1