Update - 1.4.0.73

EN: 1.4.0.73
CN: 1.4.0.74
JP: 1.4.0.77
KR: 1.4.0.80
This commit is contained in:
SL1900
2025-12-25 19:00:00 +09:00
parent 5f417fbe9d
commit 35c8d87e86
1183 changed files with 893278 additions and 92778 deletions
@@ -347,6 +347,9 @@ function VampireLevelSelectCtrl:PlayNpcVoice(sType)
local sVoiceRes = PlayerData.Voice:PlayCharVoice(sType, 9102, nil, true)
end
function VampireLevelSelectCtrl:OnEvent_ShowBubbleVoiceText(nCharId, nId)
if self._panel.nLevelId ~= nil and self._panel.nLevelId > 0 or self._panel.bTalent then
return
end
local mapVoDirectoryData = ConfigTable.GetData("VoDirectory", nId)
if mapVoDirectoryData == nil then
printError("VoDirectory未找到数据id:" .. nId)
@@ -388,18 +391,16 @@ function VampireLevelSelectCtrl:BlockNpc(nTime)
self:AddTimer(1, nTime, unBlockJump, true, true, nil, nil)
end
function VampireLevelSelectCtrl:NpcVoice()
local currentTimeTable = os.date("*t")
local nHour = currentTimeTable.hour
local sType = "greet_npc"
local sTimeVoice = PlayerData.Voice:GetNPCGreetTimeVoiceKey()
PlayerData.VampireSurvivor:CheckBattleSuccess()
if 6 < nHour and nHour <= 12 then
sType = "greetmorn_npc"
elseif 12 < nHour and nHour <= 18 then
sType = "greetnoon_npc"
elseif 18 < nHour or nHour <= 6 then
sType = "greetnight_npc"
end
self:PlayNpcVoice(sType)
PlayerData.Voice:StartBoardFreeTimer(9102)
local bFirstIn = PlayerData.VampireSurvivor:GetFirstIn()
if bFirstIn then
self:PlayNpcVoice(sTimeVoice)
else
local nIndex = math.random(1, 2)
local sVoice = nIndex == 1 and sTimeVoice or "greet_npc"
self:PlayNpcVoice(sVoice)
end
end
return VampireLevelSelectCtrl