1
This commit is contained in:
parent
9cf9a9f82c
commit
17efc7f987
@ -682,7 +682,7 @@ class TameBattleDataService extends BaseService {
|
|||||||
$battleTimes = getXVal($data, 'total_battle_times', 0);
|
$battleTimes = getXVal($data, 'total_battle_times', 0);
|
||||||
$items = array();
|
$items = array();
|
||||||
$totalNum = 0;
|
$totalNum = 0;
|
||||||
if ($battleTimes <= 10){
|
if ($battleTimes <= mt\Parameter::getVal('rookie_map_counts',10)){
|
||||||
$totalNum = 10;
|
$totalNum = 10;
|
||||||
array_push($items,array(
|
array_push($items,array(
|
||||||
'item_id' => V_ITEM_STAR,
|
'item_id' => V_ITEM_STAR,
|
||||||
@ -726,7 +726,7 @@ class TameBattleDataService extends BaseService {
|
|||||||
$seasonBattleData = isset($battleData) ? getXVal($battleData, 'data', array()) : array();
|
$seasonBattleData = isset($battleData) ? getXVal($battleData, 'data', array()) : array();
|
||||||
$battleTimes = getXVal($seasonBattleData, 'total_battle_times', 0);
|
$battleTimes = getXVal($seasonBattleData, 'total_battle_times', 0);
|
||||||
}
|
}
|
||||||
if ($battleTimes <= 10){
|
if ($battleTimes <= mt\Parameter::getVal('rookie_map_counts',10)){
|
||||||
array_push($reward['items'],array(
|
array_push($reward['items'],array(
|
||||||
'item_id' => V_ITEM_STAR,
|
'item_id' => V_ITEM_STAR,
|
||||||
'item_num' => 10
|
'item_num' => 10
|
||||||
|
Loading…
x
Reference in New Issue
Block a user