diff --git a/source/component/zombie.py b/source/component/zombie.py index 0513b7d..bdd8511 100755 --- a/source/component/zombie.py +++ b/source/component/zombie.py @@ -309,8 +309,7 @@ class Zombie(pg.sprite.Sprite): self.prey = prey # prey can be plant or other zombies self.prey_is_plant = is_plant self.state = c.ATTACK - # 首次攻击间隔的延迟时间应当适当缩短 - self.attack_timer = self.current_time - c.ATTACK_INTERVAL * self.getAttackTimeRatio() + self.attack_timer = self.current_time self.animate_interval = self.attack_animate_interval if self.helmet or self.helmetType2: # 这里暂时没有考虑同时有两种防具的僵尸