mirror of
https://github.com/DarkflameUniverse/DarkflameServer
synced 2024-08-30 18:43:58 +00:00
Updated comment
This commit is contained in:
parent
2bc9f8f66d
commit
3d1283675f
@ -343,10 +343,8 @@ void MissionTask::Progress(int32_t value, LWOOBJID associate, const std::string&
|
||||
if (info->target != gameID) {
|
||||
break;
|
||||
}
|
||||
// Lego Universe is a great game with very easy to understand mission progression.
|
||||
// If we are progressing a mission for shooting gallery we need to set its
|
||||
// completion to 1 and not the targetValue beacuse that makes sense
|
||||
// compared to all other missions and tasks :)
|
||||
// This special case is for shooting gallery missions that want their
|
||||
// progress value set to 1 instead of being set to the target value.
|
||||
if(info->targetGroup == targets && value >= info->targetValue && GetMission()->IsMission() && info->target == 1864 && info->targetGroup == "performact_score") {
|
||||
SetProgress(1);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user