1
This commit is contained in:
parent
f7349279f3
commit
fdec13f70a
@ -181,7 +181,8 @@ class RoomBattleDataService extends BaseService {
|
|||||||
'account' => $userDb['account_id'],
|
'account' => $userDb['account_id'],
|
||||||
'heroBattleTimes' => $heroTimes,
|
'heroBattleTimes' => $heroTimes,
|
||||||
'goldModeTimes' => $goldModeTimes,
|
'goldModeTimes' => $goldModeTimes,
|
||||||
'validTimeBool' => Hero::verifyValid($heroDb) ? 1:0
|
'validTimeBool' => Hero::verifyValid($heroDb) ? 1:0,
|
||||||
|
'heroInfo'=> $heroDb
|
||||||
)));
|
)));
|
||||||
//金币模式检验
|
//金币模式检验
|
||||||
if ($this->mapMode == mt\MapMode::GOLD_MODE &&
|
if ($this->mapMode == mt\MapMode::GOLD_MODE &&
|
||||||
@ -191,7 +192,7 @@ class RoomBattleDataService extends BaseService {
|
|||||||
}else{
|
}else{
|
||||||
error_log('settlementReward : star');
|
error_log('settlementReward : star');
|
||||||
if ($this->mapMode == mt\MapMode::GOLD_MODE){
|
if ($this->mapMode == mt\MapMode::GOLD_MODE){
|
||||||
myself()->_incDailyV(TN_DAILY_GOLD_MODE_BATTLE_TIMES,$heroDb['idx'],1);
|
myself()->_incDailyV(TN_DAILY_GOLD_MODE_BATTLE_TIMES,(int)$heroDb['idx'],1);
|
||||||
myself()->_incDailyV(TN_DAILY_GOLD_MODE_BATTLE_TIMES,0,1);
|
myself()->_incDailyV(TN_DAILY_GOLD_MODE_BATTLE_TIMES,0,1);
|
||||||
}
|
}
|
||||||
error_log('settlementReward : test1');
|
error_log('settlementReward : test1');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user