kaioz   02-23-2015, 12:07 AM
#1
i need help on changing the drop position of left over troops

my settings
-attack 2 sides (Topleft,Topright)
-use barracks
--giants
--arch
--arch
--barb


full camp is
-11 giants
-102 arch
-63 barb

bot will always drop 5 giants each side, 1 always left out.

1 leftout giant always drops to BottomRight, which is useless in the attack

i want it to change to Topright or left. please help, thanks
scar_face008   02-23-2015, 11:19 PM
#2
Local $nbTroopsPerEdge = Round($nbTroopsLeft/$nbSides);($nbSides-$i*2))
which rounds 11/2 = 5 per side.

since you use 2 sides atk, your giant must be able to be divided into 2.
  
Users browsing this thread: 1 Guest(s)
Konloch Software - Bytecode Viewer - Reverse Engineering Forum
Copyright © 2014-2025 The Bytecode Club. Powered By MyBB.
CC0 Unless Specified Otherwise.