fixed a missing parenthesis, added baseline non encrypted tables from tadb, added function for loading tables from file without kv or encryption

This commit is contained in:
2021-10-24 16:34:42 -04:00
parent b9a5a8fe23
commit 616fb96310
8 changed files with 1950 additions and 310 deletions

View File

@@ -13,14 +13,12 @@ thtd_exp_star_table={1,2/3,1/3,1/5,1/15}
towerPlayerList = {[1] = {}, [2] = {}, [3] = {},[4] = {}}
towerNameList = table.loadkv("scripts/npc/tower.txt")
local thtd_power_table = table.loadkv("scripts/npc/power_table.txt")
local thtd_attack_factor = table.loadkv("scripts/npc/attack_factor.txt")
local thtd_ability_table = table.loadkv("scripts/npc/ability_table.txt")
local thtd_combo_table = table.loadkv("scripts/npc/combo_table.txt")
towerNameList = table.fromfile("scripts/mpc/tower.txt")
local thtd_power_table = table.fromfile("scripts/npc/power_table.txt")
local thtd_attack_factor = table.fromfile("scripts/npc/attack_factor.txt")
local thtd_ability_table = table.fromfile("scripts/npc/ability_table.txt")
local thtd_combo_table = table.fromfile("scripts/npc/combo_table.txt")
--------------------------------------------------