Automatic robbing

From 1100ad

Revision as of 13:23, 30 June 2010 by anna21 (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)

Function of automatic robbing allows to send an army to independantly rob another city. When sending an attack you should select an option "to automatically rob" and army, after it comes to the city will start looking for storehouse and then rob it. When the army is full it will automatically move to exit point and return to your city with resources.

Automatic robbing is available only to users that own gold account.

Here is approximate algorithm of automatic robbing:

  • Army is checking whether there is a storehouse or a strongbox on the open territory? If there are then army goes to it and starts robbing.
  • If storehouse is not visible, army receives command to move to a random point of the city. When army comes to this point another check for storehouse is performed.
  • If while moving army notices enemy - it attacks him.
  • When army is filled with resources it moves to one of available exit points of the city and after reaching one leaves the city. If army is given a manual command to move to exit point, then it leaves the city even if its not filled with resources yet.

During automatic robbing you can change army behaviour by giving it other commands for example to help it find storehouse faster or leave the city before the robbing is finished.