1
This commit is contained in:
parent
88dd7e25bd
commit
a48c260141
@ -59,6 +59,14 @@ class Quest{
|
||||
$quest_state = 1;
|
||||
$this->triggerQuest(QUEST_DAY_COMPLETE, 1, 1, $account_id);
|
||||
}
|
||||
} else if ($q['condition'] == 13 && $quest_type == 1){
|
||||
if ($row['quest_num'] + $quest_num >= $q['value']) {
|
||||
$quest_num = $q['value'];
|
||||
$quest_state = 1;
|
||||
} else {
|
||||
$quest_num = $row['quest_num'] + $quest_num;
|
||||
$quest_state = 0;
|
||||
}
|
||||
} else {
|
||||
if ($row['quest_num'] + $quest_num >= $q['value']) {
|
||||
$quest_num = $q['value'];
|
||||
@ -91,6 +99,11 @@ class Quest{
|
||||
$quest_state = 1;
|
||||
$this->triggerQuest(QUEST_DAY_COMPLETE, 1, 1, $account_id);
|
||||
}
|
||||
} else if ($q['condition'] == 13 && $quest_type == 1){
|
||||
if ($row['quest_num'] >= $q['value']) {
|
||||
$quest_num = $q['value'];
|
||||
$quest_state = 1;
|
||||
}
|
||||
} else {
|
||||
if ($quest_num >= $q['value']) {
|
||||
$quest_num = $q['value'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user