General Fixes

This commit is contained in:
Tercio Jose
2023-04-30 23:23:56 -03:00
parent 6be5ab14f4
commit 11a6c48ddd
24 changed files with 420 additions and 696 deletions
+10 -11
View File
@@ -353,12 +353,11 @@ do
local noData = "-"
--amount of casts
local castAmount = 0
local combatObject = Details:GetCombatFromBreakdownWindow()
local playerMiscObject = combatObject:GetActor (DETAILS_ATTRIBUTE_MISC, playerName)
local castAmount = combatObject:GetSpellCastAmount(playerName, GetSpellInfo(spellId))
local playerMiscObject = combatObject:GetActor(DETAILS_ATTRIBUTE_MISC, playerName)
if (playerMiscObject) then
castAmount = playerMiscObject.spell_cast and playerMiscObject.spell_cast [spellId] or 0
if (castAmount > 0) then
tooltip.casts_label2:SetText (fullPercent)
tooltip.casts_label3:SetText (castAmount)
DetailsFramework:SetFontColor (tooltip.casts_label2, "gray")
@@ -470,15 +469,14 @@ do
local spellId = rawSpellTable.id
local noData = "-"
tooltip.player_name_label:SetText (Details:GetOnlyName (actualPlayerName))
tooltip.player_name_label:SetText(Details:GetOnlyName(actualPlayerName))
--amount of casts
local castAmount = 0
local combatObject = Details:GetCombatFromBreakdownWindow()
local combatObject = Details:GetCombatFromBreakdownWindow()
local playerMiscObject = combatObject:GetActor (DETAILS_ATTRIBUTE_MISC, playerName)
if (playerMiscObject) then
castAmount = playerMiscObject.spell_cast and playerMiscObject.spell_cast [spellId] or 0
local castAmount = combatObject:GetSpellCastAmount(playerName, GetSpellInfo(spellId))
if (castAmount > 0) then
tooltip.casts_label2:SetText (getPercentComparison (mainCastAmount, castAmount))
tooltip.casts_label3:SetText (castAmount)
DetailsFramework:SetFontColor (tooltip.casts_label2, "white")
@@ -1564,6 +1562,7 @@ do
[2] = {1, 2, 3, 4, 5, 6, 7, 8},
},
tabNameToReplace = "Compare",
bIsCompareTab = true,
} --replace tab [attribute] = [sub attributes]
)
end
@@ -1,4 +1,4 @@
## Interface: 100005
## Interface: 100007
## Title: Details!: Compare 2.0
## Notes: Replace the Compare tab in the player breakdown window.
## RequiredDeps: Details
@@ -1,4 +1,4 @@
## Interface: 100005
## Interface: 100007
## Title: Details!: Storage
## Notes: Stores information for Details! Damage Meter
## DefaultState: Enabled
@@ -1,4 +1,4 @@
## Interface: 100005
## Interface: 100007
## 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
@@ -1,4 +1,4 @@
## Interface: 100005
## Interface: 100007
## 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
@@ -1,4 +1,4 @@
## Interface: 100005
## Interface: 100007
## 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: 100005
## Interface: 100007
## 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
@@ -1,4 +1,4 @@
## Interface: 100005
## Interface: 100007
## Title: Details!: Vanguard (plugin)
## Notes: Show the health and debuffs for tanks in your group.
## SavedVariablesPerCharacter: _detalhes_databaseVanguard