Size: 1521
Comment:
|
Size: 1791
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
With this goal enabled, the bot will lock down most troop movements in preparation of war. No npc farming runs, KeepResource, SendResource, KeepTroop, or SendTroop goals will be performed with this enabled. The bot will also recall all marching farm runs back to the city. | With this goal enabled, the bot will lock down most troop movements in preparation of war. No npc farming runs, KeepResource, SendResource, KeepTroop, or SendTroop goals will be performed with this enabled. |
Line 8: | Line 8: |
If you want to easily recall all your marching armies after setting this goal, you can run the following script in the SCRIPT window. {{{ NumArmies = city.selfArmies.length label Recall ifgoto (NumArmies == 0) NoneLeft NumArmies = NumArmies - 1 execute "recall "+ city.selfArmies[NumArmies].targetCoords goto Recall }}} |
Usage: |
config wartown:[switch] |
Example: |
config wartown:1 |
Switch: |
0 = off |
With this goal enabled, the bot will lock down most troop movements in preparation of war. No npc farming runs, KeepResource, SendResource, KeepTroop, or SendTroop goals will be performed with this enabled.
When this goal is set to 1, the TrainingHero may move freely into and out of the city. When this goal is set to 2, the TrainingHero will remain in the city if/when it lands there.
If you want to easily recall all your marching armies after setting this goal, you can run the following script in the SCRIPT window.
NumArmies = city.selfArmies.length label Recall ifgoto (NumArmies == 0) NoneLeft NumArmies = NumArmies - 1 execute "recall "+ city.selfArmies[NumArmies].targetCoords goto Recall