refactor: split player death event handler into smaller functions #11618
analysis-reviewdog.yml
on: pull_request
luac
21s
luacheck
19s
shellcheck
13s
xmllint
21s
yamllint
12s
hadolint
9s
actionlint
9s
Annotations
6 warnings
luacheck:
data/scripts/creaturescripts/player/death.lua#L80
[luacheck] reported by reviewdog 🐶
unused function 'getDeathRecords'
Raw Output:
data/scripts/creaturescripts/player/death.lua:80:16: unused function 'getDeathRecords'
|
luacheck:
data/scripts/creaturescripts/player/death.lua#L95
[luacheck] reported by reviewdog 🐶
unused function 'checkForGuildWar'
Raw Output:
data/scripts/creaturescripts/player/death.lua:95:16: unused function 'checkForGuildWar'
|
luacheck:
data/scripts/creaturescripts/player/death.lua#L105
[luacheck] reported by reviewdog 🐶
unused function 'recordGuildWarKill'
Raw Output:
data/scripts/creaturescripts/player/death.lua:105:16: unused function 'recordGuildWarKill'
|
luacheck:
data/scripts/creaturescripts/player/death.lua#L110
[luacheck] reported by reviewdog 🐶
unused function 'checkAndUpdateGuildWarScore'
Raw Output:
data/scripts/creaturescripts/player/death.lua:110:16: unused function 'checkAndUpdateGuildWarScore'
|
luacheck:
data/scripts/creaturescripts/player/death.lua#L137
[luacheck] reported by reviewdog 🐶
unused function 'updateGuildWarScore'
Raw Output:
data/scripts/creaturescripts/player/death.lua:137:16: unused function 'updateGuildWarScore'
|
luacheck:
data/scripts/creaturescripts/player/death.lua#L149
[luacheck] reported by reviewdog 🐶
unused function 'endGuildWarIfLimitReached'
Raw Output:
data/scripts/creaturescripts/player/death.lua:149:16: unused function 'endGuildWarIfLimitReached'
|