diff --git a/resources/graphics/Cards/card_cherrybomb.png b/resources/graphics/Cards/card_cherrybomb.png index 10492ca..40274be 100644 Binary files a/resources/graphics/Cards/card_cherrybomb.png and b/resources/graphics/Cards/card_cherrybomb.png differ diff --git a/resources/graphics/Cards/card_cherrybomb_move.png b/resources/graphics/Cards/card_cherrybomb_move.png index 1e65149..d8783d3 100644 Binary files a/resources/graphics/Cards/card_cherrybomb_move.png and b/resources/graphics/Cards/card_cherrybomb_move.png differ diff --git a/source/component/plant.py b/source/component/plant.py index 0da173e..146d37c 100755 --- a/source/component/plant.py +++ b/source/component/plant.py @@ -190,8 +190,10 @@ class Plant(pg.sprite.Sprite): self.animate_timer = self.current_time self.image = self.frames[self.frame_index] - if ((self.current_time - self.hit_timer) < 200) or (self.current_time - self.highlightTime < 200): + if (self.current_time - self.highlightTime < 200): self.image.set_alpha(150) + elif ((self.current_time - self.hit_timer) < 200): + self.image.set_alpha(192) else: self.image.set_alpha(255) diff --git a/source/component/zombie.py b/source/component/zombie.py index 4d4e39c..4b5a869 100755 --- a/source/component/zombie.py +++ b/source/component/zombie.py @@ -182,7 +182,7 @@ class Zombie(pg.sprite.Sprite): if (self.current_time - self.hit_timer) >= 200: self.image.set_alpha(255) else: - self.image.set_alpha(150) + self.image.set_alpha(192) def getTimeRatio(self): return (self.ice_slow_ratio / self.speed) # 目前的机制为:冰冻减速状态与自身速度共同决定行走的时间间隔