1
This commit is contained in:
parent
4d4eefe418
commit
2c38ca706d
@ -517,6 +517,17 @@ class BattleDataService extends BaseService {
|
||||
|
||||
private function rewardFragmentPvp()
|
||||
{
|
||||
{
|
||||
$ranked = getReqVal('ranked', 0);
|
||||
$kills = getReqVal('kills', 0);
|
||||
$aliveTime = getReqVal('alive_time', 0);
|
||||
$cond = (1 - ($ranked >= 30 ? 1 : 0)) *
|
||||
($kills >= 1 ? 1 : 0) *
|
||||
($aliveTime >= 30 ? 1 : 0);
|
||||
if (!$cond) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
$todayPveGetFragmentNum = myself()->_getDailyV(TN_DAILY_PVE_GET_FRAGMENT_NUM, 0);
|
||||
$todayPvpGetFragmentNum = myself()->_getDailyV(TN_DAILY_PVP_GET_FRAGMENT_NUM, 0);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user