mirror of
https://github.com/Freaku17/BombSquad-Mods-byFreaku
synced 2025-10-19 20:20:40 +00:00
Update FrozenOne for 1.7
Update these old mods,
I understood that I have surely improved (by just a lil bit... hehe 😅)
This commit is contained in:
parent
64b27603ac
commit
ede66faf96
1 changed files with 18 additions and 0 deletions
18
Gamemodes/FrozenOne.py
Normal file
18
Gamemodes/FrozenOne.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#Frozen One ported
|
||||
#By your friend: @[Just] Freak#4999
|
||||
|
||||
|
||||
import ba
|
||||
from bastd.game.chosenone import Player, ChosenOneGame
|
||||
|
||||
|
||||
# ba_meta require api 7
|
||||
# ba_meta export game
|
||||
class FrozenOneGame(ChosenOneGame):
|
||||
name = 'Frozen One'
|
||||
|
||||
def _set_chosen_one_player(self, player: Player) -> None:
|
||||
super()._set_chosen_one_player(player)
|
||||
if hasattr(player, 'actor'):
|
||||
player.actor.frozen = True
|
||||
player.actor.node.frozen = 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue