修复装备融合BUG 装备继承半程进度

This commit is contained in:
2025-12-17 10:48:30 +08:00
6 changed files with 300 additions and 36 deletions

View File

@@ -30,11 +30,11 @@ class ItemFusionC_ItemSlot extends LenheartNewUI_CommonUi {
if (Item) {
if (Item.rawin("itemAddress")) Parent.TemporaryDrawItemAddress = Item.itemAddress;
Parent.DrawItemBase(X + 9, Y + 10, Item.itemId, 1);
if (Item.rawin("itemAddress")) Parent.TemporaryDrawItemAddress = null;
}
CheckInRect();
}
function CheckInRect() {
@@ -125,6 +125,7 @@ class ItemFusionC extends LenheartNewUI_Windows {
local Jso = Json.Decode(Chunk);
Msg = Jso.msg;
if (Jso.rawin("value")) {
print(Jso.value[0]);
Slot[2].Item = {
itemId = Jso.value[0]
}
@@ -365,11 +366,11 @@ class ItemFusionC extends LenheartNewUI_Windows {
}
// L_Windows_List <- [];
// getroottable().rawdelete("LenheartPluginsInitFlag");
// getroottable().rawdelete("EventList_Obj")
// getroottable().rawdelete("ItemFusion_Obj");
// getroottable().rawdelete("L_Each_Obj");
L_Windows_List <- [];
getroottable().rawdelete("LenheartPluginsInitFlag");
getroottable().rawdelete("EventList_Obj")
getroottable().rawdelete("ItemFusion_Obj");
getroottable().rawdelete("L_Each_Obj");
function Lenheart_ItemFusion_Fun(obj) {
local RootTab = getroottable();