1
This commit is contained in:
parent
1c22969a07
commit
aa2110cb13
@ -100,8 +100,8 @@ class DouRewardController{
|
|||||||
$delim = "|";
|
$delim = "|";
|
||||||
$drop_multiply = explode($delim, $row['item_id']);
|
$drop_multiply = explode($delim, $row['item_id']);
|
||||||
$num_multiply = explode($delim, $row['item_num']);
|
$num_multiply = explode($delim, $row['item_num']);
|
||||||
error_log(json_encode($drop_multiply));
|
//error_log(json_encode($drop_multiply));
|
||||||
error_log(json_encode($num_multiply));
|
//error_log(json_encode($num_multiply));
|
||||||
for ($i = 0; $i < count($drop_multiply); $i++) {
|
for ($i = 0; $i < count($drop_multiply); $i++) {
|
||||||
$item_id = $drop_multiply[$i];
|
$item_id = $drop_multiply[$i];
|
||||||
$num = $num_multiply[$i];
|
$num = $num_multiply[$i];
|
||||||
|
@ -239,9 +239,9 @@ class RoleController{
|
|||||||
$quest->triggerQuest(QUEST_SUM_ALIVE, 2, $skill, $account_id);
|
$quest->triggerQuest(QUEST_SUM_ALIVE, 2, $skill, $account_id);
|
||||||
$quest->triggerQuest(QUEST_SUM_HARM, 2, $harm, $account_id);
|
$quest->triggerQuest(QUEST_SUM_HARM, 2, $harm, $account_id);
|
||||||
$quest->triggerQuest(QUEST_SUM_KILL, 2, $kills, $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_TANK1KILL, 2, $tank1_kill, $account_id);
|
||||||
$quest->triggerQuest(QUEST_SUM_TANK2KILL, 2, $tank2_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_TANK3KILL, 2, $tank3_kill, $account_id);
|
||||||
if ($rank <= 5) {
|
if ($rank <= 5) {
|
||||||
$quest->triggerQuest(QUEST_DAY_RANK, 1, 1, $account_id);
|
$quest->triggerQuest(QUEST_DAY_RANK, 1, 1, $account_id);
|
||||||
}
|
}
|
||||||
|
@ -155,7 +155,6 @@ class TankController{
|
|||||||
array(
|
array(
|
||||||
':account_id' => $account_id,
|
':account_id' => $account_id,
|
||||||
));
|
));
|
||||||
|
|
||||||
foreach ($rows as $row) {
|
foreach ($rows as $row) {
|
||||||
$t = $this->getTank($row['tank_id']);
|
$t = $this->getTank($row['tank_id']);
|
||||||
if(time() >= $row['active_time'] && $row['active_time'] != 0){
|
if(time() >= $row['active_time'] && $row['active_time'] != 0){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user