diff --git a/scripts/bsSpaz.py b/scripts/bsSpaz.py index dc82c372e0963c8a11f8df9ef5fe6061d08f5e7d..d5a29d486f061af4ef98a30602e66da76b34a9a1 100644 --- a/scripts/bsSpaz.py +++ b/scripts/bsSpaz.py @@ -1744,6 +1744,19 @@ class PlayerSpaz(Spaz): try: pickedUpBy = msg.node.sourcePlayer except Exception: pickedUpBy = None if pickedUpBy is not None and pickedUpBy.exists(): + # Yeet + mag = 2500 + velocityMag = 1500 + radius = 0 + velocity = [10, 20, 10] + forceDirection = [20, 200, 100] + pos = self.node.position + self.node.handleMessage( + "impulse", pos[0], pos[1], pos[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')