mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-11-14 17:46:03 +00:00
Removed unnessesary files.
This commit is contained in:
parent
569e9bc968
commit
9ebe7cb67d
3 changed files with 13 additions and 10 deletions
15
dist/ba_root/mods/spazmod/effects.py
vendored
15
dist/ba_root/mods/spazmod/effects.py
vendored
|
|
@ -18,13 +18,24 @@ from bastd.actor.powerupbox import PowerupBoxFactory
|
||||||
import ba,_ba,bastd,weakref,random,math,time,base64,os,json,setting
|
import ba,_ba,bastd,weakref,random,math,time,base64,os,json,setting
|
||||||
from playersData import pdata
|
from playersData import pdata
|
||||||
from stats import mystats
|
from stats import mystats
|
||||||
from tools import globalvars as gvar
|
|
||||||
PlayerType = TypeVar('PlayerType', bound=ba.Player)
|
PlayerType = TypeVar('PlayerType', bound=ba.Player)
|
||||||
TeamType = TypeVar('TeamType', bound=ba.Team)
|
TeamType = TypeVar('TeamType', bound=ba.Team)
|
||||||
from ba._generated.enums import TimeType
|
from ba._generated.enums import TimeType
|
||||||
tt = ba.TimeType.SIM
|
tt = ba.TimeType.SIM
|
||||||
tf = ba.TimeFormat.MILLISECONDS
|
tf = ba.TimeFormat.MILLISECONDS
|
||||||
|
|
||||||
|
multicolor = {0:((0+random.random()*3.0),(0+random.random()*3.0),(0+random.random()*3.0)),
|
||||||
|
250:((0+random.random()*3.0),(0+random.random()*3.0),(0+random.random()*3.0)),
|
||||||
|
500:((0+random.random()*3.0),(0+random.random()*3.0),(0+random.random()*3.0)),
|
||||||
|
750:((0+random.random()*3.0),(0+random.random()*3.0),(0+random.random()*3.0)),
|
||||||
|
1000:((0+random.random()*3.0),(0+random.random()*3.0),(0+random.random()*3.0)),
|
||||||
|
1250:((0+random.random()*3.0),(0+random.random()*3.0),(0+random.random()*3.0)),
|
||||||
|
1500:((0+random.random()*3.0),(0+random.random()*3.0),(0+random.random()*3.0)),
|
||||||
|
1750:((0+random.random()*3.0),(0+random.random()*3.0),(0+random.random()*3.0)),
|
||||||
|
2000:((0+random.random()*3.0),(0+random.random()*3.0),(0+random.random()*3.0)),
|
||||||
|
2250:((0+random.random()*3.0),(0+random.random()*3.0),(0+random.random()*3.0)),
|
||||||
|
2500:((0+random.random()*3.0),(0+random.random()*3.0),(0+random.random()*3.0))}
|
||||||
|
|
||||||
class SurroundBallFactory(object):
|
class SurroundBallFactory(object):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.bonesTex = ba.gettexture("powerupCurse")
|
self.bonesTex = ba.gettexture("powerupCurse")
|
||||||
|
|
@ -216,7 +227,7 @@ class Effect(ba.Actor):
|
||||||
self.source_player.actor.node.addDeathAction(ba.Call(self.handlemessage,ba.DieMessage()))
|
self.source_player.actor.node.addDeathAction(ba.Call(self.handlemessage,ba.DieMessage()))
|
||||||
|
|
||||||
def add_multicolor_effect(self):
|
def add_multicolor_effect(self):
|
||||||
if spaz.node: ba.animate_array(spaz.node, 'color', 3, gvar.multicolor, True, timetype=tt, timeformat=tf)
|
if spaz.node: ba.animate_array(spaz.node, 'color', 3, multicolor, True, timetype=tt, timeformat=tf)
|
||||||
|
|
||||||
def checkPlayerifDead(self):
|
def checkPlayerifDead(self):
|
||||||
spaz = self.spazRef()
|
spaz = self.spazRef()
|
||||||
|
|
|
||||||
8
dist/ba_root/mods/tools/globalvars.py
vendored
8
dist/ba_root/mods/tools/globalvars.py
vendored
|
|
@ -1,8 +0,0 @@
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Released under the MIT License. See LICENSE for details.
|
|
||||||
# ba_meta require api 6
|
|
||||||
|
|
||||||
import ba,_ba,random
|
|
||||||
|
|
||||||
uni = {'\\c': '\\ue043','\\sh': '\\ue049','\\v':'\\ue04c', '\\h': '\\ue047', '\\z':'\\ue044', '\\n': '\\ue04b', '\\b': '\\ue04b', '\\d': '\\ue048', '\\s': '\\ue046', '\\f': '\\ue04f', '\\l': '\\ue00c', '\\g': '\\ue02c', '\\t': '\\ue02f', '\\i': '\\ue03a'}
|
|
||||||
multicolor = {0:((0+random.random()*3.0),(0+random.random()*3.0),(0+random.random()*3.0)),250:((0+random.random()*3.0),(0+random.random()*3.0),(0+random.random()*3.0)),500:((0+random.random()*3.0),(0+random.random()*3.0),(0+random.random()*3.0)),750:((0+random.random()*3.0),(0+random.random()*3.0),(0+random.random()*3.0)),1000:((0+random.random()*3.0),(0+random.random()*3.0),(0+random.random()*3.0)),1250:((0+random.random()*3.0),(0+random.random()*3.0),(0+random.random()*3.0)),1500:((0+random.random()*3.0),(0+random.random()*3.0),(0+random.random()*3.0)),1750:((0+random.random()*3.0),(0+random.random()*3.0),(0+random.random()*3.0)),2000:((0+random.random()*3.0),(0+random.random()*3.0),(0+random.random()*3.0)),2250:((0+random.random()*3.0),(0+random.random()*3.0),(0+random.random()*3.0)),2500:((0+random.random()*3.0),(0+random.random()*3.0),(0+random.random()*3.0))}
|
|
||||||
0
dist/ba_root/mods/tools/logs.txt
vendored
0
dist/ba_root/mods/tools/logs.txt
vendored
Loading…
Add table
Add a link
Reference in a new issue