This commit is contained in:
puxuan 2025-09-28 20:35:26 +08:00
parent 9a9254de99
commit d8e2d6ce43
11 changed files with 222 additions and 10872 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,30 @@
local activity = { local activity = {
[11701]={ [10001]={
["act_type"]=2, ["act_type"]=2,
["time_type"]=1, ["time_type"]=1,
["start_time_1"]=1, ["start_time_1"]=1,
["end_time_1"]=8, ["end_time_1"]=8,
["func_open"]="summon_open", ["func_open"]="summon_open",
["version"]=1, ["version"]=1,
["round_limit"]=5,
["round_reward"]={
{
["type"]=1,
["type_for_nothing"]="Vw==",
["id"]=44,
["id_for_nothing"]="Ugw=",
["num"]=1,
["num_for_nothing"]="Vw=="
},
{
["type"]=1,
["type_for_nothing"]="Vw==",
["id"]=2,
["id_for_nothing"]="VA==",
["num"]=1000,
["num_for_nothing"]="VwhcAw=="
}
},
["act_gift"]={ ["act_gift"]={
1060000001, 1060000001,
1062000001, 1062000001,

View File

@ -393,18 +393,18 @@ local const = {
{ {
["type"]=1, ["type"]=1,
["type_for_nothing"]="Vw==", ["type_for_nothing"]="Vw==",
["id"]=2, ["id"]=44,
["id_for_nothing"]="VA==", ["id_for_nothing"]="Ugw=",
["num"]=1, ["num"]=1,
["num_for_nothing"]="Vw==" ["num_for_nothing"]="Vw=="
}, },
{ {
["type"]=1, ["type"]=1,
["type_for_nothing"]="Vw==", ["type_for_nothing"]="Vw==",
["id"]=1, ["id"]=2,
["id_for_nothing"]="Vw==", ["id_for_nothing"]="VA==",
["num"]=50, ["num"]=1000,
["num_for_nothing"]="Uwg=" ["num_for_nothing"]="VwhcAw=="
} }
} }
}, },

View File

@ -139,9 +139,12 @@ local task_type = {
}, },
[47]={ [47]={
},
[48]={
} }
} }
local config = { local config = {
data=task_type,count=47 data=task_type,count=48
} }
return config return config

View File

@ -6,7 +6,7 @@ ActSprintConst.ACT_ID = {
-- SUMMON_V2 = 11501, -- SUMMON_V2 = 11501,
-- CORE_SOUL_BOX_V2 = 11601, -- CORE_SOUL_BOX_V2 = 11601,
-- 新版新手 -- 新版新手
SUMMON_ALL = 11701, SUMMON_ALL = 10001,
-- CORE_SOUL_BOX_ALL = 11801, -- CORE_SOUL_BOX_ALL = 11801,
-- -- Loop -- -- Loop
-- SUMMON_LOOP = 11901, -- SUMMON_LOOP = 11901,

View File

@ -62,6 +62,11 @@ function HeroManager:heroStarReqFinish(result)
DataManager.HeroData:setDirty() DataManager.HeroData:setDirty()
DataManager.HeroData:calcPower() DataManager.HeroData:calcPower()
local qlt = DataManager.HeroData:getHeroQlt(result.hero.id)
if qlt == 5 then
ModuleManager.TaskManager:addTaskProgress(GConst.TaskConst.TASK_TYPE.X_STAR_HERO_5, 1)
end
AudioManager:playEffect(AudioManager.EFFECT_ID.HERO_UP) AudioManager:playEffect(AudioManager.EFFECT_ID.HERO_UP)
end end
end end

View File

@ -54,6 +54,7 @@ TaskConst.TASK_TYPE = {
X_SUMMON_HERO_4 = 45, -- 获得X个史诗英雄紫色 X_SUMMON_HERO_4 = 45, -- 获得X个史诗英雄紫色
X_SUMMON_HERO_3 = 46, -- 获得X个稀有英雄蓝色 X_SUMMON_HERO_3 = 46, -- 获得X个稀有英雄蓝色
X_SUMMON_HERO = 47, -- 招聘X次 X_SUMMON_HERO = 47, -- 招聘X次
X_STAR_HERO_5 = 48, -- 传说英雄(橙色)最高星达X 历史最高记录,从建号起记录
} }
return TaskConst return TaskConst

View File

