# SIRD Set, Question, And Gearswap

Language: JP EN DE FR
2010-09-08
New Items
users online
Forum » FFXI » Jobs » Paladin » SIRD Set, Question, and Gearswap
SIRD Set, Question, and Gearswap
Quetzalcoatl.Chanceikin
Offline
Server: Quetzalcoatl
Game: FFXI
Posts: 138
By Quetzalcoatl.Chanceikin 2018-07-31 14:28:45
First and foremost allow me to apologize as I know if I were to sort through the deepest recesses of the forums I could probably gather this information. That being said, this post may serve to help many as I doubt I will be alone in my curiosity regarding this topic.

At first I wasn't really interested in a SIRD (Spell Interruption Rate Down) set, because I already have a crap-ton of PLD gear. I have already tanked and beaten everything a PLD can tank (Tumult Curator being the only thing in the game I haven't killed). Hell, I haven't even looked into my PLD lua in a while because it just hasn't been necessary to playing the job. Basically lazy. Now that I'm back from a small hiatus and I'm playing on PLD again, I noticed that I have a use for a SIRD set and want to implement it. For example, we did a run where the PLD was zombie'ing, but RR was down for the rest of the party and the tank (not me) didn't have a SIRD set.. so they couldn't raise the whm.

So here are the questions:
1. Can someone please present the best SIRD set available (Remember I apologized beforehand)?

2. I notice from my initial information gathering that people seem to be making the SIRD set on top of Midcast.. shouldn't it be on the precast? Or does it have to be part of both to completely mitigate interrupts?

3. Using a basic motes style lua, how do I implement a toggle that will switch to SIRD sets? I am fairly decent with lua, but would like to make sure I'm doing this right. It's not binding the toggle, it's properly naming precast and midcast sets with the binded toggle to work properly. Please include all pertinent info and I can plug it in where it belongs. If necessary, I can link my current working lua to this topic - just let me know.

Ragnarok.Martel
Offline
Server: Ragnarok
Game: FFXI
Posts: 2288
By Ragnarok.Martel 2018-07-31 14:34:15
2: The SIRD check occurs when the mob hits you. And precast gear is only equipped for the veeery start of the cast. With the way gearswap handles precast and midcast it's effectively impossible to get hit in precast gear.

So, SIRD gear needs to be equipped in midcast. Which means that you have to make some sacrifices to fit said gear it. Depending on what you're casting this could cost you potency, or recast reduction or enmity, etc. You have to decide what matters more. getting the cast off successfully, or having full potency.
[+]
Asura.Toralin
Offline
Server: Asura
Game: FFXI
user: toralin
Posts: 994
By Asura.Toralin 2018-07-31 14:43:38
ItemSet 360350
96% gear + 10% in merits = 106%

Fill in Enmity/HP/Enhancing in the other slots based on what you want to cast
[+]
Offline
Posts: 1148
By Boshi 2018-07-31 15:04:32
Eschite (escha-Z pld gear) path C is also
Magic Evasion+15
Spell Interruption Rate-15%
Enmity+7
[+]
Ragnarok.Martel
Offline
Server: Ragnarok
Game: FFXI
Posts: 2288
By Ragnarok.Martel 2018-07-31 15:49:12
Or you could use Odyssean feet(20%) and free up back and hands.
[+]
Asura.Toralin
Offline
Server: Asura
Game: FFXI
user: toralin
Posts: 994
By Asura.Toralin 2018-07-31 16:01:35
Ragnarok.Martel said: »
Or you could use Odyssean feet(20%) and free up back and hands.
Yeah but then your going to smoke your HP down to 2700, I use those pieces regal/back because it keeps my HP above 3000. Odyssean gear is great if properly augmented but I use it sparingly based on how terrible the HP is
[+]
Quetzalcoatl.Chanceikin
Offline
Server: Quetzalcoatl
Game: FFXI
Posts: 138
By Quetzalcoatl.Chanceikin 2018-07-31 16:10:31
Still nice to have options, I totally appreciate all of your guy's advice here. The Toralin set is optimal, but the suggestions are good for stuff I can pull together really fast.

If only some genius would tell me how to properly set it so I can toggle SIRD off and on in GS.

Assuming that I set modes SIRD on and off.. make a toggle bind.. but how do I make the sets work?

Like sets.midcast.Raise
and
sets.midcast.sird.Raise

