등용장 버그 수정

This commit is contained in:
2018-04-18 23:20:47 +09:00
parent 63000bdd22
commit 002b7ae534
+1 -9
View File
@@ -47,16 +47,8 @@ function process_22(&$general) {
$ded = CharDedication($ded, $general['personal']);
$msg = ScoutMessage::buildScoutMessage($general['no'], $who, $reason);
$msg->send();
/*
sendScoutMsg([
'id' => $general['no'],
'nation_id' => Util::array_get($general['nation'], 0)
],[
'id' => $you['no'],
'nation_id' => Util::array_get($you['nation'], 0)
],$date);
*/
$general['intel2']++;
$query = "update general set resturn='SUCCESS',gold=gold-'$cost',intel2='{$general['intel2']}',dedication=dedication+'$ded',experience=experience+'$exp' where no='{$general['no']}'";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");