RDM Midcast Gearset Won't Recognize Haste II

Langues: JP EN DE FR
users online
Forum » Windower » Spellcast Scripting » Red Mage » RDM midcast gearset won't recognize haste II
RDM midcast gearset won't recognize haste II
 Asura.Illuminate
Offline
Serveur: Asura
Game: FFXI
Posts: 146
By Asura.Illuminate 2017-07-29 15:31:37
Link | Citer | R
 
Hi all,

I accidentally posted this already in the regular rdm forum so my appologies. I believe this post belongs in here! So here is my issue:

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!
 Bismarck.Radec
Offline
Serveur: Bismarck
Game: FFXI
user: Radec
Posts: 146
By Bismarck.Radec 2017-07-29 16:18:53
Link | Citer | R
 
Try sets.midcast['Haste II'] = ...
[+]
 Asura.Illuminate
Offline
Serveur: Asura
Game: FFXI
Posts: 146
By Asura.Illuminate 2017-07-29 17:06:52
Link | Citer | R
 
Eureka!

Thanks a lot!
Log in to post.