fix: eventColumn에 aux 추가
This commit is contained in:
@@ -47,7 +47,7 @@ else{
|
|||||||
'name', 'leadership', 'strength', 'intel', 'gold','rice',
|
'name', 'leadership', 'strength', 'intel', 'gold','rice',
|
||||||
'troop','officer_level','npc','picture','imgsvr',
|
'troop','officer_level','npc','picture','imgsvr',
|
||||||
'permission','penalty','belong', 'crewtype',
|
'permission','penalty','belong', 'crewtype',
|
||||||
'experience', 'dedication', 'betray', 'dedlevel', 'explevel', 'makelimit',
|
'experience', 'dedication', 'betray', 'dedlevel', 'explevel', 'makelimit', 'aux',
|
||||||
], 1);
|
], 1);
|
||||||
|
|
||||||
if($general instanceof DummyGeneral){
|
if($general instanceof DummyGeneral){
|
||||||
@@ -104,7 +104,7 @@ function do수뇌임명(General $general, int $targetOfficerLevel):?string{
|
|||||||
if($general->getVar('strength') < GameConst::$chiefStatMin){
|
if($general->getVar('strength') < GameConst::$chiefStatMin){
|
||||||
return '무력이 부족합니다.';
|
return '무력이 부족합니다.';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
if($general->getVar('intel') < GameConst::$chiefStatMin){
|
if($general->getVar('intel') < GameConst::$chiefStatMin){
|
||||||
@@ -175,7 +175,7 @@ function do추방(General $general, int $myOfficerLevel):?string{
|
|||||||
$generalName = $general->getVar('name');
|
$generalName = $general->getVar('name');
|
||||||
$nationID = $general->getNationID();
|
$nationID = $general->getNationID();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//추방할사람이 외교권자이면 불가
|
//추방할사람이 외교권자이면 불가
|
||||||
$permission = checkSecretPermission($general->getRaw());
|
$permission = checkSecretPermission($general->getRaw());
|
||||||
@@ -252,7 +252,7 @@ function do추방(General $general, int $myOfficerLevel):?string{
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
$src = new MessageTarget(
|
$src = new MessageTarget(
|
||||||
$generalID,
|
$generalID,
|
||||||
$generalName,
|
$generalName,
|
||||||
$nationID,
|
$nationID,
|
||||||
$nation['name'],
|
$nation['name'],
|
||||||
@@ -260,7 +260,7 @@ function do추방(General $general, int $myOfficerLevel):?string{
|
|||||||
GetImageURL($general->getVar('imgsvr'), $general->getVar('picture'))
|
GetImageURL($general->getVar('imgsvr'), $general->getVar('picture'))
|
||||||
);
|
);
|
||||||
$msg = new Message(
|
$msg = new Message(
|
||||||
Message::MSGTYPE_PUBLIC,
|
Message::MSGTYPE_PUBLIC,
|
||||||
$src,
|
$src,
|
||||||
$src,
|
$src,
|
||||||
$str,
|
$str,
|
||||||
|
|||||||
@@ -981,7 +981,7 @@ class General implements iAction{
|
|||||||
$defaultEventColumn = [
|
$defaultEventColumn = [
|
||||||
'no', 'name', 'owner', 'city', 'nation', 'officer_level', 'officer_city',
|
'no', 'name', 'owner', 'city', 'nation', 'officer_level', 'officer_city',
|
||||||
'special', 'special2', 'personal',
|
'special', 'special2', 'personal',
|
||||||
'horse', 'weapon', 'book', 'item', 'last_turn'
|
'horse', 'weapon', 'book', 'item', 'last_turn', 'aux',
|
||||||
];
|
];
|
||||||
$fullColumn = [
|
$fullColumn = [
|
||||||
'no', 'name', 'owner', 'owner_name', 'picture', 'imgsvr', 'nation', 'city', 'troop', 'injury', 'affinity',
|
'no', 'name', 'owner', 'owner_name', 'picture', 'imgsvr', 'nation', 'city', 'troop', 'injury', 'affinity',
|
||||||
|
|||||||
Reference in New Issue
Block a user