55 lines
1.4 KiB
PHP
55 lines
1.4 KiB
PHP
<?php
|
|
|
|
namespace services;
|
|
|
|
class FormulaService extends BaseService {
|
|
|
|
public static function getHeroPvpDailyCegUpLimit($heroDb)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
public static function getHeroPveDailyCegUpLimit($heroDb)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
public static function calcHeroPvpCeg($heroDb, $params)
|
|
{
|
|
//PVP角色NFT每日获得极限*(50%*[每局排名TopX%对应比例]+25%*[每局PK人数排名TopX%对应比例]+15%*[每局英雄属性排名TopX%对应比例]+5%*[每局武器属性排名TopX%对应比例]+5%*[每局存活时间排名TopX%对应比例])
|
|
$upLimit = getXVal($params, 'uplimit');
|
|
$ranked = getXVal($params, 'ranked');
|
|
$killsRanked = getXVal($params, 'kills_ranked');
|
|
$heroRanked = getXVal($params, 'hero_ranked');
|
|
$weaponRanked = getXVal($params, 'weapon_ranked');
|
|
$aliveRanked = getXVal($params, 'alive_ranked');
|
|
return 0;
|
|
}
|
|
|
|
public static function calcHeroPveCeg($heroDb, $uplimit)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
public static function getWeaponPvpDailyCegUpLimit($weaponDb)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
public static function getWeaponPveDailyCegUpLimit($weaponDb)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
public static function calcWeaponPvpCeg($weaponDb)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
public static function calcWeaponPveCeg($weaponDb)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
}
|