Fight commands
A breakdown of the calculating commands: .calc, .bulk, .elim and .multi
Predict fight outcomes and optimize!
.calc or .c is the most basic command. This calculates the outcome of a fight between two troops in the most intuitive format.
Things To Know:
Make sure to add a , in between the two units.
.c wa 10, ri 5wa is for warrior, and ri is for rider. All troops have a shortcut for their names for ease and convenience.
.c wa v 14, ri 6 dThis would mean a warrior with 14/15 hp and with veteran status is attacking a rider with 6/10 hp and a singular defense bonus.
Naval units
Additionally, naval units can be calculated using bo, sh, bs. bo is for boat, sh is for ship, and bs for a battleship.
.c wa sh 9, ri bo 5This means a warrior in a boat with 10 hp is attacking a rider in a boat with 5 hp.
HP input
If a unit isn't specified with a hp amount, the hp will automatically be assumed to be maximum.
.c wa, riThis means a warrior at 10 hp (since it will automatically place it at maximum health due to no exact value) attacks a rider at 10 hp as well (maximum health for the same reason).
.c wa v 12, riThis means a warrior at 12hp (out of 15hp, since veteran) attacks a rider at 10 hp.
.bulk or .b allows you to know how many of the attacker unit is needed to kill the defender.
.b wa, wa wThis will return the number of full hp warriors needed to kill a walled warrior.
.b ca, gi 27This will return the number of full hp catapults needed to kill a 27 hp (out of 40) Giant.
This is the most complicated command. If you don't quite get .calc, you should go back to it.
At your own peril 😉
.elim or .e allow to display the most optimal hp to eliminate units by putting a ? on either side (attacker or defender).
? on defender side
This returns the strongest defender the specified attacker can kill.
.e gi 32, de w ?This answers the question: what is the highest hp returns the strongest defender the 32hp giant can kill.
? on attacker side
This will return the lowest hp attacker needed to kill the specified defender.
.e gi ?, de w 6This answers the question: what is the lowest hp giant that can still kill a walled defender of 6hp.
? on both sides
This will return the two responses, ? on defender side and ? on the attacker side.
COMING SOON
You give the bot multiple attackers and a defender and the bot will return the optimal order with which to attack the defender according to these rules:
Kill the defending unit,
Maximize the damage dealt to the defending unit,
Minimize the number of attacker casualties,
Minimize the cumulative damage taken by the attackers left alive.
Last updated
Was this helpful?