mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Epic mode option in Practise Tools
This commit is contained in:
parent
12913051a7
commit
7ab457676d
2 changed files with 10 additions and 3 deletions
|
|
@ -606,6 +606,7 @@
|
|||
}
|
||||
],
|
||||
"versions": {
|
||||
"1.1.0": null,
|
||||
"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