The Bytecode Club

Full Version: 5.5.1.1 Left over troops drop position
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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.