refactor: split player death event handler into smaller functions #11621
analysis-reviewdog.yml
on: pull_request
luac
21s
luacheck
20s
shellcheck
8s
xmllint
19s
yamllint
13s
hadolint
8s
actionlint
12s
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'
|