Skip to content

refactor: split player death event handler into smaller functions #11621

refactor: split player death event handler into smaller functions

refactor: split player death event handler into smaller functions #11621

Triggered via pull request November 13, 2024 17:13
Status Success
Total duration 30s
Artifacts

analysis-reviewdog.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
luacheck: data/scripts/creaturescripts/player/death.lua#L83
[luacheck] reported by reviewdog 🐶 unused function 'getDeathRecords' Raw Output: data/scripts/creaturescripts/player/death.lua:83:16: unused function 'getDeathRecords'
luacheck: data/scripts/creaturescripts/player/death.lua#L98
[luacheck] reported by reviewdog 🐶 unused function 'checkForGuildWar' Raw Output: data/scripts/creaturescripts/player/death.lua:98:16: unused function 'checkForGuildWar'
luacheck: data/scripts/creaturescripts/player/death.lua#L113
[luacheck] reported by reviewdog 🐶 unused function 'recordGuildWarKill' Raw Output: data/scripts/creaturescripts/player/death.lua:113:16: unused function 'recordGuildWarKill'
luacheck: data/scripts/creaturescripts/player/death.lua#L121
[luacheck] reported by reviewdog 🐶 unused function 'checkAndUpdateGuildWarScore' Raw Output: data/scripts/creaturescripts/player/death.lua:121:16: unused function 'checkAndUpdateGuildWarScore'
luacheck: data/scripts/creaturescripts/player/death.lua#L144
[luacheck] reported by reviewdog 🐶 unused function 'updateGuildWarScore' Raw Output: data/scripts/creaturescripts/player/death.lua:144:16: unused function 'updateGuildWarScore'
luacheck: data/scripts/creaturescripts/player/death.lua#L162
[luacheck] reported by reviewdog 🐶 unused function 'endGuildWarIfLimitReached' Raw Output: data/scripts/creaturescripts/player/death.lua:162:16: unused function 'endGuildWarIfLimitReached'