Added basic stuff to handle zombie amputations

This commit is contained in:
ZioPao
2023-11-15 01:33:58 +01:00
parent a7d49c7253
commit 441fe67890
4 changed files with 106 additions and 16 deletions

View File

@@ -0,0 +1,14 @@
local ItemsHandler = require("TOC/Handlers/ItemsHandler")
--------------------
-- TODO This is low priority, work on it AFTER everything else is ok
-------------------
local function test(zombie, character, bodyPartType, handWeapon)
ItemsHandler.Zombie.SpawnAmputationItem(zombie)
end
Events.OnHitZombie.Add(test)