From 0908bfe8bcceb9a72c7616ab5770f2cf35bf76c8 Mon Sep 17 00:00:00 2001 From: chenxi Date: Fri, 7 Apr 2023 20:50:11 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E7=AB=A0=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/common/data_manager.lua | 10 +- lua/app/config/attr.lua | 8 +- lua/app/config/buff.lua | 128 + .../buff.lua.meta} | 2 +- lua/app/config/chapter.lua | 2472 +++++++++++++++++ lua/app/config/chapter.lua.meta | 10 + lua/app/config/hero.lua | 310 +++ lua/app/config/hero.lua.meta | 10 + lua/app/config/hero_level.lua | 195 ++ lua/app/config/hero_level.lua.meta | 10 + lua/app/config/item.lua | 86 +- lua/app/config/skill_hero.lua | 284 ++ lua/app/config/skill_hero.lua.meta | 10 + lua/app/config/skill_rogue.lua | 1005 ++++++- lua/app/config/strings/cn/chapter.lua | 36 + lua/app/config/strings/cn/chapter.lua.meta | 10 + lua/app/config/strings/cn/hero.lua | 30 + lua/app/config/strings/cn/hero.lua.meta | 10 + lua/app/config/strings/cn/skill_hero.lua | 30 + lua/app/config/strings/cn/skill_hero.lua.meta | 10 + lua/app/config/strings/cn/skill_rogue.lua | 225 ++ .../config/strings/cn/skill_rogue.lua.meta | 10 + lua/app/config/strings/de/chapter.lua | 36 + lua/app/config/strings/de/chapter.lua.meta | 10 + lua/app/config/strings/de/hero.lua | 30 + lua/app/config/strings/de/hero.lua.meta | 10 + lua/app/config/strings/de/skill_hero.lua | 30 + lua/app/config/strings/de/skill_hero.lua.meta | 10 + lua/app/config/strings/de/skill_rogue.lua | 225 ++ .../config/strings/de/skill_rogue.lua.meta | 10 + lua/app/config/strings/en/chapter.lua | 36 + lua/app/config/strings/en/chapter.lua.meta | 10 + lua/app/config/strings/en/hero.lua | 30 + lua/app/config/strings/en/hero.lua.meta | 10 + lua/app/config/strings/en/skill_hero.lua | 30 + lua/app/config/strings/en/skill_hero.lua.meta | 10 + lua/app/config/strings/en/skill_rogue.lua | 225 ++ .../config/strings/en/skill_rogue.lua.meta | 10 + lua/app/config/strings/fr/chapter.lua | 36 + lua/app/config/strings/fr/chapter.lua.meta | 10 + lua/app/config/strings/fr/hero.lua | 30 + lua/app/config/strings/fr/hero.lua.meta | 10 + lua/app/config/strings/fr/skill_hero.lua | 30 + lua/app/config/strings/fr/skill_hero.lua.meta | 10 + lua/app/config/strings/fr/skill_rogue.lua | 225 ++ .../config/strings/fr/skill_rogue.lua.meta | 10 + lua/app/config/strings/id/chapter.lua | 36 + lua/app/config/strings/id/chapter.lua.meta | 10 + lua/app/config/strings/id/hero.lua | 30 + lua/app/config/strings/id/hero.lua.meta | 10 + lua/app/config/strings/id/skill_hero.lua | 30 + lua/app/config/strings/id/skill_hero.lua.meta | 10 + lua/app/config/strings/id/skill_rogue.lua | 225 ++ .../config/strings/id/skill_rogue.lua.meta | 10 + lua/app/config/strings/ja/chapter.lua | 36 + lua/app/config/strings/ja/chapter.lua.meta | 10 + lua/app/config/strings/ja/hero.lua | 30 + lua/app/config/strings/ja/hero.lua.meta | 10 + lua/app/config/strings/ja/skill_hero.lua | 30 + lua/app/config/strings/ja/skill_hero.lua.meta | 10 + lua/app/config/strings/ja/skill_rogue.lua | 225 ++ .../config/strings/ja/skill_rogue.lua.meta | 10 + lua/app/config/strings/ko/chapter.lua | 36 + lua/app/config/strings/ko/chapter.lua.meta | 10 + lua/app/config/strings/ko/hero.lua | 30 + lua/app/config/strings/ko/hero.lua.meta | 10 + lua/app/config/strings/ko/skill_hero.lua | 30 + lua/app/config/strings/ko/skill_hero.lua.meta | 10 + lua/app/config/strings/ko/skill_rogue.lua | 225 ++ .../config/strings/ko/skill_rogue.lua.meta | 10 + lua/app/config/strings/pt/chapter.lua | 36 + lua/app/config/strings/pt/chapter.lua.meta | 10 + lua/app/config/strings/pt/hero.lua | 30 + lua/app/config/strings/pt/hero.lua.meta | 10 + lua/app/config/strings/pt/skill_hero.lua | 30 + lua/app/config/strings/pt/skill_hero.lua.meta | 10 + lua/app/config/strings/pt/skill_rogue.lua | 225 ++ .../config/strings/pt/skill_rogue.lua.meta | 10 + lua/app/config/strings/ru/chapter.lua | 36 + lua/app/config/strings/ru/chapter.lua.meta | 10 + lua/app/config/strings/ru/hero.lua | 30 + lua/app/config/strings/ru/hero.lua.meta | 10 + lua/app/config/strings/ru/skill_hero.lua | 30 + lua/app/config/strings/ru/skill_hero.lua.meta | 10 + lua/app/config/strings/ru/skill_rogue.lua | 225 ++ .../config/strings/ru/skill_rogue.lua.meta | 10 + lua/app/config/strings/th/chapter.lua | 36 + lua/app/config/strings/th/chapter.lua.meta | 10 + lua/app/config/strings/th/hero.lua | 30 + lua/app/config/strings/th/hero.lua.meta | 10 + lua/app/config/strings/th/skill_hero.lua | 30 + lua/app/config/strings/th/skill_hero.lua.meta | 10 + lua/app/config/strings/th/skill_rogue.lua | 225 ++ .../config/strings/th/skill_rogue.lua.meta | 10 + lua/app/config/strings/vi/chapter.lua | 36 + lua/app/config/strings/vi/chapter.lua.meta | 10 + lua/app/config/strings/vi/hero.lua | 30 + lua/app/config/strings/vi/hero.lua.meta | 10 + lua/app/config/strings/vi/skill_hero.lua | 30 + lua/app/config/strings/vi/skill_hero.lua.meta | 10 + lua/app/config/strings/vi/skill_rogue.lua | 225 ++ .../config/strings/vi/skill_rogue.lua.meta | 10 + lua/app/config/strings/zh/chapter.lua | 36 + lua/app/config/strings/zh/chapter.lua.meta | 10 + lua/app/config/strings/zh/hero.lua | 30 + lua/app/config/strings/zh/hero.lua.meta | 10 + lua/app/config/strings/zh/skill_hero.lua | 30 + lua/app/config/strings/zh/skill_hero.lua.meta | 10 + lua/app/config/strings/zh/skill_rogue.lua | 225 ++ .../config/strings/zh/skill_rogue.lua.meta | 10 + lua/app/config/struct.lua | 25 +- lua/app/server/data/server_base_data.lua | 49 +- lua/app/server/data/server_chapter_data.lua | 10 + .../server/data/server_chapter_data.lua.meta | 10 + lua/app/server/server_game_data.lua | 3 + lua/app/ui/main_city/component/main_comp.lua | 523 +--- lua/app/ui/main_city/main_city_ui.lua | 225 +- lua/app/userdata/chapter/chapter_data.lua | 62 + .../userdata/chapter/chapter_data.lua.meta | 10 + lua/app/userdata/stage/stage_data.lua | 426 --- 120 files changed, 9036 insertions(+), 1179 deletions(-) create mode 100644 lua/app/config/buff.lua rename lua/app/{userdata/stage/stage_data.lua.meta => config/buff.lua.meta} (86%) create mode 100644 lua/app/config/chapter.lua create mode 100644 lua/app/config/chapter.lua.meta create mode 100644 lua/app/config/hero.lua create mode 100644 lua/app/config/hero.lua.meta create mode 100644 lua/app/config/hero_level.lua create mode 100644 lua/app/config/hero_level.lua.meta create mode 100644 lua/app/config/skill_hero.lua create mode 100644 lua/app/config/skill_hero.lua.meta create mode 100644 lua/app/config/strings/cn/chapter.lua create mode 100644 lua/app/config/strings/cn/chapter.lua.meta create mode 100644 lua/app/config/strings/cn/hero.lua create mode 100644 lua/app/config/strings/cn/hero.lua.meta create mode 100644 lua/app/config/strings/cn/skill_hero.lua create mode 100644 lua/app/config/strings/cn/skill_hero.lua.meta create mode 100644 lua/app/config/strings/cn/skill_rogue.lua create mode 100644 lua/app/config/strings/cn/skill_rogue.lua.meta create mode 100644 lua/app/config/strings/de/chapter.lua create mode 100644 lua/app/config/strings/de/chapter.lua.meta create mode 100644 lua/app/config/strings/de/hero.lua create mode 100644 lua/app/config/strings/de/hero.lua.meta create mode 100644 lua/app/config/strings/de/skill_hero.lua create mode 100644 lua/app/config/strings/de/skill_hero.lua.meta create mode 100644 lua/app/config/strings/de/skill_rogue.lua create mode 100644 lua/app/config/strings/de/skill_rogue.lua.meta create mode 100644 lua/app/config/strings/en/chapter.lua create mode 100644 lua/app/config/strings/en/chapter.lua.meta create mode 100644 lua/app/config/strings/en/hero.lua create mode 100644 lua/app/config/strings/en/hero.lua.meta create mode 100644 lua/app/config/strings/en/skill_hero.lua create mode 100644 lua/app/config/strings/en/skill_hero.lua.meta create mode 100644 lua/app/config/strings/en/skill_rogue.lua create mode 100644 lua/app/config/strings/en/skill_rogue.lua.meta create mode 100644 lua/app/config/strings/fr/chapter.lua create mode 100644 lua/app/config/strings/fr/chapter.lua.meta create mode 100644 lua/app/config/strings/fr/hero.lua create mode 100644 lua/app/config/strings/fr/hero.lua.meta create mode 100644 lua/app/config/strings/fr/skill_hero.lua create mode 100644 lua/app/config/strings/fr/skill_hero.lua.meta create mode 100644 lua/app/config/strings/fr/skill_rogue.lua create mode 100644 lua/app/config/strings/fr/skill_rogue.lua.meta create mode 100644 lua/app/config/strings/id/chapter.lua create mode 100644 lua/app/config/strings/id/chapter.lua.meta create mode 100644 lua/app/config/strings/id/hero.lua create mode 100644 lua/app/config/strings/id/hero.lua.meta create mode 100644 lua/app/config/strings/id/skill_hero.lua create mode 100644 lua/app/config/strings/id/skill_hero.lua.meta create mode 100644 lua/app/config/strings/id/skill_rogue.lua create mode 100644 lua/app/config/strings/id/skill_rogue.lua.meta create mode 100644 lua/app/config/strings/ja/chapter.lua create mode 100644 lua/app/config/strings/ja/chapter.lua.meta create mode 100644 lua/app/config/strings/ja/hero.lua create mode 100644 lua/app/config/strings/ja/hero.lua.meta create mode 100644 lua/app/config/strings/ja/skill_hero.lua create mode 100644 lua/app/config/strings/ja/skill_hero.lua.meta create mode 100644 lua/app/config/strings/ja/skill_rogue.lua create mode 100644 lua/app/config/strings/ja/skill_rogue.lua.meta create mode 100644 lua/app/config/strings/ko/chapter.lua create mode 100644 lua/app/config/strings/ko/chapter.lua.meta create mode 100644 lua/app/config/strings/ko/hero.lua create mode 100644 lua/app/config/strings/ko/hero.lua.meta create mode 100644 lua/app/config/strings/ko/skill_hero.lua create mode 100644 lua/app/config/strings/ko/skill_hero.lua.meta create mode 100644 lua/app/config/strings/ko/skill_rogue.lua create mode 100644 lua/app/config/strings/ko/skill_rogue.lua.meta create mode 100644 lua/app/config/strings/pt/chapter.lua create mode 100644 lua/app/config/strings/pt/chapter.lua.meta create mode 100644 lua/app/config/strings/pt/hero.lua create mode 100644 lua/app/config/strings/pt/hero.lua.meta create mode 100644 lua/app/config/strings/pt/skill_hero.lua create mode 100644 lua/app/config/strings/pt/skill_hero.lua.meta create mode 100644 lua/app/config/strings/pt/skill_rogue.lua create mode 100644 lua/app/config/strings/pt/skill_rogue.lua.meta create mode 100644 lua/app/config/strings/ru/chapter.lua create mode 100644 lua/app/config/strings/ru/chapter.lua.meta create mode 100644 lua/app/config/strings/ru/hero.lua create mode 100644 lua/app/config/strings/ru/hero.lua.meta create mode 100644 lua/app/config/strings/ru/skill_hero.lua create mode 100644 lua/app/config/strings/ru/skill_hero.lua.meta create mode 100644 lua/app/config/strings/ru/skill_rogue.lua create mode 100644 lua/app/config/strings/ru/skill_rogue.lua.meta create mode 100644 lua/app/config/strings/th/chapter.lua create mode 100644 lua/app/config/strings/th/chapter.lua.meta create mode 100644 lua/app/config/strings/th/hero.lua create mode 100644 lua/app/config/strings/th/hero.lua.meta create mode 100644 lua/app/config/strings/th/skill_hero.lua create mode 100644 lua/app/config/strings/th/skill_hero.lua.meta create mode 100644 lua/app/config/strings/th/skill_rogue.lua create mode 100644 lua/app/config/strings/th/skill_rogue.lua.meta create mode 100644 lua/app/config/strings/vi/chapter.lua create mode 100644 lua/app/config/strings/vi/chapter.lua.meta create mode 100644 lua/app/config/strings/vi/hero.lua create mode 100644 lua/app/config/strings/vi/hero.lua.meta create mode 100644 lua/app/config/strings/vi/skill_hero.lua create mode 100644 lua/app/config/strings/vi/skill_hero.lua.meta create mode 100644 lua/app/config/strings/vi/skill_rogue.lua create mode 100644 lua/app/config/strings/vi/skill_rogue.lua.meta create mode 100644 lua/app/config/strings/zh/chapter.lua create mode 100644 lua/app/config/strings/zh/chapter.lua.meta create mode 100644 lua/app/config/strings/zh/hero.lua create mode 100644 lua/app/config/strings/zh/hero.lua.meta create mode 100644 lua/app/config/strings/zh/skill_hero.lua create mode 100644 lua/app/config/strings/zh/skill_hero.lua.meta create mode 100644 lua/app/config/strings/zh/skill_rogue.lua create mode 100644 lua/app/config/strings/zh/skill_rogue.lua.meta create mode 100644 lua/app/server/data/server_chapter_data.lua create mode 100644 lua/app/server/data/server_chapter_data.lua.meta create mode 100644 lua/app/userdata/chapter/chapter_data.lua create mode 100644 lua/app/userdata/chapter/chapter_data.lua.meta delete mode 100644 lua/app/userdata/stage/stage_data.lua 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 From f2e69642a959a08290814cd9c6d4ecd5dbb4055e Mon Sep 17 00:00:00 2001 From: chenxi Date: Fri, 7 Apr 2023 22:23:00 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/common/config_manager.lua | 7 + lua/app/common/local_data.lua | 9 + lua/app/config/hero_level.lua | 36 ++-- lua/app/config/player_initial.lua | 46 +++++ lua/app/config/player_initial.lua.meta | 10 + lua/app/config/recovery.lua | 11 ++ lua/app/config/recovery.lua.meta | 10 + lua/app/config/skill_hero.lua | 6 +- lua/app/global/global_func.lua | 24 +++ lua/app/module/login/test_login_ui.lua | 8 +- lua/app/server/data/server_bag_data.lua | 67 +++++++ lua/app/server/data/server_bag_data.lua.meta | 10 + lua/app/server/data/server_base_data.lua | 16 +- lua/app/server/data/server_item_data.lua | 183 ++++++++++++++++++ lua/app/server/data/server_item_data.lua.meta | 10 + lua/app/server/server_data_const.lua | 4 + lua/app/server/server_data_manager.lua | 26 +++ lua/app/server/server_game_data.lua | 156 ++++++++++++++- lua/app/ui/common/toast.lua | 1 - 19 files changed, 607 insertions(+), 33 deletions(-) create mode 100644 lua/app/config/player_initial.lua create mode 100644 lua/app/config/player_initial.lua.meta create mode 100644 lua/app/config/recovery.lua create mode 100644 lua/app/config/recovery.lua.meta create mode 100644 lua/app/server/data/server_bag_data.lua create mode 100644 lua/app/server/data/server_bag_data.lua.meta create mode 100644 lua/app/server/data/server_item_data.lua create mode 100644 lua/app/server/data/server_item_data.lua.meta diff --git a/lua/app/common/config_manager.lua b/lua/app/common/config_manager.lua index 43d55cb6..284949e8 100644 --- a/lua/app/common/config_manager.lua +++ b/lua/app/common/config_manager.lua @@ -18,6 +18,13 @@ function ConfigManager:getConfig(configName) return config.data end +function ConfigManager:getItemConfig() + if self.itemCfg == nil then + self.itemCfg = self:getConfig("item") + end + return self.itemCfg +end + if NOT_PUBLISH then ConfigManager.__getConfig = ConfigManager.getConfig function ConfigManager:getConfig(configName) diff --git a/lua/app/common/local_data.lua b/lua/app/common/local_data.lua index 6dc3fcdf..c2e3dc9f 100644 --- a/lua/app/common/local_data.lua +++ b/lua/app/common/local_data.lua @@ -26,6 +26,7 @@ local LOCAL_DATA_KEY = { SAVE_POWER_MODE = "SAVE_POWER_MODE", -- 省电模式 LAST_MAIL_ID = "LAST_MAIL_ID", IS_NEW_PLAYER = "IS_NEW_PLAYER", + DISTINCT_ID = "DISTINCT_ID", } LocalData.KEYS = LOCAL_DATA_KEY @@ -319,4 +320,12 @@ function LocalData:setNotNewPlayer() return self:setInt(LOCAL_DATA_KEY.IS_NEW_PLAYER, 1) end +function LocalData:setDistinctId(id) + self:setString(LOCAL_DATA_KEY.DISTINCT_ID, id or "") +end + +function LocalData:getDistinctId() + return self:getString(LOCAL_DATA_KEY.DISTINCT_ID, "") +end + return LocalData \ No newline at end of file diff --git a/lua/app/config/hero_level.lua b/lua/app/config/hero_level.lua index edab7638..1007be71 100644 --- a/lua/app/config/hero_level.lua +++ b/lua/app/config/hero_level.lua @@ -10,7 +10,8 @@ local hero_level = { ["cost_2"]={ 5, 100 - } + }, + ["unlock_skill"]=1 }, [3]={ ["cost_2"]={ @@ -20,7 +21,8 @@ local hero_level = { ["cost_3"]={ 3, 0 - } + }, + ["unlock_skill"]=1 }, [4]={ ["cost_2"]={ @@ -45,7 +47,8 @@ local hero_level = { ["cost_4"]={ 3, 500 - } + }, + ["unlock_skill"]=2 }, [6]={ ["cost_2"]={ @@ -59,7 +62,8 @@ local hero_level = { ["cost_4"]={ 5, 500 - } + }, + ["unlock_skill"]=2 }, [7]={ ["cost_2"]={ @@ -73,7 +77,8 @@ local hero_level = { ["cost_4"]={ 10, 500 - } + }, + ["unlock_skill"]=2 }, [8]={ ["cost_2"]={ @@ -102,7 +107,8 @@ local hero_level = { ["cost_4"]={ 40, 10000 - } + }, + ["unlock_skill"]=3 }, [10]={ ["cost_2"]={ @@ -116,7 +122,8 @@ local hero_level = { ["cost_4"]={ 80, 10000 - } + }, + ["unlock_skill"]=3 }, [11]={ ["cost_2"]={ @@ -130,7 +137,8 @@ local hero_level = { ["cost_4"]={ 160, 10000 - } + }, + ["unlock_skill"]=3 }, [12]={ ["cost_2"]={ @@ -144,7 +152,8 @@ local hero_level = { ["cost_4"]={ 320, 10000 - } + }, + ["unlock_skill"]=3 }, [13]={ ["cost_2"]={ @@ -158,7 +167,8 @@ local hero_level = { ["cost_4"]={ 640, 10000 - } + }, + ["unlock_skill"]=3 }, [14]={ ["cost_2"]={ @@ -172,7 +182,8 @@ local hero_level = { ["cost_4"]={ 1000, 10000 - } + }, + ["unlock_skill"]=3 }, [15]={ ["cost_2"]={ @@ -186,7 +197,8 @@ local hero_level = { ["cost_4"]={ 1500, 10000 - } + }, + ["unlock_skill"]=3 } } local config = { diff --git a/lua/app/config/player_initial.lua b/lua/app/config/player_initial.lua new file mode 100644 index 00000000..d9db9ca5 --- /dev/null +++ b/lua/app/config/player_initial.lua @@ -0,0 +1,46 @@ +local player_initial = { + [1]={ + ["reward"]={ + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=3, + ["id_for_nothing"]="VQ==", + ["num"]=30, + ["num_for_nothing"]="VQg=" + } + }, + [2]={ + ["reward"]={ + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5001, + ["id_for_nothing"]="UwhcAg==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + } + }, + [3]={ + ["reward"]={ + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5002, + ["id_for_nothing"]="UwhcAQ==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + } + }, + [4]={ + ["reward"]={ + ["type"]=1, + ["type_for_nothing"]="Vw==", + ["id"]=5003, + ["id_for_nothing"]="UwhcAA==", + ["num"]=3, + ["num_for_nothing"]="VQ==" + } + } +} +local config = { +data=player_initial,count=4 +} +return config \ No newline at end of file diff --git a/lua/app/config/player_initial.lua.meta b/lua/app/config/player_initial.lua.meta new file mode 100644 index 00000000..be1fc769 --- /dev/null +++ b/lua/app/config/player_initial.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: c6e38a4ab5010ad49ade2eb95d467b9f +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/recovery.lua b/lua/app/config/recovery.lua new file mode 100644 index 00000000..ad3119b2 --- /dev/null +++ b/lua/app/config/recovery.lua @@ -0,0 +1,11 @@ +local recovery = { + [3]={ + ["type"]=1, + ["time"]=900, + ["limit"]=30 + } +} +local config = { +data=recovery,count=1 +} +return config \ No newline at end of file diff --git a/lua/app/config/recovery.lua.meta b/lua/app/config/recovery.lua.meta new file mode 100644 index 00000000..401852f2 --- /dev/null +++ b/lua/app/config/recovery.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 820efa75b0d798f478e9ab7f2e160986 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/config/skill_hero.lua b/lua/app/config/skill_hero.lua index bfb9e6c8..505206f6 100644 --- a/lua/app/config/skill_hero.lua +++ b/lua/app/config/skill_hero.lua @@ -34,6 +34,7 @@ local skill_hero = { }, [21]={ ["energy"]=10, + ["position"]=2, ["method"]=2, ["skill_type"]=2, ["skill_type_parameter"]=2, @@ -145,7 +146,7 @@ local skill_hero = { }, [71]={ ["energy"]=10, - ["position"]=4, + ["position"]=2, ["method"]=1, ["skill_type"]=2, ["skill_type_parameter"]=2, @@ -180,6 +181,7 @@ local skill_hero = { }, [72]={ ["energy"]=10, + ["position"]=2, ["method"]=1, ["skill_type"]=2, ["skill_type_parameter"]=2, @@ -221,6 +223,7 @@ local skill_hero = { }, [80]={ ["energy"]=10, + ["position"]=4, ["method"]=2, ["skill_type"]=0, ["effect"]={ @@ -241,6 +244,7 @@ local skill_hero = { }, [81]={ ["energy"]=10, + ["position"]=4, ["method"]=2, ["skill_type"]=1, ["boardrange"]={ diff --git a/lua/app/global/global_func.lua b/lua/app/global/global_func.lua index 7fe4fb58..38bad6fe 100644 --- a/lua/app/global/global_func.lua +++ b/lua/app/global/global_func.lua @@ -1694,6 +1694,30 @@ function GFunc.goTargetPosXShake(obj, onlyKill, targetX, offset, callBack) return obj.shakeSeq end +function GFunc.getRewardId(reward) + if reward.id_for_nothing then + return CS.BF.Utils.GetRewardNumber(reward.id_for_nothing) + else + return reward.id + end +end + +function GFunc.getRewardNum(reward) + if reward.num_for_nothing then + return CS.BF.Utils.GetRewardNumber(reward.num_for_nothing) + else + return reward.num + end +end + +function GFunc.getRewardType(reward) + if reward.type_for_nothing then + return CS.BF.Utils.GetRewardNumber(reward.type_for_nothing) + else + return reward.type + end +end + --[[ 设置tabLe只速 出现改写会抛出Lua error 用法locaL readOnlyCfg = GFunc.readOnlyTab(cfg) return readOnlyCfg diff --git a/lua/app/module/login/test_login_ui.lua b/lua/app/module/login/test_login_ui.lua index 3dd02f51..35d1eea9 100644 --- a/lua/app/module/login/test_login_ui.lua +++ b/lua/app/module/login/test_login_ui.lua @@ -27,13 +27,17 @@ function TestLoginUI:onLoadRootComplete() self.progressTx = uiMap["test_login_ui.progress_tx"] self.progressTx:setText("") self.inputField = uiMap["test_login_ui.login_node.input_field"]:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_INPUT_FIELD) - self.inputField.text = LocalData:getLastLoginName() + self.inputField.text = LocalData:getDistinctId() uiMap["test_login_ui.loading_text"]:setText(I18N:getGlobalText(I18N.GlobalConst.LOADING_DESC)) uiMap["test_login_ui.copy_account_tx"]:setText(I18N:getGlobalText(I18N.GlobalConst.CLICK_COPY_ACOUNT_DESC)) uiMap["test_login_ui.login_node.login_btn.text"]:setText(I18N:getGlobalText(I18N.GlobalConst.TURNTABLE_BUTTON)) uiMap["test_login_ui.login_node.login_btn"]:addClickListener(function() - Logger.logHighlight("------") + if not self.inputField.text or self.inputField.text == "" then + GFunc.showToast("请输入账号") + return + end + LocalData:setDistinctId(self.inputField.text) self:loginGame() end) diff --git a/lua/app/server/data/server_bag_data.lua b/lua/app/server/data/server_bag_data.lua new file mode 100644 index 00000000..4bd9d05d --- /dev/null +++ b/lua/app/server/data/server_bag_data.lua @@ -0,0 +1,67 @@ +local ServerBagData = class("ServerBagData", ServerBaseData) + +function ServerBagData:ctor() + self.ItemData = require("app/server/data/server_item_data"):create() +end + +function ServerBagData:loadLocalData() + self.ItemData:loadLocalData() +end + +function ServerBagData:clear() + self.ItemData:clear() +end + +function ServerBagData:getItemData() + return self.ItemData:getAllItems() +end + +function ServerBagData:tryAddItem(id, num) + return self.ItemData:tryAddItem(id, num) +end + +function ServerBagData:tryAddItemReward(item) + local id = GFunc.getRewardId(item) + local num = GFunc.getRewardNum(item) + return self.ItemData:tryAddItem(id, num) +end + +function ServerBagData:tryAddItemCost(cost) + local id = GFunc.getRewardId(cost) + local num = GFunc.getRewardNum(cost) + return self.ItemData:tryAddItem(id, -num) +end + +function ServerBagData:addItemReward(item, getType) + local id = GFunc.getRewardId(item) + local num = GFunc.getRewardNum(item) + self:addItem(id, num, getType) +end + +function ServerBagData:addItemCost(cost) + local id = GFunc.getRewardId(cost) + local num = GFunc.getRewardNum(cost) + self:addItem(id, -num) +end + +function ServerBagData:addItem(id, num, getType) + if id == GConst.ItemConst.ITEM_ID_VIT then + local maxCount = self.ItemData:getMaxVit() + local currentCount = self.ItemData:getItemNumById(GConst.ItemConst.ITEM_ID_VIT) + local isMax = currentCount >= maxCount + self.ItemData:addItem(id, num, getType) + local currentCount = currentCount + num + local isMax1 = currentCount >= maxCount + if not isMax1 then + if isMax then + self.ItemData:resetVitRecoverTime() + else + self.ItemData:recoveryItems() + end + end + else + self.ItemData:addItem(id, num, getType) + end +end + +return ServerBagData \ No newline at end of file diff --git a/lua/app/server/data/server_bag_data.lua.meta b/lua/app/server/data/server_bag_data.lua.meta new file mode 100644 index 00000000..4a111d66 --- /dev/null +++ b/lua/app/server/data/server_bag_data.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: d136d1a130b633146aadeca89f6c41a6 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/server/data/server_base_data.lua b/lua/app/server/data/server_base_data.lua index 88df61e4..3dda8880 100644 --- a/lua/app/server/data/server_base_data.lua +++ b/lua/app/server/data/server_base_data.lua @@ -19,8 +19,8 @@ end function ServerBaseData:init() end -function ServerBaseData:_loadLocalData() - local data = LocalData:getString("ServerBaseData_" .. self.__cname, "") +function ServerBaseData:loadLocalData() + local data = LocalData:getString("ServerData_" .. self.__cname, "") local dataObj = nil if data and data ~= "" then dataObj = json.decode(data) @@ -28,16 +28,8 @@ function ServerBaseData:_loadLocalData() self:init(dataObj) end -function ServerBaseData:_loadNewPlayerData() - for k, v in pairs(self.data) do - self.data[k] = nil - end - local dataObj = self:getNewPlayerData() - self:init(dataObj) -end - -function ServerBaseData:getNewPlayerData() - return nil +function ServerBaseData:loadNewPlayerData() + self:init() end function ServerBaseData:getCloneData() diff --git a/lua/app/server/data/server_item_data.lua b/lua/app/server/data/server_item_data.lua new file mode 100644 index 00000000..6ad902b6 --- /dev/null +++ b/lua/app/server/data/server_item_data.lua @@ -0,0 +1,183 @@ +local ServerItemData = class("ServerItemData", ServerBaseData) + +function ServerItemData:init(data) + data = data or {} + self.data.items = {} + for idStr, item in pairs(data) do + local id = tonumber(idStr) + if id == GConst.ItemConst.ITEM_ID_VIT then + local ServerGameData = require "app/server/data/server_game_data" + ServerGameData.PlayerData:setVit(item.count) + end + self.data.items[id] = {cfg_id = id, count = item.count} + end + self.data.recoveries = data.recoveries or {} + self:checkRecoveries() +end + +function ServerItemData:tryAddItem(id, num) + if not self.data.items[id] then + if num < 0 then + return false + end + else + if self.data.items[id].count + num < 0 then + return false + end + end + return true +end + +function ServerItemData:addItem(id, num, getType) + local hadNum = 0 + if self.data.items[id] then + hadNum = self.data.items[id].count + else + self.data.items[id] = {} + self.data.items[id].cfg_id = id + self.data.items[id].count = 0 + end + local finalNum = (hadNum or 0) + num + if finalNum < 0 then + finalNum = 0 + end + local ServerGameData = require "app/server/data/server_game_data" + if id == GConst.ItemConst.ITEM_ID_VIT then + ServerGameData.PlayerData:setVit(finalNum) + end + self.data.items[id].count = finalNum + if num < 0 then + if id == GConst.ItemConst.ITEM_ID_GEM then + ServerGameData.TaskData:addTaskProgress(GConst.TASK_TYPE.TASK_GEM_COST, -num) + end + end + + getType = getType or "" + if num > 0 and id == GConst.ItemConst.ITEM_ID_GOLD and + getType ~= GConst.ServerDataConst.DATA_OP_BEHAVIOR.EQUIP_RESOLVE and + getType ~= GConst.ServerDataConst.DATA_OP_BEHAVIOR.EQUIP_REBACK then + ServerGameData.TaskData:addTaskProgress(GConst.TASK_TYPE.TASK_GOLD_GET, num) + end +end + +function ServerItemData:getAllItems() + return self.data.items +end + +function ServerItemData:getItemNumById(id) + if not self.data.items[id] then + return 0 + end + local num = self.data.items[id].count or 0 + return num +end + +function ServerItemData:checkRecoveries() + local recoveryCfg = self:getRecoveryCfg() + for k, v in pairs(recoveryCfg) do + local inList = false + for ii, vv in ipairs(self.data.recoveries) do + if vv.cfg_id == k then + inList = true + end + end + if not inList then + table.insert(self.data.recoveries, {cfg_id = k, ts = Time:getServerTime()}) + end + end + self:recoveryItems() +end + +function ServerItemData:recoveryItems() + if not self.data.recoveries then + return + end + for i,v in ipairs(self.data.recoveries) do + if v.cfg_id == GConst.ItemConst.ITEM_ID_VIT then + local maxCount = self:getMaxVit() + self:recoveryItem(v, maxCount) + end + end +end + + +function ServerItemData:recoveryItem(data, maxCount) + if not CS.BF.BFMain.IsGotServerTime then + return + end + if data.cfg_id == GConst.ItemConst.ITEM_ID_VIT then + local ServerGameData = require "app/server/data/server_game_data" + local currentCount = ServerGameData.PlayerData:getVit() + if currentCount >= maxCount then -- 已经达到上限 + return + end + + local cfg = self:getRecoveryCfg()[data.cfg_id] + local nowTime = Time:getServerTime() + local diffTime = nowTime - data.ts + if diffTime <= 0 then + return + end + local addCount = math.floor(diffTime / cfg.time) + if addCount <= 0 then + return + end + end + + local currentCount = self:getItemNumById(data.cfg_id) + if currentCount >= maxCount then -- 已经达到上限 + return + end + local cfg = self:getRecoveryCfg()[data.cfg_id] + local nowTime = Time:getServerTime() + local diffTime = nowTime - data.ts + if diffTime <= 0 then + return + end + local addCount = math.floor(diffTime / cfg.time) + if addCount <= 0 then + return + end + data.ts = data.ts + cfg.time*addCount + if currentCount + addCount > maxCount then + addCount = maxCount - currentCount + end + self:addItem(data.cfg_id, addCount) + ServerDataManager:saveData() +end + +function ServerItemData:resetVitRecoverTime() + local maxCount = self:getMaxVit() + local ServerGameData = require "app/server/data/server_game_data" + local currentCount = ServerGameData.PlayerData:getVit() + if currentCount >= maxCount then -- 已经达到上限 + return + end + + local currentCount = self:getItemNumById(GConst.ItemConst.ITEM_ID_VIT) + if currentCount >= maxCount then -- 已经达到上限 + return + end + for i,v in ipairs(self.recoveries) do + if v.cfg_id == GConst.ItemConst.ITEM_ID_VIT then + self.data.recoveries[i].ts = Time:getServerTime() + end + end +end + +function ServerItemData:getRecoveryCfg() + if self.recoveryCfg == nil then + self.recoveryCfg = ConfigManager:getConfig("recovery") + end + return self.recoveryCfg +end + +function ServerItemData:getMaxVit() + if self.maxVit == nil then + local cfg = self:getRecoveryCfg()[GConst.ItemConst.ITEM_ID_VIT] + self.maxVit = cfg.limit + end + return self.maxVit +end + +return ServerItemData \ No newline at end of file diff --git a/lua/app/server/data/server_item_data.lua.meta b/lua/app/server/data/server_item_data.lua.meta new file mode 100644 index 00000000..a6a0cd62 --- /dev/null +++ b/lua/app/server/data/server_item_data.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 21a3f0972e236154197f14df6f246f40 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/server/server_data_const.lua b/lua/app/server/server_data_const.lua index 2ef89377..408973a3 100644 --- a/lua/app/server/server_data_const.lua +++ b/lua/app/server/server_data_const.lua @@ -1,5 +1,9 @@ local ServerDataConst = {} +ServerDataConst.REWARD_TYPE = { + REWARD_NONE = 0, + ITEM = 1, +} ServerDataConst.DATA_OP_BEHAVIOR = { SYNC_DATA = "SYNC_DATA", diff --git a/lua/app/server/server_data_manager.lua b/lua/app/server/server_data_manager.lua index 6f331c65..291e1732 100644 --- a/lua/app/server/server_data_manager.lua +++ b/lua/app/server/server_data_manager.lua @@ -5,6 +5,32 @@ local ServerDataManager = {} function ServerDataManager:init() end +function ServerDataManager:saveData() +end + +function ServerDataManager:randomReward(weightArr, callback) + local maxWeight = 0 + for i, v in ipairs(weightArr) do + maxWeight = maxWeight + v + end + local randomWeight + if callback then + randomWeight = callback(1, maxWeight) + else + randomWeight = math.random(1, maxWeight) + end + local idx + for i, v in ipairs(weightArr) do + if randomWeight <= v then + idx = i + break + else + randomWeight = randomWeight - v + end + end + return idx +end + function ServerDataManager:dataOperate(behavior, params, callback) local opFunc = ServerDataManager.OP_FUNC[behavior] if opFunc then diff --git a/lua/app/server/server_game_data.lua b/lua/app/server/server_game_data.lua index 22fb5f70..132728d7 100644 --- a/lua/app/server/server_game_data.lua +++ b/lua/app/server/server_game_data.lua @@ -1,4 +1,8 @@ -local ServerGameData = {} +local ServerGameData = { + seed = {} +} + +local TempRewards = {} function ServerGameData:init() if self.isInit then @@ -6,20 +10,32 @@ function ServerGameData:init() end self.isInit = true self:initServerData("PlayerData", "app/server/data/server_player_data") + self:initServerData("BagData", "app/server/data/server_bag_data") self:initServerData("ChapterData", "app/server/data/server_chapter_data") end function ServerGameData:initData() self:init() + if self.distinctId == nil or self.distinctId == "" then + self.distinctId = LocalData:getDistinctId() + end local isNewPlayer = LocalData:getIsNewPlayer() if isNewPlayer then for k, v in pairs(self.dataMap) do - v:_loadNewPlayerData() + v:loadNewPlayerData() + end + local playerInitialCfg = ConfigManager:getConfig("player_initial") + if playerInitialCfg then + for k, v in pairs(playerInitialCfg) do + if v.reward then + self:addReward(v.reward) + end + end end LocalData:setNotNewPlayer() else for k, v in pairs(self.dataMap) do - v:_loadLocalData() + v:loadLocalData() end end end @@ -37,9 +53,139 @@ 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 +-- 根据配置表添加奖励 +function ServerGameData:addRewards(cfgRewards, getType) + local rewards = {} + if cfgRewards then + local count = #TempRewards + for i = 1, count do + table.remove(TempRewards) + end + for _, reward in ipairs(cfgRewards) do + local rewardType = GFunc.getRewardType(reward) + if rewardType == GConst.ServerDataConst.REWARD_TYPE.ITEM then + local rewardId = GFunc.getRewardId(reward) + local rewardNum = GFunc.getRewardNum(reward) + local cfg = ConfigManager:getItemConfig()[rewardId] + if cfg.box_drop then + self:openRewardBox(TempRewards, cfg.box_drop, rewardNum, rewardId) + else + table.insert(TempRewards, reward) + end + else + table.insert(TempRewards, reward) + end + end + count = #TempRewards + for i = 1, count do + local reward = table.remove(TempRewards) + local newReward = self:getNewReward() + local rewardType = GFunc.getRewardType(reward) + newReward.type = rewardType + if rewardType == GConst.ServerDataConst.REWARD_TYPE.ITEM then + self.BagData:addItemReward(reward, getType) + local rewardId = GFunc.getRewardId(reward) + local rewardNum = GFunc.getRewardNum(reward) + if rewardId == GConst.ItemConst.ITEM_ID_EXP then + self.PlayerData:addExp(rewardNum) + end + local item = self:getNewItem() + item.cfg_id = rewardId + item.count = rewardNum + newReward.item = item + end + table.insert(rewards, newReward) + end + end + return rewards +end + +function ServerGameData:addRewards(cfgReward, getType) + if cfgReward == nil then + return + end + local count = #TempRewards + for i = 1, count do + table.remove(TempRewards) + end + local rewardType = GFunc.getRewardType(cfgReward) + if rewardType == GConst.ServerDataConst.REWARD_TYPE.ITEM then + local rewardId = GFunc.getRewardId(cfgReward) + local rewardNum = GFunc.getRewardNum(cfgReward) + local cfg = ConfigManager:getItemConfig()[rewardId] + if cfg.box_drop then + self:openRewardBox(TempRewards, cfg.box_drop, rewardNum, rewardId) + else + table.insert(TempRewards, cfgReward) + end + else + table.insert(TempRewards, cfgReward) + end + count = #TempRewards + for i = 1, count do + local reward = table.remove(TempRewards) + local rewardType = GFunc.getRewardType(reward) + if rewardType == GConst.ServerDataConst.REWARD_TYPE.ITEM then + self.BagData:addItemReward(reward, getType) + local rewardId = GFunc.getRewardId(reward) + local rewardNum = GFunc.getRewardNum(reward) + if rewardId == GConst.ItemConst.ITEM_ID_EXP then + self.PlayerData:addExp(rewardNum) + end + end + end +end + +function ServerGameData:getNewReward() + local rewards = { + type = 0, + item = {}, + } + return rewards +end + +function ServerGameData:getNewItem() + local item = { + cfg_id = 0, + count = 0 + } + return item +end + +function ServerGameData:openRewardBox(finalReward, drop, num, id) + local weightArr = {} + for _, v in ipairs(drop) do + table.insert(weightArr, v.weight) + end + for i = 1, num do + local rewardIdx = ServerDataManager:randomReward(weightArr, function (min, max) + return ServerGameData:randomItemBox(id, min, max) + end) + table.insert(finalReward, drop[rewardIdx]) + end +end + +function ServerGameData:randomItemBox(id, min, max) + id = tostring(id) + local seed = self.seed[id] + if not seed then + local str = self.distinctId .. "_ItemBox_" .. id + seed = GFunc.hash(str) + self.seed[id] = seed + end + self.seed[id] = (seed*9301 + 49297)%233280 + return min + self.seed[id]*(max - min + 1)//233280 +end + +function ServerGameData:getDistinctId() + return self.distinctId +end + +function ServerGameData:setDistinctId(distinctId) + self.distinctId = distinctId +end + return ServerGameData \ No newline at end of file diff --git a/lua/app/ui/common/toast.lua b/lua/app/ui/common/toast.lua index e254a227..dbb6cbe9 100644 --- a/lua/app/ui/common/toast.lua +++ b/lua/app/ui/common/toast.lua @@ -54,7 +54,6 @@ end function ToastManager:_showToast(params) UIManager:getToast(function(prefabObject) - AudioManager:playEffect(AudioManager.EFFECT_ID.SFX_TOAST) prefabObject._using = true if prefabObject._toastSequence then prefabObject._toastSequence:Kill() From 96483f028c383973c342a620f3e5ee5e88e74f76 Mon Sep 17 00:00:00 2001 From: chenxi Date: Sat, 8 Apr 2023 17:52:36 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E8=8B=B1=E9=9B=84=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/common/data_manager.lua | 2 + lua/app/global/global_const.lua | 78 +------------------ lua/app/server/data/server_hero_data.lua | 3 + lua/app/server/data/server_hero_data.lua.meta | 10 +++ lua/app/server/server_game_data.lua | 1 + lua/app/ui/common/cell/hero_cell.lua | 6 ++ lua/app/ui/common/cell/hero_cell.lua.meta | 10 +++ lua/app/ui/hero/cell.meta | 8 ++ lua/app/ui/hero/cell/hero_list_cell.lua | 43 ++++++++++ lua/app/ui/hero/cell/hero_list_cell.lua.meta | 10 +++ lua/app/ui/hero/hero_comp.lua | 40 ++++++++++ lua/app/userdata/hero/hero_data.lua | 20 ++--- lua/app/userdata/hero/hero_entity.lua | 51 +++--------- 13 files changed, 155 insertions(+), 127 deletions(-) create mode 100644 lua/app/server/data/server_hero_data.lua create mode 100644 lua/app/server/data/server_hero_data.lua.meta create mode 100644 lua/app/ui/common/cell/hero_cell.lua create mode 100644 lua/app/ui/common/cell/hero_cell.lua.meta create mode 100644 lua/app/ui/hero/cell.meta create mode 100644 lua/app/ui/hero/cell/hero_list_cell.lua create mode 100644 lua/app/ui/hero/cell/hero_list_cell.lua.meta diff --git a/lua/app/common/data_manager.lua b/lua/app/common/data_manager.lua index 2756c7d5..d03b170a 100644 --- a/lua/app/common/data_manager.lua +++ b/lua/app/common/data_manager.lua @@ -66,6 +66,7 @@ function DataManager:clear() self.PlayerData:clear() self.BattleData:clear() self.ChapterData:clear() + self.HeroData:clear() ModuleManager.TaskManager:clear() end @@ -77,6 +78,7 @@ function DataManager:initWithServerData(data) self.PlayerData:init(data.PlayerData) self.ChapterData:init(data.ChapterData) + self.HeroData:init(data.HeroData) self:scheduleGlobal() self:checkDataBind() diff --git a/lua/app/global/global_const.lua b/lua/app/global/global_const.lua index 09cd6017..0b01624c 100644 --- a/lua/app/global/global_const.lua +++ b/lua/app/global/global_const.lua @@ -158,7 +158,7 @@ GConst.TYPEOF_LUA_CLASS = { -- cell ITEM_CELL = "app/ui/common/cell/item_cell", - EQUIP_CELL = "app/ui/common/cell/equip_cell", + HERO_CELL = "app/ui/common/cell/hero_cell", REWARD_CELL = "app/ui/common/cell/reward_cell", } @@ -370,84 +370,8 @@ GConst.ENTITY_TYPE = { } GConst.ATTR_TYPE = { - -- 血量 hp = 1, - -- 生命恢复 - -- recover = 2, - -- 攻击 atk = 2, - -- 速度 - -- spd = 4, - -- 暴击 - crit = 3, - -- 暴击伤害 - crit_time = 4, - -- 技能范围增加(百分比) - -- atk_range = 7, - -- 伤害减免,在伤害计算的最后按百分比减少 - dmg_dec_all = 5, - -- 对boss的伤害提升 - -- hurt_boss_time = 9, - -- 攻击力百分比 - atkp_1 = 6, - atkp_2 = 7, - atkp_3 = 8, - atkp_4 = 9, - atkp_5 = 10, - atkp_6 = 11, - atkp_7 = 12, - atkp_8 = 13, - atkp_9 = 14, - -- 生命百分比 - hpp_1 = 15, - hpp_2 = 16, - hpp_3 = 17, - hpp_4 = 18, - hpp_5 = 19, - hpp_6 = 20, - hpp_7 = 21, - -- 移动速度百分比 - -- spdp = 25, - -- 增加自身的伤害 - dmg_addition = 22, - -- 中毒伤害提高(比例) - -- hurt_poisonP = 27, - -- 对中毒单位伤害提高(比例) - -- dmg_addition_poicon = 28, - -- 闪避几率(受伤时有几率不掉血) - miss = 23, - -- 金币获取(百分比) - gold_gain = 24, - -- 技能伤害(百分比) - dmg_addition_skill = 25, - -- 普攻伤害(百分比) - dmg_addition_normal = 26, - -- 放置奖励(百分比) - idle_income = 27, - -- 矿镐回复速度(百分比) - pickaxe_recover_spd = 28, - -- 矿镐持有上限(固定值) - pickaxe_own_limit = 29, - -- 研究用矿石获取(百分比) - mineral_gain = 30, - -- 研究速度(百分比) - research_spd = 31, - -- 所有战斗中的攻击力百分比加成 - -- atkp_0 = 38, - -- 击飞伤害 - airborne_damage = 32, - -- 击飞数量 - airborne_num = 33, - -- 所有技能的伤害提升 - -- skill_all_damage = 41, - -- 武器技能1的伤害提升 - -- skill_1_damage = 42, - -- -- 武器技能2的伤害提升 - -- skill_2_damage = 43, - -- -- 武器技能3的伤害提升 - -- skill_3_damage = 44, - -- -- 普攻伤害提升 - -- attack_damage = 45, } GConst.GAMEOBJECT_LAYER = { diff --git a/lua/app/server/data/server_hero_data.lua b/lua/app/server/data/server_hero_data.lua new file mode 100644 index 00000000..2b53bc97 --- /dev/null +++ b/lua/app/server/data/server_hero_data.lua @@ -0,0 +1,3 @@ +local ServerHeroData = class("ServerHeroData", ServerBaseData) + +return ServerHeroData \ No newline at end of file diff --git a/lua/app/server/data/server_hero_data.lua.meta b/lua/app/server/data/server_hero_data.lua.meta new file mode 100644 index 00000000..cf2ead46 --- /dev/null +++ b/lua/app/server/data/server_hero_data.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 56a4a8f5d6118d74b9bb6971db3d030a +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 132728d7..e64c1bcf 100644 --- a/lua/app/server/server_game_data.lua +++ b/lua/app/server/server_game_data.lua @@ -11,6 +11,7 @@ function ServerGameData:init() self.isInit = true self:initServerData("PlayerData", "app/server/data/server_player_data") self:initServerData("BagData", "app/server/data/server_bag_data") + self:initServerData("HeroData", "app/server/data/server_hero_data") self:initServerData("ChapterData", "app/server/data/server_chapter_data") end diff --git a/lua/app/ui/common/cell/hero_cell.lua b/lua/app/ui/common/cell/hero_cell.lua new file mode 100644 index 00000000..61526040 --- /dev/null +++ b/lua/app/ui/common/cell/hero_cell.lua @@ -0,0 +1,6 @@ +local HeroCell = class("HeroCell", BaseCell) + +function HeroCell:refresh() +end + +return HeroCell diff --git a/lua/app/ui/common/cell/hero_cell.lua.meta b/lua/app/ui/common/cell/hero_cell.lua.meta new file mode 100644 index 00000000..661c8c13 --- /dev/null +++ b/lua/app/ui/common/cell/hero_cell.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 2908445d9bae05b4fad51ac5eca0730e +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/ui/hero/cell.meta b/lua/app/ui/hero/cell.meta new file mode 100644 index 00000000..8a64b73b --- /dev/null +++ b/lua/app/ui/hero/cell.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d83268e262de62e478d7dd155698ccce +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/lua/app/ui/hero/cell/hero_list_cell.lua b/lua/app/ui/hero/cell/hero_list_cell.lua new file mode 100644 index 00000000..7ea45a26 --- /dev/null +++ b/lua/app/ui/hero/cell/hero_list_cell.lua @@ -0,0 +1,43 @@ +local HeroListCell = class("HeroListCell", BaseCell) + +local H = { + NORMAL = 112, + HAS_TITLE = 216 +} + +function HeroListCell:init() + self.uiMap = self:getUIMap() + self.heroCells = { + self.uiMap["hero_list_cell.prop_node.hero_cell_1"]:addLuaComponent(GConst.TYPEOF_LUA_CLASS.HERO_CELL), + self.uiMap["hero_list_cell.prop_node.hero_cell_2"]:addLuaComponent(GConst.TYPEOF_LUA_CLASS.HERO_CELL), + self.uiMap["hero_list_cell.prop_node.hero_cell_3"]:addLuaComponent(GConst.TYPEOF_LUA_CLASS.HERO_CELL), + self.uiMap["hero_list_cell.prop_node.hero_cell_4"]:addLuaComponent(GConst.TYPEOF_LUA_CLASS.HERO_CELL), + self.uiMap["hero_list_cell.prop_node.hero_cell_5"]:addLuaComponent(GConst.TYPEOF_LUA_CLASS.HERO_CELL), + } + self.title = self.uiMap["hero_list_cell.title"] + self.titleTx = self.uiMap["hero_list_cell.title.title_desc"] +end + +function HeroListCell:refresh(list) + -- for i, cell in ipairs(self.heroCells) do + -- local info = list.unitList and list.unitList[i] + -- cell:getBaseObject():setActive(info ~= nil) + -- if info and info.entity then + -- cell:refresh(info.entity) + -- end + -- end + + -- self.title:setActive(list.showTitle ~= nil) + -- if list.showTitle ~= nil then + -- self.titleTx:setText(list.showTitle) + -- self:getBaseObject():setSizeDeltaY(H.HAS_TITLE) + -- else + -- local h = H.NORMAL + -- if list.isFirstLine then + -- h = h + 30 + -- end + -- self:getBaseObject():setSizeDeltaY(h) + -- end +end + +return HeroListCell \ No newline at end of file diff --git a/lua/app/ui/hero/cell/hero_list_cell.lua.meta b/lua/app/ui/hero/cell/hero_list_cell.lua.meta new file mode 100644 index 00000000..2ba9ea77 --- /dev/null +++ b/lua/app/ui/hero/cell/hero_list_cell.lua.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 65cefb44eced49b4ab01c650f89e976b +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 3b8b241bab4a4ac9a22fcce9c64f1242, type: 3} diff --git a/lua/app/ui/hero/hero_comp.lua b/lua/app/ui/hero/hero_comp.lua index ee04bd31..2a08e5f0 100644 --- a/lua/app/ui/hero/hero_comp.lua +++ b/lua/app/ui/hero/hero_comp.lua @@ -1,6 +1,46 @@ local HeroComp = class("HeroComp", LuaComponent) +local HERO_LIST_CELL = "app/ui/hero/cell/hero_list_cell" + +function HeroComp:init() + self.uiMap = self:getBaseObject():genAllChildren() + self.scrollRect = self.uiMap["hero_ui.scrollrect"]:addLuaComponent(GConst.TYPEOF_LUA_CLASS.SCROLL_RECT_BASE) + self.scrollRect:addInitCallback(function() + return HERO_LIST_CELL + end) + self.scrollRect:addRefreshCallback(function(index, cell) + cell:refresh() + end) + self.heroList = {} +end + function HeroComp:refresh() + if #self.heroList <= 0 then + local heroes = DataManager.HeroData:getAllHeroes() + for k, v in pairs(heroes) do + table.insert(self.heroList, v) + end + end + self:refreshScrollRect() +end + +function HeroComp:refreshScrollRect() + local activeCount = DataManager.HeroData:getActiveHeroCount() + local lockCount = #self.heroList - activeCount + local cellCount = 0 + if activeCount > 0 then + cellCount = cellCount + math.ceil(activeCount / 5) + end + if lockCount > 0 then + cellCount = cellCount + math.ceil(lockCount / 5) + end + local currCount = self.scrollRect:getTotalCount() + if cellCount == currCount then + self.scrollRect:updateAllCell() + else + self.scrollRect:clearCells() + self.scrollRect:refillCells(cellCount) + end end return HeroComp \ No newline at end of file diff --git a/lua/app/userdata/hero/hero_data.lua b/lua/app/userdata/hero/hero_data.lua index 5294f216..f584464b 100644 --- a/lua/app/userdata/hero/hero_data.lua +++ b/lua/app/userdata/hero/hero_data.lua @@ -3,7 +3,7 @@ local HeroData = class("HeroData", BaseData) function HeroData:ctor() self.heroes = {} - self.heroCount = 0 + self.data.activeCount = 0 end function HeroData:clear() @@ -12,20 +12,22 @@ end function HeroData:init(data) self.heroes = {} - self.heroCount = 0 - data = data or {} - for id, info in pairs(data) do - self:_addHero(info) - self.heroCount = self.heroCount + 1 + local heroCfg = ConfigManager:getConfig("hero") + for heroId, heroInfo in pairs(heroCfg) do + self:createHeroById(heroId, heroInfo) end end -function HeroData:_addHero(heroInfo) - self.heroes[heroInfo.cfg_id] = HeroEntity:create(heroInfo) +function HeroData:createHeroById(heroId, heroInfo) + self.heroes[heroId] = HeroEntity:create(heroId, heroInfo) end -function HeroData:getHeroes() +function HeroData:getAllHeroes() return self.heroes end +function HeroData:getActiveHeroCount() + return self.data.activeCount +end + return HeroData \ No newline at end of file diff --git a/lua/app/userdata/hero/hero_entity.lua b/lua/app/userdata/hero/hero_entity.lua index 979c2bc7..597886ee 100644 --- a/lua/app/userdata/hero/hero_entity.lua +++ b/lua/app/userdata/hero/hero_entity.lua @@ -1,50 +1,21 @@ local HeroEntity = class("HeroEntity", BaseData) -function HeroEntity:ctor(heroInfo) - self.id = heroInfo.id or 1 - self.cfgId = heroInfo.cfg_id or self.id - self.data.lv = heroInfo.lv or 1 +function HeroEntity:ctor(cfgId, config) + self.id = cfgId + self.config = config + self.cfgId = cfgId + self.data.lv = 0 self.attrDirty = false - self.data.powerDirty = false - - self:_loadConfig() self.baseAttrOriginal = {} - self:initAttrTab() + self.allAttr = {} + self:initAttr() self:updateAttr() end -function HeroEntity:initAttrTab() - self.allAttr = {} - local cfg = ConfigManager:getConfig("attr") - for i = 1, #cfg do - self.allAttr[i] = {unit = 0, value = 0} - end -end - -function HeroEntity:_loadConfig() - self.config = ConfigManager:getConfig("hero")[self.cfgId] -end - -function HeroEntity:setHid(id) - self.id = id -end - -function HeroEntity:getHid() - return self.id -end - -function HeroEntity:getId() - return self.cfgId -end - -function HeroEntity:setId(id) - if not id then - return - end - self.cfgId = id - self:_loadConfig() - self:setDirty() +function HeroEntity:initAttr() + self.allAttr[GConst.ATTR_TYPE.hp] = 0 + self.allAttr[GConst.ATTR_TYPE.atk] = 0 end function HeroEntity:setLv(lv) @@ -74,8 +45,6 @@ end function HeroEntity:updateAttr() self:updateBaseAttr() - self:_updateAllAttr() - self:calculatePower() end function HeroEntity:updateBaseAttr()