@ -346,6 +346,10 @@ function TaskManager:xRunesQuenching(count)
self:dispatchTask(GConst.TaskConst.TASK_TYPE.X_RUNES_QUENCHING, count) self:dispatchTask(GConst.TaskConst.TASK_TYPE.X_RUNES_QUENCHING, count)
end end
function TaskManager:xStarHero5(count)
self:dispatchTask(GConst.TaskConst.TASK_TYPE.X_STAR_HERO_5, count)
end
---- 没有特殊说明,方法均返回任务增量 ---- 没有特殊说明,方法均返回任务增量
TaskManager.TYPE_DEAL_FUNC = { TaskManager.TYPE_DEAL_FUNC = {
[GConst.TaskConst.TASK_TYPE.X_WATCH_AD] = TaskManager.xWatchAd, [GConst.TaskConst.TASK_TYPE.X_WATCH_AD] = TaskManager.xWatchAd,
@ -388,6 +392,7 @@ TaskManager.TYPE_DEAL_FUNC = {
[GConst.TaskConst.TASK_TYPE.X_BUY_ANYONE] = TaskManager.xBuyAnyone, [GConst.TaskConst.TASK_TYPE.X_BUY_ANYONE] = TaskManager.xBuyAnyone,
[GConst.TaskConst.TASK_TYPE.X_RUNES_GETED_MATERIALS] = TaskManager.xRunesGetedMaterials, [GConst.TaskConst.TASK_TYPE.X_RUNES_GETED_MATERIALS] = TaskManager.xRunesGetedMaterials,
[GConst.TaskConst.TASK_TYPE.X_RUNES_QUENCHING] = TaskManager.xRunesQuenching, [GConst.TaskConst.TASK_TYPE.X_RUNES_QUENCHING] = TaskManager.xRunesQuenching,
[GConst.TaskConst.TASK_TYPE.X_STAR_HERO_5] = TaskManager.xStarHero5,
} }
function TaskManager:taskGoto(taskType) function TaskManager:taskGoto(taskType)
@ -456,6 +461,7 @@ TaskManager.gotoFunc = {
[GConst.TaskConst.TASK_TYPE.X_SUMMON_HERO_4] = TaskManager.gotoSummonUI, [GConst.TaskConst.TASK_TYPE.X_SUMMON_HERO_4] = TaskManager.gotoSummonUI,
[GConst.TaskConst.TASK_TYPE.X_SUMMON_HERO_3] = TaskManager.gotoSummonUI, [GConst.TaskConst.TASK_TYPE.X_SUMMON_HERO_3] = TaskManager.gotoSummonUI,
[GConst.TaskConst.TASK_TYPE.X_SUMMON_HERO] = TaskManager.gotoSummonUI, [GConst.TaskConst.TASK_TYPE.X_SUMMON_HERO] = TaskManager.gotoSummonUI,
[GConst.TaskConst.TASK_TYPE.X_STAR_HERO_5] = TaskManager.gotoMainHeroUI,
} }
function TaskManager:dealTaskType(taskType, callback, onlyGet) function TaskManager:dealTaskType(taskType, callback, onlyGet)

View File

@ -673,9 +673,9 @@ function NetManager:showReconnectMain()
return return
end end
local params = { local params = {
content = I18N:getGlobalText(I18N.GlobalConst.DISCONNECT_DESC_2), content = I18N:getGlobalText(I18N.GlobalConst.RECONNECT),
okText = I18N:getGlobalText(I18N.GlobalConst.BTN_TEXT_OK), okText = I18N:getGlobalText(I18N.GlobalConst.BTN_TEXT_OK),
cancelText = I18N:getGlobalText(I18N.GlobalConst.DISCONNECT_DESC_3), cancelText = I18N:getGlobalText(I18N.GlobalConst.RELOGIN),
noShowClose = true, noShowClose = true,
okFunc = function() okFunc = function()
self:reconnectMain() self:reconnectMain()

View File

@ -3,12 +3,6 @@ local ActSprintSummonData = class("ActSprintSummonData", ActBaseData)
function ActSprintSummonData:ctor() function ActSprintSummonData:ctor()
self:clear() self:clear()
self.actId = 11701
self.startTime = Time:getServerTime()
self.endTime = Time:getServerTime() + 864000
self.extraTime = Time:getServerTime() + 864000
self:initBountyCfg()
end end
function ActSprintSummonData:clear() function ActSprintSummonData:clear()