버그 수정
This commit is contained in:
+1
-1
@@ -130,7 +130,7 @@ if (!$city) {
|
|||||||
$city = $db->queryFirstField("select city from city where level>=5 and level<=6 order by rand() limit 0,1");
|
$city = $db->queryFirstField("select city from city where level>=5 and level<=6 order by rand() limit 0,1");
|
||||||
}
|
}
|
||||||
|
|
||||||
$pleadershipship = 0;
|
$pleadership = 0;
|
||||||
$pstrength = 0;
|
$pstrength = 0;
|
||||||
$pintel = 0;
|
$pintel = 0;
|
||||||
for ($statBonusCnt = 3 + mt_rand(0, 2); $statBonusCnt > 0; $statBonusCnt--) {
|
for ($statBonusCnt = 3 + mt_rand(0, 2); $statBonusCnt > 0; $statBonusCnt--) {
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ class che_장비매매 extends Command\GeneralCommand{
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$itemCode = $this->arg['itemCode']??null;
|
$itemCode = $this->arg['itemCode']??null;
|
||||||
if(!key_exists($itemCode, GameConst::$allItems[$itemType])){
|
if(!key_exists($itemCode, GameConst::$allItems[$itemType]) && $itemCode !== 'None'){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$itemClass = buildItemClass($itemCode);
|
$itemClass = buildItemClass($itemCode);
|
||||||
@@ -208,7 +208,7 @@ $('#customSubmit').click(function(){
|
|||||||
//매각
|
//매각
|
||||||
$typeName = static::$itemMap[$itemType];
|
$typeName = static::$itemMap[$itemType];
|
||||||
?>
|
?>
|
||||||
<option value='None' data-itemType='<?=$itemType?>' style='color:skyblue'>_____<?=$typeName?>매각(반값)____</option>
|
<option value='None' data-item_type='<?=$itemType?>' style='color:skyblue'>_____<?=$typeName?>매각(반값)____</option>
|
||||||
<?php foreach($itemCategories as $itemCode=>$cnt) :
|
<?php foreach($itemCategories as $itemCode=>$cnt) :
|
||||||
if($cnt > 0){
|
if($cnt > 0){
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user