add FormulaService.php

This commit is contained in:
aozhiwei 2022-05-25 15:27:18 +08:00
parent 877585442b
commit 01c00b12af
2 changed files with 57 additions and 0 deletions

View File

@ -352,6 +352,16 @@ class BattleDataService extends BaseService {
}
private function rewardGold($heroDb)
{
$heroMeta = mt\Item::get($heroDb['hero_id']);
if (!$heroMeta) {
return;
}
$killMeta = mt\KillReward::get(getReqVal('kills', 0));
$rankMeta = mt\RankReward::get(getReqVal('ranked', 0));
}
private function oldRewardGold($heroDb)
{
$heroMeta = mt\Item::get($heroDb['hero_id']);
if (!$heroMeta) {

View File

@ -0,0 +1,47 @@
<?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)
{
return 0;
}
public static function calcHeroPveCeg($heroDb)
{
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;
}
}