|
@@ -232,9 +232,10 @@ def add_auto_task(isMaxCollect, isJina, isSimple = False, isAddStrengh = False,
|
|
write_Dailycfg(config)
|
|
write_Dailycfg(config)
|
|
|
|
|
|
if isDailyConfig and fight_big_monster_times < 10:
|
|
if isDailyConfig and fight_big_monster_times < 10:
|
|
- task_queue.appendleft(task_fightMonster(isAddStrengh, True, isSimple))
|
|
|
|
- set_fight_big_monster_times(config, fight_big_monster_times + 1)
|
|
|
|
- write_Dailycfg(config)
|
|
|
|
|
|
+ isSuccess = task_fightMonster(isAddStrengh, True, isSimple)
|
|
|
|
+ if isSuccess:
|
|
|
|
+ set_fight_big_monster_times(config, fight_big_monster_times + 1)
|
|
|
|
+ write_Dailycfg(config)
|
|
|
|
|
|
|
|
|
|
|
|
|