Anyone Familiar With Arislan's Luas Able To Help? |
||
Forum » Windower » Spellcast Scripting »
Blue Mage
»
Anyone familiar with Arislan's luas able to help?
Anyone familiar with Arislan's luas able to help?
I am looking at swapping my current Blue mage lua over to the one Arislan's made to be in line with the rest of the ones I use. I am just wondering if anyone has added in logic for swapping tp sets for if Tizona Am3 is up or not. my current lua will swap between 2 different tp index's based on seeing the buff or not and I would really like to keep that functionality.
Can you not copy the logic from your current lua over? I'm assuming something like this would work:
Code function customize_melee_set(meleeSet) if buffactive['Aftermath: Lv.3'] and player.equipment.main == "Tizona" then meleeSet = set_combine(meleeSet, equip(sets.engaged.YourAMTPSet)) end return meleeSet end Offline
Posts: 319
This is the function I use for my AM3 sets on BLU.
Code function job_buff_change(buff, gain) if buff:startswith('Aftermath') then classes.CustomMeleeGroups:clear() if player.equipment.main == 'Tizona' then if (buff == "Aftermath: Lv.3" and gain) or buffactive['Aftermath: Lv.3'] then classes.CustomMeleeGroups:append('AM3') add_to_chat(8, '-------------Mythic AM3 UP-------------') elseif (buff == "Aftermath: Lv.3" and not gain) then add_to_chat(8, '-------------Mythic AM3 DOWN-------------') end if not midaction() then handle_equipping_gear(player.status) end end end end Then just duplicate all your current sets and add AM3 at the end to create all your AM3 sets. Code sets.engaged.AM3 = {} sets.engaged.MidAcc.AM3 {} sets.engaged.MidAcc.MidDT.AM3 = {} etc. Review Arislan's RUN gs off of his github, i believe it has some Aftermath logic in it, hopefully that helps
I got around to trying out this code and it doesn't seem to be doing anything other than telling me when my am3 is up or down. And for some reason gearinfo seems to prevent me from entering engaged sets. I am going to grab a fresh copy of the lua tomorrow and double check I didn't mess anything up. If some one was willing to talk on discord and let me screen share at some point it would be a huge help. Sorry I am not lua savy, just trying to get a better lua for my needs working and Arislans work so well with my other jobs.
|
||
All FFXI content and images © 2002-2024 SQUARE ENIX CO., LTD. FINAL
FANTASY is a registered trademark of Square Enix Co., Ltd.
|