refactor: split player death event handler into smaller functions #11622
analysis-reviewdog.yml
on: pull_request
luac
18s
luacheck
20s
shellcheck
8s
xmllint
18s
yamllint
12s
hadolint
7s
actionlint
9s
Annotations
6 warnings
luacheck:
data/scripts/creaturescripts/player/death.lua#L82
[luacheck] reported by reviewdog 🐶
unused function 'getDeathRecords'
Raw Output:
data/scripts/creaturescripts/player/death.lua:82:16: unused function 'getDeathRecords'
|
luacheck:
data/scripts/creaturescripts/player/death.lua#L97
[luacheck] reported by reviewdog 🐶
unused function 'checkForGuildWar'
Raw Output:
data/scripts/creaturescripts/player/death.lua:97:16: unused function 'checkForGuildWar'
|
luacheck:
data/scripts/creaturescripts/player/death.lua#L109
[luacheck] reported by reviewdog 🐶
unused function 'recordGuildWarKill'
Raw Output:
data/scripts/creaturescripts/player/death.lua:109:16: unused function 'recordGuildWarKill'
|
luacheck:
data/scripts/creaturescripts/player/death.lua#L114
[luacheck] reported by reviewdog 🐶
unused function 'checkAndUpdateGuildWarScore'
Raw Output:
data/scripts/creaturescripts/player/death.lua:114:16: unused function 'checkAndUpdateGuildWarScore'
|
luacheck:
data/scripts/creaturescripts/player/death.lua#L141
[luacheck] reported by reviewdog 🐶
unused function 'updateGuildWarScore'
Raw Output:
data/scripts/creaturescripts/player/death.lua:141:16: unused function 'updateGuildWarScore'
|
luacheck:
data/scripts/creaturescripts/player/death.lua#L153
[luacheck] reported by reviewdog 🐶
unused function 'endGuildWarIfLimitReached'
Raw Output:
data/scripts/creaturescripts/player/death.lua:153:16: unused function 'endGuildWarIfLimitReached'
|