mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-28 18:15:45 +08:00
commit
15640a3d2c
@ -88,12 +88,12 @@ class Spaz(ba.Actor):
|
||||
|
||||
self.play_big_death_sound = False
|
||||
|
||||
# scales how much impacts affect us (most damage calcs)
|
||||
# Scales how much impacts affect us (most damage calcs).
|
||||
self.impact_scale = 1.0
|
||||
|
||||
self.source_player = source_player
|
||||
self._dead = False
|
||||
if self._demo_mode: # preserve old behavior
|
||||
if self._demo_mode: # Preserve old behavior.
|
||||
self._punch_power_scale = 1.2
|
||||
else:
|
||||
self._punch_power_scale = factory.punch_power_scale
|
||||
@ -263,7 +263,7 @@ class Spaz(ba.Actor):
|
||||
def _turbo_filter_add_press(self, source: str) -> None:
|
||||
"""
|
||||
Can pass all button presses through here; if we see an obscene number
|
||||
of them in a short time let's shame/pushish this guy for using turbo
|
||||
of them in a short time let's shame/pushish this guy for using turbo.
|
||||
"""
|
||||
t_ms = ba.time(
|
||||
timetype=ba.TimeType.BASE, timeformat=ba.TimeFormat.MILLISECONDS
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user