refactor(装备系统): 注释掉装备属性对比的条件判断

移除装备属性对比的条件判断,直接执行后续逻辑
This commit is contained in:
Lenheart 2026-03-03 20:47:20 +08:00
parent 36c144dc6d
commit ee09eb5efc
1 changed files with 2 additions and 2 deletions

View File

@ -176,7 +176,7 @@ class OutfitSystem {
local EquipAmplification = Inven_Item.GetAmplification();
local EquipForging = Inven_Item.GetForging();
local EquipEnchanting = Inven_Item.GetEnchanting();
if (EquipUpgrade == Upgrade && EquipAmplification == Amplification && EquipForging == Forging && EquipEnchanting == Enchanting) {
// if (EquipUpgrade == Upgrade && EquipAmplification == Amplification && EquipForging == Forging && EquipEnchanting == Enchanting) {
//对比成功
if (SlotInfo[0] == 2) {
Sq_CallFunc(S_Ptr("0x08500688"), "int", ["pointer", "int", "int", "int", "int"], InvenObj.C_Object, 3, i, 0, 22);
@ -186,7 +186,7 @@ class OutfitSystem {
Sq_CallFunc(S_Ptr("0x0865EED2"), "int", ["pointer", "int", "short", "int"], SUser.C_Object, SlotInfo[0], i, SlotInfo[1]);
return true;
}
}
// }
}
}
}