add FormulaService.php
This commit is contained in:
parent
877585442b
commit
01c00b12af
@ -352,6 +352,16 @@ class BattleDataService extends BaseService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private function rewardGold($heroDb)
|
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']);
|
$heroMeta = mt\Item::get($heroDb['hero_id']);
|
||||||
if (!$heroMeta) {
|
if (!$heroMeta) {
|
||||||
|
47
webapp/services/FormulaService.php
Normal file
47
webapp/services/FormulaService.php
Normal 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;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user