微调报纸僵尸速度
This commit is contained in:
parent
44e6ce77e7
commit
0b9dbdc145
@ -209,7 +209,7 @@ class Zombie(pg.sprite.Sprite):
|
|||||||
self.changeFrames(self.attack_frames)
|
self.changeFrames(self.attack_frames)
|
||||||
self.helmetType2 = False
|
self.helmetType2 = False
|
||||||
if self.name == c.NEWSPAPER_ZOMBIE:
|
if self.name == c.NEWSPAPER_ZOMBIE:
|
||||||
self.speed = 2.5
|
self.speed = 2.65
|
||||||
if (((self.current_time - self.attack_timer) > (c.ATTACK_INTERVAL * self.getAttackTimeRatio()))
|
if (((self.current_time - self.attack_timer) > (c.ATTACK_INTERVAL * self.getAttackTimeRatio()))
|
||||||
and (not self.lostHead)):
|
and (not self.lostHead)):
|
||||||
if self.prey.health > 0:
|
if self.prey.health > 0:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user