File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ classifiers = [
2222keywords =[' helldivers2' ,' api' ]
2323requires-python = " >=3.8.1"
2424
25- version = ' 0.0.1.19.7 '
25+ version = ' 0.0.1.19.8 '
2626dependencies = [
2727" pydantic>=2.9.2" ,
2828" httpx>=0.27.2"
Original file line number Diff line number Diff line change 147147 "R" : "Extract from a successful #MTYPE against #RACE #DIFF_PRE#DIFF#DIFF_POST#COUNT_PRE#COUNT#COUNT_POST#MULTI#LOCATION_PRE#LOCATION#LOCATION_POST"
148148 },
149149 9 : {
150- "R" : "Complete an Operation against #RACE #DIFF_PRE#DIFF#DIFF_POST#COUNT_PRE#COUNT#COUNT_POST"
150+ "C" : "Complete an Operation #DIFF_PRE#DIFF#DIFF_POST#COUNT_PRE#COUNT#COUNT_POST" ,
151+ "R" : "Complete an Operation against #RACE #DIFF_PRE#DIFF#DIFF_POST#COUNT_PRE#COUNT#COUNT_POST" ,
151152 },
152153 11 : {
153154 "L" : "Liberate **#LOCATION**" ,
Original file line number Diff line number Diff line change @@ -149,8 +149,10 @@ def format_task_str(
149149 params = taskdata .make_params (planets )
150150 if self .type == 9 :
151151 if "#COUNT" in params and "#RACE" in params :
152+ if params ["#RACE" ] == "Anything" :
153+ return taskstr + makeline (lines [9 ]["C" ], params )
152154 return taskstr + makeline (lines [9 ]["R" ], params )
153- return taskstr + makeline (lines [9 ]["R " ], params )
155+ return taskstr + makeline (lines [9 ]["C " ], params )
154156 elif self .type == 7 :
155157 if "#COUNT" in params and "#RACE" in params :
156158 return taskstr + makeline (lines [7 ]["R" ], params )
You can’t perform that action at this time.
0 commit comments