mirror of
https://github.com/lcdr/luserver.git
synced 2025-12-19 04:29:56 -06:00
v2017.10.29
- more skill logging - fixed a conflict error - implemented "collect powerup" mission task type - fixed objects not spawning on block yard
This commit is contained in:
@@ -119,7 +119,7 @@ class Init:
|
||||
# tasks
|
||||
tasks = []
|
||||
for task_type, target, target_group, target_value, parameter in self.cdclient.execute("select taskType, target, targetGroup, targetValue, taskParam1 from MissionTasks where id = "+str(id)):
|
||||
if task_type in (TaskType.KillEnemy, TaskType.Script, TaskType.QuickBuild, TaskType.ObtainItem, TaskType.MissionComplete, TaskType.TamePet):
|
||||
if task_type in (TaskType.KillEnemy, TaskType.Script, TaskType.QuickBuild, TaskType.ObtainItem, TaskType.MissionComplete, TaskType.CollectPowerup, TaskType.TamePet):
|
||||
target = target,
|
||||
if target_group:
|
||||
target += tuple(int(target_id) for target_id in target_group.split(","))
|
||||
|
||||
Reference in New Issue
Block a user