-
Notifications
You must be signed in to change notification settings - Fork 0
BUYARTILLERY,BUYMOUNTED,BUYINFANTRY
stanislawbartkowski edited this page Feb 16, 2019
·
2 revisions
This action buy unit: ARTILLERY,INFANTRY,MOUNTED or AIRCRAFT
executeCommand(token,"BUYARTILLERY",row,col,null)
- row,col : a city where the unit specified by command name is to be bought *jsparam : not used
executeCommand("secret token","BUYARTILLERY",2,2,null)
Buy Artillery in a city (2,2)
List of cities where a unit can be bought.
- Format: [ {"p": {"row" : int,"col" : int}} ]
Sample:
[ {"p: : {"row" : 2,"col" : 2}},{ "p" : {"row" : 5,"col" : 3}} ]
A unit can be bought in two cities : (2,2) and (5,3)