From 1b53945315571aff1dbbe75e6969dc23e25f20ad Mon Sep 17 00:00:00 2001 From: Luan Luciano Date: Tue, 16 Apr 2024 04:40:15 -0300 Subject: [PATCH] Update bosslever_death.lua --- .../scripts/globalevents/others/bosslever_death.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data-otservbr-global/scripts/globalevents/others/bosslever_death.lua b/data-otservbr-global/scripts/globalevents/others/bosslever_death.lua index 9538fe15eb7..663b5081631 100644 --- a/data-otservbr-global/scripts/globalevents/others/bosslever_death.lua +++ b/data-otservbr-global/scripts/globalevents/others/bosslever_death.lua @@ -24,6 +24,9 @@ function onBossDeath.onDeath(creature) zn:removePlayers() end, bossLever.timeAfterKill * 1000, zone) end + onDeathForDamagingPlayers(creature, function(creature, player) + player:takeScreenshot(SCREENSHOT_TYPE_BOSSDEFEATED) + end) return true end onBossDeath:register()