버그 수정
This commit is contained in:
@@ -17,7 +17,7 @@ TurnExecutionHelper::executeAllCommand();
|
|||||||
$query = "select no,nation,officer_level from general where owner='{$userID}'";
|
$query = "select no,nation,officer_level from general where owner='{$userID}'";
|
||||||
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||||
$me = MYDB_fetch_array($result);
|
$me = MYDB_fetch_array($result);
|
||||||
$nationID = $nationID;
|
$nationID = $me['nation'];
|
||||||
|
|
||||||
$meLevel = $me['officer_level'];
|
$meLevel = $me['officer_level'];
|
||||||
if($meLevel == 0) {
|
if($meLevel == 0) {
|
||||||
@@ -140,8 +140,8 @@ $eaglestr = join(', ', array_map(function($arr){
|
|||||||
?>
|
?>
|
||||||
<table align=center width=1000 class='tb_layout bg0'>
|
<table align=center width=1000 class='tb_layout bg0'>
|
||||||
<tr>
|
<tr>
|
||||||
<td align=center style='color:<?=newColor($nation['color'])?>; bgcolor=<?=$nation['color']?>' colspan=6>
|
<td align=center style='color:<?=newColor($nation['color'])?>; background-color:<?=$nation['color']?>' colspan=6>
|
||||||
<font size=5>【 {$nation['name']} 】</font>
|
<font size=5>【 <?=$nation['name']?> 】</font>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
@@ -530,7 +530,7 @@ $dummyOfficer = [
|
|||||||
$textColor = newColor($nation['color']);
|
$textColor = newColor($nation['color']);
|
||||||
$nationColor = $nation['color'];
|
$nationColor = $nation['color'];
|
||||||
|
|
||||||
foreach($db->query('SELECT city,name,level,region,officer4set,officer3set,officer2set from city where nation=$i order by region,level desc,binary(name)', $nationID) as $city) {
|
foreach($db->query('SELECT city,name,level,region,officer4set,officer3set,officer2set from city where nation=%i order by region,level desc,binary(name)', $nationID) as $city) {
|
||||||
$cityID = $city['city'];
|
$cityID = $city['city'];
|
||||||
$cityOfficerList = $officerList[$cityID]??[];
|
$cityOfficerList = $officerList[$cityID]??[];
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -55,12 +55,12 @@ class AutorunNationPolicy {
|
|||||||
'NPC후방발령',
|
'NPC후방발령',
|
||||||
|
|
||||||
'NPC포상',
|
'NPC포상',
|
||||||
'NPC몰수',
|
|
||||||
|
|
||||||
'NPC전방발령',
|
'NPC전방발령',
|
||||||
|
|
||||||
'유저장내정발령',
|
'유저장내정발령',
|
||||||
'NPC내정발령',
|
'NPC내정발령',
|
||||||
|
'NPC몰수',
|
||||||
];
|
];
|
||||||
|
|
||||||
//순서는 중요하지 않음
|
//순서는 중요하지 않음
|
||||||
@@ -128,7 +128,9 @@ class AutorunNationPolicy {
|
|||||||
public $reqNPCWarGold = 5000;
|
public $reqNPCWarGold = 5000;
|
||||||
public $reqNPCWarRice = 5000;
|
public $reqNPCWarRice = 5000;
|
||||||
public $reqNPCDevelGold = 1000;
|
public $reqNPCDevelGold = 1000;
|
||||||
public $reqNPCDevelRice = 0;
|
public $reqNPCDevelRice = 500;
|
||||||
|
|
||||||
|
public $minimumResourceActionAmount = 1000;
|
||||||
|
|
||||||
public $minNPCWarLeadership = 40;
|
public $minNPCWarLeadership = 40;
|
||||||
public $minWarCrew = 1500;
|
public $minWarCrew = 1500;
|
||||||
|
|||||||
@@ -258,6 +258,11 @@ abstract class BaseCommand{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function testReservable():?string{
|
public function testReservable():?string{
|
||||||
|
if(!$this->isArgValid()){
|
||||||
|
$this->reasonNotReservable = '인자가 올바르지 않습니다.';
|
||||||
|
$this->reservable = false;
|
||||||
|
return $this->reasonNotReservable;
|
||||||
|
}
|
||||||
if($this->reservableConstraints === null){
|
if($this->reservableConstraints === null){
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -288,7 +293,9 @@ abstract class BaseCommand{
|
|||||||
|
|
||||||
public function testRunnable():?string{
|
public function testRunnable():?string{
|
||||||
if(!$this->isArgValid()){
|
if(!$this->isArgValid()){
|
||||||
throw new \InvalidArgumentException('인자가 제대로 설정되지 않았습니다'.\sammo\Json::encode($this->arg));
|
$this->reasonNotReservable = '인자가 올바르지 않습니다.';
|
||||||
|
$this->reservable = false;
|
||||||
|
return $this->reasonNotReservable;
|
||||||
}
|
}
|
||||||
if($this->runnableConstraints === null){
|
if($this->runnableConstraints === null){
|
||||||
throw new \InvalidArgumentException('runnableConstraits가 제대로 설정되지 않았습니다');
|
throw new \InvalidArgumentException('runnableConstraits가 제대로 설정되지 않았습니다');
|
||||||
|
|||||||
@@ -35,14 +35,14 @@ class che_군량매매 extends Command\GeneralCommand{
|
|||||||
}
|
}
|
||||||
$buyRice = boolval($buyRice);
|
$buyRice = boolval($buyRice);
|
||||||
$amount = $this->arg['amount']??null;
|
$amount = $this->arg['amount']??null;
|
||||||
if(is_float($amount)){
|
if(!is_numeric($amount)){
|
||||||
$amount = Util::toInt($amount);
|
|
||||||
}
|
|
||||||
else if(!is_int($amount)){
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
$amount = Util::round($amount, -2);
|
||||||
$amount = Util::valueFit($amount, 100, GameConst::$maxResourceActionAmount);
|
$amount = Util::valueFit($amount, 100, GameConst::$maxResourceActionAmount);
|
||||||
|
if($amount <= 0){
|
||||||
|
return false;
|
||||||
|
}
|
||||||
$this->arg = [
|
$this->arg = [
|
||||||
'buyRice'=>$buyRice,
|
'buyRice'=>$buyRice,
|
||||||
'amount'=>$amount
|
'amount'=>$amount
|
||||||
|
|||||||
@@ -43,13 +43,14 @@ class che_증여 extends Command\GeneralCommand{
|
|||||||
$isGold = $this->arg['isGold'];
|
$isGold = $this->arg['isGold'];
|
||||||
$amount = $this->arg['amount'];
|
$amount = $this->arg['amount'];
|
||||||
$destGeneralID = $this->arg['destGeneralID'];
|
$destGeneralID = $this->arg['destGeneralID'];
|
||||||
if(is_float($amount)){
|
if(!is_numeric($amount)){
|
||||||
$amount = Util::toInt($amount);
|
|
||||||
}
|
|
||||||
else if(!is_int($amount)){
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
$amount = Util::round($amount, -2);
|
||||||
$amount = Util::valueFit($amount, 100, GameConst::$maxResourceActionAmount);
|
$amount = Util::valueFit($amount, 100, GameConst::$maxResourceActionAmount);
|
||||||
|
if($amount <= 0){
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if(!is_bool($isGold)){
|
if(!is_bool($isGold)){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,12 +38,10 @@ class che_헌납 extends Command\GeneralCommand{
|
|||||||
}
|
}
|
||||||
$isGold = $this->arg['isGold'];
|
$isGold = $this->arg['isGold'];
|
||||||
$amount = $this->arg['amount'];
|
$amount = $this->arg['amount'];
|
||||||
if(is_float($amount)){
|
if(!is_numeric($amount)){
|
||||||
$amount = Util::toInt($amount);
|
|
||||||
}
|
|
||||||
else if(!is_int($amount)){
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
$amount = Util::round($amount, -2);
|
||||||
$amount = Util::valueFit($amount, 100, GameConst::$maxResourceActionAmount);
|
$amount = Util::valueFit($amount, 100, GameConst::$maxResourceActionAmount);
|
||||||
if(!is_bool($isGold)){
|
if(!is_bool($isGold)){
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -44,13 +44,14 @@ class che_몰수 extends Command\NationCommand{
|
|||||||
$isGold = $this->arg['isGold'];
|
$isGold = $this->arg['isGold'];
|
||||||
$amount = $this->arg['amount'];
|
$amount = $this->arg['amount'];
|
||||||
$destGeneralID = $this->arg['destGeneralID'];
|
$destGeneralID = $this->arg['destGeneralID'];
|
||||||
if(is_float($amount)){
|
if(!is_numeric($amount)){
|
||||||
$amount = Util::toInt($amount);
|
|
||||||
}
|
|
||||||
else if(!is_int($amount)){
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
$amount = Util::round($amount, -2);
|
||||||
$amount = Util::valueFit($amount, 100, GameConst::$maxResourceActionAmount);
|
$amount = Util::valueFit($amount, 100, GameConst::$maxResourceActionAmount);
|
||||||
|
if($amount <= 0){
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if(!is_bool($isGold)){
|
if(!is_bool($isGold)){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -140,8 +141,7 @@ class che_몰수 extends Command\NationCommand{
|
|||||||
$amount = Util::valueFit(
|
$amount = Util::valueFit(
|
||||||
$amount,
|
$amount,
|
||||||
0,
|
0,
|
||||||
($destGeneral->getVar($resKey) -
|
$destGeneral->getVar($resKey)
|
||||||
($isGold?GameConst::$generalMinimumGold:GameConst::$generalMinimumRice))
|
|
||||||
);
|
);
|
||||||
$amountText = number_format($amount, 0);
|
$amountText = number_format($amount, 0);
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ use function \sammo\{
|
|||||||
getDomesticExpLevelBonus,
|
getDomesticExpLevelBonus,
|
||||||
CriticalRatioDomestic,
|
CriticalRatioDomestic,
|
||||||
CriticalScoreEx,
|
CriticalScoreEx,
|
||||||
function cutTurn
|
cutTurn
|
||||||
};
|
};
|
||||||
|
|
||||||
use \sammo\Constraint\Constraint;
|
use \sammo\Constraint\Constraint;
|
||||||
|
|||||||
@@ -41,13 +41,14 @@ class che_포상 extends Command\NationCommand{
|
|||||||
$isGold = $this->arg['isGold'];
|
$isGold = $this->arg['isGold'];
|
||||||
$amount = $this->arg['amount'];
|
$amount = $this->arg['amount'];
|
||||||
$destGeneralID = $this->arg['destGeneralID'];
|
$destGeneralID = $this->arg['destGeneralID'];
|
||||||
if(is_float($amount)){
|
if(!is_numeric($amount)){
|
||||||
$amount = Util::toInt($amount);
|
|
||||||
}
|
|
||||||
else if(!is_int($amount)){
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
$amount = Util::round($amount, -2);
|
||||||
$amount = Util::valueFit($amount, 100, GameConst::$maxResourceActionAmount);
|
$amount = Util::valueFit($amount, 100, GameConst::$maxResourceActionAmount);
|
||||||
|
if($amount <= 0){
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if(!is_bool($isGold)){
|
if(!is_bool($isGold)){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
+59
-5
@@ -139,9 +139,9 @@ class GeneralAI
|
|||||||
|
|
||||||
protected function calcGenType(General $general)
|
protected function calcGenType(General $general)
|
||||||
{
|
{
|
||||||
$leadership = $general->getLeadership();
|
$leadership = $general->getLeadership(false);
|
||||||
$strength = Util::valueFit($general->getStrength(), 1);
|
$strength = Util::valueFit($general->getStrength(false), 1);
|
||||||
$intel = Util::valueFit($general->getIntel(), 1);
|
$intel = Util::valueFit($general->getIntel(false), 1);
|
||||||
|
|
||||||
//무장
|
//무장
|
||||||
if ($strength >= $intel) {
|
if ($strength >= $intel) {
|
||||||
@@ -241,6 +241,9 @@ class GeneralAI
|
|||||||
|
|
||||||
protected function do부대전방발령(LastTurn $lastTurn): ?NationCommand
|
protected function do부대전방발령(LastTurn $lastTurn): ?NationCommand
|
||||||
{
|
{
|
||||||
|
if(!$this->nation['capital']){
|
||||||
|
return null;
|
||||||
|
}
|
||||||
if(!$this->frontCities){
|
if(!$this->frontCities){
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -343,6 +346,9 @@ class GeneralAI
|
|||||||
|
|
||||||
protected function do부대후방발령(LastTurn $lastTurn): ?NationCommand
|
protected function do부대후방발령(LastTurn $lastTurn): ?NationCommand
|
||||||
{
|
{
|
||||||
|
if(!$this->nation['capital']){
|
||||||
|
return null;
|
||||||
|
}
|
||||||
if(!$this->frontCities){
|
if(!$this->frontCities){
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -430,6 +436,9 @@ class GeneralAI
|
|||||||
|
|
||||||
protected function do부대유저장후방발령(LastTurn $lastTurn): ?NationCommand
|
protected function do부대유저장후방발령(LastTurn $lastTurn): ?NationCommand
|
||||||
{
|
{
|
||||||
|
if(!$this->nation['capital']){
|
||||||
|
return null;
|
||||||
|
}
|
||||||
if($this->dipState !== self::d전쟁){
|
if($this->dipState !== self::d전쟁){
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -536,6 +545,9 @@ class GeneralAI
|
|||||||
}
|
}
|
||||||
protected function do유저장후방발령(LastTurn $lastTurn): ?NationCommand
|
protected function do유저장후방발령(LastTurn $lastTurn): ?NationCommand
|
||||||
{
|
{
|
||||||
|
if(!$this->nation['capital']){
|
||||||
|
return null;
|
||||||
|
}
|
||||||
if($this->dipState !== self::d전쟁){
|
if($this->dipState !== self::d전쟁){
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -605,6 +617,9 @@ class GeneralAI
|
|||||||
|
|
||||||
protected function do유저장구출발령(LastTurn $lastTurn): ?NationCommand
|
protected function do유저장구출발령(LastTurn $lastTurn): ?NationCommand
|
||||||
{
|
{
|
||||||
|
if(!$this->nation['capital']){
|
||||||
|
return null;
|
||||||
|
}
|
||||||
if (in_array($this->dipState, [self::d평화, self::d선포])) {
|
if (in_array($this->dipState, [self::d평화, self::d선포])) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -652,6 +667,9 @@ class GeneralAI
|
|||||||
|
|
||||||
protected function do유저장전방발령(LastTurn $lastTurn): ?NationCommand
|
protected function do유저장전방발령(LastTurn $lastTurn): ?NationCommand
|
||||||
{
|
{
|
||||||
|
if(!$this->nation['capital']){
|
||||||
|
return null;
|
||||||
|
}
|
||||||
if(!$this->frontCities){
|
if(!$this->frontCities){
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -706,7 +724,10 @@ class GeneralAI
|
|||||||
|
|
||||||
protected function do유저장내정발령(LastTurn $lastTurn): ?NationCommand
|
protected function do유저장내정발령(LastTurn $lastTurn): ?NationCommand
|
||||||
{
|
{
|
||||||
if(count($this->supplyCitiesID) === 1){
|
if(!$this->nation['capital']){
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
if(count($this->supplyCities) === 1){
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -775,6 +796,9 @@ class GeneralAI
|
|||||||
|
|
||||||
protected function doNPC후방발령(LastTurn $lastTurn): ?NationCommand
|
protected function doNPC후방발령(LastTurn $lastTurn): ?NationCommand
|
||||||
{
|
{
|
||||||
|
if(!$this->nation['capital']){
|
||||||
|
return null;
|
||||||
|
}
|
||||||
if(!$this->frontCities){
|
if(!$this->frontCities){
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -848,6 +872,9 @@ class GeneralAI
|
|||||||
|
|
||||||
protected function doNPC구출발령(LastTurn $lastTurn): ?NationCommand
|
protected function doNPC구출발령(LastTurn $lastTurn): ?NationCommand
|
||||||
{
|
{
|
||||||
|
if(!$this->nation['capital']){
|
||||||
|
return null;
|
||||||
|
}
|
||||||
//고립 도시 장수 발령
|
//고립 도시 장수 발령
|
||||||
$args = [];
|
$args = [];
|
||||||
foreach ($this->lostGenerals as $lostGeneral) {
|
foreach ($this->lostGenerals as $lostGeneral) {
|
||||||
@@ -873,6 +900,9 @@ class GeneralAI
|
|||||||
|
|
||||||
protected function doNPC전방발령(LastTurn $lastTurn): ?NationCommand
|
protected function doNPC전방발령(LastTurn $lastTurn): ?NationCommand
|
||||||
{
|
{
|
||||||
|
if(!$this->nation['capital']){
|
||||||
|
return null;
|
||||||
|
}
|
||||||
if(!$this->frontCities){
|
if(!$this->frontCities){
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -927,7 +957,10 @@ class GeneralAI
|
|||||||
|
|
||||||
protected function doNPC내정발령(LastTurn $lastTurn): ?NationCommand
|
protected function doNPC내정발령(LastTurn $lastTurn): ?NationCommand
|
||||||
{
|
{
|
||||||
if(count($this->supplyCitiesID) === 1){
|
if(!$this->nation['capital']){
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
if(count($this->supplyCities) === 1){
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1035,6 +1068,9 @@ class GeneralAI
|
|||||||
}
|
}
|
||||||
//국고와 '충분한 금액'의 기하평균
|
//국고와 '충분한 금액'의 기하평균
|
||||||
$payAmount = sqrt(($enoughMoney - $targetUserGeneral->getVar($resName)) * $resVal);
|
$payAmount = sqrt(($enoughMoney - $targetUserGeneral->getVar($resName)) * $resVal);
|
||||||
|
if($payAmount < $this->nationPolicy->minimumResourceActionAmount){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if ($resVal < $payAmount / 2) {
|
if ($resVal < $payAmount / 2) {
|
||||||
continue;
|
continue;
|
||||||
@@ -1127,6 +1163,9 @@ class GeneralAI
|
|||||||
}
|
}
|
||||||
//국고와 '충분한 금액'의 기하평균
|
//국고와 '충분한 금액'의 기하평균
|
||||||
$payAmount = sqrt(($enoughMoney - $targetUserGeneral->getVar($resName)) * $resVal);
|
$payAmount = sqrt(($enoughMoney - $targetUserGeneral->getVar($resName)) * $resVal);
|
||||||
|
if($payAmount < $this->nationPolicy->minimumResourceActionAmount){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if ($resVal < $payAmount / 2) {
|
if ($resVal < $payAmount / 2) {
|
||||||
continue;
|
continue;
|
||||||
@@ -1203,6 +1242,10 @@ class GeneralAI
|
|||||||
//국고와 '충분한 금액'의 기하평균
|
//국고와 '충분한 금액'의 기하평균
|
||||||
$payAmount = sqrt(($enoughMoney - $targetNPCGeneral->getVar($resName)) * $resVal);
|
$payAmount = sqrt(($enoughMoney - $targetNPCGeneral->getVar($resName)) * $resVal);
|
||||||
|
|
||||||
|
if($payAmount < $this->nationPolicy->minimumResourceActionAmount){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if ($resVal < $payAmount / 2) {
|
if ($resVal < $payAmount / 2) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -1308,6 +1351,10 @@ class GeneralAI
|
|||||||
$payAmount = $enoughMoney - $targetNPCGeneral->getVar($resName);
|
$payAmount = $enoughMoney - $targetNPCGeneral->getVar($resName);
|
||||||
$payAmount = Util::valueFit($payAmount, 100, GameConst::$maxResourceActionAmount);
|
$payAmount = Util::valueFit($payAmount, 100, GameConst::$maxResourceActionAmount);
|
||||||
|
|
||||||
|
if($payAmount < $this->nationPolicy->minimumResourceActionAmount){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
$candidateArgs[] = [[
|
$candidateArgs[] = [[
|
||||||
'destGeneralID' => $targetNPCGeneral->getID(),
|
'destGeneralID' => $targetNPCGeneral->getID(),
|
||||||
'isGold' => $resName == 'gold',
|
'isGold' => $resName == 'gold',
|
||||||
@@ -1374,6 +1421,9 @@ class GeneralAI
|
|||||||
|
|
||||||
$takeAmount = $targetNPCGeneral->getVar($resName) - $reqNPCMinDevelRes;
|
$takeAmount = $targetNPCGeneral->getVar($resName) - $reqNPCMinDevelRes;
|
||||||
$takeAmount = Util::valueFit($takeAmount, 100, GameConst::$maxResourceActionAmount);
|
$takeAmount = Util::valueFit($takeAmount, 100, GameConst::$maxResourceActionAmount);
|
||||||
|
if($takeAmount < $this->nationPolicy->minimumResourceActionAmount){
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
$candidateArgs[] = [[
|
$candidateArgs[] = [[
|
||||||
'destGeneralID' => $targetNPCGeneral->getID(),
|
'destGeneralID' => $targetNPCGeneral->getID(),
|
||||||
@@ -1430,6 +1480,10 @@ class GeneralAI
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($takeAmount < $this->nationPolicy->minimumResourceActionAmount){
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
$takeAmount = Util::valueFit($takeAmount, 100, GameConst::$maxResourceActionAmount);
|
$takeAmount = Util::valueFit($takeAmount, 100, GameConst::$maxResourceActionAmount);
|
||||||
$candidateArgs[] = [[
|
$candidateArgs[] = [[
|
||||||
'destGeneralID' => $targetNPCGeneral->getID(),
|
'destGeneralID' => $targetNPCGeneral->getID(),
|
||||||
|
|||||||
@@ -127,6 +127,6 @@ class DyingMessage{
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return JosaUtil::batch($text, $name);
|
return JosaUtil::batch($text);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3,7 +3,7 @@ namespace sammo;
|
|||||||
|
|
||||||
class GameUnitConst extends GameUnitConstBase
|
class GameUnitConst extends GameUnitConstBase
|
||||||
{
|
{
|
||||||
const DEFAULT_CREWTYPE = 217001;
|
const DEFAULT_CREWTYPE = 217100;
|
||||||
|
|
||||||
protected static $typeData = [
|
protected static $typeData = [
|
||||||
self::T_FOOTMAN => '보병',
|
self::T_FOOTMAN => '보병',
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ namespace sammo;
|
|||||||
|
|
||||||
class GameUnitConst extends GameUnitConstBase
|
class GameUnitConst extends GameUnitConstBase
|
||||||
{
|
{
|
||||||
const DEFAULT_CREWTYPE = 40;
|
const DEFAULT_CREWTYPE = 1500;
|
||||||
|
|
||||||
protected static $_buildData = [
|
protected static $_buildData = [
|
||||||
[
|
[
|
||||||
|
|||||||
Reference in New Issue
Block a user