示例#1
0
def CHANCE_TRIBUTE(job_obj, user_obj):
    return get_chance(user_obj.team_attack, \
                      user_obj.team_respect, \
                      job_obj.req_attack, \
                      job_obj.req_respect, \
                      0, \
                      user_obj.heat, \
                      user_obj.max_heat, \
                      job_obj.heat)
示例#2
0
def CHANCE(job_obj, user_obj):
    return get_chance(user_obj.total_attack, \
                      user_obj.total_respect, \
                      job_obj.req_attack, \
                      job_obj.req_respect, \
                      0, \
                      user_obj.heat, \
                      user_obj.max_heat, \
                      job_obj.heat)
示例#3
0
def CHANCE_TRIBUTE(job_obj, user_obj):
    return get_chance(
        user_obj.team_attack,
        user_obj.team_respect,
        job_obj.req_attack,
        job_obj.req_respect,
        0,
        user_obj.heat,
        user_obj.max_heat,
        job_obj.heat,
    )
示例#4
0
def CHANCE(job_obj, user_obj):
    return get_chance(
        user_obj.total_attack,
        user_obj.total_respect,
        job_obj.req_attack,
        job_obj.req_respect,
        0,
        user_obj.heat,
        user_obj.max_heat,
        job_obj.heat,
    )