|
need help with BLM gear swap (simplified)
Asura.Zart
サーバ: Asura
Game: FFXI
Posts: 158
By Asura.Zart 2020-08-09 13:50:00
I put this together myself but i keep getting a error code when i try to load it in game can anyone help with what im doing wrong?
Code state.MagicBurst = M(false, 'Magic Burst')
send_command('bind !` gs c toggle MagicBurst')
spell_maps = {
['Cure']='Cure',['Cure II']='Cure',['Cure III']='Cure',['Cure IV']='Cure',['Cure V']='Cure',['Cure VI']='Cure',
['Full Cure']='Cure',
['Cura']='Cure',['Cura II']='Cure',['Cura III']='Cure',
['Curaga']='Cure',['Curaga II']='Cure', 'Poisona']='StatusRemoval',['Paralyna']='StatusRemoval',['Silena']='StatusRemoval',['Blindna']='StatusRemoval',['Cursna']='StatusRemoval',
['Stona']='StatusRemoval',['Viruna']='StatusRemoval',['Erase']='StatusRemoval',
['Barfire']='BarElement',['Barstone']='BarElement',['Barwater']='BarElement',['Baraero']='BarElement',['Barblizzard']='BarElement',['Barthunder']='BarElement',
['Barfira']='BarElement',['Barstonra']='BarElement',['Barwatera']='BarElement',['Baraera']='BarElement',['Barblizzara']='BarElement',['Barthundra']='BarElement',}
sets.precast.FC['Elemental Magic'] = {
head="Merlinic Hood",
neck="Voltsurge Torque",
ear1="Enchntr. Earring +1",
ear2="Etiolation Earring",
body="Mallquis Saio +2",
hands="Mallquis Cuffs +2",
ring1="Kishar Ring",
back="Bane Cape",
legs="Mallquis Trews +2",
feet="Mallquis Clogs +2"
}
sets.precast.FC = {
head="Merlinic Hood",
neck="Voltsurge Torque",
ear1="Etiolation Earring",
ear2="Enchntr. Earring +1",
body="Vrikodara Jupon",
ring1="Kishar Ring",
back="Bane Cape",
waist="Embla Sash",
legs="Merlinic Shalwar"
}
sets.precast.FC['Enhancing Magic'] = set_combine(sets.precast.FC, {})
sets.precast.FC.Cure = set_combine(sets.precast.FC, {
head="Vanya Hood",
neck="Nodens Gorget",
ear1="Calamitous Earring",
ear2="Mendi. Earring",
hands="Telchine Gloves",
ring1="Stikini Ring +1",
ring2="Lebeche Ring",
waist="Luminary Sash",
legs="Vanya Slops",
feet="Vanya Clogs"
})
sets.precast.WS['Myrkr'] = {
neck="Fotia Gorget"
waist="Fotia Belt"
ear1="Moonshade Earring"
}
sets.midcast['Elemental Magic'] = {
ammo="Pemphredo Tathlum",
head="Ea Hat +1",
neck="Baetyl Pendant",
ear1="Strophadic Earring",
ear2="Friomisi Earring",
body="Seidr Cotehardie",
hands="Ea Cuffs +1",
ring1="Shiva Ring +1",
ring2="Shiva Ring +1",
back="Taranus's Cape",
waist="Refoccilation Stone",
legs="Ea Slops +1",
feet="Ea Pigaches +1"
}
sets.midcast['Enhancing Magic'] = {
head="Befouled Crown",
ear1="Andoaa Earring",
body="Telchine Chas.",
ring1="Stikini Ring +1",
ring2="Stikini Ring +1"
}
sets.magic_burst = {
head="Ea Hat +1",
body="Ea Houppe. +1",
hands="Amalric Gages +1",
legs="Ea Slops +1",
feet="Ea Pigaches +1",
neck="Mizu. Kubikazari",
ear1="Strophadic Earring",
ear2="Friomisi Earring",
ring1="Shiva Ring +1",
ring2="Shiva Ring +1",
waist="Refoccilation Stone",
back="Taranus's Cape",
}
sets.engaged = {
ammo="Amar Cluster",
head="Jhakri Coronal +2",
neck="Subtlety Spec.",
ear1="Digni. Earring",
ear2="Zennaroi Earring",
body="Jhakri Robe +2",
hands="Jhakri Cuffs +2",
ring1="Begrudging Ring",
ring2="Cacoethic Ring +1",
waist="Olseni Belt",
legs="Jhakri Slops +2",
feet="Jhakri Pigaches +2"}
function display_current_job_state(eventArgs)
local c_msg = state.CastingMode.value
local d_msg = 'None'
if state.MagicBurst.value then
msg = ' Burst: On |'
end
add_to_chat(060, '| Magic: ' ..string.char(31,001)..c_msg.. string.char(31,002).. ' |'
..string.char(31,004).. ' Defense: ' ..string.char(31,001)..d_msg.. string.char(31,002).. ' |'
..string.char(31,008).. ' Idle: ' ..string.char(31,001)..i_msg.. string.char(31,002).. ' |'
..string.char(31,002)..msg)
eventArgs.handled = true
end
function job_post_midcast (spell, action, spellMap, eventArgs)
if spell.skill == 'Elemental Magic' then
if state.MagicBurst.value and spell.english ~= 'Death'
then equip(sets.magic_burst)
end
end
end
Asura.Zart
サーバ: Asura
Game: FFXI
Posts: 158
By Asura.Zart 2020-08-09 13:55:00
サーバ: Asura
Game: FFXI
Posts: 176
By Asura.Yottaxa 2020-08-09 15:05:02
What is the error code? It should tell you the line of the (first) error?
Ehh and the original has include - there are other standalone swaps out there if your looking for a plug and play. Just search blm gearswaps.
I put this together myself but i keep getting a error code when i try to load it in game can anyone help with what im doing wrong?
Code state.MagicBurst = M(false, 'Magic Burst')
send_command('bind !` gs c toggle MagicBurst')
spell_maps = {
['Cure']='Cure',['Cure II']='Cure',['Cure III']='Cure',['Cure IV']='Cure',['Cure V']='Cure',['Cure VI']='Cure',
['Full Cure']='Cure',
['Cura']='Cure',['Cura II']='Cure',['Cura III']='Cure',
['Curaga']='Cure',['Curaga II']='Cure', 'Poisona']='StatusRemoval',['Paralyna']='StatusRemoval',['Silena']='StatusRemoval',['Blindna']='StatusRemoval',['Cursna']='StatusRemoval',
['Stona']='StatusRemoval',['Viruna']='StatusRemoval',['Erase']='StatusRemoval',
['Barfire']='BarElement',['Barstone']='BarElement',['Barwater']='BarElement',['Baraero']='BarElement',['Barblizzard']='BarElement',['Barthunder']='BarElement',
['Barfira']='BarElement',['Barstonra']='BarElement',['Barwatera']='BarElement',['Baraera']='BarElement',['Barblizzara']='BarElement',['Barthundra']='BarElement',}
sets.precast.FC['Elemental Magic'] = {
head="Merlinic Hood",
neck="Voltsurge Torque",
ear1="Enchntr. Earring +1",
ear2="Etiolation Earring",
body="Mallquis Saio +2",
hands="Mallquis Cuffs +2",
ring1="Kishar Ring",
back="Bane Cape",
legs="Mallquis Trews +2",
feet="Mallquis Clogs +2"
}
sets.precast.FC = {
head="Merlinic Hood",
neck="Voltsurge Torque",
ear1="Etiolation Earring",
ear2="Enchntr. Earring +1",
body="Vrikodara Jupon",
ring1="Kishar Ring",
back="Bane Cape",
waist="Embla Sash",
legs="Merlinic Shalwar"
}
sets.precast.FC['Enhancing Magic'] = set_combine(sets.precast.FC, {})
sets.precast.FC.Cure = set_combine(sets.precast.FC, {
head="Vanya Hood",
neck="Nodens Gorget",
ear1="Calamitous Earring",
ear2="Mendi. Earring",
hands="Telchine Gloves",
ring1="Stikini Ring +1",
ring2="Lebeche Ring",
waist="Luminary Sash",
legs="Vanya Slops",
feet="Vanya Clogs"
})
sets.precast.WS['Myrkr'] = {
neck="Fotia Gorget"
waist="Fotia Belt"
ear1="Moonshade Earring"
}
sets.midcast['Elemental Magic'] = {
ammo="Pemphredo Tathlum",
head="Ea Hat +1",
neck="Baetyl Pendant",
ear1="Strophadic Earring",
ear2="Friomisi Earring",
body="Seidr Cotehardie",
hands="Ea Cuffs +1",
ring1="Shiva Ring +1",
ring2="Shiva Ring +1",
back="Taranus's Cape",
waist="Refoccilation Stone",
legs="Ea Slops +1",
feet="Ea Pigaches +1"
}
sets.midcast['Enhancing Magic'] = {
head="Befouled Crown",
ear1="Andoaa Earring",
body="Telchine Chas.",
ring1="Stikini Ring +1",
ring2="Stikini Ring +1"
}
sets.magic_burst = {
head="Ea Hat +1",
body="Ea Houppe. +1",
hands="Amalric Gages +1",
legs="Ea Slops +1",
feet="Ea Pigaches +1",
neck="Mizu. Kubikazari",
ear1="Strophadic Earring",
ear2="Friomisi Earring",
ring1="Shiva Ring +1",
ring2="Shiva Ring +1",
waist="Refoccilation Stone",
back="Taranus's Cape",
}
sets.engaged = {
ammo="Amar Cluster",
head="Jhakri Coronal +2",
neck="Subtlety Spec.",
ear1="Digni. Earring",
ear2="Zennaroi Earring",
body="Jhakri Robe +2",
hands="Jhakri Cuffs +2",
ring1="Begrudging Ring",
ring2="Cacoethic Ring +1",
waist="Olseni Belt",
legs="Jhakri Slops +2",
feet="Jhakri Pigaches +2"}
function display_current_job_state(eventArgs)
local c_msg = state.CastingMode.value
local d_msg = 'None'
if state.MagicBurst.value then
msg = ' Burst: On |'
end
add_to_chat(060, '| Magic: ' ..string.char(31,001)..c_msg.. string.char(31,002).. ' |'
..string.char(31,004).. ' Defense: ' ..string.char(31,001)..d_msg.. string.char(31,002).. ' |'
..string.char(31,008).. ' Idle: ' ..string.char(31,001)..i_msg.. string.char(31,002).. ' |'
..string.char(31,002)..msg)
eventArgs.handled = true
end
function job_post_midcast (spell, action, spellMap, eventArgs)
if spell.skill == 'Elemental Magic' then
if state.MagicBurst.value and spell.english ~= 'Death'
then equip(sets.magic_burst)
end
end
end
|
|