This commit is contained in:
aozhiwei 2019-12-03 15:21:12 +08:00
parent 1c22969a07
commit aa2110cb13
3 changed files with 5 additions and 6 deletions

View File

@ -100,8 +100,8 @@ class DouRewardController{
$delim = "|";
$drop_multiply = explode($delim, $row['item_id']);
$num_multiply = explode($delim, $row['item_num']);
error_log(json_encode($drop_multiply));
error_log(json_encode($num_multiply));
//error_log(json_encode($drop_multiply));
//error_log(json_encode($num_multiply));
for ($i = 0; $i < count($drop_multiply); $i++) {
$item_id = $drop_multiply[$i];
$num = $num_multiply[$i];

View File

@ -239,9 +239,9 @@ class RoleController{
$quest->triggerQuest(QUEST_SUM_ALIVE, 2, $skill, $account_id);
$quest->triggerQuest(QUEST_SUM_HARM, 2, $harm, $account_id);
$quest->triggerQuest(QUEST_SUM_KILL, 2, $kills, $account_id);
$quest->triggerQuest(QUEST_SUM_TANK1KILL, 2, $tank1_kill, $account_id);
$quest->triggerQuest(QUEST_SUM_TANK2KILL, 2, $tank2_kill, $account_id);
$quest->triggerQuest(QUEST_SUM_TANK3KILL, 2, $tank3_kill, $account_id);
//$quest->triggerQuest(QUEST_SUM_TANK1KILL, 2, $tank1_kill, $account_id);
//$quest->triggerQuest(QUEST_SUM_TANK2KILL, 2, $tank2_kill, $account_id);
//$quest->triggerQuest(QUEST_SUM_TANK3KILL, 2, $tank3_kill, $account_id);
if ($rank <= 5) {
$quest->triggerQuest(QUEST_DAY_RANK, 1, 1, $account_id);
}

View File

@ -155,7 +155,6 @@ class TankController{
array(
':account_id' => $account_id,
));
foreach ($rows as $row) {
$t = $this->getTank($row['tank_id']);
if(time() >= $row['active_time'] && $row['active_time'] != 0){