Lua Midcast Set For Haste II: Not Recognizing

Eorzea Time
 
 
 
言語: JP EN FR DE
日本語版のFFXIVPRO利用したい場合は、上記の"JP"を設定して、又はjp.ffxivpro.comを直接に利用してもいいです
users online
フォーラム » FFXI » Jobs » Red Mage » Lua midcast set for Haste II: not recognizing
Lua midcast set for Haste II: not recognizing
 Asura.Illuminate
Offline
サーバ: Asura
Game: FFXI
Posts: 105
By Asura.Illuminate 2017-07-29 15:26:02  
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
サーバ: Asura
Game: FFXI
Posts: 105
By Asura.Illuminate 2017-07-29 15:33:16  
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  
try:
sets.midcast['Haste II']