발령,몰수,포상 활성화, 사령턴 턴 입력 활성화

This commit is contained in:
2020-03-07 19:52:33 +09:00
parent 28c3ebb5f9
commit 29c7e3696a
10 changed files with 241 additions and 108 deletions
+9 -3
View File
@@ -1,6 +1,13 @@
function reserveTurn(turnList, command, arg){
var target;
if(isChiefTurn){
target = 'j_set_chief_command.php';
}
else{
target = 'j_set_general_command.php';
}
$.post({
url:'j_set_general_command.php',
url:target,
dataType:'json',
data:{
action:command,
@@ -35,8 +42,7 @@ window.submitAction = function(){
'int':[
'crewType', 'destGeneralID', 'destCityID', 'destNationID',
'amount', 'colorType',
'month',
'year', 'destGeneralID', 'destCityID', 'destNationID', 'amount', 'crewType',
'year', 'month',
],
'boolean':[
'isGold', 'buyRice',