Skip to content

Instantly share code, notes, and snippets.

View Sajgon's full-sized avatar
🎯
Focusing

Sajgon

🎯
Focusing
View GitHub Profile
[CENTER]
[ATTACH=full]40122[/ATTACH]
Season 2 launched 2020-01-31
[S]Season 1 launched 2019-11-08[/S]
Website
[URL='https://midhem.com']Midhem Online (https://midhem.com)[/URL]
[SIZE=6][B][COLOR=rgb(200, 71, 65)]Midhem Online - Dawnborn[/COLOR][/B][/SIZE]
function onDeath(player, corpse, killer, mostDamage, unjustified, mostDamage_unjustified)
if player:hasFlag(PlayerFlag_NotGenerateLoot) then
return true
end
local hasRedSkull = table.contains({SKULL_RED}, player:getSkull())
if hasRedSkull then
--// 100% dropchance on everything
for i = CONST_SLOT_HEAD, CONST_SLOT_AMMO do