Added basic stuff to handle zombie amputations
This commit is contained in:
14
media/lua/client/TOC/Zombies/ZombiesAmputation.lua
Normal file
14
media/lua/client/TOC/Zombies/ZombiesAmputation.lua
Normal 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)
|
||||
Reference in New Issue
Block a user