mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2026-08-15 13:03:08 +00:00
Merge pull request #148 from bombsquad-community/slow-motion-option-in-practise-tools
Epic mode option in Practise Tools
This commit is contained in:
commit
ca6f513ca6
2 changed files with 14 additions and 2 deletions
|
|
@ -606,6 +606,12 @@
|
|||
}
|
||||
],
|
||||
"versions": {
|
||||
"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",
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue