Skip to content

Commit

Permalink
[CN UPDATE] Client:2.2.01 Data:24-02-20-11-33-44-564efb
Browse files Browse the repository at this point in the history
  • Loading branch information
MuelsyseBot_v1 committed Feb 22, 2024
1 parent 6ab9e8a commit 2b788fa
Show file tree
Hide file tree
Showing 27 changed files with 101,424 additions and 1,727 deletions.
19 changes: 19 additions & 0 deletions zh_CN/gamedata/[uc]lua/hotfixes/SandboxV2Hotfixer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,17 @@ local function _SandboxV2HomeController_InitIfNot(self)
end
end

local function _SandboxV2CookDrinkViewOnValueChanged(self, prop)
local panelModel = prop.Value
if (panelModel ~= nil) then
local model = panelModel.drinkModel
if (model ~= nil and model.initialRender) then
self.m_cachedSelectMode = model.selectMode
end
end
self:OnValueChanged(prop)
end

function SandboxV2Hotfixer:OnInit()
xlua.private_accessible(CS.Torappu.UI.SandboxPerm.SandboxPermUtil);
self:Fix_ex(CS.Torappu.UI.SandboxPerm.SandboxPermUtil, "CheckIfSandboxInPlayerData", function(topicId)
Expand All @@ -64,6 +75,14 @@ function SandboxV2Hotfixer:OnInit()
end);

self:Fix_ex(CS.Torappu.UI.SandboxPerm.SandboxV2.SandboxV2HomeController, "_InitIfNot", _SandboxV2HomeController_InitIfNot)

xlua.private_accessible(CS.Torappu.UI.SandboxPerm.SandboxV2.SandboxV2CookDrinkView)
self:Fix_ex(CS.Torappu.UI.SandboxPerm.SandboxV2.SandboxV2CookDrinkView, "OnValueChanged", function(self, arg1)
local ok, errorInfo = xpcall(_SandboxV2CookDrinkViewOnValueChanged, debug.traceback, self, arg1)
if not ok then
LogError("[SandboxV2CookDrinkView] fix" .. errorInfo)
end
end)
end

function SandboxV2Hotfixer:OnDispose()
Expand Down
25 changes: 25 additions & 0 deletions zh_CN/gamedata/battle/battle_misc_table.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,31 @@
"sceneId": "Activities/ACT3BOSSRUSH/level_bossrush3_04",
"hookedMapPreviewId": null
},
"Activities/ACT4BOSSRUSH/level_bossrush4_ex01": {
"levelId": "Activities/ACT4BOSSRUSH/level_bossrush4_ex01",
"sceneId": "Activities/ACT4BOSSRUSH/level_bossrush4_01",
"hookedMapPreviewId": ""
},
"Activities/ACT4BOSSRUSH/level_bossrush4_ex02": {
"levelId": "Activities/ACT4BOSSRUSH/level_bossrush4_ex02",
"sceneId": "Activities/ACT4BOSSRUSH/level_bossrush4_02",
"hookedMapPreviewId": null
},
"Activities/ACT4BOSSRUSH/level_bossrush4_ex03": {
"levelId": "Activities/ACT4BOSSRUSH/level_bossrush4_ex03",
"sceneId": "Activities/ACT4BOSSRUSH/level_bossrush4_03",
"hookedMapPreviewId": null
},
"Activities/ACT4BOSSRUSH/level_bossrush4_ex04": {
"levelId": "Activities/ACT4BOSSRUSH/level_bossrush4_ex04",
"sceneId": "Activities/ACT4BOSSRUSH/level_bossrush4_04",
"hookedMapPreviewId": null
},
"Activities/ACT4BOSSRUSH/level_bossrush4_fin04": {
"levelId": "Activities/ACT4BOSSRUSH/level_bossrush4_fin04",
"sceneId": "Activities/ACT4BOSSRUSH/level_bossrush4_04",
"hookedMapPreviewId": null
},
"Obt/Legion/LT05/level_lt05_01_ex": {
"levelId": "Obt/Legion/LT05/level_lt05_01_ex",
"sceneId": "Obt/Legion/LT05/level_lt05_01",
Expand Down
14 changes: 11 additions & 3 deletions zh_CN/gamedata/battle/buff_template_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -18380,6 +18380,14 @@
"_withdrawIfRallyPoint": false,
"_resultIfInRallyPointMode": false,
"_skipReborn": false
},
{
"$type": "Torappu.Battle.Action.Nodes+FinishBuffsById, Assembly-CSharp",
"_buffKey": "cripple",
"_loadFromBlackboard": false,
"_decCntIfStack": false,
"_updateOverrideMap": true,
"_targetType": "BUFF_OWNER"
}
]
}
Expand Down Expand Up @@ -206897,7 +206905,7 @@
},
"buffKey": "sandbox_res_holder[full]",
"loadFromDB": false,
"isDurableBuff": false,
"isDurableBuff": true,
"isSilenceable": false,
"isStunnable": false,
"isFreezable": false,
Expand Down Expand Up @@ -206972,7 +206980,7 @@
},
"buffKey": "sandbox_res_holder",
"loadFromDB": false,
"isDurableBuff": false,
"isDurableBuff": true,
"isSilenceable": false,
"isStunnable": false,
"isFreezable": false,
Expand Down Expand Up @@ -208581,7 +208589,7 @@
"enemy_sandbox_common_trace": {
"templateKey": "enemy_sandbox_common_trace",
"effectKey": "",
"onEventPriority": "DEFAULT",
"onEventPriority": "LOWEST_PRIORITY",
"eventToActions": {
"ON_TAKE_DAMAGE": [
{
Expand Down
Loading

0 comments on commit 2b788fa

Please sign in to comment.