/
## Interface: 90001 |
## Interface: 90002 |
## Author: Tomate |
## Version: 9.04 |
## Version: 9.05 |
## Title: |TInterface\Icons\ClassIcon_Rogue:0|t |cffd38245Slice|r|cff45ad3bCommander|r |TInterface\Icons\ClassIcon_Rogue:0|t |
## Notes: Energy bar, Combo point bar and rogue timer bar. |
## SavedVariables: SC |
L["Cooldown"] = true |
L["Special settings"] = true |
L['Essence'] = true |
L["You have to choose a spec to use SliceCommander."] = true |
L["Cooldown"] = "Cooldown" |
L["Special settings"] = "Options spéciales" |
L['Essence'] = "Essence" |
L["You have to choose a spec to use SliceCommander."] = "Vous devez choisir une spécialisation avant de pouvoir utiliser SliceCommander." |
} |
} |
--COVENANTS |
SC_SPELLID['SUMSCD'] = 324739 --Summon Steward (Kyrian) |
SC_SPELLID['FCCD'] = 324631 --Fleshcraft (Necrolord) |
SC_SPELLID['SOSCD'] = 310143 --Soulshape (Night Fae) |
SC_SPELLID['DOSCD'] = 300728 --Door of Shadows (Venthyr) |
SC_SPELLID['ERCD'] = 323547 --Echoing Reprimand (Kyrian) |
SC_SPELLID['SBSCD'] = 328547 --Serrated Bone Spike (Necrolord) |
SC_SPELLID['SP'] = 328305 --Sepsis (Night Fae) |
SC_SPELLID['SPCD'] = 328305 --Sepsis (Night Fae) |
SC_SPELLID['FLA'] = 323654 --Flagellation (Venthyr) |
SC_SPELLID['FLACD'] = 323654 --Flagellation (Venthyr) |
--OUTLAW |
SC_SPELLID['SND'] = 315496 --Slice and Dice |
SC_SPELLID['AR'] = 13750 --Adrenaline Rush |
SC_SPELLID['SHT'] = 277925 --Shuriken Tornado |
SC_SPELLID['SHTCD'] = 277925 --Shuriken Tornado CD |
SC_SPELLID['STHCD'] = 280719 --Secret Technique CD |
SC_SPELLID['FW'] = 91021 --Find Weakness |
SC_SPELLID['FW'] = 316220 --Find Weakness |
--OTHER |
SC_SPELLID['DS'] = 193531 --Deeper Stratagem |
L["Cooldown"] = "Cooldown" |
L["Special settings"] = "Special settings" |
L['Essence'] = "Essence" |
L["You have to choose a spec to use SliceCommander."] = "You have to choose a spec to use SliceCommander." |
L["Cooldown"] = "Cooldown" |
L["Special settings"] = "Special settings" |
L['Essence'] = "Essence" |
L["You have to choose a spec to use SliceCommander."] = "You have to choose a spec to use SliceCommander." |
L["Cooldown"] = true |
L["Special settings"] = true |
L['Essence'] = true |
L["You have to choose a spec to use SliceCommander."] = true |
L["Cooldown"] = "Cooldown" |
L["Special settings"] = "Special settings" |
L['Essence'] = "Essence" |
L["You have to choose a spec to use SliceCommander."] = "You have to choose a spec to use SliceCommander." |
numberPos = 0 |
numberNeg = 0 |
for i = 1, 30 do |
for i = 1, _G['SC'].countBars do |
for j,v in pairs(SC.BARS) do |
if v['obj']:IsVisible() and v['expire'] == 0 then |
v['obj']:Hide() |
end |
function SliceCommander:Energy() |
VTimerEnergy:SetValue(UnitPower("player", Enum.PowerType.Energy)) |
local value = UnitPower("player", Enum.PowerType.Energy) |
VTimerEnergy:SetValue(value) |
VTimerEnergy:SetMinMaxValues(0,UnitPowerMax("player", Enum.PowerType.Energy)) |
VTimerEnergyTxt:SetText(VTimerEnergy:GetValue()) |
VTimerEnergyTxt:SetText(value) |
if UnitPowerMax("player", Enum.PowerType.Energy) == UnitPower("player", Enum.PowerType.Energy) and not UnitAffectingCombat("player") then |
SliceCommander:SetTransparency(SC.SET.EnergyTrans) |
function SliceCommander:MultipleAbilityBar(spell) |
local BAR = SC.BARS[spell] |
local expire, duration, x, _, expire |
local expire, duration, tempDuration, x, _, expire |
if SC.SET.display[spell] ~= true then |
BAR['expire'] = 0 |
if BAR['obj']:IsVisible() then |
local last = BAR['expire'] |
local spellname = {} |
BAR['expire'] = 0 |
local spellduration = {} |
for k, v in pairs(BAR.subbar) do |
_, _, _, _, duration, expire = SliceCommander:UnitAura("player", k, "HELPFUL PLAYER") |
_, _, _, _, tempDuration, expire = SliceCommander:UnitAura("player", k, "HELPFUL PLAYER") |
if expire ~= nil then |
if SC.SET.RB[v] then |
table.insert(spellname, SC.SET.RB[v]) |
spellname[v] = SC.SET.RB[v] |
spellduration[v] = expire |
end |
BAR['expire'] = expire |
if expire > BAR['expire'] then |
duration = tempDuration |
BAR['expire'] = expire |
end |
end |
end |
if SC.SET.SpellText == true then |
local displayConcatName = spell..'Name' |
if SC.SET.display[displayConcatName] and next(spellname) ~= nil then |
BAR['obj'].text2:SetText(table.concat(spellname, " - ")) |
local label = '' |
for k, v in pairs(spellduration) do |
if v == BAR['expire'] then |
if label ~= '' then |
label = label .. ' - ' |
end |
label = label .. spellname[k] |
end |
end |
for k, v in pairs(spellduration) do |
if v ~= BAR['expire'] then |
local xOther = v - SC.tNow |
label = label .. ' - |cff33bb33' .. spellname[k] .. '|r'-- .. ' (' .. string.format("%0.1f", xOther) .. ')|r' |
end |
end |
BAR['obj'].text2:SetText(label) |
else |
BAR['obj'].text2:SetText(BAR['name']) |
end |
local returnArray = {} |
local selected = {} |
local cd |
local count = 0 |
for k, v in pairs(SC.SET.Pos) do |
if _G['SC'].BARS[string.upper(k)] == nil or _G['SC'].BARS[string.upper(k)]['name'] == nil then |
_G['SC'].SET.Pos[string.upper(k)] = nil--Remove spell |
else |
selected[v] = selected[v] .. ', ' .. _G['SC'].BARS[string.upper(k)]['name'] .. cd |
end |
count = count+1 |
end |
end |
for key = -30, 30, 1 do |
_G['SC'].countBars = count |
for key = -1*count, count, 1 do |
if key ~= 0 then |
if not selected[key] then |
returnArray[key] = key .. '. ' .. L['**Empty**'] |
function SliceCommander:getSpellSettings(spell) |
local args = { |
header = { |
['header'..spell] = { |
type = "header", |
order = SliceCommander:getOrder(), |
name = L['Spell'], |
name = string.format(L["%s spell"], SC_SPELL[spell]), |
}, |
Show = SliceCommander:getShowSetting(spell), |
Color = SliceCommander:getColorSetting(spell), |
Pos = SliceCommander:getPosSetting(spell), |
Flash = SliceCommander:getFlashSetting(spell) |
['Show'..spell] = SliceCommander:getShowSetting(spell), |
['Color'..spell] = SliceCommander:getColorSetting(spell), |
['Pos'..spell] = SliceCommander:getPosSetting(spell), |
['Flash'..spell] = SliceCommander:getFlashSetting(spell) |
} |
if SC.SET.SpellSound ~= nil and SC.SET.SpellSound then |
args.SpellSound = SliceCommander:getSpellSound(spell) |
function SliceCommander:getCDSettings(spell) |
local args = { |
headerCD = { |
['headerCD'..spell] = { |
type = "header", |
order = SliceCommander:getOrder(), |
name = L['Cooldown'], |
name = string.format(L["%s CD"], SC_SPELL[spell]), |
}, |
Show = SliceCommander:getShowSetting(spell), |
Color = SliceCommander:getColorSetting(spell), |
Pos = SliceCommander:getPosSetting(spell), |
CDFlash = SliceCommander:getFlashSetting(spell) |
['Show'..spell] = SliceCommander:getShowSetting(spell), |
['Color'..spell] = SliceCommander:getColorSetting(spell), |
['Pos'..spell] = SliceCommander:getPosSetting(spell), |
['CDFlash'..spell] = SliceCommander:getFlashSetting(spell) |
} |
if SC.SET.SpellSound ~= nil and SC.SET.SpellSound then |
args.CDSpellSound = SliceCommander:getCDSpellSound(spell) |
end |
return { |
name = SC_SPELL[spell] .. ' CD', |
name = SC_SPELL[spell], |
type = "group", |
order = SliceCommander:getOrder(), |
args = args |
function SliceCommander:getSpellCDSettings(spell) |
local args = { |
header = { |
['header'..spell] = { |
type = "header", |
order = SliceCommander:getOrder(), |
name = L['Spell'], |
name = string.format(L["%s spell"], SC_SPELL[spell]), |
}, |
Show = SliceCommander:getShowSetting(spell), |
Color = SliceCommander:getColorSetting(spell), |
Pos = SliceCommander:getPosSetting(spell), |
Flash = SliceCommander:getFlashSetting(spell), |
headerCD = { |
['Show'..spell] = SliceCommander:getShowSetting(spell), |
['Color'..spell] = SliceCommander:getColorSetting(spell), |
['Pos'..spell] = SliceCommander:getPosSetting(spell), |
['Flash'..spell] = SliceCommander:getFlashSetting(spell), |
['headerCD'..spell] = { |
type = "header", |
order = SliceCommander:getOrder(), |
name = L['Cooldown'], |
name = string.format(L["%s CD"], SC_SPELL[spell]), |
}, |
CDShow = SliceCommander:getShowSetting(spell..'CD'), |
CDColor = SliceCommander:getColorSetting(spell..'CD'), |
CDPos = SliceCommander:getPosSetting(spell..'CD'), |
CDFlash = SliceCommander:getFlashSetting(spell..'CD') |
['CDShow'..spell] = SliceCommander:getShowSetting(spell..'CD'), |
['CDColor'..spell] = SliceCommander:getColorSetting(spell..'CD'), |
['CDPos'..spell] = SliceCommander:getPosSetting(spell..'CD'), |
['CDFlash'..spell] = SliceCommander:getFlashSetting(spell..'CD') |
} |
if SC.SET.SpellSound ~= nil and SC.SET.SpellSound then |
args.SpellSound = SliceCommander:getSpellSound(spell) |
} |
end |
function SliceCommander:getShortcutSetting(sc_categ, sub_categ, spell) |
function SliceCommander:getShortcutSetting(sc_categ, sub_categ, spell, label) |
if label == nill then |
label = SC_SPELL[spell] |
end |
return { |
order = SliceCommander:getOrder(), |
type = "execute", |
name = SC_SPELL[spell], |
name = label, |
func = function() AceConfigDialog:SelectGroup(sc_categ, sub_categ, spell) end, |
} |
end |
Shortcut = SliceCommander:getShortcutHeader(), |
Shortcut_CD = SliceCommander:getShortcutSetting("SliceCommander_General", "Talents", "CDCD"), |
Shortcut_MD = SliceCommander:getShortcutSetting("SliceCommander_General", "Talents", "MDCD"), |
CD = SliceCommander:getCDSettings('CDCD'), |
MD = SliceCommander:getCDSettings('MDCD'), |
CDCD = SliceCommander:getCDSettings('CDCD'), |
MDCD = SliceCommander:getCDSettings('MDCD'), |
} |
}, |
TalentsPVP = { |
args = { |
Shortcut = SliceCommander:getShortcutHeader(), |
Shortcut_DFA = SliceCommander:getShortcutSetting("SliceCommander_General", "TalentsPVP", "DFACD"), |
DFA = SliceCommander:getCDSettings('DFACD') |
DFACD = SliceCommander:getCDSettings('DFACD') |
} |
}, |
Covenants = { |
order = SliceCommander:getOrder(), |
name = L["Covenants"], |
type = "group", |
childGroups = "tree", |
args = { |
Shortcut = SliceCommander:getShortcutHeader(), |
Shortcut_Kyrian = SliceCommander:getShortcutSetting("SliceCommander_General", "Covenants", "Kyrian", L['Kyrian']), |
Shortcut_Necrolord = SliceCommander:getShortcutSetting("SliceCommander_General", "Covenants", "Necrolord", L['Necrolord']), |
Shortcut_NightFae = SliceCommander:getShortcutSetting("SliceCommander_General", "Covenants", "NightFae", L['Night Fae']), |
Shortcut_Venthyr = SliceCommander:getShortcutSetting("SliceCommander_General", "Covenants", "Venthyr", L['Venthyr']), |
Kyrian = { |
name = L['Kyrian'], |
type = "group", |
order = SliceCommander:getOrder(), |
args = SliceCommander_TableMerge( |
SliceCommander:getCDSettings('ERCD').args, |
SliceCommander:getCDSettings('SBSCD').args |
) |
}, |
Necrolord = { |
name = L['Necrolord'], |
type = "group", |
order = SliceCommander:getOrder(), |
args = SliceCommander_TableMerge( |
SliceCommander:getCDSettings('FCCD').args, |
SliceCommander:getCDSettings('SUMSCD').args |
) |
}, |
NightFae = { |
name = L['Night Fae'], |
type = "group", |
order = SliceCommander:getOrder(), |
args = SliceCommander_TableMerge( |
SliceCommander:getSpellCDSettings('SP').args, |
SliceCommander:getCDSettings('SOSCD').args |
) |
}, |
Venthyr = { |
name = L['Venthyr'], |
type = "group", |
order = SliceCommander:getOrder(), |
args = SliceCommander_TableMerge( |
SliceCommander:getSpellCDSettings('FLA').args, |
SliceCommander:getCDSettings('DOSCD').args |
) |
} |
} |
} |
} |
} |
Shortcut_NB = SliceCommander:getShortcutSetting("SliceCommander_Sublety", "Skills", "NB"), |
Shortcut_SOD = SliceCommander:getShortcutSetting("SliceCommander_Sublety", "Skills", "SOD"), |
Shortcut_SS = SliceCommander:getShortcutSetting("SliceCommander_Sublety", "Skills", "SS"), |
Shortcut_FW = SliceCommander:getShortcutSetting("SliceCommander_Sublety", "Skills", "FW"), |
SD = SliceCommander:getSpellCDSettings('SD'), |
SB = SliceCommander:getSpellCDSettings('SB'), |
NB = SliceCommander:getSpellSettings('NB'), |
SOD = SliceCommander:getSpellCDSettings('SOD'), |
SS = SliceCommander:getSpellCDSettings('SS'), |
FW = SliceCommander:getSpellSettings('FW'), |
} |
}, |
Talents = { |
Shortcut_SUB = SliceCommander:getShortcutSetting("SliceCommander_Sublety", "Talents", "SUB"), |
Shortcut_SHT = SliceCommander:getShortcutSetting("SliceCommander_Sublety", "Talents", "SHT"), |
Shortcut_STHCD = SliceCommander:getShortcutSetting("SliceCommander_Sublety", "Talents", "STHCD"), |
Shortcut_FW = SliceCommander:getShortcutSetting("SliceCommander_Sublety", "Talents", "FW"), |
AC = SliceCommander:getSpellSettings('AC'), |
SUB = SliceCommander:getSpellSettings('SUB'), |
SHT = SliceCommander:getSpellCDSettings('SHT'), |
STHCD = SliceCommander:getCDSettings('STHCD'), |
FW = SliceCommander:getSpellSettings('FW'), |
} |
} |
} |
SC.BARS['EVACD']['obj'].icon:SetTexture("Interface\\Icons\\spell_shadow_shadowward") |
SC.BARS['SPRCD']['obj'].icon:SetTexture("Interface\\Icons\\ability_rogue_sprint") |
SC.BARS['SSCD']['obj'].icon:SetTexture("Interface\\Icons\\ability_rogue_shadowstep") |
SC.BARS['FECD']['obj'].icon:SetTexture("Interface\\Icons\\ability_rogue_feint") |
--COVENANTS |
SC.BARS['SUMSCD']['obj'].icon:SetTexture("Interface\\Icons\\ability_kyrian_summonsteward") |
SC.BARS['FCCD']['obj'].icon:SetTexture("Interface\\Icons\\ability_necrolord_fleshcraft") |
SC.BARS['SOSCD']['obj'].icon:SetTexture("Interface\\Icons\\ability_nightfae_flicker") |
SC.BARS['DOSCD']['obj'].icon:SetTexture("Interface\\Icons\\ability_venthyr_doorofshadows") |
SC.BARS['ERCD']['obj'].icon:SetTexture("Interface\\Icons\\ability_bastion_rogue") |
SC.BARS['SBSCD']['obj'].icon:SetTexture("Interface\\Icons\\ability_maldraxxus_rogue") |
SC.BARS['SPCD']['obj'].icon:SetTexture("Interface\\Icons\\ability_ardenweald_rogue") |
SC.BARS['FLACD']['obj'].icon:SetTexture("Interface\\Icons\\ability_revendreth_rogue") |
--ASSASSINATION |
end |
function SliceCommander:Global() |
SliceCommander:DisplaySpells({'CP', 'THREAT', 'SND', 'CS', 'KS', 'KSCD', 'FOTD', 'CV', 'CVCD', 'TOTCD', 'FE', 'SSCD', 'SUB', 'CDCD', 'AC', 'MDCD', 'DFACD', 'Poison', 'SOTD', 'MAI', 'FECD', 'ESSECD', 'DPICON'}) |
SliceCommander:DisplaySpells({'CP', 'THREAT', 'SND', 'CS', 'KS', 'KSCD', 'FOTD', 'CV', 'CVCD', 'TOTCD', 'FE', 'SSCD', 'SUB', 'CDCD', 'AC', 'MDCD', 'DFACD', 'Poison', 'SOTD', 'MAI', 'FECD', 'ESSECD', 'DPICON', 'SUMSCD', 'FCCD', 'SOSCD', 'DOSCD', 'ERCD', 'SBSCD', 'SPCD', 'FLACD', 'SP', 'FLA'}) |
SliceCommander:NotDisplaySpells({'HEALTH', 'THEALTH', 'VANCD', 'KICD', 'COS', 'COSCD', 'EVA', 'EVACD', 'SPR', 'SPRCD', 'SS'}) |
SliceCommander:FlashSpells({'SND'}) |
SliceCommander:NotFlashSpells({'KSCD', 'CVCD', 'TOTCD', 'SSCD', 'CDCD', 'MDCD', 'DFACD', 'FECD', 'ESSECD', 'VANCD', 'KICD', 'COSCD', 'EVACD', 'SPRCD'}) |
SliceCommander:NotFlashSpells({'KSCD', 'CVCD', 'TOTCD', 'SSCD', 'CDCD', 'MDCD', 'DFACD', 'FECD', 'ESSECD', 'VANCD', 'KICD', 'COSCD', 'EVACD', 'SPRCD', 'SUMSCD', 'FCCD', 'SOSCD', 'DOSCD', 'ERCD', 'SBSCD', 'SPCD', 'FLACD', 'SP', 'FLA'}) |
_G['SC'].orderBar = _G['SC'].maxPos |
_G['SC'].orderCDBar = _G['SC'].maxCDPos |
SC.SET.Pos.CP = -1 |
end |
SliceCommander:OrderSpells({'SND', 'FOTD', 'CV', 'FE', 'SUB', 'AC', 'MAI', 'COS', 'EVA', 'SPR', 'SS'}) |
SliceCommander:OrderCDs({'CVCD', 'TOTCD', 'VANCD', 'SSCD', 'CDCD', 'MDCD', 'DFACD', 'THREAT', 'HEALTH', 'THEALTH', 'CS', 'KS', 'KSCD', 'KICD', 'COSCD', 'EVACD', 'SPRCD', 'FECD', 'ESSECD'}) |
SliceCommander:OrderSpells({'SND', 'FOTD', 'CV', 'FE', 'SUB', 'AC', 'MAI', 'COS', 'EVA', 'SPR', 'SS', 'SP', 'FLA'}) |
SliceCommander:OrderCDs({'CVCD', 'TOTCD', 'VANCD', 'SSCD', 'CDCD', 'MDCD', 'DFACD', 'THREAT', 'HEALTH', 'THEALTH', 'CS', 'KS', 'KSCD', 'KICD', 'COSCD', 'EVACD', 'SPRCD', 'FECD', 'ESSECD', 'SUMSCD', 'FCCD', 'SOSCD', 'DOSCD', 'ERCD', 'SBSCD', 'SPCD', 'FLACD'}) |
end |
function SliceCommander:Assassination() |
if SC.BARS['ESSECD'] == nil then--Essence CD |
SC.BARS['ESSECD'] = {['color'] = {.01, .59, .78}} |
end |
SliceCommander:InitCovenantBarArray() |
end |
function SliceCommander:InitCovenantBarArray() |
if SC.BARS['SUMSCD'] == nil then--Summon Steward (Kyrian) |
SC.BARS['SUMSCD'] = {['color'] = {.2, .45, .82}} |
end |
if SC.BARS['FCCD'] == nil then--Fleshcraft (Necrolord) |
SC.BARS['FCCD'] = {['color'] = {.2, .45, .82}} |
end |
if SC.BARS['SOSCD'] == nil then--Soulshape (Night Fae) |
SC.BARS['SOSCD'] = {['color'] = {.2, .45, .82}} |
end |
if SC.BARS['DOSCD'] == nil then--Door of Shadows (Venthyr) |
SC.BARS['DOSCD'] = {['color'] = {.2, .45, .82}} |
end |
if SC.BARS['ERCD'] == nil then--Echoing Reprimand (Kyrian) |
SC.BARS['ERCD'] = {['color'] = {.2, .45, .82}} |
end |
if SC.BARS['SBSCD'] == nil then--Serrated Bone Spike (Necrolord) |
SC.BARS['SBSCD'] = {['color'] = {.2, .45, .82}} |
end |
if SC.BARS['SP'] == nil then--Sepsis (Night Fae) |
SC.BARS['SP'] = {['color'] = {.2, .45, .82}} |
end |
if SC.BARS['SPCD'] == nil then--Sepsis (Night Fae) |
SC.BARS['SPCD'] = {['color'] = {.2, .45, .82}} |
end |
if SC.BARS['FLA'] == nil then--Flagellation (Venthyr) |
SC.BARS['FLA'] = {['color'] = {.2, .45, .82}} |
end |
if SC.BARS['FLACD'] == nil then--Flagellation (Venthyr) |
SC.BARS['FLACD'] = {['color'] = {.2, .45, .82}} |
end |
end |
function SliceCommander:InitAssassinationBarArray() |
if SC.BARS['GAR'] == nil then--Garrote |
SC.BARS['GAR'] = {['color'] = {.83, .27, .27}} |
SC.BARS[v]['type'] = 1 |
end |
local debuff = {'GAR', 'RUP', 'DP', 'KS', 'CS', 'NB', 'VEN', 'GS', 'KB', 'BA', 'ST', 'TXB', 'CT', 'BE', 'GG', 'FW'} |
local debuff = {'GAR', 'RUP', 'DP', 'KS', 'CS', 'NB', 'VEN', 'GS', 'KB', 'BA', 'ST', 'TXB', 'CT', 'BE', 'GG', 'FW', 'SP', 'FLA'} |
for i, v in ipairs(debuff) do |
SC.BARS[v]['type'] = 2 |
end |
SC.BARS[v]['type'] = 3 |
end |
local cd = {'VANCD', 'KSPCD', 'ARCD', 'CDBCD', 'CVCD', 'MDCD', 'GHCD', 'BECD', 'TOTCD', 'SDCD', 'SBCD', 'VENCD', 'GBCD', 'EXCD', 'GARCD', 'KBCD', 'KSCD', 'DFACD', 'KICD', 'TXBCD', 'SODCD', 'SHTCD', 'STHCD', 'COSCD', 'EVACD', 'SPRCD', 'FECD', 'GSCD', 'BRCD', 'GGCD', 'ESSECD', 'BFCD', 'RBCD'} |
local cd = {'VANCD', 'KSPCD', 'ARCD', 'CDBCD', 'CVCD', 'MDCD', 'GHCD', 'BECD', 'TOTCD', 'SDCD', 'SBCD', 'VENCD', 'GBCD', 'EXCD', 'GARCD', 'KBCD', 'KSCD', 'DFACD', 'KICD', 'TXBCD', 'SODCD', 'SHTCD', 'STHCD', 'COSCD', 'EVACD', 'SPRCD', 'FECD', 'GSCD', 'BRCD', 'GGCD', 'ESSECD', 'BFCD', 'RBCD', 'SUMSCD', 'FCCD', 'SOSCD', 'DOSCD', 'ERCD', 'SPCD', 'FLACD'} |
for i, v in ipairs(cd) do |
SC.BARS[v]['type'] = 4 |
end |
SC.BARS['SDCD']['type'] = 5 |
SC.BARS['SSCD']['type'] = 5 |
SC.BARS['SBSCD']['type'] = 5 |
SC.BARS['RB']['type'] = 6 |
--[[local chargecd = {'SDCD'} |
for i, v in ipairs(chargecd) do |