TWB
TWB copied to clipboard
Changing amount of light cavalaray for farm
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!
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 :)
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} ]
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).