Mercenary
The Mercenary API allows you to defend your cell and raid other players.
A mercenary can be craft using the Crafting API. When defending, you have a defence bonus when being raided. When raided, if the attacker win, they steal all the resources on the cell and the workers are lost.
/mercenary
@POST
{
"Order": {"raid","defend","remove"},
"number": Integer, //Number of mercenary you want to use for the action
"x": Integer,
"y": Integer
}
Exemple:
{
"Order": "defend"
"number": Integer, //Number of mercenary you want to use for the action
"x": Integer,
"y": Integer
}