diff --git a/lua/app/common/data_manager.lua b/lua/app/common/data_manager.lua index a23499ca..2756c7d5 100644 --- a/lua/app/common/data_manager.lua +++ b/lua/app/common/data_manager.lua @@ -5,10 +5,8 @@ local DataManager = { function DataManager:init() self.cdCallBack = {} self._cacheManager = {} - -- self:initManager("BagData", "app/userdata/bag/bag_data") - -- self:initManager("TutorialData", "app/userdata/tutorial/tutorial_data") self:initManager("PlayerData", "app/userdata/player/player_data") - self:initManager("StageData", "app/userdata/stage/stage_data") + self:initManager("ChapterData", "app/userdata/chapter/chapter_data") self:initManager("HeroData", "app/userdata/hero/hero_data") self:initManager("BattleData", "app/userdata/battle/battle_data") end @@ -65,22 +63,20 @@ function DataManager:clear() self.cacheTimer = nil end self.cdCallBack = {} - -- self.BagData:clear() - -- self.TutorialData:clear() self.PlayerData:clear() self.BattleData:clear() + self.ChapterData:clear() ModuleManager.TaskManager:clear() end function DataManager:initWithServerData(data) self:init() - Logger.logHighlight("------------------initWithServerData-----------------------") - Logger.printTable(data) Time:setServerTimeZone(0) self.initWithServer = true self.PlayerData:init(data.PlayerData) + self.ChapterData:init(data.ChapterData) self:scheduleGlobal() self:checkDataBind() diff --git a/lua/app/config/attr.lua b/lua/app/config/attr.lua index 87645f2c..fe2b6fa8 100644 --- a/lua/app/config/attr.lua +++ b/lua/app/config/attr.lua @@ -61,6 +61,9 @@ local attr = { }, [21]={ ["name"]="block" + }, + [22]={ + ["name"]="dmg_dec" } } local keys = { @@ -85,12 +88,13 @@ local keys = { ["exp_time"]=attr[18], ["cured"]=attr[19], ["vampire"]=attr[20], - ["block"]=attr[21] + ["block"]=attr[21], + ["dmg_dec"]=attr[22] } } local config = { data=attr, keys=keys, -count=21 +count=22 } return config \ No newline at end of file diff --git a/lua/app/config/buff.lua b/lua/app/config/buff.lua new file mode 100644 index 00000000..f5395efb --- /dev/null +++ b/lua/app/config/buff.lua @@ -0,0 +1,128 @@ +local buff = { + [1]={ + ["name"]="stun", + ["buff_type"]=8, + ["decr"]=2, + ["is_percent"]=2, + ["v_buf"]="stun", + ["icon"]="stun", + ["fx_continued"]={ + 4001 + }, + ["hit_show"]=1 + }, + [2]={ + ["name"]="hit_stun", + ["buff_type"]=9, + ["decr"]=2, + ["is_percent"]=2, + ["v_buf"]="stun", + ["change_name"]="stun", + ["hit_show"]=1 + }, + [3]={ + ["name"]="hurt", + ["buff_type"]=3, + ["decr"]=3, + ["is_percent"]=1, + ["v_buf"]="hurt" + }, + [4]={ + ["name"]="shield", + ["buff_type"]=2, + ["decr"]=1, + ["is_percent"]=2, + ["v_buf"]="shield", + ["fx_get"]={ + 2010 + }, + ["hit_show"]=1 + }, + [5]={ + ["name"]="atkp_add", + ["buff_type"]=1, + ["decr"]=1, + ["is_percent"]=2, + ["v_buf"]="atkp_add" + }, + [6]={ + ["name"]="atkp_add_defenderhp", + ["buff_type"]=1, + ["decr"]=1, + ["is_percent"]=2, + ["v_buf"]="atkp_add" + }, + [7]={ + ["name"]="healp", + ["buff_type"]=5, + ["decr"]=3, + ["is_percent"]=2, + ["v_buf"]="healp", + ["fx_get"]={ + 2001 + } + }, + [8]={ + ["name"]="wavehealp", + ["buff_type"]=5, + ["decr"]=3, + ["is_percent"]=2, + ["v_buf"]="healp" + }, + [9]={ + ["name"]="atkp_add_connect", + ["buff_type"]=1, + ["is_percent"]=2, + ["v_buf"]="atkp_add" + }, + [10]={ + ["name"]="spd_dec", + ["buff_type"]=8, + ["is_percent"]=2, + ["v_buf"]="spd_dec" + }, + [11]={ + ["name"]="block", + ["buff_type"]=1, + ["decr"]=1, + ["is_percent"]=2, + ["v_buf"]="block" + }, + [12]={ + ["name"]="hit_block", + ["buff_type"]=1, + ["decr"]=1, + ["is_percent"]=2, + ["v_buf"]="block" + }, + [13]={ + ["name"]="hit_healp", + ["buff_type"]=5, + ["decr"]=3, + ["is_percent"]=2, + ["v_buf"]="healp" + } +} +local keys = { + name = { + ["stun"]=buff[1], + ["hit_stun"]=buff[2], + ["hurt"]=buff[3], + ["shield"]=buff[4], + ["atkp_add"]=buff[5], + ["atkp_add_defenderhp"]=buff[6], + ["healp"]=buff[7], + ["wavehealp"]=buff[8], + ["atkp_add_connect"]=buff[9], + ["spd_dec"]=buff[10], + ["block"]=buff[11], + ["hit_block"]=buff[12], + ["hit_healp"]=buff[13] + } +} +local config = { +data=buff, +keys=keys, +count=13 +} +return config \ No newline at end of file diff --git a/lua/app/userdata/stage/stage_data.lua.meta b/lua/app/config/buff.lua.meta similarity index 86% rename from lua/app/userdata/stage/stage_data.lua.meta rename to lua/app/config/buff.lua.meta index 6cca35e9..ecb16a5e 100644 --- a/lua/app/userdata/stage/stage_data.lua.meta +++ b/lua/app/config/buff.lua.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 2a97518dbfab4cc44af1932b8fc96900 +guid: c92c154c076b1824f88e4eeaa6f544aa ScriptedImporter: internalIDToNameTable: [] externalObjects: {} diff --git a/lua/app/config/chapter.lua b/lua/app/config/chapter.lua new file mode 100644 index 00000000..131af03b --- /dev/null +++ b/lua/app/config/chapter.lua @@ -0,0 +1,2472 @@ +local chapter = { + [1]={ + ["next_chapter"]=2, + ["board"]={ + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 3 + }, + { + 0, + 4 + }, + { + 0, + 3 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 2 + }, + { + 0, + 5 + }, + { + 0, + 2 + }, + { + 0, + 2 + }, + { + 0, + 4 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 0, + 3 + }, + { + 0, + 3 + }, + { + 0, + 3 + }, + { + 0, + 5 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 2 + }, + { + 0, + 2 + }, + { + 0, + 4 + }, + { + 0, + 5 + }, + { + 0, + 4 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 0, + 3 + }, + { + 0, + 3 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + } + }, + ["control_element"]={ + 3, + 2, + 3, + 3, + 4, + 5, + 5 + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=20, + ["num_for_nothing"]="VAg=" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=5, + ["num_for_nothing"]="Uw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=1000, + ["num_for_nothing"]="VwhcAw==" + } + }, + ["icon"]="1" + }, + [2]={ + ["before_chapter"]=1, + ["next_chapter"]=3, + ["board"]={ + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 0, + 3 + }, + { + 0, + 1 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 3 + }, + { + 0, + 5 + }, + { + 0, + 1 + }, + { + 0, + 1 + }, + { + 0, + 5 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 0, + 3 + }, + { + 0, + 5 + }, + { + 0, + 3 + }, + { + 0, + 5 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 1 + }, + { + 0, + 1 + }, + { + 0, + 3 + }, + { + 0, + 4 + }, + { + 0, + 3 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 0, + 5 + }, + { + 0, + 5 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + } + }, + ["control_element"]={ + 1, + 1, + 3, + 5, + 1, + 4, + 3, + 1, + 1 + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=25, + ["num_for_nothing"]="VA0=" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=5, + ["num_for_nothing"]="Uw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=1000, + ["num_for_nothing"]="VwhcAw==" + } + }, + ["icon"]="2" + }, + [3]={ + ["before_chapter"]=2, + ["next_chapter"]=4, + ["board"]={ + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 1 + }, + { + 0, + 5 + }, + { + 0, + 1 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 0, + 5 + }, + { + 0, + 4 + }, + { + 0, + 1 + }, + { + 0, + 3 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 3 + }, + { + 0, + 1 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 0, + 3 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 1 + }, + { + 0, + 3 + }, + { + 1, + 0 + }, + { + 0, + 1 + }, + { + 0, + 1 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 0, + 1 + }, + { + 1, + 0 + }, + { + 0, + 3 + }, + { + 0, + 5 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 3 + }, + { + 0, + 3 + }, + { + 0, + 1 + }, + { + 0, + 3 + }, + { + 0, + 5 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 0, + 1 + }, + { + 0, + 4 + }, + { + 1, + 0 + }, + { + 1, + 0 + } + }, + ["control_element"]={ + 3, + 1, + 5, + 3 + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=30, + ["num_for_nothing"]="VQg=" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=5, + ["num_for_nothing"]="Uw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=1000, + ["num_for_nothing"]="VwhcAw==" + } + }, + ["icon"]="3" + }, + [4]={ + ["before_chapter"]=3, + ["next_chapter"]=5, + ["board"]={ + { + 1, + 0 + }, + { + 0, + 3 + }, + { + 0, + 5 + }, + { + 0, + 3 + }, + { + 0, + 5 + }, + { + 0, + 1 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 5 + }, + { + 0, + 1 + }, + { + 0, + 3 + }, + { + 0, + 1 + }, + { + 0, + 3 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 5 + }, + { + 0, + 1 + }, + { + 0, + 3 + }, + { + 0, + 5 + }, + { + 0, + 2 + }, + { + 1, + 0 + }, + { + 0, + 5 + }, + { + 0, + 3 + }, + { + 0, + 2 + }, + { + 0, + 3 + }, + { + 0, + 2 + }, + { + 0, + 3 + }, + { + 0, + 2 + }, + { + 1, + 0 + }, + { + 0, + 3 + }, + { + 0, + 5 + }, + { + 0, + 3 + }, + { + 0, + 1 + }, + { + 0, + 3 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 2 + }, + { + 0, + 5 + }, + { + 0, + 1 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 3 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + } + }, + ["control_element"]={ + 0 + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=35, + ["num_for_nothing"]="VQ0=" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=5, + ["num_for_nothing"]="Uw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=1000, + ["num_for_nothing"]="VwhcAw==" + } + }, + ["icon"]="4" + }, + [5]={ + ["before_chapter"]=4, + ["next_chapter"]=6, + ["board"]={ + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 3 + }, + { + 0, + 4 + }, + { + 0, + 3 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 2 + }, + { + 0, + 5 + }, + { + 0, + 2 + }, + { + 0, + 2 + }, + { + 0, + 4 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 0, + 3 + }, + { + 0, + 3 + }, + { + 0, + 3 + }, + { + 0, + 5 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 2 + }, + { + 0, + 2 + }, + { + 0, + 4 + }, + { + 0, + 5 + }, + { + 0, + 4 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 0, + 3 + }, + { + 0, + 3 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + } + }, + ["control_element"]={ + 3, + 2, + 3, + 3, + 4, + 5, + 5 + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=20, + ["num_for_nothing"]="VAg=" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=5, + ["num_for_nothing"]="Uw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=1000, + ["num_for_nothing"]="VwhcAw==" + } + }, + ["icon"]="5" + }, + [6]={ + ["before_chapter"]=5, + ["next_chapter"]=7, + ["board"]={ + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 0, + 3 + }, + { + 0, + 1 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 3 + }, + { + 0, + 5 + }, + { + 0, + 1 + }, + { + 0, + 1 + }, + { + 0, + 5 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 0, + 3 + }, + { + 0, + 5 + }, + { + 0, + 3 + }, + { + 0, + 5 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 1 + }, + { + 0, + 1 + }, + { + 0, + 3 + }, + { + 0, + 4 + }, + { + 0, + 3 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 0, + 5 + }, + { + 0, + 5 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + } + }, + ["control_element"]={ + 1, + 1, + 3, + 5, + 1, + 4, + 3, + 1, + 1 + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=25, + ["num_for_nothing"]="VA0=" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=5, + ["num_for_nothing"]="Uw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=1000, + ["num_for_nothing"]="VwhcAw==" + } + }, + ["icon"]="6" + }, + [7]={ + ["before_chapter"]=6, + ["next_chapter"]=8, + ["board"]={ + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 1 + }, + { + 0, + 5 + }, + { + 0, + 1 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 0, + 5 + }, + { + 0, + 4 + }, + { + 0, + 1 + }, + { + 0, + 3 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 3 + }, + { + 0, + 1 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 0, + 3 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 1 + }, + { + 0, + 3 + }, + { + 1, + 0 + }, + { + 0, + 1 + }, + { + 0, + 1 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 0, + 1 + }, + { + 1, + 0 + }, + { + 0, + 3 + }, + { + 0, + 5 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 3 + }, + { + 0, + 3 + }, + { + 0, + 1 + }, + { + 0, + 3 + }, + { + 0, + 5 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 0, + 1 + }, + { + 0, + 4 + }, + { + 1, + 0 + }, + { + 1, + 0 + } + }, + ["control_element"]={ + 3, + 1, + 5, + 3 + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=30, + ["num_for_nothing"]="VQg=" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=5, + ["num_for_nothing"]="Uw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=1000, + ["num_for_nothing"]="VwhcAw==" + } + }, + ["icon"]="7" + }, + [8]={ + ["before_chapter"]=7, + ["next_chapter"]=9, + ["board"]={ + { + 1, + 0 + }, + { + 0, + 3 + }, + { + 0, + 5 + }, + { + 0, + 3 + }, + { + 0, + 5 + }, + { + 0, + 1 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 5 + }, + { + 0, + 1 + }, + { + 0, + 3 + }, + { + 0, + 1 + }, + { + 0, + 3 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 5 + }, + { + 0, + 1 + }, + { + 0, + 3 + }, + { + 0, + 5 + }, + { + 0, + 2 + }, + { + 1, + 0 + }, + { + 0, + 5 + }, + { + 0, + 3 + }, + { + 0, + 2 + }, + { + 0, + 3 + }, + { + 0, + 2 + }, + { + 0, + 3 + }, + { + 0, + 2 + }, + { + 1, + 0 + }, + { + 0, + 3 + }, + { + 0, + 5 + }, + { + 0, + 3 + }, + { + 0, + 1 + }, + { + 0, + 3 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 2 + }, + { + 0, + 5 + }, + { + 0, + 1 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 3 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + } + }, + ["control_element"]={ + 0 + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=35, + ["num_for_nothing"]="VQ0=" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=5, + ["num_for_nothing"]="Uw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=1000, + ["num_for_nothing"]="VwhcAw==" + } + }, + ["icon"]="8" + }, + [9]={ + ["before_chapter"]=8, + ["next_chapter"]=10, + ["board"]={ + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 3 + }, + { + 0, + 4 + }, + { + 0, + 3 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 2 + }, + { + 0, + 5 + }, + { + 0, + 2 + }, + { + 0, + 2 + }, + { + 0, + 4 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 0, + 3 + }, + { + 0, + 3 + }, + { + 0, + 3 + }, + { + 0, + 5 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 2 + }, + { + 0, + 2 + }, + { + 0, + 4 + }, + { + 0, + 5 + }, + { + 0, + 4 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 0, + 3 + }, + { + 0, + 3 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + } + }, + ["control_element"]={ + 3, + 2, + 3, + 3, + 4, + 5, + 5 + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=20, + ["num_for_nothing"]="VAg=" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=5, + ["num_for_nothing"]="Uw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=1000, + ["num_for_nothing"]="VwhcAw==" + } + }, + ["icon"]="9" + }, + [10]={ + ["before_chapter"]=9, + ["board"]={ + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 0, + 3 + }, + { + 0, + 1 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 3 + }, + { + 0, + 5 + }, + { + 0, + 1 + }, + { + 0, + 1 + }, + { + 0, + 5 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 0, + 3 + }, + { + 0, + 5 + }, + { + 0, + 3 + }, + { + 0, + 5 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 1 + }, + { + 0, + 1 + }, + { + 0, + 3 + }, + { + 0, + 4 + }, + { + 0, + 3 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 0, + 5 + }, + { + 0, + 5 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 0, + 4 + }, + { + 1, + 0 + }, + { + 1, + 0 + }, + { + 1, + 0 + } + }, + ["control_element"]={ + 1, + 1, + 3, + 5, + 1, + 4, + 3, + 1, + 1 + }, + ["wave_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=1, + ["num_for_nothing"]="Vw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=25, + ["num_for_nothing"]="VA0=" + } + }, + ["finish_reward"]={ + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=4, + ["id_for_nothing"]="Ug==", + ["num"]=5, + ["num_for_nothing"]="Uw==" + }, + { + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=1, + ["id_for_nothing"]="Vw==", + ["num"]=1000, + ["num_for_nothing"]="VwhcAw==" + } + }, + ["icon"]="10" + } +} +local config = { +data=chapter,count=10 +} +return config \ No newline at end of file diff --git a/lua/app/config/chapter.lua.meta b/lua/app/config/chapter.lua.meta new file mode 100644 index 00000000..c5caa53c --- /dev/null +++ b/lua/app/config/chapter.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 3d9935f2098050744b4ccc5639f9ecd1 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/hero.lua b/lua/app/config/hero.lua new file mode 100644 index 00000000..46be3308 --- /dev/null +++ b/lua/app/config/hero.lua @@ -0,0 +1,310 @@ +local hero = { + [1]={ + ["position"]=3, + ["qlt"]=2, + ["base_skill"]=10, + ["rouge_skill_1"]=200101, + ["rouge_skill_2"]=200102, + ["rouge_skill_3"]=200103, + ["hp_1"]=100, + ["hp_2"]=110, + ["hp_3"]=120, + ["hp_4"]=130, + ["hp_5"]=140, + ["hp_6"]=150, + ["hp_7"]=160, + ["hp_8"]=170, + ["hp_9"]=180, + ["hp_10"]=190, + ["hp_11"]=200, + ["hp_12"]=210, + ["hp_13"]=220, + ["hp_14"]=230, + ["hp_15"]=240, + ["atk_1"]=100, + ["atk_2"]=110, + ["atk_3"]=120, + ["atk_4"]=130, + ["atk_5"]=140, + ["atk_6"]=150, + ["atk_7"]=160, + ["atk_8"]=170, + ["atk_9"]=180, + ["atk_10"]=190, + ["atk_11"]=200, + ["atk_12"]=210, + ["atk_13"]=220, + ["atk_14"]=230, + ["atk_15"]=240 + }, + [2]={ + ["position"]=2, + ["qlt"]=2, + ["base_skill"]=20, + ["rouge_skill_1"]=200201, + ["rouge_skill_2"]=200202, + ["rouge_skill_3"]=200203, + ["hp_1"]=100, + ["hp_2"]=110, + ["hp_3"]=120, + ["hp_4"]=130, + ["hp_5"]=140, + ["hp_6"]=150, + ["hp_7"]=160, + ["hp_8"]=170, + ["hp_9"]=180, + ["hp_10"]=190, + ["hp_11"]=200, + ["hp_12"]=210, + ["hp_13"]=220, + ["hp_14"]=230, + ["hp_15"]=240, + ["atk_1"]=100, + ["atk_2"]=110, + ["atk_3"]=120, + ["atk_4"]=130, + ["atk_5"]=140, + ["atk_6"]=150, + ["atk_7"]=160, + ["atk_8"]=170, + ["atk_9"]=180, + ["atk_10"]=190, + ["atk_11"]=200, + ["atk_12"]=210, + ["atk_13"]=220, + ["atk_14"]=230, + ["atk_15"]=240 + }, + [3]={ + ["position"]=4, + ["qlt"]=2, + ["base_skill"]=30, + ["rouge_skill_1"]=200301, + ["rouge_skill_2"]=200302, + ["rouge_skill_3"]=200303, + ["hp_1"]=100, + ["hp_2"]=110, + ["hp_3"]=120, + ["hp_4"]=130, + ["hp_5"]=140, + ["hp_6"]=150, + ["hp_7"]=160, + ["hp_8"]=170, + ["hp_9"]=180, + ["hp_10"]=190, + ["hp_11"]=200, + ["hp_12"]=210, + ["hp_13"]=220, + ["hp_14"]=230, + ["hp_15"]=240, + ["atk_1"]=100, + ["atk_2"]=110, + ["atk_3"]=120, + ["atk_4"]=130, + ["atk_5"]=140, + ["atk_6"]=150, + ["atk_7"]=160, + ["atk_8"]=170, + ["atk_9"]=180, + ["atk_10"]=190, + ["atk_11"]=200, + ["atk_12"]=210, + ["atk_13"]=220, + ["atk_14"]=230, + ["atk_15"]=240 + }, + [4]={ + ["position"]=5, + ["qlt"]=2, + ["base_skill"]=40, + ["rouge_skill_1"]=200401, + ["rouge_skill_2"]=200402, + ["rouge_skill_3"]=200403, + ["hp_1"]=100, + ["hp_2"]=110, + ["hp_3"]=120, + ["hp_4"]=130, + ["hp_5"]=140, + ["hp_6"]=150, + ["hp_7"]=160, + ["hp_8"]=170, + ["hp_9"]=180, + ["hp_10"]=190, + ["hp_11"]=200, + ["hp_12"]=210, + ["hp_13"]=220, + ["hp_14"]=230, + ["hp_15"]=240, + ["atk_1"]=100, + ["atk_2"]=110, + ["atk_3"]=120, + ["atk_4"]=130, + ["atk_5"]=140, + ["atk_6"]=150, + ["atk_7"]=160, + ["atk_8"]=170, + ["atk_9"]=180, + ["atk_10"]=190, + ["atk_11"]=200, + ["atk_12"]=210, + ["atk_13"]=220, + ["atk_14"]=230, + ["atk_15"]=240 + }, + [5]={ + ["position"]=1, + ["qlt"]=2, + ["base_skill"]=50, + ["rouge_skill_1"]=200501, + ["rouge_skill_2"]=200502, + ["rouge_skill_3"]=200503, + ["hp_1"]=100, + ["hp_2"]=110, + ["hp_3"]=120, + ["hp_4"]=130, + ["hp_5"]=140, + ["hp_6"]=150, + ["hp_7"]=160, + ["hp_8"]=170, + ["hp_9"]=180, + ["hp_10"]=190, + ["hp_11"]=200, + ["hp_12"]=210, + ["hp_13"]=220, + ["hp_14"]=230, + ["hp_15"]=240, + ["atk_1"]=100, + ["atk_2"]=110, + ["atk_3"]=120, + ["atk_4"]=130, + ["atk_5"]=140, + ["atk_6"]=150, + ["atk_7"]=160, + ["atk_8"]=170, + ["atk_9"]=180, + ["atk_10"]=190, + ["atk_11"]=200, + ["atk_12"]=210, + ["atk_13"]=220, + ["atk_14"]=230, + ["atk_15"]=240 + }, + [6]={ + ["position"]=3, + ["qlt"]=3, + ["base_skill"]=60, + ["rouge_skill_1"]=200601, + ["rouge_skill_2"]=200602, + ["rouge_skill_3"]=200603, + ["hp_1"]=150, + ["hp_2"]=165, + ["hp_3"]=180, + ["hp_4"]=195, + ["hp_5"]=210, + ["hp_6"]=225, + ["hp_7"]=240, + ["hp_8"]=255, + ["hp_9"]=270, + ["hp_10"]=285, + ["hp_11"]=300, + ["hp_12"]=315, + ["hp_13"]=330, + ["hp_14"]=345, + ["hp_15"]=360, + ["atk_1"]=150, + ["atk_2"]=165, + ["atk_3"]=180, + ["atk_4"]=195, + ["atk_5"]=210, + ["atk_6"]=225, + ["atk_7"]=240, + ["atk_8"]=255, + ["atk_9"]=270, + ["atk_10"]=285, + ["atk_11"]=300, + ["atk_12"]=315, + ["atk_13"]=330, + ["atk_14"]=345, + ["atk_15"]=360 + }, + [7]={ + ["position"]=2, + ["qlt"]=3, + ["base_skill"]=70, + ["rouge_skill_1"]=200701, + ["rouge_skill_2"]=200702, + ["rouge_skill_3"]=200703, + ["hp_1"]=150, + ["hp_2"]=165, + ["hp_3"]=180, + ["hp_4"]=195, + ["hp_5"]=210, + ["hp_6"]=225, + ["hp_7"]=240, + ["hp_8"]=255, + ["hp_9"]=270, + ["hp_10"]=285, + ["hp_11"]=300, + ["hp_12"]=315, + ["hp_13"]=330, + ["hp_14"]=345, + ["hp_15"]=360, + ["atk_1"]=150, + ["atk_2"]=165, + ["atk_3"]=180, + ["atk_4"]=195, + ["atk_5"]=210, + ["atk_6"]=225, + ["atk_7"]=240, + ["atk_8"]=255, + ["atk_9"]=270, + ["atk_10"]=285, + ["atk_11"]=300, + ["atk_12"]=315, + ["atk_13"]=330, + ["atk_14"]=345, + ["atk_15"]=360 + }, + [8]={ + ["position"]=4, + ["qlt"]=3, + ["base_skill"]=80, + ["rouge_skill_1"]=200801, + ["rouge_skill_2"]=200802, + ["rouge_skill_3"]=200803, + ["hp_1"]=150, + ["hp_2"]=165, + ["hp_3"]=180, + ["hp_4"]=195, + ["hp_5"]=210, + ["hp_6"]=225, + ["hp_7"]=240, + ["hp_8"]=255, + ["hp_9"]=270, + ["hp_10"]=285, + ["hp_11"]=300, + ["hp_12"]=315, + ["hp_13"]=330, + ["hp_14"]=345, + ["hp_15"]=360, + ["atk_1"]=150, + ["atk_2"]=165, + ["atk_3"]=180, + ["atk_4"]=195, + ["atk_5"]=210, + ["atk_6"]=225, + ["atk_7"]=240, + ["atk_8"]=255, + ["atk_9"]=270, + ["atk_10"]=285, + ["atk_11"]=300, + ["atk_12"]=315, + ["atk_13"]=330, + ["atk_14"]=345, + ["atk_15"]=360 + } +} +local config = { +data=hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/hero.lua.meta b/lua/app/config/hero.lua.meta new file mode 100644 index 00000000..0f53dcea --- /dev/null +++ b/lua/app/config/hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 86113427518d382438fa1e9684cbb09d +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/hero_level.lua b/lua/app/config/hero_level.lua new file mode 100644 index 00000000..edab7638 --- /dev/null +++ b/lua/app/config/hero_level.lua @@ -0,0 +1,195 @@ +local hero_level = { + [1]={ + ["cost_2"]={ + 3, + 0 + }, + ["unlock_skill"]=1 + }, + [2]={ + ["cost_2"]={ + 5, + 100 + } + }, + [3]={ + ["cost_2"]={ + 10, + 250 + }, + ["cost_3"]={ + 3, + 0 + } + }, + [4]={ + ["cost_2"]={ + 25, + 500 + }, + ["cost_3"]={ + 5, + 500 + }, + ["unlock_skill"]=2 + }, + [5]={ + ["cost_2"]={ + 50, + 1000 + }, + ["cost_3"]={ + 10, + 500 + }, + ["cost_4"]={ + 3, + 500 + } + }, + [6]={ + ["cost_2"]={ + 100, + 1000 + }, + ["cost_3"]={ + 25, + 500 + }, + ["cost_4"]={ + 5, + 500 + } + }, + [7]={ + ["cost_2"]={ + 200, + 10000 + }, + ["cost_3"]={ + 50, + 10000 + }, + ["cost_4"]={ + 10, + 500 + } + }, + [8]={ + ["cost_2"]={ + 500, + 10000 + }, + ["cost_3"]={ + 100, + 10000 + }, + ["cost_4"]={ + 20, + 10000 + }, + ["unlock_skill"]=3 + }, + [9]={ + ["cost_2"]={ + 1000, + 10000 + }, + ["cost_3"]={ + 200, + 10000 + }, + ["cost_4"]={ + 40, + 10000 + } + }, + [10]={ + ["cost_2"]={ + 1500, + 10000 + }, + ["cost_3"]={ + 400, + 10000 + }, + ["cost_4"]={ + 80, + 10000 + } + }, + [11]={ + ["cost_2"]={ + 2000, + 10000 + }, + ["cost_3"]={ + 1000, + 10000 + }, + ["cost_4"]={ + 160, + 10000 + } + }, + [12]={ + ["cost_2"]={ + 2500, + 10000 + }, + ["cost_3"]={ + 1500, + 10000 + }, + ["cost_4"]={ + 320, + 10000 + } + }, + [13]={ + ["cost_2"]={ + 3000, + 10000 + }, + ["cost_3"]={ + 2000, + 10000 + }, + ["cost_4"]={ + 640, + 10000 + } + }, + [14]={ + ["cost_2"]={ + 4000, + 10000 + }, + ["cost_3"]={ + 3000, + 10000 + }, + ["cost_4"]={ + 1000, + 10000 + } + }, + [15]={ + ["cost_2"]={ + 5000, + 10000 + }, + ["cost_3"]={ + 4000, + 10000 + }, + ["cost_4"]={ + 1500, + 10000 + } + } +} +local config = { +data=hero_level,count=15 +} +return config \ No newline at end of file diff --git a/lua/app/config/hero_level.lua.meta b/lua/app/config/hero_level.lua.meta new file mode 100644 index 00000000..a36ac6d6 --- /dev/null +++ b/lua/app/config/hero_level.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: febc9ff44f1cbc64e9185f9c4884bdd2 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/item.lua b/lua/app/config/item.lua index 38aedea4..7237d986 100644 --- a/lua/app/config/item.lua +++ b/lua/app/config/item.lua @@ -17,80 +17,118 @@ local item = { [4]={ ["type"]=3, ["qlt"]=2, - ["icon"]="4" + ["icon"]="4", + ["hero_drop"]={ + { + ["id"]=5001, + ["weight"]=100 + }, + { + ["id"]=5002, + ["weight"]=100 + }, + { + ["id"]=5003, + ["weight"]=100 + }, + { + ["id"]=5004, + ["weight"]=100 + }, + { + ["id"]=5005, + ["weight"]=100 + } + } }, [5]={ ["type"]=3, ["qlt"]=3, - ["icon"]="5" + ["icon"]="5", + ["hero_drop"]={ + { + ["id"]=5006, + ["weight"]=100 + }, + { + ["id"]=5007, + ["weight"]=100 + }, + { + ["id"]=5008, + ["weight"]=100 + } + } }, [6]={ ["type"]=3, ["qlt"]=4, - ["icon"]="6" + ["icon"]="6", + ["hero_drop"]={ + { + ["id"]=5006, + ["weight"]=100 + }, + { + ["id"]=5007, + ["weight"]=100 + }, + { + ["id"]=5008, + ["weight"]=100 + } + } }, [5001]={ ["type"]=5, - ["parameter"]=5001, + ["parameter"]=10, ["qlt"]=2, ["icon"]="5001" }, [5002]={ ["type"]=5, - ["parameter"]=5002, + ["parameter"]=20, ["qlt"]=2, ["icon"]="5002" }, [5003]={ ["type"]=5, - ["parameter"]=5003, + ["parameter"]=30, ["qlt"]=2, ["icon"]="5003" }, [5004]={ ["type"]=5, - ["parameter"]=5004, + ["parameter"]=40, ["qlt"]=2, ["icon"]="5004" }, [5005]={ ["type"]=5, - ["parameter"]=5005, + ["parameter"]=50, ["qlt"]=2, ["icon"]="5005" }, [5006]={ ["type"]=5, - ["parameter"]=5006, + ["parameter"]=60, ["qlt"]=3, ["icon"]="5006" }, [5007]={ ["type"]=5, - ["parameter"]=5007, + ["parameter"]=70, ["qlt"]=3, ["icon"]="5007" }, [5008]={ ["type"]=5, - ["parameter"]=5008, + ["parameter"]=80, ["qlt"]=3, ["icon"]="5008" - }, - [5009]={ - ["type"]=5, - ["parameter"]=5009, - ["qlt"]=3, - ["icon"]="5009" - }, - [5010]={ - ["type"]=5, - ["parameter"]=5010, - ["qlt"]=3, - ["icon"]="5010" } } local config = { -data=item,count=16 +data=item,count=14 } return config \ No newline at end of file diff --git a/lua/app/config/skill_hero.lua b/lua/app/config/skill_hero.lua new file mode 100644 index 00000000..bfb9e6c8 --- /dev/null +++ b/lua/app/config/skill_hero.lua @@ -0,0 +1,284 @@ +local skill_hero = { + [10]={ + ["energy"]=10, + ["position"]=3, + ["method"]=2, + ["skill_type"]=1, + ["boardrange"]={ + { + ["type"]=1, + ["range"]=1 + }, + { + ["type"]=2, + ["range"]=1 + } + }, + ["icon"]=10 + }, + [20]={ + ["energy"]=10, + ["position"]=2, + ["method"]=2, + ["skill_type"]=0, + ["effect"]={ + { + ["type"]="hurt", + ["num"]=20000, + ["ratio"]=10000, + ["round"]=0 + } + }, + ["obj"]=2, + ["icon"]=20 + }, + [21]={ + ["energy"]=10, + ["method"]=2, + ["skill_type"]=2, + ["skill_type_parameter"]=2, + ["boardrange"]={ + { + ["type"]=1, + ["range"]=1 + }, + { + ["type"]=2, + ["range"]=1 + }, + { + ["type"]=3, + ["range"]=1 + }, + { + ["type"]=4, + ["range"]=1 + } + }, + ["effect"]={ + { + ["type"]="hurt", + ["num"]=20000, + ["ratio"]=10000, + ["round"]=0 + } + }, + ["icon"]=20 + }, + [30]={ + ["energy"]=10, + ["position"]=4, + ["method"]=2, + ["skill_type"]=1, + ["boardrange"]={ + { + ["type"]=0, + ["range"]=2 + } + }, + ["icon"]=30 + }, + [40]={ + ["energy"]=10, + ["position"]=5, + ["method"]=2, + ["skill_type"]=0, + ["effect"]={ + { + ["type"]="shield", + ["num"]=1000, + ["ratio"]=10000, + ["round"]=1 + } + }, + ["obj"]=1, + ["icon"]=40 + }, + [50]={ + ["energy"]=10, + ["position"]=1, + ["method"]=2, + ["skill_type"]=1, + ["boardrange"]={ + { + ["type"]=3, + ["range"]=2 + }, + { + ["type"]=4, + ["range"]=2 + } + }, + ["icon"]=50 + }, + [60]={ + ["energy"]=10, + ["position"]=3, + ["method"]=2, + ["skill_type"]=0, + ["effect"]={ + { + ["type"]="healp", + ["num"]=2000, + ["ratio"]=10000, + ["round"]=1 + } + }, + ["obj"]=1, + ["icon"]=60 + }, + [70]={ + ["energy"]=10, + ["position"]=2, + ["method"]=2, + ["skill_type"]=0, + ["effect"]={ + { + ["type"]="atkp_add_connect", + ["num"]=5000, + ["ratio"]=10000, + ["round"]=1 + } + }, + ["obj"]=1, + ["icon"]=70 + }, + [71]={ + ["energy"]=10, + ["position"]=4, + ["method"]=1, + ["skill_type"]=2, + ["skill_type_parameter"]=2, + ["boardrange"]={ + { + ["type"]=1, + ["range"]=1 + }, + { + ["type"]=2, + ["range"]=1 + }, + { + ["type"]=3, + ["range"]=1 + }, + { + ["type"]=4, + ["range"]=1 + } + }, + ["effect"]={ + { + ["type"]="atkp_add_connect", + ["num"]=5000, + ["ratio"]=10000, + ["round"]=1 + } + }, + ["obj"]=1, + ["icon"]=70 + }, + [72]={ + ["energy"]=10, + ["method"]=1, + ["skill_type"]=2, + ["skill_type_parameter"]=2, + ["boardrange"]={ + { + ["type"]=1, + ["range"]=1 + }, + { + ["type"]=2, + ["range"]=1 + }, + { + ["type"]=3, + ["range"]=1 + }, + { + ["type"]=4, + ["range"]=1 + }, + { + ["type"]=5, + ["range"]=1 + }, + { + ["type"]=6, + ["range"]=1 + }, + { + ["type"]=7, + ["range"]=1 + }, + { + ["type"]=8, + ["range"]=1 + } + }, + ["icon"]=70 + }, + [80]={ + ["energy"]=10, + ["method"]=2, + ["skill_type"]=0, + ["effect"]={ + { + ["type"]="hurt", + ["num"]=15000, + ["ratio"]=10000, + ["round"]=0 + }, + { + ["type"]="spd_dec", + ["num"]=1, + ["ratio"]=10000, + ["round"]=1 + } + }, + ["icon"]=80 + }, + [81]={ + ["energy"]=10, + ["method"]=2, + ["skill_type"]=1, + ["boardrange"]={ + { + ["type"]=1, + ["range"]=1 + }, + { + ["type"]=2, + ["range"]=1 + }, + { + ["type"]=3, + ["range"]=1 + }, + { + ["type"]=4, + ["range"]=1 + } + }, + ["effect"]={ + { + ["type"]="hurt", + ["num"]=15000, + ["ratio"]=10000, + ["round"]=0 + }, + { + ["type"]="spd_dec", + ["num"]=1, + ["ratio"]=10000, + ["round"]=1 + } + }, + ["icon"]=80 + } +} +local config = { +data=skill_hero,count=12 +} +return config \ No newline at end of file diff --git a/lua/app/config/skill_hero.lua.meta b/lua/app/config/skill_hero.lua.meta new file mode 100644 index 00000000..5accc24e --- /dev/null +++ b/lua/app/config/skill_hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 816191ff02ba0434098383a2d0d5fd4c +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/skill_rogue.lua b/lua/app/config/skill_rogue.lua index 7a25cdd2..ee8f76af 100644 --- a/lua/app/config/skill_rogue.lua +++ b/lua/app/config/skill_rogue.lua @@ -1,7 +1,1008 @@ local skill_rogue = { - + [1]={ + ["universal"]=1, + ["limit_times"]=3, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=5, + ["attr"]={ + { + ["type"]="atkp", + ["minnum"]=300, + ["maxnum"]=500 + } + } + }, + [2]={ + ["universal"]=1, + ["limit_times"]=2, + ["weight"]=2000, + ["qlt"]=3, + ["type"]=5, + ["attr"]={ + { + ["type"]="atkp", + ["minnum"]=800, + ["maxnum"]=1200 + } + } + }, + [3]={ + ["universal"]=1, + ["limit_times"]=1, + ["weight"]=1000, + ["qlt"]=4, + ["type"]=5, + ["attr"]={ + { + ["type"]="atkp", + ["minnum"]=1300, + ["maxnum"]=2000 + } + } + }, + [4]={ + ["universal"]=1, + ["limit_times"]=4, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=5, + ["attr"]={ + { + ["type"]="red_atkp", + ["minnum"]=300, + ["maxnum"]=500 + } + } + }, + [5]={ + ["universal"]=1, + ["limit_times"]=3, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=5, + ["attr"]={ + { + ["type"]="red_atkp", + ["minnum"]=800, + ["maxnum"]=1200 + } + } + }, + [6]={ + ["universal"]=1, + ["limit_times"]=2, + ["weight"]=2000, + ["qlt"]=3, + ["type"]=5, + ["attr"]={ + { + ["type"]="red_atkp", + ["minnum"]=1300, + ["maxnum"]=2000 + } + } + }, + [7]={ + ["universal"]=1, + ["limit_times"]=4, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=5, + ["attr"]={ + { + ["type"]="yellow_atkp", + ["minnum"]=300, + ["maxnum"]=500 + } + } + }, + [8]={ + ["universal"]=1, + ["limit_times"]=3, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=5, + ["attr"]={ + { + ["type"]="yellow_atkp", + ["minnum"]=800, + ["maxnum"]=1200 + } + } + }, + [9]={ + ["universal"]=1, + ["limit_times"]=2, + ["weight"]=2000, + ["qlt"]=3, + ["type"]=5, + ["attr"]={ + { + ["type"]="yellow_atkp", + ["minnum"]=1300, + ["maxnum"]=2000 + } + } + }, + [10]={ + ["universal"]=1, + ["limit_times"]=4, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=5, + ["attr"]={ + { + ["type"]="green_atkp", + ["minnum"]=300, + ["maxnum"]=500 + } + } + }, + [11]={ + ["universal"]=1, + ["limit_times"]=3, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=5, + ["attr"]={ + { + ["type"]="green_atkp", + ["minnum"]=800, + ["maxnum"]=1200 + } + } + }, + [12]={ + ["universal"]=1, + ["limit_times"]=2, + ["weight"]=2000, + ["qlt"]=3, + ["type"]=5, + ["attr"]={ + { + ["type"]="green_atkp", + ["minnum"]=1300, + ["maxnum"]=2000 + } + } + }, + [13]={ + ["universal"]=1, + ["limit_times"]=4, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=5, + ["attr"]={ + { + ["type"]="blue_atkp", + ["minnum"]=300, + ["maxnum"]=500 + } + } + }, + [14]={ + ["universal"]=1, + ["limit_times"]=3, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=5, + ["attr"]={ + { + ["type"]="blue_atkp", + ["minnum"]=800, + ["maxnum"]=1200 + } + } + }, + [15]={ + ["universal"]=1, + ["limit_times"]=2, + ["weight"]=2000, + ["qlt"]=3, + ["type"]=5, + ["attr"]={ + { + ["type"]="blue_atkp", + ["minnum"]=1300, + ["maxnum"]=2000 + } + } + }, + [16]={ + ["universal"]=1, + ["limit_times"]=4, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=5, + ["attr"]={ + { + ["type"]="purple_atkp", + ["minnum"]=300, + ["maxnum"]=500 + } + } + }, + [17]={ + ["universal"]=1, + ["limit_times"]=3, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=5, + ["attr"]={ + { + ["type"]="purple_atkp", + ["minnum"]=800, + ["maxnum"]=1200 + } + } + }, + [18]={ + ["universal"]=1, + ["limit_times"]=2, + ["weight"]=2000, + ["qlt"]=3, + ["type"]=5, + ["attr"]={ + { + ["type"]="purple_atkp", + ["minnum"]=1300, + ["maxnum"]=2000 + } + } + }, + [19]={ + ["universal"]=1, + ["limit_times"]=3, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=9, + ["effect"]={ + { + ["type"]="atkp_add_defenderhp", + ["num"]=4000, + ["ratio"]=10000, + ["round"]=0 + } + }, + ["obj"]=1 + }, + [20]={ + ["universal"]=1, + ["limit_times"]=4, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=5, + ["attr"]={ + { + ["type"]="exp_time", + ["minnum"]=500, + ["maxnum"]=500 + } + } + }, + [21]={ + ["universal"]=1, + ["limit_times"]=3, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=5, + ["attr"]={ + { + ["type"]="hpp", + ["minnum"]=300, + ["maxnum"]=500 + } + } + }, + [22]={ + ["universal"]=1, + ["limit_times"]=2, + ["weight"]=2000, + ["qlt"]=3, + ["type"]=5, + ["attr"]={ + { + ["type"]="hpp", + ["minnum"]=800, + ["maxnum"]=1200 + } + } + }, + [23]={ + ["universal"]=1, + ["limit_times"]=1, + ["weight"]=1000, + ["qlt"]=4, + ["type"]=5, + ["attr"]={ + { + ["type"]="hpp", + ["minnum"]=1300, + ["maxnum"]=2000 + } + } + }, + [24]={ + ["universal"]=1, + ["limit_times"]=2, + ["weight"]=2000, + ["qlt"]=3, + ["type"]=9, + ["effect"]={ + { + ["type"]="wavehealp", + ["num"]=100, + ["ratio"]=10000, + ["round"]=0 + } + }, + ["obj"]=1 + }, + [25]={ + ["universal"]=1, + ["limit_times"]=3, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=5, + ["attr"]={ + { + ["type"]="cured", + ["minnum"]=100, + ["maxnum"]=100 + } + } + }, + [26]={ + ["universal"]=1, + ["limit_times"]=2, + ["weight"]=2000, + ["qlt"]=3, + ["type"]=5, + ["attr"]={ + { + ["type"]="block", + ["minnum"]=1000, + ["maxnum"]=1000 + } + } + }, + [27]={ + ["universal"]=1, + ["limit_times"]=2, + ["weight"]=2000, + ["qlt"]=3, + ["type"]=5, + ["attr"]={ + { + ["type"]="crit", + ["minnum"]=1000, + ["maxnum"]=1000 + } + } + }, + [28]={ + ["universal"]=1, + ["limit_times"]=2, + ["weight"]=2000, + ["qlt"]=3, + ["type"]=5, + ["attr"]={ + { + ["type"]="dmg_dec", + ["minnum"]=1000, + ["maxnum"]=1000 + } + } + }, + [29]={ + ["universal"]=1, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=9, + ["effect"]={ + { + ["type"]="healp", + ["num"]=100, + ["ratio"]=10000, + ["round"]=0 + } + }, + ["obj"]=1 + }, + [30]={ + ["universal"]=1, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=10, + ["parameter"]={ + 1 + }, + ["boardrange"]={ + { + ["type"]=0, + ["range"]=2 + } + } + }, + [31]={ + ["universal"]=1, + ["weight"]=2000, + ["qlt"]=3, + ["type"]=10, + ["parameter"]={ + 1 + }, + ["boardrange"]={ + { + ["type"]=0, + ["range"]=4 + } + } + }, + [32]={ + ["universal"]=1, + ["weight"]=1000, + ["qlt"]=4, + ["type"]=10, + ["parameter"]={ + 1 + }, + ["boardrange"]={ + { + ["type"]=0, + ["range"]=5 + } + } + }, + [33]={ + ["universal"]=1, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=11, + ["parameter"]={ + 1 + } + }, + [34]={ + ["universal"]=1, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=10, + ["parameter"]={ + 2 + }, + ["boardrange"]={ + { + ["type"]=0, + ["range"]=2 + } + } + }, + [35]={ + ["universal"]=1, + ["weight"]=2000, + ["qlt"]=3, + ["type"]=10, + ["parameter"]={ + 2 + }, + ["boardrange"]={ + { + ["type"]=0, + ["range"]=4 + } + } + }, + [36]={ + ["universal"]=1, + ["weight"]=1000, + ["qlt"]=4, + ["type"]=10, + ["parameter"]={ + 2 + }, + ["boardrange"]={ + { + ["type"]=0, + ["range"]=5 + } + } + }, + [37]={ + ["universal"]=1, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=11, + ["parameter"]={ + 2 + } + }, + [38]={ + ["universal"]=1, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=10, + ["parameter"]={ + 3 + }, + ["boardrange"]={ + { + ["type"]=0, + ["range"]=2 + } + } + }, + [39]={ + ["universal"]=1, + ["weight"]=2000, + ["qlt"]=3, + ["type"]=10, + ["parameter"]={ + 3 + }, + ["boardrange"]={ + { + ["type"]=0, + ["range"]=4 + } + } + }, + [40]={ + ["universal"]=1, + ["weight"]=1000, + ["qlt"]=4, + ["type"]=10, + ["parameter"]={ + 3 + }, + ["boardrange"]={ + { + ["type"]=0, + ["range"]=5 + } + } + }, + [41]={ + ["universal"]=1, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=11, + ["parameter"]={ + 3 + } + }, + [42]={ + ["universal"]=1, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=10, + ["parameter"]={ + 4 + }, + ["boardrange"]={ + { + ["type"]=0, + ["range"]=2 + } + } + }, + [43]={ + ["universal"]=1, + ["weight"]=2000, + ["qlt"]=3, + ["type"]=10, + ["parameter"]={ + 4 + }, + ["boardrange"]={ + { + ["type"]=0, + ["range"]=4 + } + } + }, + [44]={ + ["universal"]=1, + ["weight"]=1000, + ["qlt"]=4, + ["type"]=10, + ["parameter"]={ + 4 + }, + ["boardrange"]={ + { + ["type"]=0, + ["range"]=5 + } + } + }, + [45]={ + ["universal"]=1, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=11, + ["parameter"]={ + 4 + } + }, + [46]={ + ["universal"]=1, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=10, + ["parameter"]={ + 5 + }, + ["boardrange"]={ + { + ["type"]=0, + ["range"]=2 + } + } + }, + [47]={ + ["universal"]=1, + ["weight"]=2000, + ["qlt"]=3, + ["type"]=10, + ["parameter"]={ + 5 + }, + ["boardrange"]={ + { + ["type"]=0, + ["range"]=4 + } + } + }, + [48]={ + ["universal"]=1, + ["weight"]=1000, + ["qlt"]=4, + ["type"]=10, + ["parameter"]={ + 5 + }, + ["boardrange"]={ + { + ["type"]=0, + ["range"]=5 + } + } + }, + [49]={ + ["universal"]=1, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=11, + ["parameter"]={ + 5 + } + }, + [200101]={ + ["limit_times"]=1, + ["weight"]=2000, + ["qlt"]=3, + ["type"]=2, + ["skill_card"]={ + 10 + }, + ["boardrange"]={ + { + ["type"]=1, + ["range"]=1 + }, + { + ["type"]=2, + ["range"]=1 + } + } + }, + [200102]={ + ["limit_times"]=2, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=3, + ["parameter"]={ + 1000 + }, + ["skill_card"]={ + 10 + } + }, + [200103]={ + ["limit_times"]=1, + ["weight"]=1000, + ["qlt"]=4, + ["type"]=9, + ["skill_card"]={ + 10 + }, + ["effect"]={ + { + ["type"]="hit_stun", + ["num"]=0, + ["ratio"]=1000, + ["round"]=1 + } + }, + ["obj"]=2 + }, + [200201]={ + ["limit_times"]=1, + ["weight"]=2000, + ["qlt"]=3, + ["type"]=1, + ["parameter"]={ + 21 + }, + ["skill_card"]={ + 20 + } + }, + [200202]={ + ["limit_times"]=2, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=3, + ["parameter"]={ + 1000 + }, + ["skill_card"]={ + 20, + 21 + } + }, + [200203]={ + ["limit_times"]=1, + ["weight"]=1000, + ["qlt"]=4, + ["type"]=6, + ["parameter"]={ + 1 + }, + ["skill_card"]={ + 20, + 21 + } + }, + [200301]={ + ["limit_times"]=1, + ["weight"]=2000, + ["qlt"]=3, + ["type"]=4, + ["skill_card"]={ + 30 + } + }, + [200302]={ + ["limit_times"]=3, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=3, + ["parameter"]={ + 1000 + }, + ["skill_card"]={ + 30 + } + }, + [200303]={ + ["limit_times"]=2, + ["weight"]=1000, + ["qlt"]=4, + ["type"]=2, + ["skill_card"]={ + 30 + }, + ["boardrange"]={ + { + ["type"]=0, + ["range"]=2 + } + } + }, + [200401]={ + ["limit_times"]=1, + ["weight"]=2000, + ["qlt"]=3, + ["type"]=4, + ["skill_card"]={ + 40 + } + }, + [200402]={ + ["limit_times"]=2, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=7, + ["parameter"]={ + 1, + 1000 + }, + ["skill_card"]={ + 40 + } + }, + [200403]={ + ["limit_times"]=1, + ["weight"]=1000, + ["qlt"]=4, + ["type"]=8, + ["parameter"]={ + 1, + 1 + }, + ["skill_card"]={ + 40 + } + }, + [200501]={ + ["limit_times"]=1, + ["weight"]=2000, + ["qlt"]=3, + ["type"]=2, + ["skill_card"]={ + 50 + }, + ["boardrange"]={ + { + ["type"]=3, + ["range"]=1 + }, + { + ["type"]=4, + ["range"]=1 + } + } + }, + [200502]={ + ["limit_times"]=2, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=3, + ["parameter"]={ + 1000 + }, + ["skill_card"]={ + 50 + } + }, + [200503]={ + ["limit_times"]=1, + ["weight"]=1000, + ["qlt"]=4, + ["type"]=9, + ["skill_card"]={ + 50 + }, + ["effect"]={ + { + ["type"]="hit_block", + ["num"]=200, + ["ratio"]=10000, + ["round"]=1 + } + } + }, + [200601]={ + ["limit_times"]=1, + ["weight"]=2000, + ["qlt"]=3, + ["type"]=4, + ["skill_card"]={ + 60 + } + }, + [200602]={ + ["limit_times"]=2, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=3, + ["parameter"]={ + 1000 + }, + ["skill_card"]={ + 60 + } + }, + [200603]={ + ["limit_times"]=1, + ["weight"]=1000, + ["qlt"]=4, + ["type"]=9, + ["skill_card"]={ + 60 + }, + ["effect"]={ + { + ["type"]="hit_healp", + ["num"]=200, + ["ratio"]=10000, + ["round"]=1 + } + } + }, + [200701]={ + ["limit_times"]=1, + ["weight"]=2000, + ["qlt"]=3, + ["type"]=1, + ["parameter"]={ + 71 + }, + ["skill_card"]={ + 70 + } + }, + [200702]={ + ["limit_times"]=2, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=3, + ["parameter"]={ + 1000 + }, + ["skill_card"]={ + 70, + 71 + } + }, + [200703]={ + ["limit_times"]=1, + ["weight"]=1000, + ["qlt"]=4, + ["type"]=1, + ["parameter"]={ + 72 + }, + ["skill_card"]={ + 70, + 71 + } + }, + [200801]={ + ["limit_times"]=1, + ["weight"]=2000, + ["qlt"]=3, + ["type"]=1, + ["parameter"]={ + 81 + }, + ["skill_card"]={ + 80 + } + }, + [200802]={ + ["limit_times"]=2, + ["weight"]=3000, + ["qlt"]=2, + ["type"]=3, + ["parameter"]={ + 1000 + }, + ["skill_card"]={ + 80, + 81 + } + }, + [200803]={ + ["limit_times"]=1, + ["weight"]=1000, + ["qlt"]=4, + ["type"]=8, + ["parameter"]={ + 1, + 1 + }, + ["skill_card"]={ + 80, + 81 + } + } } local config = { -data=skill_rogue,count=0 +data=skill_rogue,count=73 } return config \ No newline at end of file diff --git a/lua/app/config/strings/cn/chapter.lua b/lua/app/config/strings/cn/chapter.lua new file mode 100644 index 00000000..5c84409c --- /dev/null +++ b/lua/app/config/strings/cn/chapter.lua @@ -0,0 +1,36 @@ +local chapter = { + [1]={ + ["name"]="第1关" + }, + [2]={ + ["name"]="第2关" + }, + [3]={ + ["name"]="第3关" + }, + [4]={ + ["name"]="第4关" + }, + [5]={ + ["name"]="第5关" + }, + [6]={ + ["name"]="第6关" + }, + [7]={ + ["name"]="第7关" + }, + [8]={ + ["name"]="第8关" + }, + [9]={ + ["name"]="第9关" + }, + [10]={ + ["name"]="第10关" + } +} +local config = { +data=chapter,count=10 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/cn/chapter.lua.meta b/lua/app/config/strings/cn/chapter.lua.meta new file mode 100644 index 00000000..cb5a2b2c --- /dev/null +++ b/lua/app/config/strings/cn/chapter.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: d78fa8d615ae443468ef485a533461ef +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/cn/hero.lua b/lua/app/config/strings/cn/hero.lua new file mode 100644 index 00000000..05043874 --- /dev/null +++ b/lua/app/config/strings/cn/hero.lua @@ -0,0 +1,30 @@ +local hero = { + [1]={ + ["name"]="王八拳" + }, + [2]={ + ["name"]="无影腿" + }, + [3]={ + ["name"]="闪电鞭" + }, + [4]={ + ["name"]="金钟罩" + }, + [5]={ + ["name"]="大鹏展翅" + }, + [6]={ + ["name"]="丹田吐纳" + }, + [7]={ + ["name"]="疾风骤雨" + }, + [8]={ + ["name"]="寒冰掌" + } +} +local config = { +data=hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/cn/hero.lua.meta b/lua/app/config/strings/cn/hero.lua.meta new file mode 100644 index 00000000..e2028e62 --- /dev/null +++ b/lua/app/config/strings/cn/hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: efeee740136fcde44829cd767bcad4d4 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/cn/skill_hero.lua b/lua/app/config/strings/cn/skill_hero.lua new file mode 100644 index 00000000..82a1c101 --- /dev/null +++ b/lua/app/config/strings/cn/skill_hero.lua @@ -0,0 +1,30 @@ +local skill_hero = { + [10]={ + ["desc"]="将上下2格元素进行消除" + }, + [20]={ + ["desc"]="使用一次无影腿终结技,造成大量伤害" + }, + [30]={ + ["desc"]="随机额外消除2个元素" + }, + [40]={ + ["desc"]="生成一个金钟罩持续1回合,可承受最大生命值10%伤害" + }, + [50]={ + ["desc"]="将左右2格元素进行消除" + }, + [60]={ + ["desc"]="立即恢复20%生命值" + }, + [70]={ + ["desc"]="每一次攻击的伤害将增加50%" + }, + [80]={ + ["desc"]="额外造成1次伤害并给敌人1回合冰霜效果" + } +} +local config = { +data=skill_hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/cn/skill_hero.lua.meta b/lua/app/config/strings/cn/skill_hero.lua.meta new file mode 100644 index 00000000..d14575f9 --- /dev/null +++ b/lua/app/config/strings/cn/skill_hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 656b3309081fb064eaac3b429fc88702 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/cn/skill_rogue.lua b/lua/app/config/strings/cn/skill_rogue.lua new file mode 100644 index 00000000..79c3a1a8 --- /dev/null +++ b/lua/app/config/strings/cn/skill_rogue.lua @@ -0,0 +1,225 @@ +local skill_rogue = { + [1]={ + ["desc"]="全局攻击力+3%~5%" + }, + [2]={ + ["desc"]="全局攻击力+8%~12%" + }, + [3]={ + ["desc"]="全局攻击力+13%~20%" + }, + [4]={ + ["desc"]="红色攻击+3%~5%" + }, + [5]={ + ["desc"]="红色攻击+8%~12%" + }, + [6]={ + ["desc"]="红色攻击+13%~20%" + }, + [7]={ + ["desc"]="黄色攻击+3%~5%" + }, + [8]={ + ["desc"]="黄色攻击+8%~12%" + }, + [9]={ + ["desc"]="黄色攻击+13%~20%" + }, + [10]={ + ["desc"]="绿色攻击+3%~5%" + }, + [11]={ + ["desc"]="绿色攻击+8%~12%" + }, + [12]={ + ["desc"]="绿色攻击+13%~20%" + }, + [13]={ + ["desc"]="蓝色攻击+3%~5%" + }, + [14]={ + ["desc"]="蓝色攻击+8%~12%" + }, + [15]={ + ["desc"]="蓝色攻击+13%~20%" + }, + [16]={ + ["desc"]="紫色攻击+3%~5%" + }, + [17]={ + ["desc"]="紫色攻击+8%~12%" + }, + [18]={ + ["desc"]="紫色攻击+13%~20%" + }, + [19]={ + ["desc"]="角色血量低于50%时所有伤害增加40%" + }, + [20]={ + ["desc"]="获得经验+5%" + }, + [21]={ + ["desc"]="最大生命值+3%~5%" + }, + [22]={ + ["desc"]="最大生命值+8%~12%" + }, + [23]={ + ["desc"]="最大生命值+13%~20%" + }, + [24]={ + ["desc"]="回合开始前生命值恢复1%" + }, + [25]={ + ["desc"]="生命值恢复效果提升1%" + }, + [26]={ + ["desc"]="格挡概率增加10%" + }, + [27]={ + ["desc"]="暴击率+10%" + }, + [28]={ + ["desc"]="受到伤害降低10%" + }, + [29]={ + ["desc"]="角色血量恢复10%" + }, + [30]={ + ["desc"]="将场上随机2个非红色元素变为红色" + }, + [31]={ + ["desc"]="将场上随机4个非红色元素变为红色" + }, + [32]={ + ["desc"]="将场上随机5个非红色元素变为红色" + }, + [33]={ + ["desc"]="将场上所有红色元素变成2个" + }, + [34]={ + ["desc"]="将场上随机2个非黄色元素变为黄色" + }, + [35]={ + ["desc"]="将场上随机4个非黄色元素变为黄色" + }, + [36]={ + ["desc"]="将场上随机5个非黄色元素变为黄色" + }, + [37]={ + ["desc"]="将场上所有黄色元素变成2个" + }, + [38]={ + ["desc"]="将场上随机2个非绿色元素变为绿色" + }, + [39]={ + ["desc"]="将场上随机4个非绿色元素变为绿色" + }, + [40]={ + ["desc"]="将场上随机5个非绿色元素变为绿色" + }, + [41]={ + ["desc"]="将场上所有绿色元素变成2个" + }, + [42]={ + ["desc"]="将场上随机2个非蓝色元素变为蓝色" + }, + [43]={ + ["desc"]="将场上随机4个非蓝色元素变为蓝色" + }, + [44]={ + ["desc"]="将场上随机5个非蓝色元素变为蓝色" + }, + [45]={ + ["desc"]="将场上所有蓝色元素变成2个" + }, + [46]={ + ["desc"]="将场上随机2个非紫色元素变为紫色" + }, + [47]={ + ["desc"]="将场上随机4个非紫色元素变为紫色" + }, + [48]={ + ["desc"]="将场上随机5个非紫色元素变为紫色" + }, + [49]={ + ["desc"]="将场上所有紫色元素变成2个" + }, + [200101]={ + ["desc"]="王八拳可上下多消1格" + }, + [200102]={ + ["desc"]="连接王八拳伤害增加10%" + }, + [200103]={ + ["desc"]="连接王八拳每次攻击有10%概率眩晕对手1回合。" + }, + [200201]={ + ["desc"]="生成无影腿终结技时顺带将其底部3个元素变为金色" + }, + [200202]={ + ["desc"]="连接无影腿时伤害增加10%" + }, + [200203]={ + ["desc"]="无影腿终结技可踢2次" + }, + [200301]={ + ["desc"]="闪电鞭可与任何颜色链接" + }, + [200302]={ + ["desc"]="被闪电鞭消除的元素造成的伤害提升10%" + }, + [200303]={ + ["desc"]="闪电鞭随机消除元素增加2个" + }, + [200401]={ + ["desc"]="金钟罩可与任何颜色链接" + }, + [200402]={ + ["desc"]="增加金钟罩承受伤害10%" + }, + [200403]={ + ["desc"]="生成的金钟罩额外持续1回合" + }, + [200501]={ + ["desc"]="大鹏展翅左右可多消1格" + }, + [200502]={ + ["desc"]="连接大鹏展翅伤害增加10%" + }, + [200503]={ + ["desc"]="每有1个元素连接大鹏展翅则本回合格挡增加2%" + }, + [200601]={ + ["desc"]="丹田吐纳可与任何元素连接" + }, + [200602]={ + ["desc"]="连接丹田吐纳时伤害增加10%" + }, + [200603]={ + ["desc"]="连接丹田吐纳的每一击都将恢复2%生命值" + }, + [200701]={ + ["desc"]="疾风骤雨被连接时其上下左右4个元素变为金色元素" + }, + [200702]={ + ["desc"]="连接疾风骤雨时伤害增加10%" + }, + [200703]={ + ["desc"]="疾风骤雨被连接时周围8格元素变为金色元素" + }, + [200801]={ + ["desc"]="寒冰掌被使用时可消除掉其上下左右4个元素" + }, + [200802]={ + ["desc"]="连接寒冰掌时伤害增加10%" + }, + [200803]={ + ["desc"]="冰霜效果将持续2回合" + } +} +local config = { +data=skill_rogue,count=73 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/cn/skill_rogue.lua.meta b/lua/app/config/strings/cn/skill_rogue.lua.meta new file mode 100644 index 00000000..c769b239 --- /dev/null +++ b/lua/app/config/strings/cn/skill_rogue.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 2f72f412e92f35f4eb512c4c02f98ac6 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/de/chapter.lua b/lua/app/config/strings/de/chapter.lua new file mode 100644 index 00000000..f94155c0 --- /dev/null +++ b/lua/app/config/strings/de/chapter.lua @@ -0,0 +1,36 @@ +local chapter = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + }, + [9]={ + + }, + [10]={ + + } +} +local config = { +data=chapter,count=10 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/de/chapter.lua.meta b/lua/app/config/strings/de/chapter.lua.meta new file mode 100644 index 00000000..e5194bdf --- /dev/null +++ b/lua/app/config/strings/de/chapter.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: becd87bdbd6d3834b85a2956be498358 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/de/hero.lua b/lua/app/config/strings/de/hero.lua new file mode 100644 index 00000000..936c545c --- /dev/null +++ b/lua/app/config/strings/de/hero.lua @@ -0,0 +1,30 @@ +local hero = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + } +} +local config = { +data=hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/de/hero.lua.meta b/lua/app/config/strings/de/hero.lua.meta new file mode 100644 index 00000000..f44aef47 --- /dev/null +++ b/lua/app/config/strings/de/hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 75a2c45cbe2bcfd4995b93096c253113 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/de/skill_hero.lua b/lua/app/config/strings/de/skill_hero.lua new file mode 100644 index 00000000..86b9761a --- /dev/null +++ b/lua/app/config/strings/de/skill_hero.lua @@ -0,0 +1,30 @@ +local skill_hero = { + [10]={ + + }, + [20]={ + + }, + [30]={ + + }, + [40]={ + + }, + [50]={ + + }, + [60]={ + + }, + [70]={ + + }, + [80]={ + + } +} +local config = { +data=skill_hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/de/skill_hero.lua.meta b/lua/app/config/strings/de/skill_hero.lua.meta new file mode 100644 index 00000000..3c364ca7 --- /dev/null +++ b/lua/app/config/strings/de/skill_hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 52043ed0a49b656479a6ec642f790696 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/de/skill_rogue.lua b/lua/app/config/strings/de/skill_rogue.lua new file mode 100644 index 00000000..b52593c0 --- /dev/null +++ b/lua/app/config/strings/de/skill_rogue.lua @@ -0,0 +1,225 @@ +local skill_rogue = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + }, + [9]={ + + }, + [10]={ + + }, + [11]={ + + }, + [12]={ + + }, + [13]={ + + }, + [14]={ + + }, + [15]={ + + }, + [16]={ + + }, + [17]={ + + }, + [18]={ + + }, + [19]={ + + }, + [20]={ + + }, + [21]={ + + }, + [22]={ + + }, + [23]={ + + }, + [24]={ + + }, + [25]={ + + }, + [26]={ + + }, + [27]={ + + }, + [28]={ + + }, + [29]={ + + }, + [30]={ + + }, + [31]={ + + }, + [32]={ + + }, + [33]={ + + }, + [34]={ + + }, + [35]={ + + }, + [36]={ + + }, + [37]={ + + }, + [38]={ + + }, + [39]={ + + }, + [40]={ + + }, + [41]={ + + }, + [42]={ + + }, + [43]={ + + }, + [44]={ + + }, + [45]={ + + }, + [46]={ + + }, + [47]={ + + }, + [48]={ + + }, + [49]={ + + }, + [200101]={ + + }, + [200102]={ + + }, + [200103]={ + + }, + [200201]={ + + }, + [200202]={ + + }, + [200203]={ + + }, + [200301]={ + + }, + [200302]={ + + }, + [200303]={ + + }, + [200401]={ + + }, + [200402]={ + + }, + [200403]={ + + }, + [200501]={ + + }, + [200502]={ + + }, + [200503]={ + + }, + [200601]={ + + }, + [200602]={ + + }, + [200603]={ + + }, + [200701]={ + + }, + [200702]={ + + }, + [200703]={ + + }, + [200801]={ + + }, + [200802]={ + + }, + [200803]={ + + } +} +local config = { +data=skill_rogue,count=73 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/de/skill_rogue.lua.meta b/lua/app/config/strings/de/skill_rogue.lua.meta new file mode 100644 index 00000000..d9a63879 --- /dev/null +++ b/lua/app/config/strings/de/skill_rogue.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: a1e83d213f0bf634c8e97c6287c32ae7 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/en/chapter.lua b/lua/app/config/strings/en/chapter.lua new file mode 100644 index 00000000..f94155c0 --- /dev/null +++ b/lua/app/config/strings/en/chapter.lua @@ -0,0 +1,36 @@ +local chapter = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + }, + [9]={ + + }, + [10]={ + + } +} +local config = { +data=chapter,count=10 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/en/chapter.lua.meta b/lua/app/config/strings/en/chapter.lua.meta new file mode 100644 index 00000000..fd04733f --- /dev/null +++ b/lua/app/config/strings/en/chapter.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 1e5af6f47d2c6cb418798e94a47a8ccd +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/en/hero.lua b/lua/app/config/strings/en/hero.lua new file mode 100644 index 00000000..936c545c --- /dev/null +++ b/lua/app/config/strings/en/hero.lua @@ -0,0 +1,30 @@ +local hero = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + } +} +local config = { +data=hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/en/hero.lua.meta b/lua/app/config/strings/en/hero.lua.meta new file mode 100644 index 00000000..52bbd3b7 --- /dev/null +++ b/lua/app/config/strings/en/hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 477210c4740714f43a95811bbf4d4353 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/en/skill_hero.lua b/lua/app/config/strings/en/skill_hero.lua new file mode 100644 index 00000000..86b9761a --- /dev/null +++ b/lua/app/config/strings/en/skill_hero.lua @@ -0,0 +1,30 @@ +local skill_hero = { + [10]={ + + }, + [20]={ + + }, + [30]={ + + }, + [40]={ + + }, + [50]={ + + }, + [60]={ + + }, + [70]={ + + }, + [80]={ + + } +} +local config = { +data=skill_hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/en/skill_hero.lua.meta b/lua/app/config/strings/en/skill_hero.lua.meta new file mode 100644 index 00000000..7dd06be1 --- /dev/null +++ b/lua/app/config/strings/en/skill_hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 9ed23fb723c84bc4cbe22954d6b17a5a +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/en/skill_rogue.lua b/lua/app/config/strings/en/skill_rogue.lua new file mode 100644 index 00000000..b52593c0 --- /dev/null +++ b/lua/app/config/strings/en/skill_rogue.lua @@ -0,0 +1,225 @@ +local skill_rogue = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + }, + [9]={ + + }, + [10]={ + + }, + [11]={ + + }, + [12]={ + + }, + [13]={ + + }, + [14]={ + + }, + [15]={ + + }, + [16]={ + + }, + [17]={ + + }, + [18]={ + + }, + [19]={ + + }, + [20]={ + + }, + [21]={ + + }, + [22]={ + + }, + [23]={ + + }, + [24]={ + + }, + [25]={ + + }, + [26]={ + + }, + [27]={ + + }, + [28]={ + + }, + [29]={ + + }, + [30]={ + + }, + [31]={ + + }, + [32]={ + + }, + [33]={ + + }, + [34]={ + + }, + [35]={ + + }, + [36]={ + + }, + [37]={ + + }, + [38]={ + + }, + [39]={ + + }, + [40]={ + + }, + [41]={ + + }, + [42]={ + + }, + [43]={ + + }, + [44]={ + + }, + [45]={ + + }, + [46]={ + + }, + [47]={ + + }, + [48]={ + + }, + [49]={ + + }, + [200101]={ + + }, + [200102]={ + + }, + [200103]={ + + }, + [200201]={ + + }, + [200202]={ + + }, + [200203]={ + + }, + [200301]={ + + }, + [200302]={ + + }, + [200303]={ + + }, + [200401]={ + + }, + [200402]={ + + }, + [200403]={ + + }, + [200501]={ + + }, + [200502]={ + + }, + [200503]={ + + }, + [200601]={ + + }, + [200602]={ + + }, + [200603]={ + + }, + [200701]={ + + }, + [200702]={ + + }, + [200703]={ + + }, + [200801]={ + + }, + [200802]={ + + }, + [200803]={ + + } +} +local config = { +data=skill_rogue,count=73 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/en/skill_rogue.lua.meta b/lua/app/config/strings/en/skill_rogue.lua.meta new file mode 100644 index 00000000..364d1a8d --- /dev/null +++ b/lua/app/config/strings/en/skill_rogue.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: c1d50c1fa2124c54699075edfe8eff89 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/fr/chapter.lua b/lua/app/config/strings/fr/chapter.lua new file mode 100644 index 00000000..f94155c0 --- /dev/null +++ b/lua/app/config/strings/fr/chapter.lua @@ -0,0 +1,36 @@ +local chapter = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + }, + [9]={ + + }, + [10]={ + + } +} +local config = { +data=chapter,count=10 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/fr/chapter.lua.meta b/lua/app/config/strings/fr/chapter.lua.meta new file mode 100644 index 00000000..02097b96 --- /dev/null +++ b/lua/app/config/strings/fr/chapter.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: d3dfc7227a3498740a7983c0b00d25c7 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/fr/hero.lua b/lua/app/config/strings/fr/hero.lua new file mode 100644 index 00000000..936c545c --- /dev/null +++ b/lua/app/config/strings/fr/hero.lua @@ -0,0 +1,30 @@ +local hero = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + } +} +local config = { +data=hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/fr/hero.lua.meta b/lua/app/config/strings/fr/hero.lua.meta new file mode 100644 index 00000000..c3374e76 --- /dev/null +++ b/lua/app/config/strings/fr/hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 9961c77a5c2af2b4d9e3a2b571e30fb6 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/fr/skill_hero.lua b/lua/app/config/strings/fr/skill_hero.lua new file mode 100644 index 00000000..86b9761a --- /dev/null +++ b/lua/app/config/strings/fr/skill_hero.lua @@ -0,0 +1,30 @@ +local skill_hero = { + [10]={ + + }, + [20]={ + + }, + [30]={ + + }, + [40]={ + + }, + [50]={ + + }, + [60]={ + + }, + [70]={ + + }, + [80]={ + + } +} +local config = { +data=skill_hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/fr/skill_hero.lua.meta b/lua/app/config/strings/fr/skill_hero.lua.meta new file mode 100644 index 00000000..4b4c27b0 --- /dev/null +++ b/lua/app/config/strings/fr/skill_hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 47f8c514724c20d47a92c9a1512ebb6b +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/fr/skill_rogue.lua b/lua/app/config/strings/fr/skill_rogue.lua new file mode 100644 index 00000000..b52593c0 --- /dev/null +++ b/lua/app/config/strings/fr/skill_rogue.lua @@ -0,0 +1,225 @@ +local skill_rogue = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + }, + [9]={ + + }, + [10]={ + + }, + [11]={ + + }, + [12]={ + + }, + [13]={ + + }, + [14]={ + + }, + [15]={ + + }, + [16]={ + + }, + [17]={ + + }, + [18]={ + + }, + [19]={ + + }, + [20]={ + + }, + [21]={ + + }, + [22]={ + + }, + [23]={ + + }, + [24]={ + + }, + [25]={ + + }, + [26]={ + + }, + [27]={ + + }, + [28]={ + + }, + [29]={ + + }, + [30]={ + + }, + [31]={ + + }, + [32]={ + + }, + [33]={ + + }, + [34]={ + + }, + [35]={ + + }, + [36]={ + + }, + [37]={ + + }, + [38]={ + + }, + [39]={ + + }, + [40]={ + + }, + [41]={ + + }, + [42]={ + + }, + [43]={ + + }, + [44]={ + + }, + [45]={ + + }, + [46]={ + + }, + [47]={ + + }, + [48]={ + + }, + [49]={ + + }, + [200101]={ + + }, + [200102]={ + + }, + [200103]={ + + }, + [200201]={ + + }, + [200202]={ + + }, + [200203]={ + + }, + [200301]={ + + }, + [200302]={ + + }, + [200303]={ + + }, + [200401]={ + + }, + [200402]={ + + }, + [200403]={ + + }, + [200501]={ + + }, + [200502]={ + + }, + [200503]={ + + }, + [200601]={ + + }, + [200602]={ + + }, + [200603]={ + + }, + [200701]={ + + }, + [200702]={ + + }, + [200703]={ + + }, + [200801]={ + + }, + [200802]={ + + }, + [200803]={ + + } +} +local config = { +data=skill_rogue,count=73 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/fr/skill_rogue.lua.meta b/lua/app/config/strings/fr/skill_rogue.lua.meta new file mode 100644 index 00000000..3553e48e --- /dev/null +++ b/lua/app/config/strings/fr/skill_rogue.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: bce0a949f9344044abc04bf571518479 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/id/chapter.lua b/lua/app/config/strings/id/chapter.lua new file mode 100644 index 00000000..f94155c0 --- /dev/null +++ b/lua/app/config/strings/id/chapter.lua @@ -0,0 +1,36 @@ +local chapter = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + }, + [9]={ + + }, + [10]={ + + } +} +local config = { +data=chapter,count=10 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/id/chapter.lua.meta b/lua/app/config/strings/id/chapter.lua.meta new file mode 100644 index 00000000..ae2a8900 --- /dev/null +++ b/lua/app/config/strings/id/chapter.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 67c1ea18cf9128c49af5b691284c31e0 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/id/hero.lua b/lua/app/config/strings/id/hero.lua new file mode 100644 index 00000000..936c545c --- /dev/null +++ b/lua/app/config/strings/id/hero.lua @@ -0,0 +1,30 @@ +local hero = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + } +} +local config = { +data=hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/id/hero.lua.meta b/lua/app/config/strings/id/hero.lua.meta new file mode 100644 index 00000000..cb324039 --- /dev/null +++ b/lua/app/config/strings/id/hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 804e5fa17855dbb468e8655e257066d8 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/id/skill_hero.lua b/lua/app/config/strings/id/skill_hero.lua new file mode 100644 index 00000000..86b9761a --- /dev/null +++ b/lua/app/config/strings/id/skill_hero.lua @@ -0,0 +1,30 @@ +local skill_hero = { + [10]={ + + }, + [20]={ + + }, + [30]={ + + }, + [40]={ + + }, + [50]={ + + }, + [60]={ + + }, + [70]={ + + }, + [80]={ + + } +} +local config = { +data=skill_hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/id/skill_hero.lua.meta b/lua/app/config/strings/id/skill_hero.lua.meta new file mode 100644 index 00000000..0fae599d --- /dev/null +++ b/lua/app/config/strings/id/skill_hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 5818c0136d578bf43b5ea61b3ee212a9 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/id/skill_rogue.lua b/lua/app/config/strings/id/skill_rogue.lua new file mode 100644 index 00000000..b52593c0 --- /dev/null +++ b/lua/app/config/strings/id/skill_rogue.lua @@ -0,0 +1,225 @@ +local skill_rogue = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + }, + [9]={ + + }, + [10]={ + + }, + [11]={ + + }, + [12]={ + + }, + [13]={ + + }, + [14]={ + + }, + [15]={ + + }, + [16]={ + + }, + [17]={ + + }, + [18]={ + + }, + [19]={ + + }, + [20]={ + + }, + [21]={ + + }, + [22]={ + + }, + [23]={ + + }, + [24]={ + + }, + [25]={ + + }, + [26]={ + + }, + [27]={ + + }, + [28]={ + + }, + [29]={ + + }, + [30]={ + + }, + [31]={ + + }, + [32]={ + + }, + [33]={ + + }, + [34]={ + + }, + [35]={ + + }, + [36]={ + + }, + [37]={ + + }, + [38]={ + + }, + [39]={ + + }, + [40]={ + + }, + [41]={ + + }, + [42]={ + + }, + [43]={ + + }, + [44]={ + + }, + [45]={ + + }, + [46]={ + + }, + [47]={ + + }, + [48]={ + + }, + [49]={ + + }, + [200101]={ + + }, + [200102]={ + + }, + [200103]={ + + }, + [200201]={ + + }, + [200202]={ + + }, + [200203]={ + + }, + [200301]={ + + }, + [200302]={ + + }, + [200303]={ + + }, + [200401]={ + + }, + [200402]={ + + }, + [200403]={ + + }, + [200501]={ + + }, + [200502]={ + + }, + [200503]={ + + }, + [200601]={ + + }, + [200602]={ + + }, + [200603]={ + + }, + [200701]={ + + }, + [200702]={ + + }, + [200703]={ + + }, + [200801]={ + + }, + [200802]={ + + }, + [200803]={ + + } +} +local config = { +data=skill_rogue,count=73 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/id/skill_rogue.lua.meta b/lua/app/config/strings/id/skill_rogue.lua.meta new file mode 100644 index 00000000..e30f38ab --- /dev/null +++ b/lua/app/config/strings/id/skill_rogue.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: f74bda9166e39f945b09e4a2f8ac9dee +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/ja/chapter.lua b/lua/app/config/strings/ja/chapter.lua new file mode 100644 index 00000000..f94155c0 --- /dev/null +++ b/lua/app/config/strings/ja/chapter.lua @@ -0,0 +1,36 @@ +local chapter = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + }, + [9]={ + + }, + [10]={ + + } +} +local config = { +data=chapter,count=10 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/ja/chapter.lua.meta b/lua/app/config/strings/ja/chapter.lua.meta new file mode 100644 index 00000000..72b07162 --- /dev/null +++ b/lua/app/config/strings/ja/chapter.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 61feda3ac6a7b5d499dfbbb2e6811309 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/ja/hero.lua b/lua/app/config/strings/ja/hero.lua new file mode 100644 index 00000000..936c545c --- /dev/null +++ b/lua/app/config/strings/ja/hero.lua @@ -0,0 +1,30 @@ +local hero = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + } +} +local config = { +data=hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/ja/hero.lua.meta b/lua/app/config/strings/ja/hero.lua.meta new file mode 100644 index 00000000..4af6acc3 --- /dev/null +++ b/lua/app/config/strings/ja/hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: ffbc5b9207088874682577f60b5697e7 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/ja/skill_hero.lua b/lua/app/config/strings/ja/skill_hero.lua new file mode 100644 index 00000000..86b9761a --- /dev/null +++ b/lua/app/config/strings/ja/skill_hero.lua @@ -0,0 +1,30 @@ +local skill_hero = { + [10]={ + + }, + [20]={ + + }, + [30]={ + + }, + [40]={ + + }, + [50]={ + + }, + [60]={ + + }, + [70]={ + + }, + [80]={ + + } +} +local config = { +data=skill_hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/ja/skill_hero.lua.meta b/lua/app/config/strings/ja/skill_hero.lua.meta new file mode 100644 index 00000000..063fae0b --- /dev/null +++ b/lua/app/config/strings/ja/skill_hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: c3c8d0c6a926f0946acac0aad625138f +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/ja/skill_rogue.lua b/lua/app/config/strings/ja/skill_rogue.lua new file mode 100644 index 00000000..b52593c0 --- /dev/null +++ b/lua/app/config/strings/ja/skill_rogue.lua @@ -0,0 +1,225 @@ +local skill_rogue = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + }, + [9]={ + + }, + [10]={ + + }, + [11]={ + + }, + [12]={ + + }, + [13]={ + + }, + [14]={ + + }, + [15]={ + + }, + [16]={ + + }, + [17]={ + + }, + [18]={ + + }, + [19]={ + + }, + [20]={ + + }, + [21]={ + + }, + [22]={ + + }, + [23]={ + + }, + [24]={ + + }, + [25]={ + + }, + [26]={ + + }, + [27]={ + + }, + [28]={ + + }, + [29]={ + + }, + [30]={ + + }, + [31]={ + + }, + [32]={ + + }, + [33]={ + + }, + [34]={ + + }, + [35]={ + + }, + [36]={ + + }, + [37]={ + + }, + [38]={ + + }, + [39]={ + + }, + [40]={ + + }, + [41]={ + + }, + [42]={ + + }, + [43]={ + + }, + [44]={ + + }, + [45]={ + + }, + [46]={ + + }, + [47]={ + + }, + [48]={ + + }, + [49]={ + + }, + [200101]={ + + }, + [200102]={ + + }, + [200103]={ + + }, + [200201]={ + + }, + [200202]={ + + }, + [200203]={ + + }, + [200301]={ + + }, + [200302]={ + + }, + [200303]={ + + }, + [200401]={ + + }, + [200402]={ + + }, + [200403]={ + + }, + [200501]={ + + }, + [200502]={ + + }, + [200503]={ + + }, + [200601]={ + + }, + [200602]={ + + }, + [200603]={ + + }, + [200701]={ + + }, + [200702]={ + + }, + [200703]={ + + }, + [200801]={ + + }, + [200802]={ + + }, + [200803]={ + + } +} +local config = { +data=skill_rogue,count=73 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/ja/skill_rogue.lua.meta b/lua/app/config/strings/ja/skill_rogue.lua.meta new file mode 100644 index 00000000..5f2fd447 --- /dev/null +++ b/lua/app/config/strings/ja/skill_rogue.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 77cbc4e16d24e194fba2e1bd4825b251 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/ko/chapter.lua b/lua/app/config/strings/ko/chapter.lua new file mode 100644 index 00000000..f94155c0 --- /dev/null +++ b/lua/app/config/strings/ko/chapter.lua @@ -0,0 +1,36 @@ +local chapter = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + }, + [9]={ + + }, + [10]={ + + } +} +local config = { +data=chapter,count=10 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/ko/chapter.lua.meta b/lua/app/config/strings/ko/chapter.lua.meta new file mode 100644 index 00000000..69b74499 --- /dev/null +++ b/lua/app/config/strings/ko/chapter.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: f15e8b1dac922444f89a67c359637b0c +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/ko/hero.lua b/lua/app/config/strings/ko/hero.lua new file mode 100644 index 00000000..936c545c --- /dev/null +++ b/lua/app/config/strings/ko/hero.lua @@ -0,0 +1,30 @@ +local hero = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + } +} +local config = { +data=hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/ko/hero.lua.meta b/lua/app/config/strings/ko/hero.lua.meta new file mode 100644 index 00000000..02dab68e --- /dev/null +++ b/lua/app/config/strings/ko/hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 009437ba48b89324490538ab31edcebd +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/ko/skill_hero.lua b/lua/app/config/strings/ko/skill_hero.lua new file mode 100644 index 00000000..86b9761a --- /dev/null +++ b/lua/app/config/strings/ko/skill_hero.lua @@ -0,0 +1,30 @@ +local skill_hero = { + [10]={ + + }, + [20]={ + + }, + [30]={ + + }, + [40]={ + + }, + [50]={ + + }, + [60]={ + + }, + [70]={ + + }, + [80]={ + + } +} +local config = { +data=skill_hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/ko/skill_hero.lua.meta b/lua/app/config/strings/ko/skill_hero.lua.meta new file mode 100644 index 00000000..5fbaf1d3 --- /dev/null +++ b/lua/app/config/strings/ko/skill_hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 47433e8e0f6b71a4f91e25cd4f6ace44 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/ko/skill_rogue.lua b/lua/app/config/strings/ko/skill_rogue.lua new file mode 100644 index 00000000..b52593c0 --- /dev/null +++ b/lua/app/config/strings/ko/skill_rogue.lua @@ -0,0 +1,225 @@ +local skill_rogue = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + }, + [9]={ + + }, + [10]={ + + }, + [11]={ + + }, + [12]={ + + }, + [13]={ + + }, + [14]={ + + }, + [15]={ + + }, + [16]={ + + }, + [17]={ + + }, + [18]={ + + }, + [19]={ + + }, + [20]={ + + }, + [21]={ + + }, + [22]={ + + }, + [23]={ + + }, + [24]={ + + }, + [25]={ + + }, + [26]={ + + }, + [27]={ + + }, + [28]={ + + }, + [29]={ + + }, + [30]={ + + }, + [31]={ + + }, + [32]={ + + }, + [33]={ + + }, + [34]={ + + }, + [35]={ + + }, + [36]={ + + }, + [37]={ + + }, + [38]={ + + }, + [39]={ + + }, + [40]={ + + }, + [41]={ + + }, + [42]={ + + }, + [43]={ + + }, + [44]={ + + }, + [45]={ + + }, + [46]={ + + }, + [47]={ + + }, + [48]={ + + }, + [49]={ + + }, + [200101]={ + + }, + [200102]={ + + }, + [200103]={ + + }, + [200201]={ + + }, + [200202]={ + + }, + [200203]={ + + }, + [200301]={ + + }, + [200302]={ + + }, + [200303]={ + + }, + [200401]={ + + }, + [200402]={ + + }, + [200403]={ + + }, + [200501]={ + + }, + [200502]={ + + }, + [200503]={ + + }, + [200601]={ + + }, + [200602]={ + + }, + [200603]={ + + }, + [200701]={ + + }, + [200702]={ + + }, + [200703]={ + + }, + [200801]={ + + }, + [200802]={ + + }, + [200803]={ + + } +} +local config = { +data=skill_rogue,count=73 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/ko/skill_rogue.lua.meta b/lua/app/config/strings/ko/skill_rogue.lua.meta new file mode 100644 index 00000000..faf62ae3 --- /dev/null +++ b/lua/app/config/strings/ko/skill_rogue.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 4fa88b68e52f1514780f5faca9e3939f +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/pt/chapter.lua b/lua/app/config/strings/pt/chapter.lua new file mode 100644 index 00000000..f94155c0 --- /dev/null +++ b/lua/app/config/strings/pt/chapter.lua @@ -0,0 +1,36 @@ +local chapter = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + }, + [9]={ + + }, + [10]={ + + } +} +local config = { +data=chapter,count=10 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/pt/chapter.lua.meta b/lua/app/config/strings/pt/chapter.lua.meta new file mode 100644 index 00000000..f8b9c165 --- /dev/null +++ b/lua/app/config/strings/pt/chapter.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: f2c3ae422cb03ef498795afcfbac053e +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/pt/hero.lua b/lua/app/config/strings/pt/hero.lua new file mode 100644 index 00000000..936c545c --- /dev/null +++ b/lua/app/config/strings/pt/hero.lua @@ -0,0 +1,30 @@ +local hero = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + } +} +local config = { +data=hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/pt/hero.lua.meta b/lua/app/config/strings/pt/hero.lua.meta new file mode 100644 index 00000000..37395f0a --- /dev/null +++ b/lua/app/config/strings/pt/hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 0f30de0cd2d648c4286642d059262572 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/pt/skill_hero.lua b/lua/app/config/strings/pt/skill_hero.lua new file mode 100644 index 00000000..86b9761a --- /dev/null +++ b/lua/app/config/strings/pt/skill_hero.lua @@ -0,0 +1,30 @@ +local skill_hero = { + [10]={ + + }, + [20]={ + + }, + [30]={ + + }, + [40]={ + + }, + [50]={ + + }, + [60]={ + + }, + [70]={ + + }, + [80]={ + + } +} +local config = { +data=skill_hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/pt/skill_hero.lua.meta b/lua/app/config/strings/pt/skill_hero.lua.meta new file mode 100644 index 00000000..0959464f --- /dev/null +++ b/lua/app/config/strings/pt/skill_hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 58b913ed5a2648440987f275ed61b547 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/pt/skill_rogue.lua b/lua/app/config/strings/pt/skill_rogue.lua new file mode 100644 index 00000000..b52593c0 --- /dev/null +++ b/lua/app/config/strings/pt/skill_rogue.lua @@ -0,0 +1,225 @@ +local skill_rogue = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + }, + [9]={ + + }, + [10]={ + + }, + [11]={ + + }, + [12]={ + + }, + [13]={ + + }, + [14]={ + + }, + [15]={ + + }, + [16]={ + + }, + [17]={ + + }, + [18]={ + + }, + [19]={ + + }, + [20]={ + + }, + [21]={ + + }, + [22]={ + + }, + [23]={ + + }, + [24]={ + + }, + [25]={ + + }, + [26]={ + + }, + [27]={ + + }, + [28]={ + + }, + [29]={ + + }, + [30]={ + + }, + [31]={ + + }, + [32]={ + + }, + [33]={ + + }, + [34]={ + + }, + [35]={ + + }, + [36]={ + + }, + [37]={ + + }, + [38]={ + + }, + [39]={ + + }, + [40]={ + + }, + [41]={ + + }, + [42]={ + + }, + [43]={ + + }, + [44]={ + + }, + [45]={ + + }, + [46]={ + + }, + [47]={ + + }, + [48]={ + + }, + [49]={ + + }, + [200101]={ + + }, + [200102]={ + + }, + [200103]={ + + }, + [200201]={ + + }, + [200202]={ + + }, + [200203]={ + + }, + [200301]={ + + }, + [200302]={ + + }, + [200303]={ + + }, + [200401]={ + + }, + [200402]={ + + }, + [200403]={ + + }, + [200501]={ + + }, + [200502]={ + + }, + [200503]={ + + }, + [200601]={ + + }, + [200602]={ + + }, + [200603]={ + + }, + [200701]={ + + }, + [200702]={ + + }, + [200703]={ + + }, + [200801]={ + + }, + [200802]={ + + }, + [200803]={ + + } +} +local config = { +data=skill_rogue,count=73 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/pt/skill_rogue.lua.meta b/lua/app/config/strings/pt/skill_rogue.lua.meta new file mode 100644 index 00000000..e6253f6a --- /dev/null +++ b/lua/app/config/strings/pt/skill_rogue.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 6abb68c472430b244a7e1b3043b994f0 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/ru/chapter.lua b/lua/app/config/strings/ru/chapter.lua new file mode 100644 index 00000000..f94155c0 --- /dev/null +++ b/lua/app/config/strings/ru/chapter.lua @@ -0,0 +1,36 @@ +local chapter = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + }, + [9]={ + + }, + [10]={ + + } +} +local config = { +data=chapter,count=10 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/ru/chapter.lua.meta b/lua/app/config/strings/ru/chapter.lua.meta new file mode 100644 index 00000000..629dd689 --- /dev/null +++ b/lua/app/config/strings/ru/chapter.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 930044de16e90d14e8b3b1cd37b23a22 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/ru/hero.lua b/lua/app/config/strings/ru/hero.lua new file mode 100644 index 00000000..936c545c --- /dev/null +++ b/lua/app/config/strings/ru/hero.lua @@ -0,0 +1,30 @@ +local hero = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + } +} +local config = { +data=hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/ru/hero.lua.meta b/lua/app/config/strings/ru/hero.lua.meta new file mode 100644 index 00000000..b7a5fe24 --- /dev/null +++ b/lua/app/config/strings/ru/hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 6de16673704c042439caf14648e6d8e6 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/ru/skill_hero.lua b/lua/app/config/strings/ru/skill_hero.lua new file mode 100644 index 00000000..86b9761a --- /dev/null +++ b/lua/app/config/strings/ru/skill_hero.lua @@ -0,0 +1,30 @@ +local skill_hero = { + [10]={ + + }, + [20]={ + + }, + [30]={ + + }, + [40]={ + + }, + [50]={ + + }, + [60]={ + + }, + [70]={ + + }, + [80]={ + + } +} +local config = { +data=skill_hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/ru/skill_hero.lua.meta b/lua/app/config/strings/ru/skill_hero.lua.meta new file mode 100644 index 00000000..5d7a7c52 --- /dev/null +++ b/lua/app/config/strings/ru/skill_hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: c69db0ac47970c64f8d89ac40916afaf +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/ru/skill_rogue.lua b/lua/app/config/strings/ru/skill_rogue.lua new file mode 100644 index 00000000..b52593c0 --- /dev/null +++ b/lua/app/config/strings/ru/skill_rogue.lua @@ -0,0 +1,225 @@ +local skill_rogue = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + }, + [9]={ + + }, + [10]={ + + }, + [11]={ + + }, + [12]={ + + }, + [13]={ + + }, + [14]={ + + }, + [15]={ + + }, + [16]={ + + }, + [17]={ + + }, + [18]={ + + }, + [19]={ + + }, + [20]={ + + }, + [21]={ + + }, + [22]={ + + }, + [23]={ + + }, + [24]={ + + }, + [25]={ + + }, + [26]={ + + }, + [27]={ + + }, + [28]={ + + }, + [29]={ + + }, + [30]={ + + }, + [31]={ + + }, + [32]={ + + }, + [33]={ + + }, + [34]={ + + }, + [35]={ + + }, + [36]={ + + }, + [37]={ + + }, + [38]={ + + }, + [39]={ + + }, + [40]={ + + }, + [41]={ + + }, + [42]={ + + }, + [43]={ + + }, + [44]={ + + }, + [45]={ + + }, + [46]={ + + }, + [47]={ + + }, + [48]={ + + }, + [49]={ + + }, + [200101]={ + + }, + [200102]={ + + }, + [200103]={ + + }, + [200201]={ + + }, + [200202]={ + + }, + [200203]={ + + }, + [200301]={ + + }, + [200302]={ + + }, + [200303]={ + + }, + [200401]={ + + }, + [200402]={ + + }, + [200403]={ + + }, + [200501]={ + + }, + [200502]={ + + }, + [200503]={ + + }, + [200601]={ + + }, + [200602]={ + + }, + [200603]={ + + }, + [200701]={ + + }, + [200702]={ + + }, + [200703]={ + + }, + [200801]={ + + }, + [200802]={ + + }, + [200803]={ + + } +} +local config = { +data=skill_rogue,count=73 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/ru/skill_rogue.lua.meta b/lua/app/config/strings/ru/skill_rogue.lua.meta new file mode 100644 index 00000000..f101c45e --- /dev/null +++ b/lua/app/config/strings/ru/skill_rogue.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 97580252713cfea42897abc2f9bed5c7 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/th/chapter.lua b/lua/app/config/strings/th/chapter.lua new file mode 100644 index 00000000..f94155c0 --- /dev/null +++ b/lua/app/config/strings/th/chapter.lua @@ -0,0 +1,36 @@ +local chapter = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + }, + [9]={ + + }, + [10]={ + + } +} +local config = { +data=chapter,count=10 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/th/chapter.lua.meta b/lua/app/config/strings/th/chapter.lua.meta new file mode 100644 index 00000000..1827a16a --- /dev/null +++ b/lua/app/config/strings/th/chapter.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: e4e609fcd9bbac647a363259925fc441 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/th/hero.lua b/lua/app/config/strings/th/hero.lua new file mode 100644 index 00000000..936c545c --- /dev/null +++ b/lua/app/config/strings/th/hero.lua @@ -0,0 +1,30 @@ +local hero = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + } +} +local config = { +data=hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/th/hero.lua.meta b/lua/app/config/strings/th/hero.lua.meta new file mode 100644 index 00000000..01e5fdc2 --- /dev/null +++ b/lua/app/config/strings/th/hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 0141282daef9a9143a8e9add08e1879f +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/th/skill_hero.lua b/lua/app/config/strings/th/skill_hero.lua new file mode 100644 index 00000000..86b9761a --- /dev/null +++ b/lua/app/config/strings/th/skill_hero.lua @@ -0,0 +1,30 @@ +local skill_hero = { + [10]={ + + }, + [20]={ + + }, + [30]={ + + }, + [40]={ + + }, + [50]={ + + }, + [60]={ + + }, + [70]={ + + }, + [80]={ + + } +} +local config = { +data=skill_hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/th/skill_hero.lua.meta b/lua/app/config/strings/th/skill_hero.lua.meta new file mode 100644 index 00000000..1803ff60 --- /dev/null +++ b/lua/app/config/strings/th/skill_hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: f487bcf921b9e484e8f04834d6272bc3 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/th/skill_rogue.lua b/lua/app/config/strings/th/skill_rogue.lua new file mode 100644 index 00000000..b52593c0 --- /dev/null +++ b/lua/app/config/strings/th/skill_rogue.lua @@ -0,0 +1,225 @@ +local skill_rogue = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + }, + [9]={ + + }, + [10]={ + + }, + [11]={ + + }, + [12]={ + + }, + [13]={ + + }, + [14]={ + + }, + [15]={ + + }, + [16]={ + + }, + [17]={ + + }, + [18]={ + + }, + [19]={ + + }, + [20]={ + + }, + [21]={ + + }, + [22]={ + + }, + [23]={ + + }, + [24]={ + + }, + [25]={ + + }, + [26]={ + + }, + [27]={ + + }, + [28]={ + + }, + [29]={ + + }, + [30]={ + + }, + [31]={ + + }, + [32]={ + + }, + [33]={ + + }, + [34]={ + + }, + [35]={ + + }, + [36]={ + + }, + [37]={ + + }, + [38]={ + + }, + [39]={ + + }, + [40]={ + + }, + [41]={ + + }, + [42]={ + + }, + [43]={ + + }, + [44]={ + + }, + [45]={ + + }, + [46]={ + + }, + [47]={ + + }, + [48]={ + + }, + [49]={ + + }, + [200101]={ + + }, + [200102]={ + + }, + [200103]={ + + }, + [200201]={ + + }, + [200202]={ + + }, + [200203]={ + + }, + [200301]={ + + }, + [200302]={ + + }, + [200303]={ + + }, + [200401]={ + + }, + [200402]={ + + }, + [200403]={ + + }, + [200501]={ + + }, + [200502]={ + + }, + [200503]={ + + }, + [200601]={ + + }, + [200602]={ + + }, + [200603]={ + + }, + [200701]={ + + }, + [200702]={ + + }, + [200703]={ + + }, + [200801]={ + + }, + [200802]={ + + }, + [200803]={ + + } +} +local config = { +data=skill_rogue,count=73 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/th/skill_rogue.lua.meta b/lua/app/config/strings/th/skill_rogue.lua.meta new file mode 100644 index 00000000..20e28d1e --- /dev/null +++ b/lua/app/config/strings/th/skill_rogue.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 7e6a9c5cb3b3e8343bc36c2e8b812276 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/vi/chapter.lua b/lua/app/config/strings/vi/chapter.lua new file mode 100644 index 00000000..f94155c0 --- /dev/null +++ b/lua/app/config/strings/vi/chapter.lua @@ -0,0 +1,36 @@ +local chapter = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + }, + [9]={ + + }, + [10]={ + + } +} +local config = { +data=chapter,count=10 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/vi/chapter.lua.meta b/lua/app/config/strings/vi/chapter.lua.meta new file mode 100644 index 00000000..cd46cf24 --- /dev/null +++ b/lua/app/config/strings/vi/chapter.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 0fe9079a18f3469468a8e8c202206a78 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/vi/hero.lua b/lua/app/config/strings/vi/hero.lua new file mode 100644 index 00000000..936c545c --- /dev/null +++ b/lua/app/config/strings/vi/hero.lua @@ -0,0 +1,30 @@ +local hero = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + } +} +local config = { +data=hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/vi/hero.lua.meta b/lua/app/config/strings/vi/hero.lua.meta new file mode 100644 index 00000000..b12379ab --- /dev/null +++ b/lua/app/config/strings/vi/hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 683945e4333147d43847e1eb5fcbcb03 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/vi/skill_hero.lua b/lua/app/config/strings/vi/skill_hero.lua new file mode 100644 index 00000000..86b9761a --- /dev/null +++ b/lua/app/config/strings/vi/skill_hero.lua @@ -0,0 +1,30 @@ +local skill_hero = { + [10]={ + + }, + [20]={ + + }, + [30]={ + + }, + [40]={ + + }, + [50]={ + + }, + [60]={ + + }, + [70]={ + + }, + [80]={ + + } +} +local config = { +data=skill_hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/vi/skill_hero.lua.meta b/lua/app/config/strings/vi/skill_hero.lua.meta new file mode 100644 index 00000000..551d6edf --- /dev/null +++ b/lua/app/config/strings/vi/skill_hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: e91da45666fe37b4aa1513858f184119 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/vi/skill_rogue.lua b/lua/app/config/strings/vi/skill_rogue.lua new file mode 100644 index 00000000..b52593c0 --- /dev/null +++ b/lua/app/config/strings/vi/skill_rogue.lua @@ -0,0 +1,225 @@ +local skill_rogue = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + }, + [9]={ + + }, + [10]={ + + }, + [11]={ + + }, + [12]={ + + }, + [13]={ + + }, + [14]={ + + }, + [15]={ + + }, + [16]={ + + }, + [17]={ + + }, + [18]={ + + }, + [19]={ + + }, + [20]={ + + }, + [21]={ + + }, + [22]={ + + }, + [23]={ + + }, + [24]={ + + }, + [25]={ + + }, + [26]={ + + }, + [27]={ + + }, + [28]={ + + }, + [29]={ + + }, + [30]={ + + }, + [31]={ + + }, + [32]={ + + }, + [33]={ + + }, + [34]={ + + }, + [35]={ + + }, + [36]={ + + }, + [37]={ + + }, + [38]={ + + }, + [39]={ + + }, + [40]={ + + }, + [41]={ + + }, + [42]={ + + }, + [43]={ + + }, + [44]={ + + }, + [45]={ + + }, + [46]={ + + }, + [47]={ + + }, + [48]={ + + }, + [49]={ + + }, + [200101]={ + + }, + [200102]={ + + }, + [200103]={ + + }, + [200201]={ + + }, + [200202]={ + + }, + [200203]={ + + }, + [200301]={ + + }, + [200302]={ + + }, + [200303]={ + + }, + [200401]={ + + }, + [200402]={ + + }, + [200403]={ + + }, + [200501]={ + + }, + [200502]={ + + }, + [200503]={ + + }, + [200601]={ + + }, + [200602]={ + + }, + [200603]={ + + }, + [200701]={ + + }, + [200702]={ + + }, + [200703]={ + + }, + [200801]={ + + }, + [200802]={ + + }, + [200803]={ + + } +} +local config = { +data=skill_rogue,count=73 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/vi/skill_rogue.lua.meta b/lua/app/config/strings/vi/skill_rogue.lua.meta new file mode 100644 index 00000000..eaab4aaa --- /dev/null +++ b/lua/app/config/strings/vi/skill_rogue.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 63d2861004eda134db732796e429f25a +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/zh/chapter.lua b/lua/app/config/strings/zh/chapter.lua new file mode 100644 index 00000000..f94155c0 --- /dev/null +++ b/lua/app/config/strings/zh/chapter.lua @@ -0,0 +1,36 @@ +local chapter = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + }, + [9]={ + + }, + [10]={ + + } +} +local config = { +data=chapter,count=10 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/zh/chapter.lua.meta b/lua/app/config/strings/zh/chapter.lua.meta new file mode 100644 index 00000000..67eecf90 --- /dev/null +++ b/lua/app/config/strings/zh/chapter.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 2890ae09f7d346647b464c773206d852 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/zh/hero.lua b/lua/app/config/strings/zh/hero.lua new file mode 100644 index 00000000..936c545c --- /dev/null +++ b/lua/app/config/strings/zh/hero.lua @@ -0,0 +1,30 @@ +local hero = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + } +} +local config = { +data=hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/zh/hero.lua.meta b/lua/app/config/strings/zh/hero.lua.meta new file mode 100644 index 00000000..eb7d5649 --- /dev/null +++ b/lua/app/config/strings/zh/hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 417e17ecd6e411d4b927e9f28e9915b1 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/zh/skill_hero.lua b/lua/app/config/strings/zh/skill_hero.lua new file mode 100644 index 00000000..86b9761a --- /dev/null +++ b/lua/app/config/strings/zh/skill_hero.lua @@ -0,0 +1,30 @@ +local skill_hero = { + [10]={ + + }, + [20]={ + + }, + [30]={ + + }, + [40]={ + + }, + [50]={ + + }, + [60]={ + + }, + [70]={ + + }, + [80]={ + + } +} +local config = { +data=skill_hero,count=8 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/zh/skill_hero.lua.meta b/lua/app/config/strings/zh/skill_hero.lua.meta new file mode 100644 index 00000000..72d6c4f7 --- /dev/null +++ b/lua/app/config/strings/zh/skill_hero.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: d928f2bb2c2b3db4e83ad5be7674af97 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/strings/zh/skill_rogue.lua b/lua/app/config/strings/zh/skill_rogue.lua new file mode 100644 index 00000000..b52593c0 --- /dev/null +++ b/lua/app/config/strings/zh/skill_rogue.lua @@ -0,0 +1,225 @@ +local skill_rogue = { + [1]={ + + }, + [2]={ + + }, + [3]={ + + }, + [4]={ + + }, + [5]={ + + }, + [6]={ + + }, + [7]={ + + }, + [8]={ + + }, + [9]={ + + }, + [10]={ + + }, + [11]={ + + }, + [12]={ + + }, + [13]={ + + }, + [14]={ + + }, + [15]={ + + }, + [16]={ + + }, + [17]={ + + }, + [18]={ + + }, + [19]={ + + }, + [20]={ + + }, + [21]={ + + }, + [22]={ + + }, + [23]={ + + }, + [24]={ + + }, + [25]={ + + }, + [26]={ + + }, + [27]={ + + }, + [28]={ + + }, + [29]={ + + }, + [30]={ + + }, + [31]={ + + }, + [32]={ + + }, + [33]={ + + }, + [34]={ + + }, + [35]={ + + }, + [36]={ + + }, + [37]={ + + }, + [38]={ + + }, + [39]={ + + }, + [40]={ + + }, + [41]={ + + }, + [42]={ + + }, + [43]={ + + }, + [44]={ + + }, + [45]={ + + }, + [46]={ + + }, + [47]={ + + }, + [48]={ + + }, + [49]={ + + }, + [200101]={ + + }, + [200102]={ + + }, + [200103]={ + + }, + [200201]={ + + }, + [200202]={ + + }, + [200203]={ + + }, + [200301]={ + + }, + [200302]={ + + }, + [200303]={ + + }, + [200401]={ + + }, + [200402]={ + + }, + [200403]={ + + }, + [200501]={ + + }, + [200502]={ + + }, + [200503]={ + + }, + [200601]={ + + }, + [200602]={ + + }, + [200603]={ + + }, + [200701]={ + + }, + [200702]={ + + }, + [200703]={ + + }, + [200801]={ + + }, + [200802]={ + + }, + [200803]={ + + } +} +local config = { +data=skill_rogue,count=73 +} +return config \ No newline at end of file diff --git a/lua/app/config/strings/zh/skill_rogue.lua.meta b/lua/app/config/strings/zh/skill_rogue.lua.meta new file mode 100644 index 00000000..25901dce --- /dev/null +++ b/lua/app/config/strings/zh/skill_rogue.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 373384d818b25d14cbba31f3fa18ae30 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/struct.lua b/lua/app/config/struct.lua index f41d77fe..aeffca73 100644 --- a/lua/app/config/struct.lua +++ b/lua/app/config/struct.lua @@ -4,18 +4,31 @@ local struct = { ["parameter2"]="id:int", ["parameter3"]="num:int" }, - ["drop"]={ - ["parameter1"]="type:int", - ["parameter2"]="id:int", - ["parameter3"]="num:int", - ["parameter4"]="weight:int" + ["hero_drop"]={ + ["parameter1"]="id:int", + ["parameter2"]="weight:int" }, ["boardrange"]={ ["parameter1"]="type:int", ["parameter2"]="range:int" + }, + ["attr"]={ + ["parameter1"]="type:string", + ["parameter2"]="num:int" + }, + ["effect"]={ + ["parameter1"]="type:string", + ["parameter2"]="num:int", + ["parameter3"]="ratio:int", + ["parameter4"]="round:int" + }, + ["attr_range"]={ + ["parameter1"]="type:string", + ["parameter2"]="minnum:int", + ["parameter3"]="maxnum:int" } } local config = { -data=struct,count=3 +data=struct,count=6 } return config \ No newline at end of file diff --git a/lua/app/server/data/server_base_data.lua b/lua/app/server/data/server_base_data.lua index fd74cee7..88df61e4 100644 --- a/lua/app/server/data/server_base_data.lua +++ b/lua/app/server/data/server_base_data.lua @@ -2,48 +2,38 @@ local ServerBaseData = class("ServerBaseData") function ServerBaseData:ctor(...) self.data = {} - self.data.__parent = self + -- self.data.__parent = self - local innerData = nil - innerData = { - __index = function (t, key) - return innerData[key] - end, - __newindex = function (t, key, value) - innerData[key] = value - end - } - setmetatable(self.data, innerData) + -- local innerData = nil + -- innerData = { + -- __index = function (t, key) + -- return innerData[key] + -- end, + -- __newindex = function (t, key, value) + -- innerData[key] = value + -- end + -- } + -- setmetatable(self.data, innerData) +end + +function ServerBaseData:init() end function ServerBaseData:_loadLocalData() local data = LocalData:getString("ServerBaseData_" .. self.__cname, "") - local innerData = getmetatable(self.data) local dataObj = nil if data and data ~= "" then dataObj = json.decode(data) end - for k, v in pairs(innerData) do - innerData[k] = nil - end - if dataObj then - for k, v in pairs(dataObj) do - innerData[k] = v - end - end + self:init(dataObj) end function ServerBaseData:_loadNewPlayerData() - local innerData = getmetatable(self.data) - for k, v in pairs(innerData) do - innerData[k] = nil + for k, v in pairs(self.data) do + self.data[k] = nil end local dataObj = self:getNewPlayerData() - if dataObj then - for k, v in pairs(dataObj) do - innerData[k] = v - end - end + self:init(dataObj) end function ServerBaseData:getNewPlayerData() @@ -65,8 +55,7 @@ function ServerBaseData:getCloneData() end return newObject end - local innerData = getmetatable(self.data) - return _copy(innerData) + return _copy(self.data) end function ServerBaseData:clone() diff --git a/lua/app/server/data/server_chapter_data.lua b/lua/app/server/data/server_chapter_data.lua new file mode 100644 index 00000000..4d013b0b --- /dev/null +++ b/lua/app/server/data/server_chapter_data.lua @@ -0,0 +1,10 @@ +local ServerChapterData = class("ServerChapterData", ServerBaseData) + +local MIN_CHAPTER_ID = 1 + +function ServerChapterData:init(data) + self.data.chapterId = data and data.chapterId or MIN_CHAPTER_ID + self.data.maxChapterId = data and data.maxChapterId or (self.data.chapterId - 1) +end + +return ServerChapterData \ No newline at end of file diff --git a/lua/app/server/data/server_chapter_data.lua.meta b/lua/app/server/data/server_chapter_data.lua.meta new file mode 100644 index 00000000..ffb9e57c --- /dev/null +++ b/lua/app/server/data/server_chapter_data.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 58e11526da53ab84da05ed5fd3a6cf31 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/server/server_game_data.lua b/lua/app/server/server_game_data.lua index ded71fbf..22fb5f70 100644 --- a/lua/app/server/server_game_data.lua +++ b/lua/app/server/server_game_data.lua @@ -6,6 +6,7 @@ function ServerGameData:init() end self.isInit = true self:initServerData("PlayerData", "app/server/data/server_player_data") + self:initServerData("ChapterData", "app/server/data/server_chapter_data") end function ServerGameData:initData() @@ -36,6 +37,8 @@ function ServerGameData:getData() for k, v in pairs(self.dataMap) do data[k] = v:getCloneData() end + Logger.logHighlight("ServerGameData:getData()") + Logger.printTable(data) return data end diff --git a/lua/app/ui/main_city/component/main_comp.lua b/lua/app/ui/main_city/component/main_comp.lua index 93528f4a..f6f9b3cd 100644 --- a/lua/app/ui/main_city/component/main_comp.lua +++ b/lua/app/ui/main_city/component/main_comp.lua @@ -1,507 +1,62 @@ local MainComp = class("MainComp", LuaComponent) -local BG_PREFIX = "assets/arts/textures/background/chapter/%s.png" -local PATTERN_ICON = { - [GConst.StageConst.CHAPTER_PATTERN.HARD] = {"common_menu_6", "common_decoration_16"}, - [GConst.StageConst.CHAPTER_PATTERN.NORMAL] = {"common_menu_7", "common_decoration_15"} -} +local CHAPTER_PATH = "assets/arts/textures/background/chapter/%s.png" -function MainComp:refresh(childPage) - self.childPage = childPage - self.showLeftRed = false - self.showRightRed = false - self.showLeftSideBar = true - self.showRightSideBar = true - -- self:_display() - self:_addListeners() +function MainComp:init() + self.uiMap = self:getBaseObject():genAllChildren() + self:initChapter() + self:initGM() end -function MainComp:_display() - local uiMap = self:getBaseObject():genAllChildren() +function MainComp:initChapter() + self.chapterImg = self.uiMap["main_comp.chapter.img"] + self.chapterNameTx = self.uiMap["main_comp.chapter.name_tx"] + self.leftArrow = self.uiMap["main_comp.chapter.left_arrow"] + self.leftArrow:addClickListener(function() + if DataManager.ChapterData:goLastChapter() then + self:refresh() + end + end) + self.rightArrow = self.uiMap["main_comp.chapter.right_arrow"] + self.rightArrow:addClickListener(function() + if DataManager.ChapterData:goNextChapter() then + self:refresh() + end + end) + local fightBtn = self.uiMap["main_comp.fight_btn"] + fightBtn:addClickListener(function() + self:onFightBtnClick() + end) +end - self.rightSideBarBg = uiMap["main_comp.right_node"] - self.leftSideBarBg = uiMap["main_comp.left_node"] - self.leftArrow = uiMap["main_comp.left_node.arrow"] - self.rightArrow = uiMap["main_comp.right_node.arrow"] - -- 宝箱相关 - self.boxImg = uiMap["main_comp.box_touch_1"] - self.boxImgShadow = uiMap["main_comp.box_touch_1_shadow"] - self.boxShakeImg = uiMap["main_comp.box_touch_1.box_shakeImg"] - self.boxTx = uiMap["main_comp.box_tx"] - self.boxImgShadow:setActive(false) - self.boxImgShadow:setLocalScale(0.8,0.8,0.8) - self:refreshBoxShakeEff(true) - - self.btnGM = uiMap["main_comp.gm_btn"] - self.btnGM:setVisible(not Platform:getIsPublishChannel(),2) +function MainComp:initGM() + self.btnGM = self.uiMap["main_comp.gm_btn"] + self.btnGM:setVisible(not Platform:getIsPublishChannel(), 2) self.btnGM:addClickListener(function() ModuleManager.DevToolManager:showOrHideDevListUI() end) - - -- self:refreshChapter() - -- self:refreshRedPoint() end -function MainComp:_addListeners() - local uiMap = self:getBaseObject():genAllChildren() - -- 战斗按钮 - uiMap["main_comp.hang_up_node.fight_btn"]:addClickListener(function() - self:onFightBtnClick() - end) +function MainComp:refresh() + self:refreshChapter() end function MainComp:onFightBtnClick() ModuleManager.BattleManager:playBattle(nil, GConst.BattleConst.BATTLE_TYPE.STAGE) end -function MainComp:onClickPattern() - local chapterId = DataManager.StageData:getChapterId() - local pattern = DataManager.StageData:getChapterPattern(chapterId) - if self.childPage then - pattern = self.childPage - self.childPage = nil - elseif pattern == GConst.StageConst.CHAPTER_PATTERN.HARD then - pattern = GConst.StageConst.CHAPTER_PATTERN.NORMAL - else - pattern = GConst.StageConst.CHAPTER_PATTERN.HARD - end - local maxId = DataManager.StageData:getMaxChapterId(pattern) - - local maxCfg = ConfigManager:getConfig("chapter")[maxId] - if maxCfg and maxCfg.next_chapter then - maxId = maxCfg.next_chapter - elseif not maxCfg and pattern == GConst.StageConst.CHAPTER_PATTERN.HARD then - maxId = DataManager.StageData:getDefaultHardId() - elseif not maxCfg then - maxId = DataManager.StageData:getDefaultId() - end - DataManager.StageData:changeChapterId(maxId) - self:_display() -end - function MainComp:refreshChapter() - local curId = DataManager.StageData:getChapterId() - local pattern = DataManager.StageData:getChapterPattern(curId) - local cfg = ConfigManager:getConfig("chapter")[curId] - - local uiMap = self:getBaseObject():genAllChildren() - self:initHardChapterUI(uiMap, pattern, cfg) - self:initFightBtn(uiMap, cfg.cost) - self:setChapterTxtUI(uiMap, curId) - - uiMap["main_comp.box_tx"]:setText(I18N:getGlobalText(I18N.GlobalConst.CHAPTER_BOX_TITLE)) - uiMap["main_comp.chapter_img"]:setTexture(string.format(BG_PREFIX, cfg.scenes.."_main")) - self:refreshBoxShakeEff() -end ---endregion - ---region UI初始化 -function MainComp:refreshBoxShakeEff(onlyKill) - self.boxShakeImg:setLocalRotation(0,0,0) - - -- GFunc.getShakeSeqRotate(self.boxShakeImg,nil) -end - -function MainComp:initFightBtn(uiMap,cost) - local btnTx = I18N:getGlobalText(I18N.GlobalConst.CONTINUE_DESC) - uiMap["main_comp.hang_up_node.fight_btn.desc"]:setText(btnTx) - uiMap["main_comp.hang_up_node.fight_btn.desc_2"]:setText(cost) -end - -function MainComp:initHardChapterUI(uiMap, pattern, cfg) - --暂时屏蔽困难按钮 - if true then - uiMap["main_comp.hard_btn"]:setVisible(false) - return - end - - local hardBtn = uiMap["main_comp.hard_btn"] - local atmosphereNode = uiMap["main_comp.atmosphere_node"] - atmosphereNode:setVisible(false) - if ModuleManager:getIsOpen(ModuleManager.MODULE_KEY.HARD_STAGE, true) then - hardBtn:setVisible(true) - local text = uiMap["main_comp.hard_btn.desc"] - local kulou = uiMap["main_comp.hard_btn.kulo_img"] - if pattern == GConst.StageConst.CHAPTER_PATTERN.NORMAL then - atmosphereNode:setVisible(false) - text:setText(I18N:getGlobalText(I18N.GlobalConst.HARD_DESC)) - elseif pattern == GConst.StageConst.CHAPTER_PATTERN.HARD then - atmosphereNode:setVisible(true) - text:setText(I18N:getGlobalText(I18N.GlobalConst.SIMPLY_DESC)) - if cfg and cfg.scenes_a then - uiMap["main_comp.atmosphere_node.top"]:setTexture("assets/arts/textures/background/main/" .. cfg.scenes_a .. ".png") - end + local chapterId = DataManager.ChapterData:getChapterId() + if self.currChapterId ~= chapterId then + self.currChapterId = chapterId + local chapterInfo = ConfigManager:getConfig("chapter")[chapterId] + local chapterI18NInfo = I18N:getConfig("chapter")[chapterId] + if chapterInfo then + self.chapterImg:setTexture(string.format(CHAPTER_PATH, chapterInfo.icon)) end - if PATTERN_ICON[pattern] then - hardBtn:setSprite(GConst.ATLAS_PATH.COMMON, PATTERN_ICON[pattern][1]) - kulou:setSprite(GConst.ATLAS_PATH.COMMON, PATTERN_ICON[pattern][2]) - end - else - hardBtn:setVisible(false) - end -end - -function MainComp:setChapterTxtUI(uiMap,curChapterId) - uiMap["main_comp.chapter_name"]:setText(I18N:getConfig("chapter")[curChapterId].name) - local chapterPassedTx = uiMap["main_comp.chapter_passed"] - local info = DataManager.StageData:getChapterInfo(curChapterId) - local content = "" - if info.passed then - content = I18N:getGlobalText(I18N.GlobalConst.ALREADY_PASS_DESC) - else - local wave = info.bestWave or 0 - content = I18N:getGlobalText(I18N.GlobalConst.PASS_DESC_2, wave.."/"..self:getMaxWave()) - end - chapterPassedTx:setText(content) - end - -function MainComp:getMaxWave() - local chapterId = DataManager.StageData:getChapterId() - self.generateSteps = DataManager.StageData:getChapterGenMonsterSteps(chapterId) or GConst.EMPTY_TABLE - self.generateChapterCfg = ConfigManager:getConfig("chapter")[chapterId] - self.generateStageCfg = ConfigManager:getConfig("story_stage") - - local maxWave = 0 - for i,v in ipairs(self.generateChapterCfg.stage) do - local stageCfg = self.generateStageCfg[v] - if stageCfg and stageCfg.wave_type ~= GConst.BattleConst.STEP_TYPE.ROUGE and not stageCfg.is_tutorial then - maxWave = maxWave + 1 + if chapterI18NInfo then + self.chapterNameTx:setText(chapterI18NInfo.name) end end - return maxWave end -function MainComp:calcLeftBarIconPos(leftNum) - local maxColumnNum = self:getMaxColumnNum() - local w = 104 - local h = 0 - - local showArrow = false--leftNum > 2 - if leftNum <= maxColumnNum then - if showArrow then - h = 104 * leftNum + 84 - else - h = 104 * leftNum + 28 - end - else - w = 208 - h = 104 * maxColumnNum - end - - self.leftArrow:removeRedPoint() - if not self.showLeftSideBar then - if leftNum > 2 then - h = 104 + 84 - else - h = 104 + 28 - end - if self.showLeftRed then - self.leftArrow:addRedPoint(12, 8, 0.5) - end - end - - self.leftArrow:setAnchoredPositionX(47) - if leftNum <= maxColumnNum or not self.showLeftSideBar then - self.leftArrow:setAnchoredPositionX(0) - end - - self.leftArrow:setActive(showArrow) - self.leftSideBarBg:setSizeDelta(w, h) - - if leftNum <= 0 then - self.leftSideBarBg:setVisible(false) - else - self.leftSideBarBg:setVisible(true) - end -end - -function MainComp:calcRightBarIconPos(rightNum) - local maxColumnNum = self:getMaxColumnNum() - local w = 104 - local h = 0 - local showArrow = false--rightNum > 2 - if rightNum <= maxColumnNum then - if showArrow then - h = 104 * rightNum + 84 - else - h = 104 * rightNum + 28 - end - else - w = 208 - h = 104 * maxColumnNum - end - - self.rightArrow:removeRedPoint() - if not self.showRightSideBar then - w = 104 - if rightNum > 2 then - h = 104 + 84 - else - h = 104 + 28 - end - - if self.showRightRed then - self.rightArrow:addRedPoint(12, 8, 0.5) - end - end - - self.rightArrow:setAnchoredPositionX(-47) - if rightNum <= maxColumnNum or not self.showRightSideBar then - self.rightArrow:setAnchoredPositionX(0) - end - - self.rightArrow:setVisible(showArrow) - self.rightSideBarBg:setSizeDelta(w, h) - - if rightNum <= 0 then - self.rightSideBarBg:setVisible(false) - else - self.rightSideBarBg:setVisible(true) - end -end - -function MainComp:getMaxColumnNum() - if not self.maxColumnNum then - local screenOffsetY = GFunc.calculateFitSizeY() - self.maxColumnNum = 5 + screenOffsetY // 104 - end - return self.maxColumnNum -end - -function MainComp:getSideBtnPos(btnNum, offsetY, isRight) - local x = 0 - local y = offsetY - local maxColumnNum = self:getMaxColumnNum() - btnNum = btnNum + 1 - if btnNum < maxColumnNum then - offsetY = offsetY - 104 - else - local num = btnNum - maxColumnNum - if num > 0 then - if not isRight then - x = 99 - else - x = -99 - end - end - offsetY = -47.5 - num * 104 - end - return offsetY, btnNum, x, y -end - -function MainComp:initFirstRechargeUI(offsetLy, leftNum, x, y) - -- 首充礼包 - if not ModuleManager:getIsOpen(ModuleManager.MODULE_KEY.FIRST_CHARGE, true) or DataManager.ActivityGiftData:isFirstGiftClaimed() then - GFunc.getShakeSeq(self.firstRechargeBtn, true) - self.firstRechargeBtn:setVisible(false) - else - if (not DataManager.ActivityGiftData:getCheckUI(GConst.ActivityConst.CHECK_UI.firstRecharge)) and self.showLeftSideBar then - GFunc.getShakeSeq(self.firstRechargeBtn, nil, 1, true) - else - GFunc.getShakeSeq(self.firstRechargeBtn, true) - end - offsetLy, leftNum, x, y = self:getSideBtnPos(leftNum, offsetLy) - self.firstRechargeBtn:setVisible(true) - if (not self.showLeftSideBar) and leftNum > 1 then - self.firstRechargeBtn:setVisible(false) - end - self.firstRechargeBtn:setAnchoredPosition(x, y) - end - return offsetLy, leftNum, x, y -end - -function MainComp:initDcBtnUI(offsetLy, leftNum, x, y) - if CS.BF.BFMain.IsShenhe then - return offsetLy, leftNum, x, y - end - offsetLy, leftNum, x, y = self:getSideBtnPos(leftNum, offsetLy) - self.dcBtn:setVisible(true) - if (not self.showLeftSideBar) and leftNum > 1 then - GFunc.getShakeSeqRotate(self.dcIcon,true) - self.dcBtn:setVisible(false) - else - GFunc.getShakeSeqRotate(self.dcIcon,nil, true) - end - self.dcBtn:setAnchoredPosition(x, y) - return offsetLy, leftNum, x, y -end ---endregion - ---region 右侧按钮排版 -function MainComp:initLvCardUI(offsetY, rightNum, x, y) - -- 成长基金 - if not ModuleManager:getIsOpen(ModuleManager.MODULE_KEY.ACT_LEVEL_GIFT, true) or DataManager.ActivityGiftData:isLvGiftFinish() then - GFunc.getShakeSeq(self.lvGiftBtn, true) - self.lvGiftBtn:setVisible(false) - else - if (not DataManager.ActivityGiftData:isLvGiftOpen()) and self.showRightSideBar then - if not DataManager.ActivityGiftData:getCheckUI(GConst.ActivityConst.CHECK_UI.lvGift) then - GFunc.getShakeSeq(self.lvGiftBtn, nil, 1, true) - else - GFunc.getShakeSeq(self.lvGiftBtn, true) - end - else - if DataManager.ActivityGiftData:showLvGiftRedPoint() and self.showRightSideBar then - GFunc.getShakeSeq(self.lvGiftBtn, nil, 1, true) - else - GFunc.getShakeSeq(self.lvGiftBtn, true) - end - end - offsetY, rightNum, x, y = self:getSideBtnPos(rightNum, offsetY, true) - self.lvGiftBtn:setVisible(true) - if (not self.showRightSideBar) and rightNum > 1 then - self.lvGiftBtn:setVisible(false) - end - self.lvGiftBtn:setAnchoredPosition(x, y) - end - return offsetY, rightNum, x, y -end - -function MainComp:initTaskUI(offsetY, rightNum, x, y) - if CS.BF.BFMain.IsShenhe then - self.taskBtn:setActive(false) - self.boxImg:setAnchoredPositionX(0) - self.boxTx:setAnchoredPositionX(0) - self.boxImgShadow:setAnchoredPositionX(0) - return offsetY, rightNum, x, y - end - -- 任务 : 开启后常驻 - if not ModuleManager:getIsOpen(ModuleManager.MODULE_KEY.TASK, true) then - GFunc.getShakeSeq(self.taskBtn, true) - self.taskBtn:setVisible(false) - else - if DataManager.TaskData:showRedPoint() and self.showRightSideBar then - GFunc.getShakeSeq(self.taskBtn, nil, 1, true) - else - GFunc.getShakeSeq(self.taskBtn, true) - end - offsetY, rightNum, x, y = self:getSideBtnPos(rightNum, offsetY, true) - self.taskBtn:setVisible(true) - if (not self.showRightSideBar) and rightNum > 1 then - self.taskBtn:setVisible(false) - end - self.taskBtn:setAnchoredPosition(x, y) - end - return offsetY, rightNum, x, y -end - -function MainComp:initPopGiftUI(offsetY, rightNum, x, y) - if #self.popData <= 0 then - GFunc.getShakeSeq(self.popGiftBtn, true) - self.popGiftBtn:setVisible(false) - else - self.popGiftBtn:setVisible(true) - self.popGiftBtn:setAnchoredPositionY(offsetY) - if #self.popData > 0 then - GFunc.getShakeSeq(self.popGiftBtn, nil, 1, true) - else - GFunc.getShakeSeq(self.popGiftBtn, true) - end - offsetY, rightNum, x, y = self:getSideBtnPos(rightNum, offsetY, true) - end - return offsetY, rightNum, x, y -end - -function MainComp:updateTime() - self:refreshPopUI() - self:refreshRedPoint() -end - -function MainComp:refreshPopUI() - if self.popData and #self.popData > 0 then - local data = self.popData[1] - local nowTime = Time:getServerTime() - local endTime = data.endTime or 0 - if nowTime > endTime then - self.popData = DataManager.ActivityGiftData:getPopGiftData() - self.popGiftCd:setText("") - return - end - self.popGiftCd:setText(GFunc.getTimeStrWithHMS(endTime - nowTime)) - end -end - ---region 红点 -function MainComp:refreshRedPoint() - -- self.boxRedPoint = self:chapterBoxRedPoint() - - -- -- 两侧按钮 - -- self.showLeftRed = self:showLeftRedPoint() - -- self.showRightRed = self:showRightRedPoint() -end - -function MainComp:getIsShowRedPoint() - return self.boxRedPoint or self.showLeftRed or self.showRightRed -end - -function MainComp:showLeftRedPoint() - local sevenDayRed = self:showSevenDayRedPoint() - local rechargeRed = self:refreshFirstRechargeRedPoint() - return sevenDayRed or rechargeRed -end - -function MainComp:showRightRedPoint() - local lvGiftRedPoint = self:refreshLvGiftRedPoint() - local taskRedPoint = self:refreshTaskRedPoint() - return lvGiftRedPoint or taskRedPoint -end - -function MainComp:showSevenDayRedPoint() - if not ModuleManager:getIsOpen(ModuleManager.MODULE_KEY.ACT_SEVENDAY, true) then - return false - end - return DataManager.SevenDayData:getRedPoint() -end - -function MainComp:chapterBoxRedPoint() - -- local showRedPoint = DataManager.StageData:showMainCompRedPoint() - -- if showRedPoint then - -- self.boxImg:addRedPoint(58, 46, 0.8) - -- GFunc.getShakeSeqRotate(self.boxShakeImg,nil, true) - -- else - -- self.boxImg:removeRedPoint() - -- GFunc.getShakeSeqRotate(self.boxShakeImg,true) - -- end - -- return showRedPoint -end - -function MainComp:refreshLvGiftRedPoint() - if not ModuleManager:getIsOpen(ModuleManager.MODULE_KEY.ACT_LEVEL_GIFT, true) then - return false - end - local giftHallNeedRp = false - if DataManager.ActivityGiftData:showLvGiftRedPoint() then - self.lvGiftBtn:addRedPoint(30, 30, 0.6) - giftHallNeedRp = true - else - self.lvGiftBtn:removeRedPoint() - end - return giftHallNeedRp -end - -function MainComp:refreshFirstRechargeRedPoint() - if not ModuleManager:getIsOpen(ModuleManager.MODULE_KEY.FIRST_CHARGE, true) then - return false - end - if DataManager.ActivityGiftData:canClaimFirstGift() then - self.firstRechargeBtn:addRedPoint(30, 30, 0.6) - return true - else - self.firstRechargeBtn:removeRedPoint() - end -end - -function MainComp:refreshTaskRedPoint() - if not ModuleManager:getIsOpen(ModuleManager.MODULE_KEY.TASK, true) then - return false - end - if DataManager.TaskData:showRedPoint() then - self.taskBtn:addRedPoint(30, 30, 0.6) - return true - else - self.taskBtn:removeRedPoint() - end - return false -end ---endregion - return MainComp \ No newline at end of file diff --git a/lua/app/ui/main_city/main_city_ui.lua b/lua/app/ui/main_city/main_city_ui.lua index c649f88d..6feccebc 100644 --- a/lua/app/ui/main_city/main_city_ui.lua +++ b/lua/app/ui/main_city/main_city_ui.lua @@ -5,8 +5,6 @@ local HERO_COMP = "app/ui/hero/hero_comp" local MAIN_COMP = "app/ui/main_city/component/main_comp" local STAGE_COMP = "app/ui/stage/stage_comp" -local HERO_MODEL_PATH = "assets/prefabs/models/maincity/role_show.prefab" -local ROLE_SHOW_COMP = "app/ui/main_city/component/role_show_comp" local BOTTOM_BTN_CELL = "app/ui/main_city/cell/bottom_btn_cell" MainCityUI.CLICK_BTN_TYPE = { @@ -107,8 +105,6 @@ function MainCityUI:_display() self:initBottomUI() self:initComp() self:refreshBottom() - self:changeModel() -- 主界面 - self:changeHero() -- 装备界面 end function MainCityUI:_addListeners() @@ -118,7 +114,7 @@ function MainCityUI:_addListeners() end function MainCityUI:_bind() - self:bind(DataManager.StageData, "isDirty", function() + self:bind(DataManager.ChapterData, "isDirty", function() if self.selectedIndex == GConst.MainCityConst.BOTTOM_PAGE.MAIN then self.subComps[self.selectedIndex]:refreshChapter() end @@ -245,108 +241,17 @@ function MainCityUI:switchComp(index) for i, comp in pairs(self.subComps) do comp:getBaseObject():setActive(i == index) if i == index then - if i == GConst.MainCityConst.BOTTOM_PAGE.COMMERCE then - if self.showSummon and self.showSummon > 0 then - comp:refresh(self.showSummon) - self.showSummon = nil - elseif self.showStoreIdx and self.showStoreIdx > 0 then - comp:refresh(self.showStoreIdx, nil, self.storeOffsetY) - self.showStoreIdx = nil - self.storeOffsetY = nil - else - comp:refresh() - end - elseif i == GConst.MainCityConst.BOTTOM_PAGE.MAIN then - comp:refresh(self.patternIdx) - self.patternIdx = nil - else - comp:refresh() - end - + comp:refresh() self:updateTime() end end - local params = {} - params.showType = GConst.CURRENCY_TYPE.HORIZONTAL self:updateCurrencyBar() - self:changeHero() if self.selectedIndex == MAIN_COMP_INDEX then self:checkMainPop() end end -function MainCityUI:changeModel() -end - -function MainCityUI:changeHero() - if self.selectedIndex ~= GConst.MainCityConst.BOTTOM_PAGE.EQUIP or self._baseVisible == false then - if self.heroModelComp then - self.heroModelComp:setActive(false) - end - return - end - local entity = DataManager.HeroData:getUniqueHero() - - local showSpecialIdle = false - local eid = entity:getWearedEquips()[GConst.EquipConst.WEAPON_PART] - if eid then - local eEntity = DataManager.BagData.EquipData:getEquipByEid(eid) - if eEntity and eEntity:getHeroPose() == entity:getHid() then - showSpecialIdle = true - end - end - - if self.heroModelComp then - self.heroModelComp:setActive(true) - end - if not self.heroModelComp then - self:loadUIModelRoot(HERO_MODEL_PATH, function(obj) - if self.heroModelComp then - obj:destroy() - return - end - self.heroModelComp = obj:addLuaComponent(ROLE_SHOW_COMP) - self.heroModelComp:getCameraRenderTexture(function(texture) - if self:isClosed() then - return - end - if entity then - self.heroModelComp:showHero(entity:getHid(), entity:getWeaponId(), function() - -- if showSpecialIdle and self.heroModelComp.modelObj then - -- self.heroModelComp.modelObj:play("zs_idle", -1, 0) - -- end - if self.heroModelComp.modelObj then - self.heroModelComp.modelObj:play("idle_display", -1, 0) - end - end) - end - self.heroShowTexture = texture - if self.equipComp then - self.equipComp:setRt(self.heroShowTexture) - self.equipComp:setRoleShowComp(self.heroModelComp) - end - end) - end) - else - if entity:getHid() then - self.heroModelComp:showHero(entity:getHid(), entity:getWeaponId(), function() - -- if showSpecialIdle and self.heroModelComp.modelObj then - -- self.heroModelComp.modelObj:play("zs_idle", -1, 0) - -- end - if self.heroModelComp.modelObj then - self.heroModelComp.modelObj:play("idle_display", -1, 0) - end - end) - end - end -end - function MainCityUI:updateTime() - if self.selectedIndex == GConst.MainCityConst.BOTTOM_PAGE.COMMERCE or self.selectedIndex == GConst.MainCityConst.BOTTOM_PAGE.MAIN then - self.subComps[self.selectedIndex]:updateTime() - end - - self:checkRedPoint() end function MainCityUI:refreshRoleInfo() @@ -359,91 +264,21 @@ function MainCityUI:refreshRoleInfo() end) end -function MainCityUI:checkRedPoint() - -- 装备 - -- if DataManager.BagData.EquipData:getRedPoint() or DataManager.HeroData:getRedPoint() then - -- self.bottomBtnIcons[GConst.MainCityConst.BOTTOM_PAGE.EQUIP]:addRedPoint(40, 40, 0.7) - -- else - -- self.bottomBtnIcons[GConst.MainCityConst.BOTTOM_PAGE.EQUIP]:removeRedPoint() - -- end - -- -- 主线挑战 - -- if ModuleManager:getIsOpen(ModuleManager.MODULE_KEY.CHALLENGE, true) and DataManager.ChallengeData:showRedPoint() then - -- self.bottomBtnIcons[GConst.MainCityConst.BOTTOM_PAGE.CHALLENGE]:addRedPoint(40, 40, 0.7) - -- else - -- self.bottomBtnIcons[GConst.MainCityConst.BOTTOM_PAGE.CHALLENGE]:removeRedPoint() - -- end -end - function MainCityUI:checkFuncOpen() - if not self.lvUpHide then - return - end - for k,v in pairs(ModuleManager.MODULE_KEY) do - if not DataManager.PlayerData:isShowFuncOpen(v) and ModuleManager:getIsOpen(v, true) then - local params = {} - params.funcType = v - params.callback = function () - self:checkFuncOpen() - end - ModuleManager.MaincityManager:showFuncOpenUI(params) - return - end - end -end - --- 检查未正常退出得战斗 -function MainCityUI:checkUndoneBattle() - local saveData = LocalData:getBattlePointData() - if saveData and saveData.battleType then - if not saveData.version or saveData.version ~= Platform:getClientVersion() then -- 版本号不相同时,删除数据 - DataManager.BattleData:savePointData() - return - end - - if saveData.battleType == ModuleManager.BattleManager.BATTLE_TYPE.STAGE then - local chapterId = tonumber(saveData.chapterId) - local config = ConfigManager:getConfig("chapter")[chapterId] - if not config then - DataManager.BattleData:savePointData() - return - end - end - - -- 主线挑战不重连 - if saveData.battleType == ModuleManager.BattleManager.BATTLE_TYPE.CHALLENGE then - DataManager.BattleData:savePointData() - return - end - - local function enterBattle() - self.hasUnDoneBattle = false - if saveData.battleType == ModuleManager.BattleManager.BATTLE_TYPE.STAGE then - DataManager.StageData:changeChapterId(tonumber(saveData.chapterId)) - end - ModuleManager.BattleManager:playBattle(saveData.battleType, saveData, nil, function() - UIManager:closeAllUI() - ModuleManager.MaincityManager:showMainCityUI() - end) - end - if not DataManager.TutorialData:getIsFuncTutorialFinished(DataManager.TutorialData.FIRST_FIGHT_END_ID) then - enterBattle() - else - GFunc.showMessageBox({ - boxType = GConst.MESSAGE_BOX_TYPE.MB_OK_CANCEL, - content = I18N:getGlobalText(I18N.GlobalConst.BATTLE_RECONNECT), - okFunc = function() - enterBattle() - end, - cancelFunc = function() - DataManager.BattleData:savePointData() - self.hasUnDoneBattle = false - self:checkTutorial() - end - }) - -- 有未完成的战斗,记录状态 - self.hasUnDoneBattle = true - end - end + -- if not self.lvUpHide then + -- return + -- end + -- for k,v in pairs(ModuleManager.MODULE_KEY) do + -- if not DataManager.PlayerData:isShowFuncOpen(v) and ModuleManager:getIsOpen(v, true) then + -- local params = {} + -- params.funcType = v + -- params.callback = function () + -- self:checkFuncOpen() + -- end + -- ModuleManager.MaincityManager:showFuncOpenUI(params) + -- return + -- end + -- end end function MainCityUI:checkMainPop() @@ -481,23 +316,19 @@ end -- 检查引导 function MainCityUI:checkTutorial() - -- 有重连战斗,暂不开启引导 - if self.hasUnDoneBattle then - return - end - -- 检查抽卡引导 - if not DataManager.TutorialData:getIsFuncTutorialFinished(DataManager.TutorialData.SUMMON_ID) then - self.showSummon = 4 - ModuleManager.TutorialManager:checkFuncTutorial(DataManager.TutorialData.SUMMON_ID) - return - end + -- -- 检查抽卡引导 + -- if not DataManager.TutorialData:getIsFuncTutorialFinished(DataManager.TutorialData.SUMMON_ID) then + -- self.showSummon = 4 + -- ModuleManager.TutorialManager:checkFuncTutorial(DataManager.TutorialData.SUMMON_ID) + -- return + -- end - if not DataManager.TutorialData:getIsFuncTutorialFinished(DataManager.TutorialData.FIGHT_FAIL_ID) then - if DataManager.PlayerData:getStageFailCount() == 1 then -- 首次章节战败 - ModuleManager.TutorialManager:checkFuncTutorial(DataManager.TutorialData.FIGHT_FAIL_ID) - return - end - end + -- if not DataManager.TutorialData:getIsFuncTutorialFinished(DataManager.TutorialData.FIGHT_FAIL_ID) then + -- if DataManager.PlayerData:getStageFailCount() == 1 then -- 首次章节战败 + -- ModuleManager.TutorialManager:checkFuncTutorial(DataManager.TutorialData.FIGHT_FAIL_ID) + -- return + -- end + -- end end return MainCityUI \ No newline at end of file diff --git a/lua/app/userdata/chapter/chapter_data.lua b/lua/app/userdata/chapter/chapter_data.lua new file mode 100644 index 00000000..d5c148a8 --- /dev/null +++ b/lua/app/userdata/chapter/chapter_data.lua @@ -0,0 +1,62 @@ +local ChapterData = class("ChapterData", BaseData) + +local MIN_CHAPTER_ID = 1 + +function ChapterData:ctor() + self.data.chapterId = MIN_CHAPTER_ID + self.data.maxChapterId = 0 + self.data.isDirty = false +end + +function ChapterData:clear() + self.data.chapterId = MIN_CHAPTER_ID + self.data.maxChapterId = 0 +end + +function ChapterData:init(data) + self.data.chapterId = data and data.chapterId or MIN_CHAPTER_ID + self.data.maxChapterId = data and data.maxChapterId or self.data.chapterId - 1 +end + +function ChapterData:getChapterId() + return self.data.chapterId +end + +function ChapterData:setChapterId(chapterId) + self.data.chapterId = chapterId +end + +function ChapterData:goNextChapter() + local chapterInfo = self:getChapterCfg()[self.data.chapterId] + if chapterInfo == nil then + return false + end + local chapterId = chapterInfo.next_chapter + if chapterId == nil then + return false + end + self.data.chapterId = chapterId + return true +end + +function ChapterData:goLastChapter() + local chapterInfo = self:getChapterCfg()[self.data.chapterId] + if chapterInfo == nil then + return false + end + local chapterId = chapterInfo.before_chapter + if chapterId == nil then + return false + end + self.data.chapterId = chapterId + return true +end + +function ChapterData:getChapterCfg() + if self.chapterCfg == nil then + self.chapterCfg = ConfigManager:getConfig("chapter") + end + return self.chapterCfg +end + +return ChapterData \ No newline at end of file diff --git a/lua/app/userdata/chapter/chapter_data.lua.meta b/lua/app/userdata/chapter/chapter_data.lua.meta new file mode 100644 index 00000000..0a4b5573 --- /dev/null +++ b/lua/app/userdata/chapter/chapter_data.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 5c8b5cdcd46d6cd459fd890af3a9600a +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/userdata/stage/stage_data.lua b/lua/app/userdata/stage/stage_data.lua deleted file mode 100644 index da2ee79e..00000000 --- a/lua/app/userdata/stage/stage_data.lua +++ /dev/null @@ -1,426 +0,0 @@ -local StageData = class("StageData", BaseData) - -function StageData:ctor() - self.data.chapterId = 0 - self.data.maxChapterId = 0 - self.data.isDirty = false - self.chapterInfo = {} - self.data.showUnlockId = nil - self.patternMaxChapterId = {} - self.chapterBestWave = {} -- 每一个章节的最佳波次 -end - -function StageData:clear() - self.data.chapterId = 0 - self.data.maxChapterId = 0 - self.chapterInfo = {} -end - -function StageData:init(data) - data = data or {} - for id, info in pairs(data) do - self.chapterInfo[id] = info - if id > self.data.chapterId then - self.data.chapterId = id - end - if info.passed and id > self.data.maxChapterId and self:isNromalPattern(id) then - self.data.maxChapterId = id - end - - if info.passed then - local pattern = self:getChapterPattern(id) - if not self.patternMaxChapterId[pattern] then - self.patternMaxChapterId[pattern] = 0 - end - if id > self.patternMaxChapterId[pattern] then - self.patternMaxChapterId[pattern] = id - end - end - end - self.data.chapterId = self:getNewChapterId() - if self.data.chapterId == 0 then - self.data.chapterId = 101 -- 默认关卡 - end -end - -function StageData:getChapter(chapterId) - chapterId = chapterId or self.data.chapterId - return math.floor(chapterId % 100 + 0.00001) -end - -function StageData:getPassedMaxChapter() - return math.floor(self.data.maxChapterId % 100 + 0.00001) -end - -function StageData:getChapterId() - -- return self.data.chapterId - return self.data.chapterId or 101 -end - -function StageData:getMaxChapterId(pattern) - -- if not pattern or pattern == GConst.StageConst.CHAPTER_PATTERN.NORMAL then - return self.data.maxChapterId - -- else - -- return self.patternMaxChapterId[pattern] or 0 - -- end -end - -function StageData:getNewChapterId() - local maxPassedId = self:getMaxChapterId() - local maxId = self:getChapterId() - local maxCfg = ConfigManager:getConfig("chapter")[maxPassedId] - if maxCfg and maxCfg.next_chapter then - maxId = maxCfg.next_chapter - else - maxId = maxPassedId - end - maxId = math.max(maxId, 101) - return maxId -end - -function StageData:getChapterInfo(chapter) - chapter = chapter or self.data.chapterId - -- 容错处理 - if not self.chapterInfo[chapter] then - self.chapterInfo[chapter] = { - liveTime = 0, - passed = false, - boxReward = {}, - fightCount = 0, - bestWave = 0, - } - end - -- 容错处理 - if not self.chapterInfo[chapter].bestWave then - self.chapterInfo[chapter].bestWave = 0 - end - - return self.chapterInfo[chapter] -end - -function StageData:setChapterInfo(chapter, liveTime, passed, wave, boxReward) - if not self.chapterInfo[chapter] then - self.chapterInfo[chapter] = { - liveTime = 0, - passed = false, - boxReward = {}, - fightCount = 0, - bestWave = 0, - } - end - - if liveTime and liveTime > self.chapterInfo[chapter].liveTime then - self.chapterInfo[chapter].liveTime = liveTime - end - - -- 容错处理 - if not self.chapterInfo[chapter].bestWave then - self.chapterInfo[chapter].bestWave = 0 - end - if wave and wave > self.chapterInfo[chapter].bestWave then - self.chapterInfo[chapter].bestWave = wave - end - - if passed ~= nil and not self.chapterInfo[chapter].passed then - self.chapterInfo[chapter].passed = passed - end - if boxReward ~= nil then - self.chapterInfo[chapter].boxReward = boxReward - end - - if passed and chapter > self.data.maxChapterId and self:isNromalPattern(chapter) then - self.data.maxChapterId = chapter - self.data.chapterId = self:getNewChapterId() - if self.data.chapterId ~= chapter then - self.data.showUnlockId = self.data.chapterId - end - - local data = {} - data.max_chapter = self.data.chapterId - CS.ThinkingAnalytics.ThinkingAnalyticsAPI.UserSet(data) - - local id = math.floor(self.data.maxChapterId % 100 + 0.00001) - DataManager.ActivityGiftData:activeChapterPopGift(id) - end - - if passed then - local pattern = self:getChapterPattern(chapter) - local change = false - if not self.patternMaxChapterId[pattern] then - self.patternMaxChapterId[pattern] = 0 - end - if chapter > self.patternMaxChapterId[pattern] then - self.patternMaxChapterId[pattern] = chapter - change = true - end - - local maxPassedId = self:getMaxChapterId(pattern) - - if change and not self:isNromalPattern(chapter) then - local maxId = self:getChapterId() - local maxCfg = ConfigManager:getConfig("chapter")[maxPassedId] - if maxCfg and maxCfg.next_chapter then - maxId = maxCfg.next_chapter - else - maxId = maxPassedId - end - maxId = math.max(maxId, 201) - self.data.chapterId = maxId - end - end - - - -- DataManager.ActivityData:activeChapterPopGift(2) -end - -function StageData:addFightCount(chapter) - if not self.chapterInfo[chapter] then - self.chapterInfo[chapter] = { - liveTime = 0, - passed = false, - boxReward = {}, - fightCount = 0, - bestWave = 0, - } - end - if not self.chapterInfo[chapter].fightCount then - self.chapterInfo[chapter].fightCount = 0 - end - self.chapterInfo[chapter].fightCount = self.chapterInfo[chapter].fightCount + 1 -end - -function StageData:getChapterInfoCount(chapter) - if not self.chapterInfo[chapter] then - return 0 - end - self.chapterInfo[chapter].fightCount = self.chapterInfo[chapter].fightCount or 0 - return self.chapterInfo[chapter].fightCount -end - -function StageData:getChapterWave(chapterId) - if not self.chapterInfo[chapterId] then - self.chapterInfo[chapterId] = { - liveTime = 0, - passed = false, - boxReward = {}, - fightCount = 0, - bestWave = 0, - } - end - return self.chapterInfo[chapterId].bestWave -end - - -function StageData:getChapterBox(chapterId, boxIndex) - if not self.chapterInfo[chapterId] then - return - end - for _, index in ipairs(self.chapterInfo[chapterId].boxReward) do - if index == boxIndex then - return - end - end - table.insert(self.chapterInfo[chapterId].boxReward, boxIndex) - self:setDirty() -end - -function StageData:getChapterGenMonsterSteps(chapterId) - local stageChapterInfo = ConfigManager:getConfig("chapter")[chapterId] - if stageChapterInfo == nil then - return nil - end - return stageChapterInfo.stage -end - -function StageData:changeChapterId(chapterId) - if not chapterId then - return - end - self.data.chapterId = chapterId - self:setDirty() -end - -function StageData:setDirty() - self.data.isDirty = not self.data.isDirty -end - -function StageData:getAllChapterInfo() - return self.chapterInfo -end - -function StageData:getCurBoxChapterId() - local curpattern = self:getChapterPattern(self.data.chapterId) - local minChapterId - for id, info in pairs(self.chapterInfo) do - if id < self.data.chapterId and (not info.boxReward or #info.boxReward < 3) and curpattern == self:getChapterPattern(id) then -- 小于当前章节,并且没有领完奖励 - if not minChapterId then - minChapterId = id - elseif minChapterId > id then - minChapterId = id - end - end - end - minChapterId = minChapterId or self.data.chapterId - return minChapterId -end - --- 获取指定章节当前小关卡阶段(箱子阶段) -function StageData:getCurStageIdByChapterId(chapterId) - if not chapterId then - chapterId = self.data.maxChapterId - end - if chapterId < self.data.maxChapterId then - return BIReport.FIGHT_STAGE_TYPE.THIRD - end - if not self.chapterInfo or not self.chapterInfo[chapterId] then - return BIReport.FIGHT_STAGE_TYPE.FIRST - end - if self.chapterInfo[chapterId].passed then - return BIReport.FIGHT_STAGE_TYPE.THIRD - end - local cfg = ConfigManager:getConfig("chapter")[chapterId] - if not cfg then - return BIReport.FIGHT_STAGE_TYPE.FIRST - end - if self.chapterInfo[chapterId].bestWave >= cfg.wave_1 then - return BIReport.FIGHT_STAGE_TYPE.THIRD - end - if self.chapterInfo[chapterId].bestWave >= cfg.wave_2 then - return BIReport.FIGHT_STAGE_TYPE.SECOND - end - return BIReport.FIGHT_STAGE_TYPE.FIRST -end - --- 获取指定章节当前小关卡阶段(箱子阶段) -function StageData:getCurStageIdByChapterDuration(chapterId, chapterDuration) - --local cfg = ConfigManager:getConfig("chapter")[chapterId] - --if not cfg then - -- return BIReport.FIGHT_STAGE_TYPE.FIRST - --end - --if chapterDuration > cfg.time_2*60 then - -- return BIReport.FIGHT_STAGE_TYPE.THIRD - --end - --if chapterDuration > cfg.time_1*60 then - -- return BIReport.FIGHT_STAGE_TYPE.SECOND - --end - return BIReport.FIGHT_STAGE_TYPE.FIRST -end - -function StageData:getChapterUnlock() - return self.data.showUnlockId -end - -function StageData:clearChapterUnlock() - self.data.showUnlockId = nil -end - -function StageData:isNromalPattern(chapterId) - -- local pattern = self:getChapterPattern(chapterId) - -- return pattern == GConst.StageConst.CHAPTER_PATTERN.NORMAL - return true -end - -function StageData:getChapterPattern(chapterId) - return chapterId // 100 -end - -function StageData:getDefaultHardId() - return 201 -end - -function StageData:getDefaultId() - return 101 -end - -function StageData:passChapter(chapterId) - local pattern = self:getChapterPattern(chapterId) - local maxId = self:getMaxChapterId(pattern) - return maxId >= chapterId -end - -function StageData:getIsReceived(boxRewards, index) - if boxRewards then - for _, i in ipairs(boxRewards) do - if i == index then - return true - end - end - end - return false -end - -function StageData:getFirstNotClaimChapterId() - local result = self:getChapterId() - local maxChapterId = self:getNewChapterId() - ---@type ChapterCfg[] - local chaperCfgs = ConfigManager:getConfig("chapter") - for cfgId, cfg in pairs(chaperCfgs) do - if cfgId <= maxChapterId then - local showRedPoint = self:showMainCompRedPoint(cfgId) - if showRedPoint then - result = cfgId - break - end - end - end - return result -end - - -function StageData:showMainCompRedPoint(targetChapterId) - local chapterId = targetChapterId and targetChapterId or self:getFirstNotClaimChapterId() - local chapterInfo = self:getChapterInfo(chapterId) - ---@type ChapterCfg - local cfg = ConfigManager:getConfig("chapter")[chapterId] - local step = { - cfg.wave_1, - cfg.wave_2 - } - local rewardBox = {} - if chapterInfo.boxReward then - for _, id in ipairs(chapterInfo.boxReward) do - rewardBox[id] = true - end - end - -- 前两个 - local showEffect = false - for i = 1, 2 do - showEffect = false - if chapterInfo.bestWave >= step[i] and not rewardBox[i] then - return true - end - end - -- 最后一个 - showEffect = false - if chapterInfo.passed and not rewardBox[3] then - showEffect = true - end - return showEffect -end - -function StageData:getFirstNoClaimIndex(chapterId) - local chapterInfo = self:getChapterInfo(chapterId) - ---@type ChapterCfg - local cfg = ConfigManager:getConfig("chapter")[chapterId] - local step = { - cfg.wave_1, - cfg.wave_2 - } - local rewardBox = {} - if chapterInfo.boxReward then - for _, id in ipairs(chapterInfo.boxReward) do - rewardBox[id] = true - end - end - local num = 3 - for i = 1, num do - if not rewardBox[i] then - return i - end - end - -- 否则默认第一个 - return 1 -end - - -return StageData \ No newline at end of file