mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
[ci] auto-format
This commit is contained in:
parent
41d898aa17
commit
bb0389566a
1 changed files with 2 additions and 5 deletions
|
|
@ -201,8 +201,6 @@ def new_bomb_init(func):
|
||||||
args[0].node.connectattr('position', args[0].radius_visualizer,
|
args[0].node.connectattr('position', args[0].radius_visualizer,
|
||||||
'position')
|
'position')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
args[0].radius_visualizer_circle = bs.newnode(
|
args[0].radius_visualizer_circle = bs.newnode(
|
||||||
'locator',
|
'locator',
|
||||||
owner=args[
|
owner=args[
|
||||||
|
|
@ -223,7 +221,6 @@ def new_bomb_init(func):
|
||||||
args[0].radius_visualizer_circle,
|
args[0].radius_visualizer_circle,
|
||||||
'position')
|
'position')
|
||||||
|
|
||||||
|
|
||||||
if bomb_type == 'tnt':
|
if bomb_type == 'tnt':
|
||||||
args[0].fatal = bs.newnode('locator',
|
args[0].fatal = bs.newnode('locator',
|
||||||
owner=args[0].node,
|
owner=args[0].node,
|
||||||
|
|
@ -291,6 +288,7 @@ def update_bomb_visual(bomb):
|
||||||
0.2: [0.0],
|
0.2: [0.0],
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
bascenev1lib.actor.bomb.Bomb.__init__ = new_bomb_init(
|
bascenev1lib.actor.bomb.Bomb.__init__ = new_bomb_init(
|
||||||
bascenev1lib.actor.bomb.Bomb.__init__)
|
bascenev1lib.actor.bomb.Bomb.__init__)
|
||||||
|
|
||||||
|
|
@ -468,8 +466,6 @@ def bot_handlemessage(func):
|
||||||
bs.PowerupAcceptMessage())
|
bs.PowerupAcceptMessage())
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if isinstance(args[1], bs.HitMessage):
|
if isinstance(args[1], bs.HitMessage):
|
||||||
update_hit_visual(args[0])
|
update_hit_visual(args[0])
|
||||||
|
|
||||||
|
|
@ -548,6 +544,7 @@ def update_hit_visual(node):
|
||||||
0.25: 0.0
|
0.25: 0.0
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
Spaz.handlemessage = bot_handlemessage(Spaz.handlemessage)
|
Spaz.handlemessage = bot_handlemessage(Spaz.handlemessage)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue