def max_hero_hit(): from system.hero.hero_info import agility, strenght, luck, lvl s = float(strenght()) a = float(agility()) l = float(luck()) l = lvl() r = round(float((s / 2) + (a / 5) + (l / 3)), 2) return r
def max_mob_hit(): from system.mob.mob_info import mob_agility, mob_strenght from system.hero.hero_info import lvl m_s = float(mob_strenght()) m_a = float(mob_agility()) h_l = lvl() r = round(float((m_s / 1.5) + (m_a / 2.5) + (h_l / 3)), 2) return r print(r)
def mob_hit(): from system.hero.hero_info import lvl from system.mob.mob_info import mob_agility, mob_strenght m_s = float(mob_strenght()) m_a = float(mob_agility()) h_l = lvl() r = float((m_s / 1.5) + (m_a / 2.5) + (h_l / 3)) r2 = round(r, 2) y = random.uniform(0, r2) return y
def hero_hit(): from system.hero.hero_info import agility, strenght, luck, lvl s = float(strenght()) a = float(agility()) l = float(luck()) l = lvl() r = float((s / 2) + (a / 5) + (l / 3)) r2 = round(r, 2) y = random.uniform(0, r2) return y
def short_log(): line() from system.modules import module_expended_statics module_expended_statics_on = module_expended_statics() print("Уровень и опыт:{}({}/{}) | ".format(lvl(), exper(), next_lvl()), end=" ") print("Сила:{} | Ловкость:{} | Удача:{} ".format(strenght(), agility(), luck())) if module_expended_statics_on == 1: pass line()