Update on Lib Open Raid
This commit is contained in:
@@ -64,7 +64,7 @@ if (WOW_PROJECT_ID ~= WOW_PROJECT_MAINLINE and not isExpansion_Dragonflight()) t
|
||||
end
|
||||
|
||||
local major = "LibOpenRaid-1.0"
|
||||
local CONST_LIB_VERSION = 80
|
||||
local CONST_LIB_VERSION = 81
|
||||
|
||||
if (not LIB_OPEN_RAID_MAX_VERSION) then
|
||||
LIB_OPEN_RAID_MAX_VERSION = CONST_LIB_VERSION
|
||||
|
||||
@@ -86,7 +86,6 @@ do
|
||||
L["STRING_CRITICAL_ONLY"] = "致命"
|
||||
end
|
||||
|
||||
|
||||
LIB_OPEN_RAID_FOOD_BUFF = {} --default
|
||||
LIB_OPEN_RAID_FLASK_BUFF = {} --default
|
||||
|
||||
@@ -97,7 +96,7 @@ do
|
||||
[90355] = true, --ancient hysteria (hunter)
|
||||
[309658] = true, --current exp drums (letherwork)
|
||||
[264667] = true, --primal rage (hunter)
|
||||
--need to get the 30% haste buff from evokers
|
||||
[390386] = true, --fury of the aspects
|
||||
}
|
||||
|
||||
LIB_OPEN_RAID_MYTHICKEYSTONE_ITEMID = 180653
|
||||
|
||||
+11
-15
@@ -5030,11 +5030,6 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
|
||||
|
||||
if (zoneType == "party" or zoneType == "raid") then
|
||||
_is_in_instance = true
|
||||
|
||||
--if (DetailsFramework.IsDragonflight()) then
|
||||
-- Details:Msg("friendly reminder to enabled combat logs (/combatlog) if you're recording them (Dragonflight Beta).")
|
||||
-- Details:Msg("and if you wanna help, you may post them on Details! discord as well.")
|
||||
--end
|
||||
end
|
||||
|
||||
if (_detalhes.last_zone_type ~= zoneType) then
|
||||
@@ -5163,16 +5158,6 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
|
||||
_detalhes:Msg("(debug) |cFFFFFF00ENCOUNTER_START|r event triggered.")
|
||||
end
|
||||
|
||||
if (not isWOTLK) then
|
||||
C_Timer.After(1, function()
|
||||
if (C_CVar.GetCVar("AdvancedCombatLogging") == "1") then
|
||||
if (Details.show_warning_id1) then
|
||||
Details:Msg("you have Advanced Combat Logging enabled, your numbers might be different of other players (bug in the game).")
|
||||
end
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
_detalhes.latest_ENCOUNTER_END = _detalhes.latest_ENCOUNTER_END or 0
|
||||
if (_detalhes.latest_ENCOUNTER_END + 10 > GetTime()) then
|
||||
return
|
||||
@@ -5277,6 +5262,17 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
|
||||
_detalhes:Msg("(debug) |cFFFFFF00ENCOUNTER_END|r event triggered.")
|
||||
end
|
||||
|
||||
if (not isWOTLK) then
|
||||
C_Timer.After(1, function()
|
||||
if (Details.show_warning_id1) then
|
||||
if (Details.show_warning_id1_amount < 5) then
|
||||
Details.show_warning_id1_amount = Details.show_warning_id1_amount + 1
|
||||
Details:Msg("you may find differences on damage done, this is due to a bug in the game client (" .. Details.show_warning_id1_amount .. " / 5).")
|
||||
end
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
_current_encounter_id = nil
|
||||
|
||||
local _, instanceType = GetInstanceInfo() --let's make sure it isn't a dungeon
|
||||
|
||||
@@ -1355,6 +1355,7 @@ local default_global_data = {
|
||||
installed_skins_cache = {},
|
||||
|
||||
show_warning_id1 = true,
|
||||
show_warning_id1_amount = 0,
|
||||
|
||||
combat_id_global = 0,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user