Switched folders, zombies amputations working

This commit is contained in:
ZioPao
2024-03-18 00:55:30 +01:00
parent f38d68a35a
commit 5180a2cbfb
54 changed files with 140 additions and 160 deletions

View File

@@ -8,7 +8,16 @@ local ItemsController = require("TOC/Controllers/ItemsController")
-------------------
local function test(zombie, character, bodyPartType, handWeapon)
--ItemsController.Zombie.SpawnAmputationItem(zombie)
-- LOCAL ONLY!!!
if character ~= getPlayer() then return end
-- TODO Check damage and weapon type
--ItemsController.Zombie.GetAmputationTexturesIndex(zombie)
ItemsController.Zombie.SpawnAmputationItem(zombie)
end
Events.OnHitZombie.Add(test)