mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-05 15:03:33 +08:00
Update spaz.py
This commit is contained in:
parent
d775ed95b4
commit
bd4d41d631
@ -1140,7 +1140,7 @@ class Spaz(bs.Actor):
|
|||||||
scale=0.4,
|
scale=0.4,
|
||||||
spread=0.1,
|
spread=0.1,
|
||||||
)
|
)
|
||||||
if self.hitpoints > 0:
|
if self.hitpoints >= 0:
|
||||||
# It's kinda crappy to die from impacts, so lets reduce
|
# It's kinda crappy to die from impacts, so lets reduce
|
||||||
# impact damage by a reasonable amount *if* it'll keep us alive.
|
# impact damage by a reasonable amount *if* it'll keep us alive.
|
||||||
if msg.hit_type == 'impact' and damage >= self.hitpoints:
|
if msg.hit_type == 'impact' and damage >= self.hitpoints:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user