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