Working Copy #9

Merged
conco merged 43 commits from english into master 2021-11-07 20:14:37 +00:00
Showing only changes of commit 7d73ac19f5 - Show all commits

View File

@@ -161,23 +161,18 @@ function THTD_GetCombo(tower)
for k,v in pairs(value) do
if THTD_IsTowerInList(tower:GetOwner(),v) == true then
print(v)
count = count + 1
end
if tower:GetUnitName() == v then
print(v)
isInCombo = true
end
end
print("Count " .. count)
print("#value " .. #value)
if count == #value and isInCombo == true then
comboTable[index] = value
end
end
if comboTable ~= nil then
print(comboTable)
return comboTable
end
return nil