General BugFixes and Changes

- Renamed damageActor.extra_bar to damageActor.total_extra
- Added: Details:ShowExtraStatusbar(barLineObject, amount, amountPercent, extraAmount)
- If any damage actor has 'total_extra' bigger than 0, the extra bar is shown.
- List of spec names for spec tooltip detection now load at Startup not at lua compiling.
- Fixes on Encounter Details plugin.
- Fixed an issue of clicking in a plugin icon in the title bar of Details! but the plugin not open.
This commit is contained in:
Tercio Jose
2023-07-18 22:06:06 -03:00
parent bfdce8071b
commit 8875c15b33
7 changed files with 128 additions and 72 deletions
+5 -4
View File
@@ -1247,10 +1247,11 @@
end
if (evokerActor) then
evokerActor.total_extra = evokerActor.total_extra or 0
if (Details.zone_type == "raid") then
evokerActor.extra_bar = evokerActor.extra_bar + (amount * 0.1389541)
evokerActor.total_extra = evokerActor.total_extra + (amount * 0.1389541)
else
evokerActor.extra_bar = evokerActor.extra_bar + (amount * 0.1966044)
evokerActor.total_extra = evokerActor.total_extra + (amount * 0.1966044)
end
end
end
@@ -1275,7 +1276,7 @@
end
if (evokerActor) then
evokerActor.extra_bar = evokerActor.extra_bar + amount
evokerActor.total_extra = (evokerActor.total_extra or 0) + amount
end
end
end
@@ -1308,7 +1309,7 @@
end
if (evokerActor) then
evokerActor.extra_bar = evokerActor.extra_bar + amount
evokerActor.total_extra = (evokerActor.total_extra or 0) + amount
end
end
end