derekherbert / Warzone

SOEN 6441 Group Project
0 stars 0 forks source link

country mistake #193

Closed elliansjm closed 3 years ago

elliansjm commented 3 years ago

country with id 12 has no armies, you have an airlift card, and you will not get an error if you enter "airlift 12 19 2". The result of executing the order is that the country with id 19 is not affected, and the airlift card is used.

fzuray commented 3 years ago

the logic is correct. enter "airlift 12 19 2" --- > an airlift order will be created. execution will check if the source country has enough number of army