local function AddMadstoneBundle(event)
if not IsServer() then return end
local killedUnit = EntIndexToHScript(event.entindex_killed)
local killerUnit = EntIndexToHScript(event.entindex_attacker)
if killedUnit and IsValidEntity(killedUnit) then
-- Таблица с именами юнитов
local MadstoneUnit = {
"npc_neutral_tide",
"npc_neutral_king",
"npc_neutral_frostbitten_tank",
"npc_neutral_lava_tank"...