|
How do you add a weapon skill for Gearswap?
サーバ: Asura
Game: FFXI
Posts: 4307
By Asura.Ackeronll 2014-06-17 07:21:14
Trying to make a gearswap line for Viper Bite for the lulz but I keep getting an error of : '<name>' expected near [
Line in question looks like:
sets.WS.SA.['Viper Bite']
Adjustments I've tried:
sets.WS.SA.Viper Bite (This caused the error to be '=' expected near 'Bite')
sets.WS.SA.["Viper Bite"]
sets.WS.SA.['<Viper Bite>']
sets.WS.SA.["<Viper Bite>"]
I'm using the basic THF set that came with gearswap as well just modified for my gear. I'm guessing Viper Bite isn't known or something to gearswap if so how do I add it?
Lakshmi.Zerowone
サーバ: Lakshmi
Game: FFXI
Posts: 6949
By Lakshmi.Zerowone 2014-06-17 07:51:35
Did you look at Byrths THF example lua?
Code sets.WS = {}
sets.WS.SA = {}
sets.WS.TA = {}
sets.WS.SATA = {}
sets.WS.Evisceration = {head="Uk'uxkaj Cap",neck="Nefarious Collar",ear1="Moonshade Earring",ear2="Brutal Earring",
body="Manibozho Jerkin",hands="Pillager's Armlets +1",ring1="Rajas Ring",ring2="Thundersoul Ring",
back="Rancorous Mantle",waist="Wanion Belt",legs="Manibozho Brais",feet="Manibozho Boots"}
sets.WS.SA.Evisceration = set_combine(sets.WS.Evisceration,{hands="Raider's Armlets +2"})
sets.WS["Rudra's Storm"] = {head="Whirlpool Mask",neck="Love Torque",ear1="Moonshade Earring",ear2="Brutal Earring",
body="Manibozho Jerkin",hands="Iuitl Wristbands +1",ring1="Rajas Ring",ring2="Thundersoul Ring",
back="Atheling Mantle",waist="Wanion Belt",legs="Manibozho Brais",feet="Iuitl Gaiters +1"}
sets.WS.SA["Rudra's Storm"] = set_combine(sets.WS["Rudra's Storm"],{hands="Raider's Armlets +2"})
sets.WS.Exenterator = {head="Lithelimb Cap",neck="Houyi's Gorget",ear1="Steelflash Earring",ear2="Bladeborn Earring",
body="Qaaxo Harness",hands="Iuitl Wristbands +1",ring1="Stormsoul Ring",ring2="Epona's Ring",
back="Atheling Mantle",waist="Windbuffet Belt",legs="Nahtirah Trousers",feet="Plunderer's Poulaines +1"}
sets.WS.TA.Exenterator = {head="Lithelimb Cap",neck="Houyi's Gorget",ear1="Steelflash Earring",ear2="Bladeborn Earring",
body="Qaaxo Harness",hands="Pillager's Armlets +1",ring1="Stormsoul Ring",ring2="Epona's Ring",
back="Atheling Mantle",waist="Windbuffet Belt",legs="Nahtirah Trousers",feet="Plunderer's Poulaines +1"}
sets.WS.SATA.Exenterator = sets.WS.TA.Exenterator
sets.WS['Mercy Stroke'] = {head="Whirlpool Mask",neck="Love Torque",ear1="Steelflash Earring",ear2="Bladeborn Earring",
body="Manibozho Jerkin",hands="Pillager's Armlets +1",ring1="Rajas Ring",ring2="Thundersoul Ring", -- Should bring Pyrosoul Ring
back="Atheling Mantle",waist="Wanion Belt",legs="Manibozho Brais",feet="Qaaxo Leggings"}
The critical portion is lines 1-4.
サーバ: Asura
Game: FFXI
Posts: 4307
By Asura.Ackeronll 2014-06-17 07:56:18
Yea I'm still getting the same error. I added a baseline WS set after seeing everything else had one.
Code
sets.WS = {}
sets.WS.SA = {}
sets.WS.TA = {}
sets.WS.SATA = {}
sets.WS.Evisceration = {head="Uk'uxkaj Cap",neck="Thunder Gorget",ear1="Steelflash Earring",ear2="Bladeborn Earring",
body="Iuitl vest",hands="Pillager's Armlets",ring1="Stormsoul Ring",ring2="Stormsoul Ring",
back="Canny Cape",waist="Anguinus Belt",legs="Quiahuiz Trousers",feet="Iuitl Gaiters"}
sets.WS.SA.Evisceration = set_combine(sets.WS.Evisceration,{hands="Raider's Armlets +2"})
sets.WS.Viper Bite = {head="Uk'uxkaj Cap",neck="Asperity Necklace",ear1="Thunder Pearl",ear2="Thunder Pearl",
body="Iuitl vest",hands="Raider's Armlets +2",ring1="Rajas Ring",ring2="Thundersoul Ring",
back="Kayapa Cape",waist="Anguinus Belt",legs="Manibozho Brais",feet="Iuitl Gaiters"}
sets.WS.SA.Viper Bite = {head="Uk'uxkaj Cap",neck="Asperity Necklace",ear1="Thunder Pearl",ear2="Thunder Pearl",
body="Iuitl vest",hands="Raider's Armlets +2",ring1="Rajas Ring",ring2="Thundersoul Ring",
back="Kayapa Cape",waist="Anguinus Belt",legs="Manibozho Brais",feet="Iuitl Gaiters"})
sets.WS["Rudra's Storm"] = {head="Whirlpool Mask",neck="Love Torque",ear1="Moonshade Earring",ear2="Brutal Earring",
body="Manibozho Jerkin",hands="Iuitl Wristbands +1",ring1="Rajas Ring",ring2="Thundersoul Ring",
back="Atheling Mantle",waist="Wanion Belt",legs="Manibozho Brais",feet="Iuitl Gaiters +1"}
sets.WS.SA["Rudra's Storm"] = set_combine(sets.WS["Rudra's Storm"],{hands="Raider's Armlets +2"})
sets.WS.Exenterator = {head="Uk'uxkaj Cap",neck="Thunder Gorget",ear1="Steelflash Earring",ear2="Bladeborn Earring",
body="Iuitl vest",hands="Pillager's Armlets",ring1="Stormsoul Ring",ring2="Stormsoul Ring",
back="Canny Cape",waist="Anguinus Belt",legs="Quiahuiz Trousers",feet="Iuitl Gaiters"}
sets.WS.SA.Exenterator = set_combine(sets.WS.Exenterator,{hands="Raider's Armlets +2"})
sets.WS.TA.Exenterator = {head="Lithelimb Cap",neck="Houyi's Gorget",ear1="Steelflash Earring",ear2="Bladeborn Earring",
body="Qaaxo Harness",hands="Pillager's Armlets +1",ring1="Stormsoul Ring",ring2="Epona's Ring",
back="Atheling Mantle",waist="Windbuffet Belt",legs="Nahtirah Trousers",feet="Plunderer's Poulaines +1"}
sets.WS.SATA.Exenterator = sets.WS.TA.Exenterator
sets.WS['Mercy Stroke'] = {head="Whirlpool Mask",neck="Love Torque",ear1="Steelflash Earring",ear2="Bladeborn Earring",
body="Manibozho Jerkin",hands="Pillager's Armlets +1",ring1="Rajas Ring",ring2="Thundersoul Ring", -- Should bring Pyrosoul Ring
back="Atheling Mantle",waist="Wanion Belt",legs="Manibozho Brais",feet="Qaaxo Leggings"}
Currently looks like this.
Bahamut.Grouf
サーバ: Bahamut
Game: FFXI
Posts: 3
By Bahamut.Grouf 2014-06-17 08:42:55
Trying to make a gearswap line for Viper Bite for the lulz but I keep getting an error of : '<name>' expected near [
Line in question looks like:
sets.WS.SA.['Viper Bite']
You're close, you just need to remove the period before the [, so the line should look like this:
sets.WS.SA['Viper Bite']
サーバ: Asura
Game: FFXI
Posts: 4307
By Asura.Ackeronll 2014-06-17 08:47:31
Ah thank you!
Trying to make a gearswap line for Viper Bite for the lulz but I keep getting an error of : '<name>' expected near [
Line in question looks like:
sets.WS.SA.['Viper Bite']
Adjustments I've tried:
sets.WS.SA.Viper Bite (This caused the error to be '=' expected near 'Bite')
sets.WS.SA.["Viper Bite"]
sets.WS.SA.['<Viper Bite>']
sets.WS.SA.["<Viper Bite>"]
I'm using the basic THF set that came with gearswap as well just modified for my gear. I'm guessing Viper Bite isn't known or something to gearswap if so how do I add it?
|
|