통합 안되는 버그 수정
This commit is contained in:
@@ -181,7 +181,7 @@ class DiplomaticMessage extends Message{
|
|||||||
$josaWa = JosaUtil::pick($this->src->nationName, '와');
|
$josaWa = JosaUtil::pick($this->src->nationName, '와');
|
||||||
pushGeneralHistory(
|
pushGeneralHistory(
|
||||||
['no'=>$this->dest->generalID],
|
['no'=>$this->dest->generalID],
|
||||||
["<C>●</>{$helper->year}년 {$helper->month}월:<D><b>{$this->src->nationName}</b></>{$josaWa} 통합 시도"]
|
"<C>●</>{$helper->year}년 {$helper->month}월:<D><b>{$this->src->nationName}</b></>{$josaWa} 통합 시도"
|
||||||
);
|
);
|
||||||
pushGenLog(
|
pushGenLog(
|
||||||
['no'=>$this->dest->generalID],
|
['no'=>$this->dest->generalID],
|
||||||
@@ -200,7 +200,7 @@ class DiplomaticMessage extends Message{
|
|||||||
$josaWa = JosaUtil::pick($this->dest->nationName, '와');
|
$josaWa = JosaUtil::pick($this->dest->nationName, '와');
|
||||||
pushGeneralHistory(
|
pushGeneralHistory(
|
||||||
['no'=>$this->src->generalID],
|
['no'=>$this->src->generalID],
|
||||||
["<C>●</>{$helper->year}년 {$helper->month}월:<D><b>{$this->dest->nationName}</b></>{$josaWa} 통합 시도"]
|
"<C>●</>{$helper->year}년 {$helper->month}월:<D><b>{$this->dest->nationName}</b></>{$josaWa} 통합 시도"
|
||||||
);
|
);
|
||||||
$josaYi = JosaUtil::pick($this->dest->nationName, '이');
|
$josaYi = JosaUtil::pick($this->dest->nationName, '이');
|
||||||
pushGenLog(
|
pushGenLog(
|
||||||
|
|||||||
@@ -29,12 +29,12 @@ class Diplomacy{
|
|||||||
$db = DB::db();
|
$db = DB::db();
|
||||||
$gameStor = KVStorage::getStorage($db, 'game_env');
|
$gameStor = KVStorage::getStorage($db, 'game_env');
|
||||||
$srcNation = $db->queryFirstRow(
|
$srcNation = $db->queryFirstRow(
|
||||||
'SELECT nation, `name`, `power`, capital, gold, rice, surlimit, color, `level` FROM nation WHERE nation=%i',
|
'SELECT nation, `name`, `power`, capital, gold, rice, gennum, surlimit, color, `level` FROM nation WHERE nation=%i',
|
||||||
$srcNationID
|
$srcNationID
|
||||||
);
|
);
|
||||||
|
|
||||||
$destNation = $db->queryFirstRow(
|
$destNation = $db->queryFirstRow(
|
||||||
'SELECT nation, `name`, `power`, capital, gold, rice, surlimit, color, `level` FROM nation WHERE nation=%i',
|
'SELECT nation, `name`, `power`, capital, gold, rice, gennum, surlimit, color, `level` FROM nation WHERE nation=%i',
|
||||||
$destNationID
|
$destNationID
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user