Put this at the end of your aftercast function:
Code:if buffactive['Reive Mark'] then equip({neck="Arciela's Grace"}) end
Put this at the end of your aftercast function:
Code:if buffactive['Reive Mark'] then equip({neck="Arciela's Grace"}) end
My /ra <t> macro is not working at all. But, it works from the menu. On Rng.
If you are on -dev, that is probably the reason. If you copy this into your res folder (after loading the launcher), it will probably fix your problem:
https://www.dropbox.com/s/9r5ymvush2mmry1/abilities.lua
We're currently transitioning from having one resource for all commands, traits, pet commands, job abilities, and weaponskills to having multiple resources for those categories. They are independent as far as packets are concerned, and SE shifted them around in one of the packets in the last update (which caused our JA problems then). We figure it's safer to split them up, so we're moving to do that now.
Also, it's probably impossible for anyone to use the RUN or GEO WS until we do that. I think those two pushed us over the 256 limit for WSs.
Not on Dev. It is swapping fine through the menu. Just refuses to fire/swap at all from /ra <t>
Nope, no idea:
Spoiler: show
It is working for me. >:/
With Debug mode on. It stops at Entering pretarget for me
What command are you using exactly? I tried all the ones for ranged attack that I know of. Do you have cancel rules in pretarget?
Derp
So yeah, you do.
Put a print(number) statement before each of your cancel_spell()s. Figure out which one is canceling your ranged attacks. Then print out the parts of the conditional for the problematic ones.
Been coding for a few hours, so my head hurts and I'm probably missing something obvious.
Anyway,
I'm trying to build a set dynamically (well, a few pieces), and then trying to merge them into a TP set.
Right now, I'm dynamically creating a string that has
str_name = "body=\"Blah\",head=\"Blah\"," etc.. (with a comma at the end, dont think it matters in lua?)
Then, I'm inserting it into a table by doing
table.insert(combining_set_name,str_name)
Which I think basically means I have a table with one string that equals all of my gear. So the equivalent should be
combining_set_name = {body="blah", head="blah",} ... I think?
So at this point, my function returns: set_combine(My_TP_Set,combining_set_name).
It seems to only be executing the TP set by itself, and the combine doesn't seem to be working.
Like I said, head hurts pretty bad, may not even be doing this the best way. Any ideas?
Also is there an easier way to debug lua, besides a billion add_to_chats? Tables specifically, they're a pain in the ass right now. Sure wish I could just run a nice debugger and just look at a visualized table.. that would be nice.
edit: Took a break, ok, I see what I'm doing wrong. I'm setting up the table wrong. I think I know how to fix this.
edit2: Ok, fixed it. I initialize my Combining_Set_Name = {}, then in my loop I do Combining_Set_Name['body'] = 'blah', etc. I then combine the combining_set_name into the original tp set. Such a dumb mistake. Taking breaks helps!
Didn't find anything. Put Print(5) in front of every cancel_spell. Still didn't work
Nevermind. Found it.
elseif windower.ffxi.get_ability_recasts()[52] < 1 and not buffactive.amnesia then
cancel_spell()
send_command('DecoyShot')
elseif windower.ffxi.get_ability_recasts()[126] < 1 and not buffactive.amnesia then
cancel_spell()
send_command('DoubleShot')
Both of these
Thanks Byrth
Using Mote's MNK files, How would I go about adding Shadow Mantle for Chakra but only on Dark's Day? This is what I used for Spellcast if that helps.
Code:<elseif spell="Chakra"> <castdelay delay="0.4" /> <equip when="Precast" set="Chakra" /> <if advanced='"%DayElement" = "Dark"'> <equip when="precast"> <back lock="yes">Shadow Mantle</back> </equip> </if> </elseif>
I added this into my jobs' LUAs (I'm using Mote's), but it does not seem to equip Arciela's Grace when I enter a reive nor after I engage/do something/etc. Perhaps I need to do something further as I am using Mote's files? Or should I not put it in the job LUAs and place it in one of the necessary files he has? Sorry, and thank you for any assistance.
yea... for Mote's files... most likely need to wait for him to assist... but if your post your file (in pastebin), could try to check
Hrm, having a bit of a tricky time now. The HB trigger bit you gave me isn't working properly, but I also might have coded it wrong. Additionally, it's not causing me to blink whenever I WS or JA, yet I'm getting no errors on them. The only error I'm getting is about healing breath, which isn't working at all. The error is: "lua:133: attempt to index global 'hbtriggers' (a nil value)". I probably did the setup for triggers wrong. x.x
My GS: http://pastebin.com/78Fr5Sa9
http://pastebin.com/Hr8BExjF
besides the user_setup... saw everything else ok...
to check if swaps are working as intended use //gs showswaps, just worried about the healingbreath part, coz the aftercast of the triggerspell can overlap the gearswap for HB, not sure, but with //gs showswaps you can confirm if its working.
did modify the HB code, so if you dont have enough hp to trigger HB, will get this msg "----- Wont have Enough HP to Trigger Healing Breath, Canceling -----" so @ least can test it in town, if get that message, the code should work
found another error,
spell.action_type for a JA return Ability not JobAbility
spell.type return JobAbility
and while fixing this, you had a case sensitive issue in the WS part. either way the Link is "fixed"
Thanks, I got everything up and running well. ^^