Scan on "PLAYER_ALIVE" Event changed to only execute when player releases spirit (not on "Feign Death" or resurrect by player)

This commit is contained in:
telkar-rg
2025-07-21 15:15:00 +02:00
parent edbfb74d83
commit fdcb25a94d
13 changed files with 39 additions and 0 deletions
@@ -234,6 +234,9 @@ end
-- *** EVENT HANDLERS ***
function addon:PLAYER_ALIVE()
-- print("DataStore_Achievements.lua") -- DEBUG 2025 07 21
if not UnitIsGhost("player") then return end -- only scan if player released spirit and went to graveyard
ScanAllAchievements()
ScanProgress()
addon.ThisCharacter.guid = strsub(UnitGUID("player"), 3) -- get rid at the 0x at the beginning of the string