The Bytecode Club
Log inJoin the club
Video Game Reverse Engineering

5.5.1.1 Left over troops drop position

Started by kaioz · Feb 22, 2015

1 replies37,061 views
Feb 22, 2015#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

Feb 23, 2015#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.

Got something to add?

Log in to post a reply.

Join the conversation