or would you do sets.midcast.sird = sets.midcast(combine .. and just plugin the SIRD pieces to ALL midcast?

Above being an example. I'm not at home to test it out, have a half-written lua waiting for me as it is.
Leviathan.Celebrindal
Offline
Server: Leviathan
Game: FFXI
Posts: 1578
By Leviathan.Celebrindal 2018-07-31 16:30:23
Could do what mages do with differing levels of magic accuracy. Set up a keybind to toggle the tiers, one tier being

sets.midcast.spellname

And another being

sets.midcast.interrupt.spellname

The "interrupt" I'd just a suggestion. You could call it sets.midcast.silly.spellname if you really wanted to. When I get home I'll pull the commands you'll need to add and where to create this tier system, unless a more versed person posts first ;)
[+]
Ragnarok.Martel
Offline
Server: Ragnarok
Game: FFXI
Posts: 2288
By Ragnarok.Martel 2018-07-31 16:30:53
Asura.Toralin said: »
Ragnarok.Martel said: »
Or you could use Odyssean feet(20%) and free up back and hands.
Yeah but then your going to smoke your HP down to 2700, I use those pieces regal/back because it keeps my HP above 3000. Odyssean gear is great if properly augmented but I use it sparingly based on how terrible the HP is
A valid concern. And something I might consider, if I had regal gauntlets. -.-;

For me, maintaining high HP is something I toggle, as I don't see 3k+ HP as needed for all content. Much Like SIRD.

Come to think of it, I don't think I've addressed how those two toggles interact. I imagine it would knock my HP down fairly significantly. My typical goal for SIRD is to hit cap using as few slots as possible to reduce how badly SIRD gimps spell potency. Adjusting for high HP is going to be... annoying.
Quetzalcoatl.Chanceikin
Offline
Server: Quetzalcoatl
Game: FFXI
Posts: 138
By Quetzalcoatl.Chanceikin 2018-07-31 16:38:19
Ragnarok.Martel said: »
Asura.Toralin said: »
Ragnarok.Martel said: »
Or you could use Odyssean feet(20%) and free up back and hands.
Yeah but then your going to smoke your HP down to 2700, I use those pieces regal/back because it keeps my HP above 3000. Odyssean gear is great if properly augmented but I use it sparingly based on how terrible the HP is
A valid concern. And something I might consider, if I had regal gauntlets. -.-;

For me, maintaining high HP is something I toggle, as I don't see 3k+ HP as needed for all content. Much Like SIRD.

Come to think of it, I don't think I've addressed how those two toggles interact. I imagine it would knock my HP down fairly significantly. My typical goal for SIRD is to hit cap using as few slots as possible to reduce how badly SIRD gimps spell potency. Adjusting for high HP is going to be... annoying.

My current turtle set has like 2800 HPs and I have never had a problem. I'm going to up that number if I can organically, but being in that ballpark is actually kind of beneficial because the most I lose switching to any set is like 5-10 hps. I do have some low hp sets, like CDC midcast, but I just don't use CDC when I tank (Savage Blade is better anyway at a loss of 10 hps)
Necro Bump Detected! [309 days between previous and next post]
Phoenix.Mikumaru
Offline
Server: Phoenix
Game: FFXI
user: Mikumaru
Posts: 335
By Phoenix.Mikumaru 2019-06-05 12:16:14
Sup sup. I was wondering how to write a mote lua that would have SIRD for the full cast. I appreciate the theory that its impossible to get hit in precast, but when you're in Dynamis D or Omen and holding 5+ monsters, if SIRD isnt on the whole time, you get interrupted most of the time. I've tried to code it that precast and mid cast are the same set but this seems to break the lua entirely forcing the SIRD set to be always equipped.any help with would be appreciated. Also swap out the Ambuscade cape for the halzqsomething earring and use Moonbeam Cape, less HP fluctuations.
Bahamut.Nebohh
Offline
Server: Bahamut
Game: FFXI
user: Kealohaa
Posts: 156
By Bahamut.Nebohh 2019-06-05 15:35:38
My guess is that your precast isn't equipping properly OR you don't have a high enough fast cast set (cap 80%).

You can check this by turning on showswaps (//gs showswaps).

If it is swapping in your precast gear, check to make sure you have a high enough fast cast set.

Otherwise, if you're still having problems and want both precast and midcast the same, just set your SIRD set to be both the precast and midcast for the spell you're using.

Code
sets.SIRD = {your gear here}
sets.precast.Phalanx = sets.SIRD
sets.midcast.Phalanx = sets.SIRD

Offline
Posts: 378
By soralin 2019-06-05 16:23:39
Yeah I will hold 40+ mobs when cleaving on Paladin and my spells never get interrupted. It sounds like your lua/gearswap is just malfunctioning.

You do know you need 103% SIRD total to cap right (technically 103% but due to rounding its often 103%, kinda like how you generally need 26% gear haste)
Offline
Server: Sylph
Game: FFXI
Posts: 183
Try using set_combine() to make your midcast the same as precast:

sets.midcast.SIRD = set_combine(sets.precast.SIRD, {})
Necro Bump Detected! [127 days between previous and next post]
Phoenix.Mikumaru
Offline
Server: Phoenix
Game: FFXI
user: Mikumaru
Posts: 335
By Phoenix.Mikumaru 2019-10-11 06:08:08
Back again!
Need a hand with some coding

if target == 'Self' and spell.type == 'Cure' then
equip(sets.midcast.Cure.Self) -- Cure Self Gear Set
elseif target =='Self' and spell.type == 'Cure' then
equip(sets.midcast.Cure) -- Cure Others Gear Set
end
This doesnt work, any cure cast default to sets.midcast.Cure, what need to be done to fix it?
Bismarck.Snprphnx
Offline
Server: Bismarck
Game: FFXI
user: Snprphnx
Posts: 2538
By Bismarck.Snprphnx 2019-10-11 06:18:54
Phoenix.Mikumaru said: »
Back again!
Need a hand with some coding

if target == 'Self' and spell.type == 'Cure' then
equip(sets.midcast.Cure.Self) -- Cure Self Gear Set
elseif target =='Self' and spell.type == 'Cure' then
equip(sets.midcast.Cure) -- Cure Others Gear Set
end
This doesnt work, any cure cast default to sets.midcast.Cure, what need to be done to fix it?

Line 1 to 2, saying if target is self and you’re casting cure, then equip miscast.Cure.self

Line 3 to 4, still has Self as Target, and now has miscast.Curr set.
Offline
Posts: 173
By Artsncrafts 2019-10-11 07:03:20
if target == 'Self' and spell.type == 'Cure' then
equip(sets.midcast.Cure.Self) -- Cure Self Gear Set
elseif spell.type == 'Cure' then
equip(sets.midcast.Cure) -- Cure Others Gear Set
end
Ragnarok.Martel
Offline
Server: Ragnarok
Game: FFXI
Posts: 2288
By Ragnarok.Martel 2019-10-11 07:32:45
'Cure' is not a valid spell.type. spell.type refers to magic or ja categories, like WhiteMagic, or JobAbility. Since Cure is not a valid type, that rule will never pass.

Furthermore, 'target' is not a valid variable. so unless you're defining 'target' elsewhere in the lua, that should also never parse as true. If you want to check for Self targeted spells, you should use spell.target.type. then SELF would be valid.

I have to wonder what's changing your gear for cures at all, because neither of those should ever work.

Please refer to Windower4\addons\GearSwap\beta_examples_and_information\Variables.xlsx for a list of valid variables you can check against.
Phoenix.Mikumaru
Offline
Server: Phoenix
Game: FFXI
user: Mikumaru
Posts: 335
By Phoenix.Mikumaru 2019-10-11 08:15:34
Artsncrafts said: »
if target == 'Self' and spell.type == 'Cure' then
equip(sets.midcast.Cure.Self) -- Cure Self Gear Set
elseif spell.type == 'Cure' then
equip(sets.midcast.Cure) -- Cure Others Gear Set
end
I'll give this a try, thnx too much.

I dont get any errors about XXX being a nil command, which I have gotten previously with syntax like white magic. I've never read through any of the beta stuff but considering that literally every single mage lua I have ever seen has a Sets.xxx.Cure and Sets.xxx.Curaga, Cure spells are not only defined but separated from single target and AoE. The only thing that seems likely to give trouble is the targeting, as mentioned, but baby steps for the noob coder, por favor.
Thnx forbrhe input guys, I'll let you know how this pans out.
Ragnarok.Martel
Offline
Server: Ragnarok
Game: FFXI
Posts: 2288
By Ragnarok.Martel 2019-10-11 09:14:31
gearswap is highly customizable. So it's possible that your lua is one that redefines spell.type and adds cure as a type. Anf it may have defined target as somethign as well. It's just not a gearswap default, so you can't expect it to work in any gearswap lua.

Motenten(Kinematics) lua would be a good example of lua with a ton of non default variables and mappings.
Phoenix.Mikumaru
Offline
Server: Phoenix
Game: FFXI
user: Mikumaru
Posts: 335
By Phoenix.Mikumaru 2019-10-11 23:05:28
Update:
this is what worked for anyone interested in this type of function

Quote:
function job_post_midcast(spell, action, spellMap, eventArgs)
if spell.target.type=="SELF" and spell.skill == 'Healing Magic' then
equip(sets.midcast.Cure.Self) -- Cure Self Gear Set
elseif spell.target.type=="Not Self" and spell.skill == 'Healing Magic' then
equip(sets.midcast.Cure) -- Cure Others Gear Set
end
end