diff --git a/scripts/bsSpaz.py b/scripts/bsSpaz.py index b2868a7d4088e50a7b73c43c495d5364807cc517..3fba28516a2d3fec171b4de7842f1062e12401b2 100644 --- a/scripts/bsSpaz.py +++ b/scripts/bsSpaz.py @@ -1759,19 +1759,18 @@ class PlayerSpaz(Spaz): except Exception: pickedUpBy = None if pickedUpBy is not None and pickedUpBy.exists(): # Yeet - mag = 500 - velocityMag = 1000 + mag = 2500 + velocityMag = 1500 radius = 0 - V_MULT = (50, 10, 50) - V_ADD = (0, 10, 0) - v = tuple( - (v * vm) + va for v, vm, va in zip( - pickedUpBy.actor.node.velocity, V_MULT, V_ADD)) + velocity = [10, 20, 10] + forceDirection = [20, 200, 100] pos = self.node.position self.node.handleMessage( "impulse", pos[0], pos[1], pos[2], - v[0], v[1], v[2], - mag, velocityMag, radius, 0, v[0], v[1], v[2]) + velocity[0], velocity[1], velocity[2], + mag, velocityMag, radius, 0, + forceDirection[0], forceDirection[1], + forceDirection[2]) self.lastPlayerAttackedBy = pickedUpBy self.lastAttackedTime = bs.getGameTime() self.lastAttackedType = ('pickedUp', 'default')