This commit is contained in:
aozhiwei 2022-09-22 11:34:25 +08:00
parent 4c7318804c
commit ce9658e493
2 changed files with 5 additions and 1 deletions

View File

@ -524,7 +524,7 @@ class BattleDataService extends BaseService {
$todayPvpBattleTimes = myself()->_getDailyV(TN_DAILY_PVP_BATTLE_TIMES, 0);
$onlineNum = RealtimeData::getOnline();
$heroFragmentNum = FragmentPool::getHeroNum0();
$heroFragmentNum = FragmentPool::getHeroNum(0);
$gunFragmentNum = FragmentPool::getGunNum(0);
$heroProbability = FormulaService::calcHeroFragmentProbabilityPvp

View File

@ -60,6 +60,10 @@ class FormulaService extends BaseService {
{
//PVP武器NFT每日获得极限*(50%*[每局排名TopX%对应比例]+25%*[每局PK人数排名TopX%对应比例]+15%*[每局英雄属性排名TopX%对应比例]+5%*[每局武器属性排名TopX%对应比例]+5%*[每局存活时间排名TopX%对应比例])
$upLimit = $weaponDto['pvp_ceg_uplimit'];
$ranked= getXVal($params, 'ranked');
$kills = getXVal($params, 'kills');
$aliveTime = getXVal($params, 'alive_time');
$rankedTopX= getXVal($params, 'ranked_topx');
$killsTopX = getXVal($params, 'kills_topx');
$heroTopX = getXVal($params, 'hero_topx');