1
This commit is contained in:
parent
6235c6031c
commit
d7b3e76489
@ -25,8 +25,8 @@ define('QUEST_SUM_FIGHT', 72003);
|
||||
define('QUEST_SUM_SUPPLY', 72004);
|
||||
define('QUEST_SUM_EQUIPMAX', 72005);
|
||||
define('QUEST_SUM_TEAM', 72006);
|
||||
define('QUEST_SUM_TEAMWIM', 72007);
|
||||
define('QUEST_SUM_FRITEAMWIN', 72008);
|
||||
define('QUEST_SUM_WIM', 72007);
|
||||
define('QUEST_SUM_TEAMWIN', 72008);
|
||||
define('QUEST_SUM_ALIVE', 72009);
|
||||
define('QUEST_SUM_HARM', 72010);
|
||||
define('QUEST_SUM_KILL', 72011);
|
||||
|
@ -202,17 +202,17 @@ class RoleController{
|
||||
$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) {
|
||||
if ($team_status == 1 && $rank <= 5) {
|
||||
$quest->triggerQuest(QUEST_DAY_RANK, 1, 1, $account_id);
|
||||
}
|
||||
if ($team_status == 1 && $rank == 1) {
|
||||
$quest->triggerQuest(QUEST_SUM_TEAMWIM, 2, 1, $account_id);
|
||||
if ($team_status == 0 && $rank == 1) {
|
||||
$quest->triggerQuest(QUEST_SUM_WIM, 2, 1, $account_id);
|
||||
}
|
||||
if ($team_status == 2) {
|
||||
if ($team_status == 1) {
|
||||
$quest->triggerQuest(QUEST_DAY_TEAM, 1, 1, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_TEAM, 2, 1, $account_id);
|
||||
if ($rank == 1) {
|
||||
$quest->triggerQuest(QUEST_SUM_FRITEAMWIN, 2, 1, $account_id);
|
||||
$quest->triggerQuest(QUEST_SUM_TEAMWIN, 2, 1, $account_id);
|
||||
}
|
||||
}
|
||||
echo json_encode(array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user