Originally Posted by
dlsmd
1. if you are trying to do dynamic set building here:
https://pastebin.com/UGhM0PQc
2. you can do something like this (non-dynamic)
Code:
if DW then
equip(sets.TP[TP_ind],sets.DW[DW_ind])
else
equip(sets.TP[TP_ind])
end
tho the dynamic set building uses less code
this is largely personal preference
Got a second to look at it just now. I was doing this:
Code:
sets.DW.Low = (set_combine(sets.TP[sets.TP.index[TP_ind]],{
ear1 = "Suppanomimi",
body = AdhemarJacket.TP,
back = Rosmerta.DW,
waist = "Reiki Yotai",
feet = HerculeanFeet.DW
})
To call as
Code:
ChangeGear(sets.DW.index[DW_ind]]
Where if I dont try to combine the different indexes and instead make it:
Code:
sets.DW = {}
sets.DW.index = {'Low', 'High'}
DW_ind = 1
sets.DW.Low = {
ear1 = "Suppanomimi",
body = AdhemarJacket.TP,
back = Rosmerta.DW,
waist = "Reiki Yotai",
feet = HerculeanFeet.DW
etc
})
To call as:
Code:
(set_combine(sets.TP[sets.TP.index[TP_ind]], sets.DW[sets.DW.index[DW_ind]]))
It seems to be working at a glance. Just need to refine out the layers of rules.
I feel retarded for trying to do it the other way before...