
    D[i+                     2    d dl mZ ddlmZ  G d de      Zy)   )Zombie   )PLANT_Wc                   $     e Zd Z fdZd Z xZS )FootballZombiec                 z    t         |   |d       d| _        d| _        d| _        d| _        d| _        d| _        y )Nfootball   (   2   i@  )super__init__hpmax_hpspeeddamagearmor	max_armor)selfrow	__class__s     Z/mnt/c/Users/DipsyHou/Desktop/workspace/PVZOnline/backend/game/objects/zombies/football.pyr   zFootballZombie.__init__   s<    j)

    c                     | j                   dkD  rL| xj                   |z  c_         | j                   dk  r'| xj                  | j                   z  c_        d| _         y y | xj                  |z  c_        y )N    )r   r   )r   amounts     r   take_damagezFootballZombie.take_damage   sT    ::>JJ& JzzA~4::%
  GGvGr   )__name__
__module____qualname__r   r   __classcell__)r   s   @r   r   r      s    r   r   N)baser   configr   r    r   r   <module>r%      s     V r   