MCPcopy Create free account
hub / github.com/runhey/OnmyojiAutoScript / run

Method run

tasks/DailyTrifles/script_task.py:22–33  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

20class ScriptTask(GameUi, Summon, DailyTriflesAssets):
21
22 def run(self):
23 con = self.config.daily_trifles.trifles_config
24 if con.one_summon:
25 self.run_one_summon()
26 if con.guild_wish:
27 pass
28 if con.friend_love:
29 self.run_friend_love()
30 if con.store_sign:
31 self.run_store_sign()
32 self.set_next_run('DailyTrifles', success=True, finish=False)
33 raise TaskEnd('DailyTrifles')
34
35 def run_one_summon(self):
36 self.ui_get_current_page()

Callers

nothing calls this directly

Calls 5

run_one_summonMethod · 0.95
run_friend_loveMethod · 0.95
run_store_signMethod · 0.95
TaskEndClass · 0.90
set_next_runMethod · 0.80

Tested by

no test coverage detected