Fixed a lot of stuff, broke a lot of stuff

This commit is contained in:
Pao
2023-01-11 20:47:54 +01:00
parent 2486442a19
commit fca316299d
5 changed files with 149 additions and 86 deletions

View File

@@ -1,3 +1,9 @@
if not TheOnlyCure then
TheOnlyCure = {}
end
local function dropItem(player, modData)
if (modData.TOC.RightHand.is_cut and not (modData.TOC.RightHand.IsEquiped or modData.TOC.RightForearm.IsEquiped)) or (modData.TOC.RightForearm.is_cut and not modData.TOC.RightForearm.IsEquiped) then
if player:getPrimaryHandItem() ~= nil then