示例#1
0
def start_fusion():
    wait_for_template(tem_network_fusion_screen)
    input.press(keys.dpad_up)
    input.press(keys.cross)

    wait_for_template(tem_arsene_selected)
    input.press(keys.cross)

    wait_for_template(tem_caroline_dialogue)
    input.press(keys.cross)

    wait_for_template(tem_fusion_go_ahead)
    input.press(keys.cross)
示例#2
0
def to_fusion_screen():
    wait_for_template(tem_create_persona)
    input.press(keys.cross)

    wait_for_template(tem_persona_fusion)
    input.press(keys.cross)

    wait_for_template(tem_network_fusion)
    input.press(keys.dpad_up)
    input.press(keys.cross)
示例#3
0
def conclude_fusion():
    time.sleep(6)
    input.press(keys.options)
    time.sleep(6)

    while True:
        scr.update_frames()
        if scr.template_match(tem_almighty, threshold=.8):
            return True
        if scr.template_match(tem_leave_message, threshold=.6):
            break
        input.press(keys.circle)
        time.sleep(1.5)

    input.press(keys.cross)

    wait_for_template(tem_leave_answer)
    input.press(keys.dpad_up)
    input.press(keys.cross)

    return False
示例#4
0
def talk_to_igor():
    wait_for_template(tem_velvet_room)

    while not scr.template_match(tem_talk_igor):
        input.press(keys.left_up, .1)
        scr.update_frames()
    input.press(keys.cross)

    wait_for_template(tem_igor_dialogue)
    print("found igor's dialogue")
    input.press(keys.cross)
示例#5
0
def shoot():
    input.press(keys.square)
    time.sleep(2)
def lock_on():
    input.press(keys.r3)
def assassinate():
    input.press(keys.r2, 1.75)
    input.press(keys.r2)
    time.sleep(.60)
    input.press(keys.r1)
    time.sleep(6)
def visceral():
    input.press(keys.r1)
    time.sleep(6)
def charged_power_attack():
    input.press(keys.r2, 1.75)
示例#10
0
def power_attack():
    input.press(keys.r2)
    time.sleep(.60)
示例#11
0
def turn_right():
    input.press(keys.left_right)
    input.press(keys.r3)
    input.press(keys.r3)
示例#12
0
def move_forward(duration):
    input.press(keys.left_up, duration)
示例#13
0
def use_mark():
    use_item()
    time.sleep(1)
    input.press(keys.cross)
示例#14
0
def use_item():
    input.press(keys.square)
    time.sleep(.5)
示例#15
0
def switch_item():
    input.press(keys.dpad_down)
示例#16
0
def load_game():
    time.sleep(3)
    input.press(keys.triangle)

    wait_for_template(tem_system)
    time.sleep(.5)
    input.press(keys.dpad_up)
    input.press(keys.cross)

    wait_for_template(tem_load_data)
    time.sleep(.5)
    input.press(keys.dpad_up)
    input.press(keys.dpad_up)
    input.press(keys.dpad_up)
    input.press(keys.cross)

    wait_for_template(tem_load)
    time.sleep(1)
    input.press(keys.cross)

    wait_for_template(tem_confirm_load)
    time.sleep(.5)
    input.press(keys.cross)