Added the baseline for the Coach Mode feature

- Added the command '/details coach' to  enabled coach mode, need to be raid leader and all members must have details up to date.
- Fixed Tiny Threat not showing threat.
- Fixed annoucement interrupt toggle enable was reseting on logon.
- Added container_spells:GetOrCreateSpell(id, shouldCreate, token)
- Added Details:GetRaidLeader(), return the RL name.
- Framework update.
This commit is contained in:
Tercio Jose
2020-11-03 20:55:19 -03:00
parent 262f115114
commit 93a7a8cc69
15 changed files with 1587 additions and 35 deletions
+12 -4
View File
@@ -4,11 +4,11 @@
_ = nil
_detalhes = LibStub("AceAddon-3.0"):NewAddon("_detalhes", "AceTimer-3.0", "AceComm-3.0", "AceSerializer-3.0", "NickTag-1.0")
_detalhes.build_counter = 7938
_detalhes.alpha_build_counter = 7938 --if this is higher than the regular counter, use it instead
_detalhes.build_counter = 7950
_detalhes.alpha_build_counter = 7950 --if this is higher than the regular counter, use it instead
_detalhes.game_version = "v9.0.1"
_detalhes.userversion = "v9.0.1." .. _detalhes.build_counter
_detalhes.realversion = 143 --core version, this is used to check API version for scripts and plugins (see alias below)
_detalhes.realversion = 144 --core version, this is used to check API version for scripts and plugins (see alias below)
_detalhes.APIVersion = _detalhes.realversion --core version
_detalhes.version = _detalhes.userversion .. " (core " .. _detalhes.realversion .. ")" --simple stirng to show to players
@@ -28,8 +28,16 @@ do
local Loc = _G.LibStub("AceLocale-3.0"):GetLocale( "Details" )
local news = {
{"v9.0.1.7950.144", "November 3rd, 2020"},
"Added the baseline for the Coach feature, for testing use '/details coach', all users in the raid must have details! up to date.",
"Added container_spells:GetOrCreateSpell(id, shouldCreate, token).",
"Added Details:GetRaidLeader(), return the RL name.",
"Fixed Tiny Threat not showing threat.",
"Fixed annoucement interrupt enable toggle checkbox was reseting on logon.",
{"v9.0.1.7938.142", "October 29th, 2020"},
"Added option to select the icon buttons in the title bar.",
{"v9.0.1.7739.142", "August 18th, 2020"},
"More development on the new plugin Cast Timeline.",
"More development on Details! Scroll Damage.",
@@ -333,7 +341,7 @@ do
--> player detail skin
_detalhes.playerdetailwindow_skins = {}
_detalhes.BitfieldSwapDebuffsIDs = {265646, 272407, 269691, 273401, 269131, 260900, 260926, 284995, 292826, 311367, 310567, 308996, 307832, 327414}
_detalhes.BitfieldSwapDebuffsIDs = {265646, 272407, 269691, 273401, 269131, 260900, 260926, 284995, 292826, 311367, 310567, 308996, 307832, 327414, 337253}
--> auto run code
_detalhes.RunCodeTypes = {