guess i shouldve checked if lua had arrays

This commit is contained in:
2021-10-29 17:21:38 -04:00
parent f0804a6b66
commit be81b969b7

View File

@@ -855,8 +855,7 @@ local thtd_ability_table = {
local thtd_combo_table = { local thtd_combo_table = {
["letty_cirno"] = ["letty_cirno"] =
{ {
["0"] = "letty", "letty", "cirno"
["1"] = "cirno"
}--[[, }--[[,
["letty"] = ["letty"] =
{ {
@@ -1324,7 +1323,6 @@ function THTD_GetCombo(tower)
end end
print("Count " .. count) print("Count " .. count)
print("#value " .. #value) print("#value " .. #value)
print("isincombo " .. isInCombo)
if count == #value and isInCombo == true then if count == #value and isInCombo == true then
comboTable[index] = value comboTable[index] = value
end end