From 2f102010ad9678cc764b97e3b58454aa9c7a4bcf Mon Sep 17 00:00:00 2001 From: Fm Date: Tue, 7 Jul 2026 20:02:41 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix(cataclysm):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=9B=A2=E9=98=9F=E9=9D=A2=E6=9D=BF=E5=8F=B3=E9=94=AE=E6=9C=89?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MY_Cataclysm/src/MY_CataclysmParty.lua | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/MY_Cataclysm/src/MY_CataclysmParty.lua b/MY_Cataclysm/src/MY_CataclysmParty.lua index 452faabbe..ed619a031 100644 --- a/MY_Cataclysm/src/MY_CataclysmParty.lua +++ b/MY_Cataclysm/src/MY_CataclysmParty.lua @@ -525,28 +525,10 @@ function MY_CataclysmParty_Base.OnItemRButtonClick() local t = {} InsertTargetMenu(t, dwID) for _, v in ipairs(t) do - if v.szOption == g_tStrings.LOOKUP_INFO or v.szOption == g_tStrings.STR_LOOKUP_MORE then - for _, vv in ipairs(v) do - if vv.szOption == g_tStrings.LOOKUP_NEW_TANLENT then -- ÆæÑ¨ - table.insert(menu, vv) - break - end - end - end - if v.szOption == g_tStrings.STR_MAKE_TRADDING then -- ½»Ò× + if v.szOption == g_tStrings.STR_MAKE_TRADDING then table.insert(menu, v) end end - table.insert(menu, { szOption = g_tStrings.STR_LOOKUP, bDisable = not info.bOnline, fnAction = function() - X.ViewOtherPlayerByID(dwID) - end }) - if MY_CharInfo and MY_CharInfo.ViewCharInfoToPlayer then - table.insert(menu, { - szOption = g_tStrings.STR_LOOK .. g_tStrings.STR_EQUIP_ATTR, bDisable = not info.bOnline, fnAction = function() - MY_CharInfo.ViewCharInfoToPlayer(dwID) - end - }) - end local extra = {} if MY_Focus then for _, v in ipairs(MY_Focus.GetTargetMenu(TARGET.PLAYER, dwID)) do From 4667fc7c8df4eb4b332a5c8c33c12820b42da86e Mon Sep 17 00:00:00 2001 From: Fm Date: Tue, 7 Jul 2026 20:53:34 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix(cataclysm):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=9B=A2=E9=98=9F=E9=9D=A2=E6=9D=BF=E5=8F=B3=E9=94=AE=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B=E5=B1=9E=E6=80=A7=E4=B8=8D=E5=AD=98=E5=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MY_Cataclysm/src/MY_CataclysmParty.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/MY_Cataclysm/src/MY_CataclysmParty.lua b/MY_Cataclysm/src/MY_CataclysmParty.lua index ed619a031..f3c7a2bd7 100644 --- a/MY_Cataclysm/src/MY_CataclysmParty.lua +++ b/MY_Cataclysm/src/MY_CataclysmParty.lua @@ -529,6 +529,13 @@ function MY_CataclysmParty_Base.OnItemRButtonClick() table.insert(menu, v) end end + if MY_CharInfo and MY_CharInfo.ViewCharInfoToPlayer then + table.insert(menu, { + szOption = g_tStrings.STR_LOOK .. g_tStrings.STR_EQUIP_ATTR, bDisable = not info.bOnline, fnAction = function() + MY_CharInfo.ViewCharInfoToPlayer(dwID) + end + }) + end local extra = {} if MY_Focus then for _, v in ipairs(MY_Focus.GetTargetMenu(TARGET.PLAYER, dwID)) do