Prevent Scars of Fraternal Strife trinket to start combat

This commit is contained in:
Tercio Jose
2022-08-26 15:19:52 -03:00
parent 64e0f15bbf
commit a889dfcd8d
18 changed files with 105 additions and 22 deletions
@@ -1,4 +1,4 @@
## Interface: 90205
## Interface: 90207
## Title: Details!: Storage
## Notes: Stores information for Details! Damage Meter
## DefaultState: Enabled
@@ -0,0 +1,17 @@
## Interface: 20504
## Title: Details!: Encounter Breakdown (plugin)
## Notes: Show detailed information about a boss encounter. Also provide damage per phase, graphic charts, easy weakauras creation.
## RequiredDeps: Details
## OptionalDeps: Ace3
## SavedVariablesPerCharacter: EncounterDetailsDB
#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@
enUS.lua
ptBR.lua
frames.lua
Details_EncounterDetails.lua
@@ -0,0 +1,17 @@
## Interface: 30400
## Title: Details!: Encounter Breakdown (plugin)
## Notes: Show detailed information about a boss encounter. Also provide damage per phase, graphic charts, easy weakauras creation.
## RequiredDeps: Details
## OptionalDeps: Ace3
## SavedVariablesPerCharacter: EncounterDetailsDB
#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@
enUS.lua
ptBR.lua
frames.lua
Details_EncounterDetails.lua
@@ -1,4 +1,4 @@
## Interface: 90205
## Interface: 90207
## Title: Details!: Encounter Breakdown (plugin)
## Notes: Show detailed information about a boss encounter. Also provide damage per phase, graphic charts, easy weakauras creation.
## RequiredDeps: Details
@@ -0,0 +1,10 @@
## Interface: 20504
## Title: Details!: Raid Check (plugin)
## Notes: Show talents and item level for all members in your group, also shows food and flask state.
## RequiredDeps: Details
#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@
Details_RaidCheck.lua
@@ -0,0 +1,10 @@
## Interface: 30400
## Title: Details!: Raid Check (plugin)
## Notes: Show talents and item level for all members in your group, also shows food and flask state.
## RequiredDeps: Details
#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@
Details_RaidCheck.lua
@@ -1,4 +1,9 @@
--do not load if this is a classic version of the game
if (DetailsFramework.IsTBCWow() or DetailsFramework.IsWotLKWow()) then
return
end
local UnitAura = UnitAura
local UnitBuff = UnitBuff
local GetSpellInfo = GetSpellInfo
@@ -751,7 +756,7 @@ end
else
DetailsRaidCheck:HideToolbarIcon (DetailsRaidCheck.ToolbarButton)
DetailsRaidCheck.on_raid = false
if (DetailsRaidCheck.UpdateBuffsTick and not DetailsRaidCheck.UpdateBuffsTick:IsCancelled()) then
if (DetailsRaidCheck.UpdateBuffsTick and not DetailsRaidCheck.UpdateBuffsTick._cancelled) then
DetailsRaidCheck.UpdateBuffsTick:Cancel()
end
end
@@ -844,7 +849,7 @@ end
DetailsRaidCheck:BuffTrackTick()
if (DetailsRaidCheck.UpdateBuffsTick and not DetailsRaidCheck.UpdateBuffsTick:IsCancelled()) then
if (DetailsRaidCheck.UpdateBuffsTick and not DetailsRaidCheck.UpdateBuffsTick._cancelled) then
DetailsRaidCheck.UpdateBuffsTick:Cancel()
end
@@ -859,7 +864,7 @@ end
function DetailsRaidCheck:StopTrackBuffs()
DetailsRaidCheck.tracking_buffs = false
if (DetailsRaidCheck.UpdateBuffsTick and not DetailsRaidCheck.UpdateBuffsTick:IsCancelled()) then
if (DetailsRaidCheck.UpdateBuffsTick and not DetailsRaidCheck.UpdateBuffsTick._cancelled) then
DetailsRaidCheck.UpdateBuffsTick:Cancel()
end
end
@@ -1,4 +1,4 @@
## Interface: 90205
## Interface: 90207
## Title: Details!: Raid Check (plugin)
## Notes: Show talents and item level for all members in your group, also shows food and flask state.
## RequiredDeps: Details
@@ -1301,7 +1301,7 @@ function listener:UnregisterMyEvents()
listener:UnregisterEvent ("UNIT_SPELLCAST_CHANNEL_UPDATE")
listener:UnregisterEvent ("UNIT_SPELLCAST_STOP")
if (not (DetailsFramework.IsTBCWow() or DetailsFramework.IsWotLKWow())) then
if (not DetailsFramework.IsTBCWow() and not DetailsFramework.IsWotLKWow()) then
listener:UnregisterEvent ("UNIT_SPELLCAST_INTERRUPTIBLE")
listener:UnregisterEvent ("UNIT_SPELLCAST_NOT_INTERRUPTIBLE")
end
@@ -1,4 +1,4 @@
## Interface: 90205
## Interface: 90207
## Title: Details!: Streamer (plugin)
## Notes: Show which spells you are casting, viewers can see what are you doing and follow your steps.
## RequiredDeps: Details
@@ -1,4 +1,4 @@
## Interface: 90205
## Interface: 90207
## Title: Details!: Tiny Threat (plugin)
## Notes: Threat meter plugin, show threat for group members in the window. Select it from the Plugin menu in the Orange Cogwheel.
## RequiredDeps: Details
@@ -0,0 +1,12 @@
## Interface: 20504
## Title: Details!: Vanguard (plugin)
## Notes: Show the health and debuffs for tanks in your group.
## SavedVariablesPerCharacter: _detalhes_databaseVanguard
## RequiredDeps: Details
## OptionalDeps: Ace3
#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@
Details_Vanguard.lua
@@ -0,0 +1,12 @@
## Interface: 30400
## Title: Details!: Vanguard (plugin)
## Notes: Show the health and debuffs for tanks in your group.
## SavedVariablesPerCharacter: _detalhes_databaseVanguard
## RequiredDeps: Details
## OptionalDeps: Ace3
#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@
Details_Vanguard.lua
@@ -1,3 +1,9 @@
--do not load if this is a classic version of the game
if (DetailsFramework.IsTBCWow() or DetailsFramework.IsWotLKWow()) then
return
end
local AceLocale = LibStub ("AceLocale-3.0")
local Loc = AceLocale:GetLocale ("Details")
local SharedMedia = LibStub:GetLibrary ("LibSharedMedia-3.0")
@@ -1,4 +1,4 @@
## Interface: 90205
## Interface: 90207
## Title: Details!: Vanguard (plugin)
## Notes: Show the health and debuffs for tanks in your group.
## SavedVariablesPerCharacter: _detalhes_databaseVanguard