1
This commit is contained in:
parent
846c5140ed
commit
ab1020c877
@ -580,7 +580,6 @@ class MissionService extends BaseService {
|
|||||||
|
|
||||||
private function refreshOfferRewardMission()
|
private function refreshOfferRewardMission()
|
||||||
{
|
{
|
||||||
$this->offerRewartdMission['refreshtime'] = myself()->_getDaySeconds(myself()->_getNowTime());
|
|
||||||
$wantedRefreshMissionNum = mt\Parameter::getVal
|
$wantedRefreshMissionNum = mt\Parameter::getVal
|
||||||
('wanted_refresh_mission_num', 0);
|
('wanted_refresh_mission_num', 0);
|
||||||
if (count($this->offerRewartdMission['missions']) >= 10){
|
if (count($this->offerRewartdMission['missions']) >= 10){
|
||||||
@ -627,7 +626,7 @@ class MissionService extends BaseService {
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$this->offerRewartdMission['refreshtime'] = myself()->_getDaySeconds(myself()->_getNowTime());
|
||||||
$this->saveOfferRewardMission();
|
$this->saveOfferRewardMission();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -995,7 +994,9 @@ class MissionService extends BaseService {
|
|||||||
//(PVE角色NFT每日获得极限(CEG)+PVE武器NFT每日获得极限(CEG))*90%/悬赏任务数量
|
//(PVE角色NFT每日获得极限(CEG)+PVE武器NFT每日获得极限(CEG))*90%/悬赏任务数量
|
||||||
$totalHeroUpLimit = 0;
|
$totalHeroUpLimit = 0;
|
||||||
$totalGunUpLimit = 0;
|
$totalGunUpLimit = 0;
|
||||||
$count = $this->getOfferRewardMissionCount();
|
// $count = $this->getOfferRewardMissionCount();
|
||||||
|
$count = mt\Parameter::getVal
|
||||||
|
('wanted_refresh_mission_num', 0);
|
||||||
$propertyChgService->addUserChg();
|
$propertyChgService->addUserChg();
|
||||||
foreach ($mission['objects'] as $obj) {
|
foreach ($mission['objects'] as $obj) {
|
||||||
switch ($obj['type']) {
|
switch ($obj['type']) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user