불가침 서신 개월수 안보이는 문제 해결, 개월수 년으로 보이는 문제 해결
This commit is contained in:
@@ -83,8 +83,8 @@ class DiplomaticMessage extends Message{
|
||||
return $chk;
|
||||
}
|
||||
|
||||
$youlog[] = "<C>●</><D><b>{$this->dest->nationName}</b></>(와)과 <C>$when</>년 불가침에 성공했습니다.";
|
||||
$mylog[] = "<C>●</><D><b>{$this->src->nationName}</b></>(와)과 <C>$when</>년 불가침에 합의했습니다.";
|
||||
$youlog[] = "<C>●</><D><b>{$this->dest->nationName}</b></>(와)과 <C>$helper->year</>년 불가침에 성공했습니다.";
|
||||
$mylog[] = "<C>●</><D><b>{$this->src->nationName}</b></>(와)과 <C>$helper->year</>년 불가침에 합의했습니다.";
|
||||
pushGenLog(['no'=>$this->dest->generalID], $mylog);
|
||||
pushGenLog(['no'=>$this->src->generalID], $youlog);
|
||||
pushGeneralHistory(['no'=>$this->src->generalID], "<C>●</>{$helper->year}년 {$helper->month}월:<D><b>{$this->dest->nationName}</b></>(와)과 {$when}년 불가침 성공");
|
||||
|
||||
@@ -282,7 +282,7 @@ class Diplomacy{
|
||||
$db = DB::db();
|
||||
$db->update('diplomacy',[
|
||||
'state'=>7,
|
||||
'term'=>$when,
|
||||
'term'=>$when*12,
|
||||
'fixed'=>$option
|
||||
],
|
||||
'(me=%i AND you=%i) OR (you=%i AND me=%i)',
|
||||
|
||||
Reference in New Issue
Block a user