func_time_event 재작성, 수입관련 코드 수정

This commit is contained in:
2019-10-10 02:36:42 +09:00
parent 21f8b814e0
commit 0893bf6473
10 changed files with 576 additions and 728 deletions
+2 -2
View File
@@ -240,7 +240,7 @@ class che_화계 extends Command\GeneralCommand{
[$year, $month] = [$env['year'], $env['month']];
foreach($db->query(
'SELECT `no`,name,city,nation,level,leadership,horse,strength,weapon,intel,book,item,last_turn,injury,special,special2 FROM general WHERE city = %i',
'SELECT `no`,name,city,nation,level,leadership,horse,strength,weapon,intel,book,item,last_turn,injury,special,special2,injury,crew,atmos,train FROM general WHERE city = %i',
$destCityID,
$destNationID
) as $rawDestCityGeneral){
@@ -276,7 +276,7 @@ class che_화계 extends Command\GeneralCommand{
}
if(static::$injuryGeneral){
$injuryCount = \sammo\SabotageInjuryEx($destCityGeneralList, true);
$injuryCount = \sammo\SabotageInjury($destCityGeneralList, '계략');
}
else{
$injuryCount = 0;