def ToggleBuffs(buffid,skillid = None,toggleKami = False): short_sleep = 0.75 if skillid is None: skillid = buffid if Character.GetSkillLevel(buffid) > 0: if Character.HasBuff(2, buffid) == False: autoAttack = Terminal.GetCheckBox("Auto Attack") skillInject = Terminal.GetCheckBox("Skill Injection") javelin = Terminal.GetCheckBox("bot/illium/radiant_javelin_delay") Terminal.SetCheckBox("Auto Attack",False) Terminal.SetCheckBox("bot/illium/radiant_javelin_delay",False) Terminal.SetCheckBox("Skill Injection",False) if toggleKami: ToggleKami(False) time.sleep(short_sleep) Character.UseSkill(skillid) #time.sleep(short_sleep) if job in BattleMageJobs: time.sleep(short_sleep) Character.UseSkill(32001014) #time.sleep(short_sleep) if Character.HasBuff(2, buffid) == True: if toggleKami: ToggleKami(True) Terminal.SetCheckBox("Auto Attack",autoAttack) Terminal.SetCheckBox("bot/illium/radiant_javelin_delay",javelin) Terminal.SetCheckBox("Skill Injection",skillInject)
def AssignHyperStats(): hyperStats = [ (80000400, 15), (80000401, 15), (80000402, 15), (80000403, 15), (80000404, 15), (80000405, 15), (80000406, 10), (80000409, 15), (80000410, 15), (80000412, 15), (80000413, 15), (80000414, 15), (80000419, 15), (80000420, 15), (80000421, 15) ] for hyperStat in hyperStats: if Character.GetSkillLevel(hyperStat[0]) < hyperStat[1]: hyperStatPacket = Packet.COutPacket(0x0150) hyperStatPacket.EncodeBuffer("** ** ** ** {} FFFFFFFA".format( hex(hyperStat[0])[2:].zfill(8))) Packet.SendPacket(hyperStatPacket) print("Assigning a skill point to {}".format(hyperStat[0]))
80000410, #Critical Damage 80000411, #Critical Damage 80000412, #IED 80000413, #Damage 80000414, #BD 80000415, #Elem Resistance 80000416, #Abnormal Status Resistance 80000417] #Power Stance def getUpdateTime(): return int(time.monotonic() * 1000) def constructPacket(skillId, skillLevel): #014F 2ECCB980 04C4B591 00000001 oPacket = Packet.COutPacket(Header) oPacket.Encode4(getUpdateTime()) oPacket.Encode4(skillId) oPacket.Encode4(skillLevel) Packet.SendPacket(oPacket) time.sleep(1) for skill in Skills: skill_level = Character.GetSkillLevel(skill) if Character.GetSkillLevel(skill) < 5: #Gets the skill to 5 points. constructPacket(skill, 5 - skill_level) time.sleep(1) skill_level = Character.GetSkillLevel(skill) if skill != 80000406 and skill != 80000407 and skill != 80000408: #If the skill doesn't max out at 5 points, gets it to 10 points. constructPacket(skill, 5 - skill_level)
Terminal.SetLineEdit("SISkillID", "42001006") Terminal.SetCheckBox("Skill Injection", True) Terminal.SetComboBox("AttackKey", 33) Terminal.SetSpinBox("autoattack_spin", 100) elif job == 4211: #kanna 3rd Terminal.SetSpinBox("charm_delay", 100) Terminal.SetCheckBox("charm_fma", True) Terminal.SetCheckBox("Summon Kishin", False) Terminal.SetCheckBox("MonkeySpiritsNDcheck", False) Terminal.SetCheckBox("Auto Attack", True) Terminal.SetSpinBox("autoattack_spin", 7500) Terminal.SetComboBox("AttackKey", 36) Terminal.SetCheckBox("Skill Injection", False) Key.Set(0x47, 1, 42111003) #kishin elif job == 4212: #kanna 4th if level >= 160 and Character.GetSkillLevel( 32121052) == 1 and useHyperExploit: Terminal.SetCheckBox("MonkeySpiritsNDcheck", False) attackSemiNDMagic(32120055, 32120055, 0.45, True) elif level >= 160 and Character.GetSkillLevel( 32121052) == 0 and useHyperExploit: bind_skill(32121052) else: Terminal.SetSpinBox("MonkeySpiritsNDdelay", 100) Terminal.SetCheckBox("Grenade Kami", True) Terminal.SetCheckBox("charm_fma", False) Terminal.SetCheckBox("Summon Kishin", False) Terminal.SetCheckBox("MonkeySpiritsNDcheck", True) Terminal.SetCheckBox("Skill Injection", False) Terminal.SetCheckBox("Auto Attack", True) Terminal.SetSpinBox("autoattack_spin", 7500) Terminal.SetComboBox("AttackKey", 36)