Lua Midcast Set For Haste II: Not Recognizing

Eorzea Time
 
 
 
Langues: JP EN FR DE
users online
Forum » FFXI » Jobs » Red Mage » Lua midcast set for Haste II: not recognizing
Lua midcast set for Haste II: not recognizing
 Asura.Illuminate
Offline
Serveur: Asura
Game: FFXI
Posts: 146
By Asura.Illuminate 2017-07-29 15:26:02
Link | Citer | R
 
Hi all,

Relatively new at luas but any help would be appreciated. I can make a midcast set for Haste, but when I try to do the same for haste II it doesn't swap into the specified gear.

Here is my lua for haste:

sets.midcast.Haste = set_combine(sets.midcast['Enhancing Magic'], {head="Telchine cap",body="Telchine chasuble",hands="Atrophy gloves +1",legs="Telchine braconi",feet="Lethargy houseaux +1",back="Sucellos's cape"})

This works no problem.

I try the same setup for haste II in the following ways:

sets.midcast.Haste II
sets.midcast.Haste 2
sets.midcast.Haste_2
sets.midcast.Haste_II

It just won't recognize haste 2. I took a look at some blm luas and tried to declare a specific set of spells for my haste gearset:

function user_setup()
state.OffenseMode:options('None', 'Normal')
state.HybridMode:options('Normal', 'PhysicalDef', 'MagicalDef')
state.CastingMode:options('Normal', 'Resistant')
state.IdleMode:options('Normal', 'PDT', 'MDT')

Duration = S{'Haste','Haste II'}

gear.default.obi_waist = "Sekhmet Corset"

select_default_macro_book()
end

Then change the command to:

sets.midcast['Enhancing Magic'].Duration =

But no luck!

Any help would be much appreciated!
 Asura.Illuminate
Offline
Serveur: Asura
Game: FFXI
Posts: 146
By Asura.Illuminate 2017-07-29 15:33:16
Link | Citer | R
 
Accidentally posted this in regular rdm forum. I reposted this in the scripting forum. Sorry about that! Not sure how to remove from this forum.
Offline
Posts: 346
By Sidiov 2017-07-29 16:50:49
Link | Citer | R
 
try:
sets.midcast['Haste II']