1
This commit is contained in:
parent
6d8751cf0d
commit
88dd7e25bd
@ -192,27 +192,27 @@ class RoleController{
|
||||
$quest->triggerQuest(QUEST_DAY_KILL, 1, $kills, $account_id);
|
||||
$quest->triggerQuest(QUEST_DAY_GAME, 1, 1, $account_id);
|
||||
$quest->triggerQuest(QUEST_DAY_HELP, 1, $rescue_member, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_FIGHT, 1, 1, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_ALIVE, 1, $alive_time, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_HARM, 1, $harm, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_KILL, 1, $kills, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_GAME, 1, 1, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_HELP, 1, $rescue_member, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_SNIPEKILL, 1, $snipe_kill, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_RIFLEKILL, 1, $rifle_kill, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_PISTOLKILL, 1, $pistol_kill, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_SUBMACKILL, 1, $submachine_kill, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_FIGHT, 2, 1, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_ALIVE, 2, $alive_time, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_HARM, 2, $harm, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_KILL, 2, $kills, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_GAME, 2, 1, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_HELP, 2, $rescue_member, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_SNIPEKILL, 2, $snipe_kill, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_RIFLEKILL, 2, $rifle_kill, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_PISTOLKILL, 2, $pistol_kill, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_SUBMACKILL, 2, $submachine_kill, $account_id);
|
||||
if ($team_status != 0 && $rank <= 5) {
|
||||
$quest->triggerQuest(QUEST_DAY_RANK, 1, 1, $account_id);
|
||||
}
|
||||
if ($team_status == 1 && $rank == 1) {
|
||||
$quest->triggerQuest(QUEST_SUM_TEAMWIM, 1, 1, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_TEAMWIM, 2, 1, $account_id);
|
||||
}
|
||||
if ($team_status == 2) {
|
||||
$quest->triggerQuest(QUEST_DAY_TEAM, 1, 1, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_TEAM, 1, 1, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_TEAM, 2, 1, $account_id);
|
||||
if ($rank == 1) {
|
||||
$quest->triggerQuest(QUEST_SUM_FRITEAMWIN, 1, 1, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_FRITEAMWIN, 2, 1, $account_id);
|
||||
}
|
||||
}
|
||||
echo json_encode(array(
|
||||
@ -272,7 +272,7 @@ class RoleController{
|
||||
}
|
||||
$quest = new classes\Quest();
|
||||
$quest->triggerQuest(QUEST_DAY_SHARE, 1, 1, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_SHARE, 1, 1, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_SHARE, 2, 1, $account_id);
|
||||
}
|
||||
|
||||
public function historyInfo()
|
||||
|
Loading…
x
Reference in New Issue
Block a user