| áp[c           @   s[   d  d l  Z  d  d l Z d  d l Z d  d l Z d  d l Z d   Z d   Z d   Z d S(   iÿÿÿÿNc         C   s`   t  |  | j d   \ } } | j t j d  t | | j d  d t j  | t j <d  S(   Ni    i   g      ð?(   t   GetPetAtkValueByQualityt   GetEffectValuet   gett   ChConfigt   TYPE_Calc_AttrMaxHPt   intt   Def_MaxRateValue(   t   defendert     |