TWB icon indicating copy to clipboard operation
TWB copied to clipboard

Changing amount of light cavalaray for farm

Open r25k opened this issue 2 years ago • 3 comments

Hello Stafan,

Great bot, but could you point where can i change amount of LC for farm? it is sending 100 LC for 100 point barbarian farm. I would like to change it to 3-5. Where is config for that? Thanks in advance!

r25k avatar Jul 10 '22 12:07 r25k

Hi, that is pretty easy. I'm guessing by the 100 number that you are using the offensive unit template? if so, you can just edit templates/troops/offensive.txt and set {"light": 100} to {"light": 5} in the farm section :)

stefan2200 avatar Jul 10 '22 19:07 stefan2200

Hi,

Hah, yea i figured it out, i have been looking on "village_template" instead of my own village template... Now it`s is fine :), but i have another question - bot send for qouple farm attacks with mixed units like: swords + light or pikes which result in really long arrive time. Not sure if this is feature or a bug, as template looks now that:

"farm": [ {"light": 5,"spy": 1} ]

r25k avatar Jul 11 '22 07:07 r25k

Hmmm I'm pretty sure that the village that is sending those troops is using a different unit template. You can just edit all the templates and set all farm entries to [{"light": 5,"spy": 1}]. The current ones are designed to speedrun the early game so the farm amount is based on building levels (so weaker units).

stefan2200 avatar Jul 11 '22 19:07 stefan2200