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:
@@ -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")
|
||||
|
||||
--------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user