This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |