From 7ab457676decaeea2dc45c5617a56230a9570d82 Mon Sep 17 00:00:00 2001 From: Rikko Date: Thu, 15 Jun 2023 23:05:11 +0530 Subject: [PATCH 1/2] Epic mode option in Practise Tools --- plugins/utilities.json | 3 ++- plugins/utilities/practice_tools.py | 10 ++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index fcbd800..2cffc1c 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -606,6 +606,7 @@ } ], "versions": { + "1.1.0": null, "1.0.0": { "api_version": 7, "commit_sha": "800125c", @@ -697,4 +698,4 @@ } } } -} \ No newline at end of file +} diff --git a/plugins/utilities/practice_tools.py b/plugins/utilities/practice_tools.py index c830ada..d9cda1e 100644 --- a/plugins/utilities/practice_tools.py +++ b/plugins/utilities/practice_tools.py @@ -1348,8 +1348,8 @@ class OthersPracticeTab(PracticeTab): self.count = 1 self.parent_widget = None self.activity = _ba.get_foreground_host_activity() - self.setting_name = (['Pause On Window', 'Invincible']) - self.config = (['pause', 'invincible']) + self.setting_name = (['Pause On Window', 'Invincible', 'Epic Mode']) + self.config = (['pause', 'invincible', 'epic']) def on_activate( self, @@ -1462,6 +1462,12 @@ class OthersPracticeTab(PracticeTab): i.actor.node.invincible = False except: pass + elif setting == 2: + activity = _ba.get_foreground_host_activity() + if value: + activity.globalsnode.slow_motion = True + else: + activity.globalsnode.slow_motion = False class PracticeWindow(ba.Window): From 3b54b764ddcca8d8e219280b47eae287093ed282 Mon Sep 17 00:00:00 2001 From: rikkolovescats Date: Thu, 15 Jun 2023 17:37:59 +0000 Subject: [PATCH 2/2] [ci] apply-version-metadata --- plugins/utilities.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index 2cffc1c..82edc01 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -606,7 +606,12 @@ } ], "versions": { - "1.1.0": null, + "1.1.0": { + "api_version": 7, + "commit_sha": "7ab4576", + "released_on": "15-06-2023", + "md5sum": "f439f1a9c325f6ac09f2bab23b10e275" + }, "1.0.0": { "api_version": 7, "commit_sha": "800125c", @@ -698,4 +703,4 @@ } } } -} +} \ No newline at end of file