- Report history improvements.
- More fixes on combat log parser.
This commit is contained in:
+31
-1
@@ -363,7 +363,37 @@ _detalhes.background_tasks_loop = _detalhes:ScheduleRepeatingTimer ("DoBackgroun
|
||||
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
--> storage stuff
|
||||
--> storage stuff ~storage
|
||||
|
||||
--global database
|
||||
function _detalhes:OpenRaidStorage()
|
||||
--> check if the storage is already loaded
|
||||
if (not IsAddOnLoaded ("Details_DataStorage")) then
|
||||
local loaded, reason = LoadAddOn ("Details_DataStorage")
|
||||
if (not loaded) then
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
--> get the storage table
|
||||
local db = DetailsDataStorage
|
||||
|
||||
if (not db and _detalhes.CreateStorageDB) then
|
||||
db = _detalhes:CreateStorageDB()
|
||||
if (not db) then
|
||||
return
|
||||
end
|
||||
elseif (not db) then
|
||||
return
|
||||
end
|
||||
|
||||
--GlobalDatabase = {}
|
||||
--UserChrStorage = {}
|
||||
|
||||
return db
|
||||
end
|
||||
|
||||
|
||||
|
||||
local store_instances = {
|
||||
[1205] = true, --Blackrock Foundry
|
||||
|
||||
+11
-4
@@ -675,13 +675,17 @@
|
||||
------------------------------------------------------------------------------------------------
|
||||
--> early checks and fixes
|
||||
|
||||
if (not who_name) then
|
||||
if (not alvo_name) then
|
||||
--> no target name, just quit
|
||||
return
|
||||
|
||||
elseif (not who_name) then
|
||||
--> no actor name, use spell name instead
|
||||
who_name = "[*] " .. spellname
|
||||
elseif (not who_name or not alvo_name) then
|
||||
return --> just return
|
||||
who_flags = 0xa48
|
||||
who_serial = ""
|
||||
end
|
||||
|
||||
|
||||
------------------------------------------------------------------------------------------------
|
||||
--> get actors
|
||||
--print ("MISS", "|", missType, "|", isOffHand, "|", multistrike, "|", amountMissed, "|", arg1)
|
||||
@@ -1170,7 +1174,10 @@
|
||||
if (not alvo_name) then
|
||||
alvo_name = "[*] Unknown shield target"
|
||||
elseif (not who_name) then
|
||||
--> no actor name, use spell name instead
|
||||
who_name = "[*] " .. spellname
|
||||
who_flags = 0xa48
|
||||
who_serial = ""
|
||||
end
|
||||
|
||||
------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user