diff --git a/scripts/bsSpaz.py b/scripts/bsSpaz.py index 6f9c916785a1dc84954ebde3961d3ac997586293..4fe032960ffb54fcdd94a02a734ce16d3b08020a 100644 --- a/scripts/bsSpaz.py +++ b/scripts/bsSpaz.py @@ -1747,19 +1747,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')