From 0c1f0ee41a9ab96bb19c0f671b09c4d886c1eaab Mon Sep 17 00:00:00 2001 From: lenheart Date: Thu, 1 Jan 2026 17:50:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=81=93=E5=85=B7=E8=BD=AC?= =?UTF-8?q?=E8=81=8Chook?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _DPS_/_Core/New_Hook.nut | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_DPS_/_Core/New_Hook.nut b/_DPS_/_Core/New_Hook.nut index 4ca9a50..752ae55 100644 --- a/_DPS_/_Core/New_Hook.nut +++ b/_DPS_/_Core/New_Hook.nut @@ -688,6 +688,11 @@ Cb_DisPatcher_MoveItem_Enter_Func <- {}; Cb_DisPatcher_MoveItem_Leave_Func <- {}; _Hook_Register_Currency_Func_("0x81C5B76", ["pointer", "pointer", "pointer", "void"],Cb_DisPatcher_MoveItem_Enter_Func, Cb_DisPatcher_MoveItem_Leave_Func); +// 注册道具转职Hook +Cb_ChangeGrowType_Item_Enter_Func <- {}; +Cb_ChangeGrowType_Item_Leave_Func <- {}; +_Hook_Register_Currency_Func_("0x0867B196", ["pointer", "int", "short", "int"], Cb_ChangeGrowType_Item_Enter_Func, Cb_ChangeGrowType_Item_Leave_Func); + function _Hook_Register_Currency_DelayHook_() { //五国时的热点函数 //获取Item Rarity