Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
etorth committed Aug 13, 2023
1 parent 14522bb commit 49653ce
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions server/script/quest/万事通的烦恼.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ addQuestTrigger(SYS_ON_LEVELUP, function(playerUID, oldLevel, newLevel)
uidRemoteCall(playerUID, newLevel,
[[
local newLevel = ...
postString([=[恭喜你升到%d级,快去找万拍子看看,他好像正需要人帮忙。]=], newLevel)
postString([=[恭喜你升到%d级,快去找道馆的万拍子看看,他好像正需要人帮忙。]=], newLevel)
]])
end
end)
Expand Down Expand Up @@ -114,13 +114,9 @@ uidRemoteCall(getNPCharUID('道馆_1', '万事通_1'), getUID(), getQuestName(),
local questUID, questName, minQuestLevel = ...
local questPath = {SYS_EPQST, questName}
return setQuestHandler(questName,
setQuestHandler(questName,
{
[SYS_CHECKACTIVE] = function(uid)
if SYS_DEBUG then
return true
end
if uidRemoteCall(uid, [=[ return getLevel() ]=]) < minQuestLevel then
return false
end
Expand Down Expand Up @@ -158,4 +154,3 @@ uidRemoteCall(getNPCharUID('道馆_1', '万事通_1'), getUID(), getQuestName(),
end,
})
]])

0 comments on commit 49653ce

Please sign in to comment.