def toggleKillSettings(on): if job == 3712: Terminal.SetLineEdit("SISkillID", "37121003") Terminal.SetCheckBox("Auto Attack", False) Terminal.SetSpinBox("SkillInjection", 1) Terminal.SetCheckBox("Melee No Delay", False) Terminal.SetRadioButton("SIRadioMelee", True) Terminal.SetCheckBox("Kami Vac", on) if on: if not Terminal.GetCheckBox("Skill Injection"): Terminal.SetCheckBox("Skill Injection", on) else: if Terminal.GetCheckBox("Skill Injection"): Terminal.SetCheckBox("Skill Injection", on) elif job == 6512: Terminal.SetLineEdit("SISkillID", "65121008") Terminal.SetCheckBox("Auto Attack", False) Terminal.SetSpinBox("SkillInjection", 1) Terminal.SetCheckBox("Melee No Delay", False) Terminal.SetRadioButton("SIRadioMelee", True) Terminal.SetCheckBox("Kami Vac", on) if on: if not Terminal.GetCheckBox("Skill Injection"): Terminal.SetCheckBox("Skill Injection", on) else: if Terminal.GetCheckBox("Skill Injection"): Terminal.SetCheckBox("Skill Injection", on) elif job == 3512: mech_att(on) Terminal.SetCheckBox("Auto Attack", False) Terminal.SetSpinBox("SkillInjection", 1) Terminal.SetCheckBox("Melee No Delay", False) Terminal.SetRadioButton("SIRadioMelee", True) Terminal.SetCheckBox("Skill Injection", False) Terminal.SetCheckBox("Kami Vac", on) elif job == 2512: Terminal.SetLineEdit("SISkillID", "25120003") Terminal.SetCheckBox("Auto Attack", False) Terminal.SetSpinBox("SkillInjection", 100) Terminal.SetCheckBox("Melee No Delay", False) Terminal.SetRadioButton("SIRadioMelee", True) Terminal.SetCheckBox("Kami Vac", on) if on: if not Terminal.GetCheckBox("Skill Injection"): Terminal.SetCheckBox("Skill Injection", on) else: if Terminal.GetCheckBox("Skill Injection"): Terminal.SetCheckBox("Skill Injection", on) elif job == 4112: Terminal.SetLineEdit("SISkillID", "41121011") Terminal.SetCheckBox("Auto Attack", False) Terminal.SetSpinBox("SkillInjection", 100) Terminal.SetCheckBox("Melee No Delay", False) Terminal.SetRadioButton("SIRadioMelee", True) Terminal.SetCheckBox("Kami Vac", on) if on: if not Terminal.GetCheckBox("Skill Injection"): Terminal.SetCheckBox("Skill Injection", on) else: if Terminal.GetCheckBox("Skill Injection"): Terminal.SetCheckBox("Skill Injection", on) elif job == 11212: #beast tamer Terminal.SetLineEdit("SISkillID", "112000002") Terminal.SetCheckBox("Auto Attack", False) Terminal.SetSpinBox("SkillInjection", 200) Terminal.SetCheckBox("Skill Injection", False) Terminal.SetCheckBox("Melee No Delay", False) Terminal.SetRadioButton("SIRadioMelee", True) Terminal.SetCheckBox("Kami Vac", on) count = 0 if on: while count < 50 and Field.GetMobCount() > 0: Key.Down(0x44) time.sleep(0.1) Key.Up(0x44) time.sleep(0.1) Key.Press(0x44) count += 1 elif job == 15212: Terminal.SetLineEdit("SISkillID", "152121041") Terminal.SetCheckBox("Auto Attack", False) Terminal.SetSpinBox("SkillInjection", 30) Terminal.SetRadioButton("SIRadioMelee", True) Terminal.SetCheckBox("Kami Vac", on) if on: if not Terminal.GetCheckBox("Skill Injection"): Terminal.SetCheckBox("Skill Injection", on) Terminal.SetCheckBox("Melee No Delay", on) else: if Terminal.GetCheckBox("Skill Injection"): Terminal.SetCheckBox("Skill Injection", on) Terminal.SetCheckBox("Melee No Delay", on) elif job == 3112: Terminal.SetLineEdit("SISkillID", "31121010") Terminal.SetCheckBox("Auto Attack", False) Terminal.SetSpinBox("SkillInjection", 0) Terminal.SetCheckBox("Melee No Delay", False) Terminal.SetRadioButton("SIRadioMelee", True) Terminal.SetCheckBox("Kami Vac", on) if on: if not Terminal.GetCheckBox("Skill Injection"): Terminal.SetCheckBox("Skill Injection", on) else: if Terminal.GetCheckBox("Skill Injection"): Terminal.SetCheckBox("Skill Injection", on) elif job == 1212: Terminal.SetLineEdit("SISkillID", "12121055") Terminal.SetCheckBox("Auto Attack", False) Terminal.SetSpinBox("SkillInjection", 0) Terminal.SetRadioButton("SIRadioMelee", True) Terminal.SetCheckBox("Kami Vac", on) if on: if not Terminal.GetCheckBox("Skill Injection"): Terminal.SetCheckBox("Skill Injection", on) Terminal.SetCheckBox("Melee No Delay", on) else: if Terminal.GetCheckBox("Skill Injection"): Terminal.SetCheckBox("Skill Injection", on) Terminal.SetCheckBox("Melee No Delay", on) elif job == 572: Terminal.SetLineEdit("SISkillID", "5710020") Terminal.SetCheckBox("Auto Attack", False) Terminal.SetSpinBox("SkillInjection", 100) Terminal.SetRadioButton("SIRadioMelee", True) Terminal.SetCheckBox("Kami Vac", on) if on: if not Terminal.GetCheckBox("Skill Injection"): Terminal.SetCheckBox("Skill Injection", on) Terminal.SetCheckBox("Melee No Delay", on) else: if Terminal.GetCheckBox("Skill Injection"): Terminal.SetCheckBox("Skill Injection", on) Terminal.SetCheckBox("Melee No Delay", on) elif job == 132 or job == 2412: #DK or phantom Terminal.SetLineEdit("SISkillID", "1311011") Terminal.SetCheckBox("Auto Attack", False) Terminal.SetSpinBox("SkillInjection", 100) Terminal.SetRadioButton("SIRadioMelee", True) Terminal.SetCheckBox("Kami Vac", on) if on: if not Terminal.GetCheckBox("Skill Injection"): Terminal.SetCheckBox("Skill Injection", on) Terminal.SetCheckBox("Melee No Delay", on) else: if Terminal.GetCheckBox("Skill Injection"): Terminal.SetCheckBox("Skill Injection", on) Terminal.SetCheckBox("Melee No Delay", on) elif job == 15512: #ark Terminal.SetLineEdit("SISkillID", "155121007") Terminal.SetCheckBox("Auto Attack", False) Terminal.SetSpinBox("SkillInjection", 100) Terminal.SetRadioButton("SIRadioMelee", True) Terminal.SetCheckBox("Kami Vac", on) if on: if not Terminal.GetCheckBox("Skill Injection"): Terminal.SetCheckBox("Skill Injection", on) Terminal.SetCheckBox("Melee No Delay", on) else: if Terminal.GetCheckBox("Skill Injection"): Terminal.SetCheckBox("Skill Injection", on) Terminal.SetCheckBox("Melee No Delay", on) elif job == 6412: #Cadena Terminal.SetLineEdit("SISkillID", "64121011") Terminal.SetCheckBox("Auto Attack", False) Terminal.SetSpinBox("SkillInjection", 150) Terminal.SetRadioButton("bot/si_cadena", True) Terminal.SetCheckBox("Kami Vac", on) if on: if not Terminal.GetCheckBox("Skill Injection"): Terminal.SetCheckBox("Skill Injection", on) Terminal.SetCheckBox("Melee No Delay", on) else: if Terminal.GetCheckBox("Skill Injection"): Terminal.SetCheckBox("Skill Injection", on) Terminal.SetCheckBox("Melee No Delay", on) elif job not in KannaJobs: Terminal.SetCheckBox("Skill Injection", False) Terminal.SetCheckBox("Melee No Delay", False) Terminal.SetCheckBox("Kami Vac", on) if on: if not Terminal.GetCheckBox("Auto Attack"): print("Toggle Skill Injection " + str(on)) Terminal.SetCheckBox("Auto Attack", on) else: if Terminal.GetCheckBox("Auto Attack"): print("Toggle Skill Injection " + str(on)) Terminal.SetCheckBox("Auto Attack", on) if job not in KannaJobs: Terminal.SetCheckBox("MonkeySpiritsNDcheck", False)
SCLib.UpdateVar("DoingMP", True) Terminal.SetCheckBox("map/maprusher/hypertelerock", True) toggle_rush_by_level(False) job = Character.GetJob() if job == 4212: Terminal.SetCheckBox("bot/kanna_kami", True) Terminal.SetSpinBox("bot/kanna_kami_delay", 5000) Terminal.SetSpinBox("AutoDieExp", 70) if Party.IsInParty(): Party.LeaveParty() if mapsMP(): print("Waiting for Stages to clear") Terminal.SetCheckBox("Portal Teleport [Back Space]", True) time.sleep(mapSleep) while Field.GetMobCount() > 1: print("Mobs not all killed yet") toggleKillSettings(True) time.sleep(2) time.sleep(1.5) toggleKillSettings(False) time.sleep(1) time.sleep(shortSleep) Key.Press(0x08) time.sleep(shortSleep) time.sleep(0.5) Character.EnterPortal() time.sleep(mapSleep) elif SCLib.GetVar("retry_count") >= do_MP_count: #rush_out_flag = True SCLib.UpdateVar("MPDone", True)