fix ranged enchant

This commit is contained in:
andrew6180
2025-10-17 13:07:16 -07:00
parent 290fb39f87
commit 2afe270091
+2 -1
View File
@@ -3600,7 +3600,8 @@ do
local function tenchUpdate()
Private.StartProfileSystem("generictrigger temporary enchant");
local _, mh_rem, oh_rem, rw_rem
_, mh_rem, mh_charges, _, oh_rem, oh_charges, _, rw_rem, rw_charges = GetWeaponEnchantInfo();
_, mh_rem, mh_charges, _, oh_rem, oh_charges = GetWeaponEnchantInfo();
_, rw_rem, rw_charges = GetRangedWeaponEnchantInfo();
local time = GetTime();
local mh_exp_new = mh_rem and (time + (mh_rem / 1000));
local oh_exp_new = oh_rem and (time + (oh_rem / 1000));